Re: NPC waypoints
Posted by itisjp on
Sat Dec 4th 2004 at 8:34pm
18 posts
2 snarkmarks
Registered:
Dec 3rd 2004
Occupation: Programmer
Location: USA
Nasher I have played with NPC pigeons and I get them to fly on a path by using a path_corner entity, I give it a name and then thell the NPC's to follow the path. I do not know if this will work for what you want since pigeons don't attack but you can set up several corner paths and have them loop back around to the orginal starting point.
Hope it helps
Re: NPC waypoints
Posted by Junkyard God on
Sat Dec 4th 2004 at 8:53pm
654 posts
81 snarkmarks
Registered:
Oct 27th 2004
Occupation: Stoner/mucisian/level design
Location: The Nether Regions
this is how i did it in hl1 , i think the same goes for hl2
make a aiscriptd_sequence entity in the place you want the zombie to go,
target the zombie with it (so give your zombie a name and put it in aiscripted_sequence targer field)
and set the fields so the zombie will walk to the scripted sequence,
i think you need to fill inthe fields , move to and change the field
with search within range to the distance the zombie is away for the
scripted sequence,
i know this is a bit of a bad description, maybe someone else can tell
you more specificly what entity names and fields you must fill in, it's
been a while for me since i touched hammer, and that was for hl1
since i installed the new sdk my old hammer is broken and my new hammer doesn't work yet :S
EDIT:
info_node entitys in the map will tell the npcwhere he can go and where not i think, but you must place them with care