Spawning AI and NPC (striders/antlions)

|Link|

Newbie
Joined
May 16, 2004
Messages
226
Reaction score
0
Is there a site or a post or something that explains how to spawn AI's and NPC's and how to get them to work (I searched but couldnt find anything) ?
 
nope sorry.

but type in sk_ and type in your enemy.. zombie etc.
instead of putting them on 0, put them all on 90
put their health on 200 or 400 depending on thier size.
THEN.,,

type in npc_create npc_antlion (if you want an antlion)
or give npc_antlionguard (if you want an antlionguard)
(try different enemys)
then type..

ent_fire npc_<whatever> setrelationship "player d_ht 40"

(in <whatever> put an enemy).. you can also change the word "player" to an npc so npc's attack npc's.

NOTE: type..
(ent_fire npc_<whatever> setrelationship "player d_ht 40")

after you have spawned the enemy.
 
And if you want them to attack a certain person:

Aim at him and write in the console:
"ent_setname <wished name>"(ex. |Link|)

Then spawn a NPC (ex. npc_zombie) and use the command to get the AI to work:
ent_fire npc_zombie setrelationship "|Link| d_ht 40"
 
Back
Top