Game Development Community

Engine crash when loading death animation

by Marcus Vinícius Pires · in Technical Issues · 10/20/2010 (10:59 pm) · 13 replies

Hello. Me and a couple of friends just started a project in the old Torque Game Engine demo (version 1.5.2) at the end of a technical course of game development as the end of course project.
The development was running ok until we find an error that crashes the engine when the player dies. We've checked if the problem was the .dts of the death sequence but it loads without a problem in other action. I've exported the model again with the animations and tested on Torque 3D 2009 but the problem still there. We don't know for sure what is causing the crash, but it could be related to the model's armature, since some bones are messed up after the export from Blender on Torque 3D 2009 and normal on Torque Game Engine 1.5.2. Thanks in advance and sorry about my english.

#1
10/20/2010 (11:21 pm)
"Ground Transform"
#2
10/20/2010 (11:41 pm)
Ground Transform?
#3
10/20/2010 (11:59 pm)
Death animations have to have a ground transform, if you don't have it then it will crash.
#4
10/21/2010 (12:01 am)
Ah! Thanks Scott and eb!
#5
10/21/2010 (9:09 pm)
We're a bit confused about the ground transform. I've picked the demo version of DSQTweaker to add ground transform to the animation, but it crashes. How can I add the ground transform without this program? What script I have to edit to add this? Is it on the animation script? We're planning to buy the indie version of Torque 3D but only if we could fix this problem before. Thanks again for the attention.

EDIT: I've added this ( %this.setSequenceGroundSpeed("death1", "0 5 5"); ) to the model's .cs file and the animation loads without crash, but when I click to exit game - even without loading the animation, it crashes.
#6
10/22/2010 (4:25 pm)
anyone?
#7
10/22/2010 (5:38 pm)
1.1 is maturing into what 1.0 should have been..but that won't be out until Q1 2011.

yay for slow!
#8
10/22/2010 (6:02 pm)
So, I need to shoot in the dark and expect to hit the target? (buy the license to see if my project will work properly?) I guess we'll switch to another engine then. :/
#9
10/22/2010 (8:35 pm)
@eb
That is not a fair assessment of 1.0.1 even in the slightest. 1.0 had a lot of stability issues and 1.0.1 solved most of them. 1.0.1 is quite stable and capable of completing a project on.

@Marcus
You'll need to add the ground transform via the 3D modeling application you used to create your model. Check out the Artist section on the documentation page for more info about ground transforms.
#10
10/22/2010 (8:37 pm)
Thanks again Scott! I'm gonna pass this to the design team of the project!
#11
10/22/2010 (8:42 pm)
Happy to help. Let me know if you don't find the answer you need there or on the forums. I'm not an artist, so there's only so much I can help with when it comes to 3D apps, but I should be able to find someone with the answer.
#12
10/22/2010 (8:43 pm)
Thanks man!
#13
10/22/2010 (9:14 pm)
meh, we'll agree to disagree there Scott.
I edited the post as it seemed a bit brash as I re-read it.