Author Topic: Different fireanimation for each shot?  (Read 455 times)

So a few weeks ago I started to create 3D models for Blockland, which turned out to look better than I expected, everything worked surprisingly well so far even though I pretty much have no idea of what I'm doing. But as I where to create an hammered, sbs shotgun for Blockland I realized that it will take more than just one fire animation in order to look good ingame or otherwise both hammers would drop at once. Now my question is if there is any possible way of loading a different fireanimation for each trigger pull until it reloads?

For third person, just use getRandom(min, max) when determine which animation to use. For first person, you'll need to either have a long state system for each sequential shot (animations would play sequentially) or some stateScript flag checking magic to transition to a fire state with a certain stateSequence based on randomness from a script.

Thanks for the quick respond, so if I got this right I'll just need to have a statesystem for each shot to play the sequences in the right order, or won't it load the sequences in thirdperson in that case?

Edit : Nevermind got it working, thanks a lot.
« Last Edit: February 14, 2015, 06:29:02 AM by M0RRIS »