Author Topic: Exporting an model and the animation contains a speed error?  (Read 885 times)

I know how to use the animation program well and export it to BL successfully but there's a little problem that's bugs me a lot,

I'm not sure if it's the script or export but the animation for the gun plays very fast you have to put it in 0.2 timescale to see

Anyone know how to solve this? Thanks!

- xLEGOx

3D Program used : MilkShape 3D

Just in case the second line didn't make sense

- When you shoot the gun the animation doesn't play, but if you set the timescale to 0.2 you could see the animation for the gun play swiftly.

I don't think Blockland likes Milkshape's exporter animations. That aside, haaaavvvveeee you tried adding more frames to the animation or making it play slower in Milkshape?

I don't think Blockland likes Milkshape's exporter animations. That aside, haaaavvvveeee you tried adding more frames to the animation or making it play slower in Milkshape?
Doesn't matter. Milkshape's animations are no different than blender's.

Animation speed is scaled to state timeout by Blockland. Increase the state's timeout.

I've tried setting the FPS in the edit menu for the animation lower than 10, still speeds up insanely

There are 14 frames in the animation.

Added some frames now, there's 46

Here's the part where the animation has been added

 // Initial start up state
   stateName[0]                     = "Activate";
   stateTimeoutValue[0]             = 0.15;
   stateTransitionOnTimeout[0]       = "Ready";
   stateSound[0]               = weaponSwitchSound;

   stateName[1]                     = "Ready";
   stateTransitionOnTriggerDown[1]  = "Fire";
   stateAllowImageChange[1]         = true;
   stateSequence[1]   = "Ready";

   stateName[2]                    = "Fire";
   stateTransitionOnTimeout[2]     = "Smoke";
   stateTimeoutValue[2]            = 0.14;
   stateFire[2]                    = true;
   stateAllowImageChange[2]        = false;
   stateSequence[2]                = "Fire";
   stateScript[2]                  = "onFire";
   stateWaitForTimeout[2]         = true;
   stateEmitter[2]               = DartlingGunFlashEmitter;
   stateEmitterTime[2]            = 0.05;
   stateEmitterNode[2]            = "muzzleNode";
   stateSound[2]               = DartlingGunShot1Sound;
        stateSequence[2]                = "BarrelSpin";                              < - - - Animation Name
   stateEjectShell[2]       = true;

   stateName[3] = "Smoke";
   stateEmitter[3]               = DartlingGunSmokeEmitter;
   stateEmitterTime[3]            = 0.05;
   stateEmitterNode[3]            = "muzzleNode";
   stateTimeoutValue[3]            = 0.01;
   stateTransitionOnTimeout[3]     = "Reload";

   stateName[4]         = "Reload";
   stateSequence[4]                = "Reload";
   stateTransitionOnTriggerDown[4]  = "Fire";
   stateTransitionOnTriggerUp[4]     = "Ready";
   stateSequence[4]   = "Ready";

(Off topic: Thanks for the help guys )

This was my problem when I was asking on how to play animations slower.

Doesn't matter. Milkshape's animations are no different than blender's.

Animation speed is scaled to state timeout by Blockland. Increase the state's timeout.

Decreasing the state timeout for [2] helped out, thanks mate.
Dissapointed of the backfire ; slower firerate

(Off topic: dumb lego realizes he should have placed the topic in general modification help)