I added a patroller in my map.
I gave it a key/value of script_patroller/patrol_walk.
But it gave me an error: http://img93.imageshack.us/img93/8343/erroorhr3.png
When i delete the key/value of script_patroller/patrol_walk, the level works fine, but the patroller doesn't work then.
General Member Since: Jun 7, 2006 Posts: 24 Last: Feb 22, 2010 [view latest posts]
Category: CoD4 SP Mapping Posted: Friday, Aug. 1, 2008 06:29 am
If you using or calling the _patrol.gsc on your actor you dont need to set this key/value because the script will do it.
you can use this key/value only with On & Off e.g. 1/0
so it have to be Key:script_patroller Value:1
In the cod2 tutorial section is a tut for patrollers.
If you want to do it simple..build your path for your actor with simple pathnodes..the actor have to be connected to your start node(select the actor + the first node & press W) then connect the start node to the next node and so on...
If the patroller use a ring(loop) to move then "not_chain" must be checked in the entity editor on the last node.
Select your AI and add a "targetname" for your actor. Key:targetname Value:patroller1
******* script runtime error *******
assert fail: Tried to set generic run anim but the anim was not defined in the maps _anim file:(file 'maps/_utility.gsc', line 6328)
assertEx( isdefined( level.scr_anim["generic"][ anime ]),"Tried to set generic run anim but the anim was not defined in the maps _anim file");
I've been following along trying to fix this same problem in a SP Co-Op mission for W@W.
The map works, and at least he's moving now, but instead of patrolling he stands in front of the guard house dancing to the latest in the hit parade LOL!
I haven't been through all the tutorials yet so I'm not asking any questions yet but thought you guys would get a laugh out of him. Now I just need to add the appropriate music ha ha ha.
General Member Since: May 16, 2010 Posts: 53 Last: Dec 15, 2015 [view latest posts]
Category: CoD4 SP Mapping Posted: Sunday, Aug. 8, 2010 12:35 am
Raven21633 writes...
Quote:
I've been following along trying to fix this same problem in a SP Co-Op mission for W@W.
The map works, and at least he's moving now, but instead of patrolling he stands in front of the guard house dancing to the latest in the hit parade LOL!
I haven't been through all the tutorials yet so I'm not asking any questions yet but thought you guys would get a laugh out of him. Now I just need to add the appropriate music ha ha ha.
Very simple, all you have to do I update the zone file with the required xanims, it should have them in missing assets already. When I did for CoD4 I need to put these in