(Version modified by my previous script, good with zombie M4(zombiecop,zombienurse & others...)
What it make :
Ennemy search player(walk), when found he move to plr (run)
Ennemy shoot player
If Ennemy lose target (player), Ennemy search player (walk again)...
Don't need attack-script
Don't need weapon
Use with zombie model pack 4
script here :
;Artificial Intelligence Script
;Header
desc = search melee and strafe zombie-script (Funny-Havok)
;Triggers
:state=0:waypointstart
:state=0,plrwithin,plrdistfurther=601:state=0
:state=0,plrwithin,plrdistwithin=600:state=20
:state=1,plrcanbeseen:movefore=10,animate=3,state=20
:state=1,shotdamage=1:movefore=10,animate=3,state=20
;-=>>>WAYPOINTS<<<=-
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:waypointstate=6:animate=2,waypointrandom
:waypointstate=7:animate=2,waypointrandom
:waypointstate=8:animate=2,waypointreverse
;///PLR FOUND\\\
:state=20,plrdistfurther=50,plrcanbeseen:rotatetoplr,movefore=20,animate=5
:state=20,plrcannotbeseen:state=40
;state=20,shotdamage=1:strafeforward
:state=20,plrdistwithin=50:state=50
;///Look For Plr\\\
:state=40,plrcannotbeseen,random=8:timerstart
:state=40,plrcannotbeseen,random=8,timergreater=15:rotateheadrandom=75
:state=40,plrcannotbeseen,random=8,timergreater=20:pivotrandom=70,movefore=20,animate=2
;state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=100:rotatetoplr
:state=40:state=20
;/ /ATTACK\\
:state=50,plrdistfurther=300:animate=1,state=20
:state=50,plrdistwithin=40,rateoffire:rotateplr,animate=92,plraddhealth=-20
;End of Script
(please, excuse my bad english...)
respectfully,
Funny