Le zombie se deplace accroupi, il me rappelle quasimodo quand il penche/tourn sa tete (Testé avec le hl2 zombie)
script :
;A rtificial Intelligence Script
;H eader
desc = zombie-quasimodo
;T riggers
:state=0:waypointstart,setframe=19
:state=0,plrwithin,plrdistfurther=601:state=0
:state=0,plrwithin,plrdistwithin=600:state=20
:state=1,plrcanbeseen:movefore=10,animate=32,state
=20
:state=1,shotdamage=1:movefore=10,animate=32,state
=20
;- =>>>WAYPOINTS<<<=-
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
;/ //PLR FOUND\\\
:state=20,ifweapon=1,strafe
:state=20,plrdistfurther=50,plrcanbeseen:rotatetop
lr,movefore=10,animate=32
:state=20,plrcannotbeseen:state=40
:state=20,shotdamage=1:strafe
:state=20,plrdistwithin=50:state=50
;/ //Look For Plr\\\
:state=40,plrcannotbeseen,random=3:timerstart
:state=40,plrcannotbeseen,random=3,timergreater=30
:rotateheadrandom=66
:state=40,plrcannotbeseen,random=3,timergreater=40
:pivotrandom=63,movefore=10,animate=32
:state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=80:rotatetoplr
:state=40:state=20
;/ //MELEE\\\
:state=50:setframe=6,timerstart
:state=50,random=5:plraddhealth=-5
:state=50,random=4:plraddhealth=-6
:state=50,random=3:plraddhealth=-7
:state=50,random=2:plraddhealth=-8
:state=50,random=1:plraddhealth=-9
:state=50:state=51
:state=51:incframe=6
:state=51,frameatend=6:state=52
:state=52,plrcanbeseen:state=20
:state=52,plrcannotbeseen:timerstart,state=40
:state=53:movefore=10,animate=2
:state=53,timergreater=1000:state=20
;E nd of Script