Author Topic: Weapon swing speed (datablocks)  (Read 746 times)

I can never get this to work correctly. It just messes up no matter which state i add more delay on. So tell me, how can i change the weapon speed of a weapon.

   stateName[0]                     = "Activate";
   stateTimeoutValue[0]             = 0.5;
   stateTransitionOnTimeout[0]      = "Ready";
   stateSound[0]                    = daggerDrawSound;

   stateName[1]                     = "Ready";
   stateTransitionOnTriggerDown[1]  = "PreFire";
   stateAllowImageChange[1]         = true;

   stateName[2]         = "PreFire";
   stateScript[2]                  = "onPreFire";
   stateAllowImageChange[2]        = false;
   stateTimeoutValue[2]            = 0.1;
   stateTransitionOnTimeout[2]     = "Fire";

   stateName[3]                    = "Fire";
   stateTransitionOnTimeout[3]     = "CheckFire";
   stateTimeoutValue[3]            = 0.2;
   stateFire[3]                    = true;
   stateAllowImageChange[3]        = false;
   stateSequence[3]                = "Fire";
   stateScript[3]                  = "onFire";
   stateWaitForTimeout[3]      = true;

   stateName[4]         = "CheckFire";
   stateTransitionOnTriggerUp[4]   = "StopFire";
   stateTransitionOnTriggerDown[4]   = "Fire";

   
   stateName[5]                    = "StopFire";
   stateTransitionOnTimeout[5]     = "Ready";
   stateTimeoutValue[5]            = 0.2;
   stateAllowImageChange[5]        = false;
   stateWaitForTimeout[5]      = true;
   stateSequence[5]                = "StopFire";
   stateScript[5]                  = "onStopFire";

weapon speed of a weapon

lol

change stateTimeoutValue[3]'s value

You'll have to change the animation in addition to what zloff said

You'll have to change the animation in addition to what zloff said

What animation?

What animation?
The swinging animation. Obviously if you're only making it a teensy bit faster, you don't need to, but if you're doing like 3x speed it'll just look bad if the animation lags behind.

The swinging animation. Obviously if you're only making it a teensy bit faster, you don't need to, but if you're doing like 3x speed it'll just look bad if the animation lags behind.

And that is done through a modeling program, correct?

And that is done through a modeling program, correct?
:(

And that is done through a modeling program, correct?
That's the only way I know how it would be done, sorry

That's the only way I know how it would be done, sorry
:(((