Posted: 22nd Nov 2012 16:46
and heres a chainsaw brutes destroy script
;Artificial Intelligence Script
;Header
desc = Chainsaw Brute Death
;Triggers
;MAKE HUDS
:state=0:hudreset,hudx=15,hudy=70,hudimagefine=gamecore\huds\bond1\takechainsaw.tga,hudname=takechainsaw,hudhide=1,hudmake=display
:state=0:hudreset,hudx=15,hudy=70,hudimagefine=gamecore\huds\bond1\holsterweapon.tga,hudname=holsterweapon,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\bond1\chainsplatter1.tga,hudname=chainsplatter1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\bond1\chainsplatter2.tga,hudname=chainsplatter2,hudhide=1,hudmake=display
;:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\bond1\chainsplatter3.tga,hudname=chainsplatter3,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\bond1\chainsplatter4.tga,hudname=chainsplatter4,hudhide=1,hudmake=display,state=1
;DROP TO KNEES
:state=1:stopsound,sound=audiobank\bond1\chainmissstall.wav,setframe=99,state=2
:state=2:incframe=99
:state=2,frameatend=99:state=3
:state=3:animate=100
:state=3,plrdistwithin=90:hudshow=holsterweapon
:state=3,plrdistfurther=101:hudreset,hudunshow=holsterweapon
:state=3,plrdistwithin=100,scancodekeypressed=11:setframe=101,state=33,hudfadeout=holsterweapon
:state=33:animate=100
:state=33,plrdistwithin=90:hudshow=takechainsaw
:state=33,plrdistfurther=101:hudreset,hudunshow=takechainsaw
:state=33,plrdistwithin=100,scancodekeypressed=20:rotatetoplr,setframe=101,sound=audiobank\bond1\chainpullstart.wav,state=4,hudfadeout=takechainsaw
;TAKE AND START CHAINSAW
:state=4:incframe=101,plrfreeze=1
:state=4,frameatend=101:setframe=102,state=5
;AIM CHAINSAW
:state=5:plrfreeze=1,incframe=102,loopsound=audiobank\bond1\chainidleloop.wav
:state=5,frameatend=102:stopsound,setframe=103,sound=audiobank\bond1\swingrev.wav,state=6
;IMPACT, CUT OFF HEAD
:state=6:plrfreeze=1,incframe=103
:state=6,framebeyond=103 5:loopsound=audiobank\bond1\chainrevloop.wav,hudshow=chainsplatter1
:state=6,framebeyond=103 30:hudshow=chainsplatter2
:state=6,framebeyond=103 80:hudshow=chainsplatter4
:state=6,framebeyond=103 90:hudunshow=chainsplatter1,hudunshow=chainsplatter2,hudunshow=chainsplatter4
:state=6,frameatend=103:stopsound,sound=audiobank\bond1\chainmissstall.wav,setframe=104,state=7
:state=7:plrfreeze=0,incframe=104
:state=7,frameatend=104:setframe=105,state=8
:state=8:incframe=105
:state=8,frameatend=105:state=9,suspend,coloff