Game Development Community

Lightwave animation

by Howard Dortch · in Torque Game Engine · 08/29/2004 (6:44 pm) · 5 replies

I have a player exported from Lightwave and the run animation doesn't work in the game. Works fine in the show tool but just glides around in the game. Anyone know what the problem might be?

#1
08/30/2004 (5:19 am)
Have you exported it as a DSQ or as a DTS ?

Have you checked the player TSsomething Datablock where you bind the DSQs to the animations ?
#2
08/30/2004 (5:42 am)
I assumed both. The player.dts and player_forward.dsq is there as well as the player.cs file with datablock TSShapeConstructor(PlayerDts).
It's just wierd all the demo characters like orc works fine and the character works in the show tool. Just wont run forward in the game. He runs backward and side steps but not forward.
#3
08/30/2004 (2:40 pm)
Howard,

Keep in mind that you are exporting both the animation in the .DTS and the .DSQ. You must choose only one.

If you are exporting the animation in the .DTS, comment the TSShapeConstructor file.

Also check if the run animation is named correctly. Try renaming it.
#4
08/30/2004 (2:47 pm)
I'm going to make an assumption here. The DTS file holds name, frame count etc of the animaiton stored in the DSQ? And if the animation is in the DSQ files they need defined or exposed to the engine in the *.cs file is this all correct?
#5
08/31/2004 (6:23 am)
It depends on how you set it.

The lightwave exporter creates a DSQ whenever you press the "Save as DSQ" button for that animation but if you have the export animations checkbox, the SAME animation will be exported inside the DTS also.

So you must choose what form of exporting you want. If you choose only the DTS, you won't need the TSShapeConstructor file at all.