the only thing now is what would i add to my mod.csv to include it or will it be auto included
I would think it would auto include like any other spawner. Just make sure that the GSC and CSV for the aitype in raw/character and raw/aitype are set correctly for the model(should if you used ASSMAN i would think). Those files include the weapon into your map's FF and precaches them.
Last Edit: August 15, 2015, 08:36:59 pm by daedra descent
I would think it would auto include like any other spawner. Just make sure that the GSC and CSV for the aitype in raw/character and raw/aitype are set correctly for the model(should if you used ASSMAN i would think). Those files include the weapon into your map's FF and precaches them.
so now that i have the spawner will it auto spawn like the zombies (spawn at the start of the game) or will i need to script something to get it to spawn (just once atm)
so now that i have the spawner will it auto spawn like the zombies (spawn at the start of the game) or will i need to script something to get it to spawn (just once atm)
No, not as long as you give them the same KVPs. Set spawner(so he doesn't just spawn as a guy) and undeletable(so the game doesn't delete him to make room for other AI) from the entity window on the spawner, give it a targetname for your script, and start scripting.
Spawn him using the typical spawn functions whenever, like so:
Code Snippet
Plaintext
giant = getEnt("giant", "targetname"); guy = giant stalingradSpawn();
where guy is the actual ai spawned from the spawner and giant is the spawner.
No, not as long as you give them the same KVPs. Set spawner(so he doesn't just spawn as a guy) and undeletable(so the game doesn't delete him to make room for other AI) from the entity window on the spawner, give it a targetname for your script, and start scripting.
Spawn him using the typical spawn functions whenever, like so:
Code Snippet
Plaintext
giant = getEnt("giant", "targetname"); guy = giant stalingradSpawn();
where guy is the actual ai spawned from the spawner and giant is the spawner.
thianks a lot DD this worked and now i have a ai in my map now to make him path around randomly (i thought ai's did this but prob not)
thianks a lot DD this worked and now i have a ai in my map now to make him path around randomly (i thought ai's did this but prob not)
Not a problem!
and no, ai don't just walk around. If they have a gun they should just shoot there shooting and maybe occasionally do a melee attack(as per all SP AI).
Edit: if topic is solved, could you mark as best answer? Thanks.
Last Edit: August 15, 2015, 09:13:24 pm by daedra descent