Use the command SetAnimationSpeed(1.0) to set the animation to default anim speed, and so 0.5 would be half speed and 2.0 would be double speed. You can trigger the death sequence by adding a new LUA function called:
function ai_fantasytaurus_exit(e)
PlayCharacterSound(e,"onDeath")
ai_soldier_state[e] = "dead"
ModulateSpeed(e,1.0)
CharacterControlLimbo(e)
SetAnimationSpeed(e,1.0)
SetAnimationFrames(732,760)
PlayAnimation(e)
CollisionOff(e)
end
Where 'ai_fantasytaurus' is the name of your own script file (minus the .lua extension of course). The animation frames themselves have to be discovered using whatever modeler you use, or if you are using our default assets, then I suggest the attached script might be of help. Associate the script with the character of choice and then run test level, then use MINUS, PLUS, BACKSPACE and RETURN to control the animation manually.
PC SPECS: Windows 7 Ultimate 64-bit, Intel Core i7 920 (PASSMARK:5008), NVIDIA Geforce 9600 GT GPU (PASSMARK:752) , 6GB RAM