Game Development Community

Animation sequences and flying vehicle

by Very Interactive Person · in Torque Game Engine · 06/29/2004 (3:03 pm) · 3 replies

It looks like the flying vehicles don't have any animation sequences (please correct me if I'm wrong here). For a game idea I'm trying out I need the flying vehicles to have a jet sequence, a idle (flying) sequence, and perhaps even more like impact sequences etc. How hard is it to add this to the engine? Can anyone tell me what steps I should take? I mean I'm defenetly no engine programmer, but i'm willing to dive in anyway, just tought perhaps someone can save me some time by giving me good direction?

#1
06/29/2004 (6:32 pm)
Have you tried the PlayThread(%animation); command ?

Vehicles doesn't have a setAnimThread because they aren't related to Players but they are related to Shapebase.

Actually, the starter.racing mod provided in the demo have an animation for the motor lid that pops when the car hits the ground. Try checking it out.
#2
06/30/2004 (1:27 pm)
Flying vehicles have 4 jet animations implemented, named as follows:
"activateBack", "maintainBack", "activateBot", "maintainBot"
They are designed for animations that thrust the vehicle forwards and up. There is not an idle animation. If you look into the code, while it might seem difficult at first, it should not be all that hard to extend the existing set of animations to include what you desire. It might prove more difficult to figure out when to play them.
#3
10/24/2004 (4:00 am)
Hey i tride changing the four to ambient all through the code but ddnt work anyone ever get this working. elaberate onthe thread more please.