Mind_the_assassin
Veteran
- Messages
- 25
- Reaction score
- 0
- Points
- 556
ive been looking for a mod/script for something like this, never found it. if anyone can help please do!
ive been looking for a mod/script for something like this, never found it. if anyone can help please do!
spawnBotSP(spawner_number)
{
spawners = GetSpawnerArray();
bot = spawners[spawner_number] stalingradspawn();
}
Update: i still have no idea what im doingThank 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
i tried binding this in the console: ai_spawn actor_ally_tf_141_arctic_ARthats 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:
ah, although the map is undefined must i add the map name?Here is a little example script
?ah, although the map is undefined must i add the map name?
im just making sure i dont wanna ruin my file ^^" anyways thank you so much for going out of your way to help me, im in your debt?
This script should work on all maps
before I go, how do I add the gsc. file to common?-or in general??
This script should work on all maps
make a backup of MW2INSTALLFOLDER/zone/english/patch.ffbefore I go, how do I add the gsc. file to common?-or in general?
am i able to change the bot type in dev console? or charactermake a backup of MW2INSTALLFOLDER/zone/english/patch.ff
and then replace it with this file
and can i stop them from following me with the console as well?make a backup of MW2INSTALLFOLDER/zone/english/patch.ff
and then replace it with this file
Nopeand can i stop them from following me with the console as well?
yeah my bad i made a major typo i meant to ask for the type of character to be spawned do i use the model string or character gsc?Nope
You need to change that in the script
when i added the gsc file for the character it didnt work in the game i didnt have the prompt to spawn aiNope
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?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.Nope
You need to change that in the script
Add me on discord P!X#6835so 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