Soldier Death Animations help request
by Dan Webb · in Torque 3D Professional · 12/24/2011 (12:26 am) · 3 replies
Having just purchased the Soldier Death Animations pack I thought I'd dive right in and make the changes. Now I'm almost 100% sure that I followed the directions to the letter, several times now, but whenever I go into the World Editor to test it my player spawns as a corpse. That's not to say that I died, I can 'run' around shooting etc., but I have no animations at all. Just a static dead body lying on the ground.
Has anyone else experienced this? Is there a workaround? I'm thinking the docs just need to be upgraded to T3D 1.2 or that I'm doing something not-quite-right.
Has anyone else experienced this? Is there a workaround? I'm thinking the docs just need to be upgraded to T3D 1.2 or that I'm doing something not-quite-right.
About the author
I do terrains. Lots of other stuff too, but mostly terrains. I die in games more often than not because I'm admiring the view.
#2
01/06/2012 (10:35 pm)
In the shape editor I just deleted all the other death related animations and now it works. or seems to work.
#3
01/08/2012 (1:10 pm)
let me see your animation setup should look like this: singleton TSShapeConstructor(HellDoll_Data)
{
baseShape = "./HellDoll.dae";
//loadLights = "0";
//unit = "1.2";
//upAxis = "DEFAULT";
// lodType = "DetectDTS";
//singleDetailSize = "2";
// matNamePrefix = "soldier_";
// ignoreNodeScale = "0";
// adjustCenter = "0";
// adjustFloor = "-6";
};
function HellDoll_Data::onLoad(%this)
{
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/root.DAE", "root");//root
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/run.DAE", "Run");//run
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/root.DAE", "swim_root");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/root.DAE", "swim_forward");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/root.DAE", "fall");
%this.setSequenceCyclic("fall", "0");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/root.DAE", "jump");
%this.setSequenceCyclic("jump", "0");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/root.DAE", "swim_dive");
/*
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/combo1.DAE", "Combo1_0");
%this.setSequenceCyclic("Combo1_0", "0");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/combo2.DAE", "Combo1_1");
%this.setSequenceCyclic("Combo1_1", "0");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/combo3.DAE", "Combo1_2");
%this.setSequenceCyclic("Combo1_2", "0");
%this.addSequence("art/RPG_Art_Pack/Monsters/HellDoll/Animations/combo4.DAE", "Combo1_3");
%this.setSequenceCyclic("Combo1_3", "0");
*/
%this.addSequence("art/shapes/actors/Animations/RPG_Motion/combo1.DAE", "Combo1_0");
%this.setSequenceCyclic("Combo1_0", "0");
%this.addSequence("art/shapes/actors/Animations/RPG_Motion/combo2.DAE", "Combo1_1");
%this.setSequenceCyclic("Combo1_1", "0");
%this.addSequence("art/shapes/actors/Animations/RPG_Motion/combo3.DAE", "Combo1_2");
%this.setSequenceCyclic("Combo1_2", "0");
%this.addSequence("art/shapes/actors/Animations/RPG_Motion/combo4.DAE", "Combo1_3");
%this.setSequenceCyclic("Combo1_3", "0");
}
Torque Owner Dan Webb
PsyCandy Games
The trouble seems to be coming from the differences in soldier_rigged.cs as this file is in no way similar to the default soldier_rigged.cs. I tried adding the SoldierDAE::onLoad(%this) function at the bottom underneath the turrets section, careful to maintain the proper syntax, but the game hangs on loading/creating the LOD stuff. Looking at the console log I saw a bunch of errors, though I didn't see anything about loading the actual soldier_rigged.cs file. I've cleaned it up since then with my backup folder and forgot to save that console log somewhere... I'll upload it when I try it again.
I'm thinking that there's a conflict here between the default death animations and the new ones. Is it possible that the game is in an infinite loop here? So anyway, I can't even start the game because T3D is "not responding". If I add the new files from the content pack without replacing anything I can run the game but with the error I mentioned in my first post. ie; no animations whatsoever but able to move and shoot etc..
/rant: I'm having these woes with every pack I've purchased so far, as long as I follow the included docs' instructions to the letter. So far it seems I've spent several hundred dollars on errors and headaches. My social skills are also at an all-time low. /end rant.