Question Is there a script for spawning ai in sp??

Messages
23
Points
6
ive been looking for a mod/script for something like this, never found it. if anyone can help please do!
 

P!X

Head Moderator
Staff member
Head Staff Team
Messages
374
Points
653
ive been looking for a mod/script for something like this, never found it. if anyone can help please do!
thats how i did it for my SP Survival Mod
C:
spawnBotSP(spawner_number)
{
    spawners = GetSpawnerArray();
    bot = spawners[spawner_number] stalingradspawn();
}
 
Messages
23
Points
6
Thank you so much!!! please excuse my lack of modding knowledge but is that for the config file? im very new to this im very sorry. atm im trying to figure out how to spawn them with a bind
 
Last edited:
Messages
23
Points
6
thats how i did it for my SP Survival Mod
C:
spawnBotSP(spawner_number)
{
    spawners = GetSpawnerArray();
    bot = spawners[spawner_number] stalingradspawn();
}
i tried binding this in the console: ai_spawn actor_ally_tf_141_arctic_AR
it says it isnt an actor or entity then it gave me a list of npc script templates or examples. is there any way to bind spawning ai in sp like in museum?

or like this:
 

P!X

Head Moderator
Staff member
Head Staff Team
Messages
374
Points
653
i tried binding this in the console: ai_spawn actor_ally_tf_141_arctic_AR
it says it isnt an actor or entity then it gave me a list of npc script templates or examples. is there any way to bind spawning ai in sp like in museum?

or like this:
you need to do it with GSC
 
Messages
23
Points
6
Nope
You need to change that in the script
i dont know what im doing wrong i removed the gsc file and left the two in there but whenever i compile it with ff.compiler it doesnt work or when i view it with ff viewer it shows nothing but the file i made is 32 kb what am i doing wrong? can you maybe show me where ally characters go in the script?
 
Last edited:
Messages
23
Points
6
Nope
You need to change that in the script
so i did this, would something like that work or does it all need to be by hand? all i wanna learn is how to change which ai is being spawned, and how to properly create a patch, because every one i made with ff compiler doesnt work as i said before im very new to modding and scripting and this is something ive always wanted to do for the past 3 years, ive tried to make small edits and save them but it never works id really appreciate it if you showed me how its done or if someone in the community makes a tutorial. - M.T.A.
2020-03-08 (9).png
2020-03-08 (10).png
2020-03-08 (7).png
 

Attachments

Last edited:

P!X

Head Moderator
Staff member
Head Staff Team
Messages
374
Points
653
so i did this, would something like that work or does it all need to be by hand? all i wanna learn is how to change which ai is being spawned, and how to properly create a patch, because every one i made with ff compiler doesnt work as i said before im very new to modding and scripting and this is something ive always wanted to do for the past 3 years, ive tried to make small edits and save them but it never works id really appreciate it if you showed me how its done or if someone in the community makes a tutorial. - M.T.A.
View attachment 3322View attachment 3323View attachment 3321
Add me on discord P!X#6835
 

Top