Rate of Fire
by Teromous · in General Discussion · 01/25/2005 (11:08 pm) · 5 replies
Sorry if this is a simple task, but where in crossbow.cs can I increase the rate of fire?
About the author
#2
01/27/2005 (1:45 am)
Thanks man! Actually I found that setting it to a low number makes it faster. Thanks for pointing me to the right place :D
#3
01/05/2007 (9:21 pm)
Can some1 please post the part of the script according to this thread so that I know what part needs to be changed to increase the rate of fire please?
#4
// Play the reload animation, and transition into
stateName[4] = "Reload";
stateTransitionOnNoAmmo[4] = "NoAmmo";
stateTransitionOnTimeout[4] = "Ready";
stateTimeoutValue[4] = 0.2;
stateAllowImageChange[4] = false;
stateSequence[4] = "Reload";
stateEjectShell[4] = true;
stateSound[4] = GunbowReloadSound;
01/05/2007 (9:23 pm)
Would this be the part of the script that I would change? if so which numbers? If not can some1 please post the correct area of the script?// Play the reload animation, and transition into
stateName[4] = "Reload";
stateTransitionOnNoAmmo[4] = "NoAmmo";
stateTransitionOnTimeout[4] = "Ready";
stateTimeoutValue[4] = 0.2;
stateAllowImageChange[4] = false;
stateSequence[4] = "Reload";
stateEjectShell[4] = true;
stateSound[4] = GunbowReloadSound;
#5
-ner
01/16/2007 (7:41 am)
You're in the right spot - you want to change stateTimeoutValue. Setting it to a smaller value will do the trick. For example, change 0.2 to 0.001.-ner
Torque 3D Owner Danner Jones
-ner