Posted: 28th Sep 2009 23:26
Ok so im wanting to adjust the sniper fireing rate. To be slower. I think I know how just wanna make sure here. Here is the regular sniper fire script.
;Artificial Intelegence Script
;Header
desc = Snipe Shoot
;Triggers
:ifweapon=0:reloadweapon,state=1,animate=31,sound=audiobank\\guns\\reload.wav
lrcanbeseen:settarget,rotatetotarget,resethead
lrdistwithin=200:rotatetoplr,resethead
:state=0,random=50:rotateheadrandom=65
:state=0,shotdamage=1:state=7
:state=0,ifweapon=1,plrcanbeseen:state=2
:state=1,random=50:rotateheadrandom=65
:state=1,random=100:state=0,animate=1
:state=1,plrcanbeseen:state=0,animate=1
:state=5:useweapon,rundecal=6,state=0
:state=4:state=5
:state=3:state=4
:state=2:state=3
:state=7,random=1:state=8
:state=7,random=1:state=10
:state=7:settarget,rotatetotarget,state=1,animate=31
:state=8:state=9,setframe=3
:state=9:incframe=3,strafe=-90,rotatetoplr
:state=9,frameatend=3:state=1,animate=1
:state=10:state=11,setframe=3
:state=11:incframe=3,strafe=90,rotatetoplr
:state=11,frameatend=3:state=1,animate=1
;End of Script
Now I belive this last section defines how fast to fire right here
:state=8:state=9,setframe=3
:state=9:incframe=3,strafe=-90,rotatetoplr
:state=9,frameatend=3:state=1,animate=1
:state=10:state=11,setframe=3
:state=11:incframe=3,strafe=90,rotatetoplr
:state=11,frameatend=3:state=1,animate=1
Now I think the 3 is the fire rate so if I raised it to say maybe 5 or 6 this should slow down the fireing rate correct?