i recently edited the pace.fpi script in scriptbank/people so the model pack 4 zombie surgeon, or indeed, any melee entity can follow it.
basically, the entity will follow a waypoint around, but when it sees the player, instead of glitching up and doing a wierd dance (hockey cockey?) it starts following the player and hits you when he is next to you.
it is perfect for COD5 style zombie games and you can use it in any games, commercial or non-commercial.
bearing in mind that this is my first script, please don't kill me if there are still some bugs.
enjoy!
;Artificial Intelligence Script
;Header
desc = Hunt And Pace Waypoints (zombie)
;Triggers
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointstop,state=4
:waypointstate=999:animate=2,waypointstop,state=5
:nearactivatable=0:settarget,activatetarget=2,animate=1,state=0
:state=0:state=1
:state=1,plrcanbeseen:settarget,state=2
:state=1,noiseheard=5:rotateheadrandom=85
:state=2:state=3
:state=3:waypointstop,state=5
:state=4,plrcanbeseen=3000:settarget,state=2
:state=5,plrdistwithin=3000:state=6
:state=6,plrdistfurther=40:rotatetoplr,movefore=2,animate=2
:state=6,plrdistfurther=3000:animate=1,state=5
:state=6,plrdistwithin=40,rateoffire:rotatetoplr,animate=92,plraddhealth=-20
:state=6,shotdamage=1:,state=7
:state=7,plrdistwithin=3000:state=8
:state=8,plrdistfurther=40:rotatetoplr,movefore=2,animate=2
:state=8,plrdistfurther=3000:animate=1,state=7
:state=8,plrdistwithin=40,rateoffire:rotatetoplr,animate=92,plraddhealth=-20
;End of Script
the onion mind probes are coming for your soul...
they take your humanity... and give you...
onionity.