(EN)
@funny first thanks for your help .. I've tried your scripts but there is no attack animation too may be I didn't understand what you wanted to say
EN
Use
http://forum.thegamecreators.com/?m=forum_view&t=118443&b=23
With zombies model pack 4 or Zizombie for see the animations (put script in main script, not need attack script.
FR
Il te faut utiliser ce script avec les zombies du pack 4 ou du zizombie (Mettre ce script en principal, pas besoin de script d'attaque)
;Artificial Intelligence Script
;Header
desc = search, melee, and strafe for zombie(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=10,animate=2
:state=40,shotdamage=1:rotatetoplr
:state=40,noiseheard=100:rotatetoplr
:state=40:state=20
;/ /ATTACK\\
:state=50,plrcanbeseen:state=51,settarget
:losetarget=100:state=0
:state=0:runfpidefault=1
:state=51,plrcannotbeseen:runfpidefault=1
:state=51:rotatetoplr
:state=51,animate=5,freeze,state=52,setframe=6
:state=51,plrdistwithin=200,random=20:state=55
:state=51,plrdistwithin=30:state=60
:state=51,rateoffire,plrdistfurther=60:state=52,setframe=6
:state=52:incframe=6
:state=52,frameatend=6:state=51,rateoffire,plraddhealth=-2
:state=52:incframe=6
:state=52,framebeyond=6 60:rateoffire,plraddhealth=-2
:state=52,frameatend=6:state=51,rateoffire,plraddhealth=-2
:state=53:incframe=6
:state=53,frameatend=6:state=51,rateoffire,plraddhealth=-2
:state=55,random=1:state=56,setframe=4
:state=55:state=57,setframe=3
:state=56:incframe=4,strafe=90,rotatetoplr
:state=56,frameatend=4:state=51,animate=5
:state=57:incframe=3,strafe=-90,rotatetoplr
:state=57,frameatend=3:state=51,animate=5
:state=60:state=61,setframe=5
:state=61:incframe=5,strafe=180,rotatetoplr
:state=61,frameatend=5:state=51,animate=5
;End of Script
Le zombie straffe sur les cotés, et te frappe....mais il n'est pas parfait.tout depend du lieu ou tu place le zombie.
Funny