Game Development Community

T3D 1.1 Preview & earlier: animations in players .cs duplications - RESOLVED (THREED-2480)

by Greg M · in Torque 3D Professional · 05/03/2011 (8:05 pm) · 4 replies

Build: T3D 1.1 Preview and previous versions

Platform: Win7 64bit

Target: shape editor

Issue: OK, this is an issue I have delt with for a while now.
when you modify a models animation in object editor it duplicates all the animations
into an onLoad function. This cause the console to get spammed with Failed to add sequence errors
due to duplicate names.

Steps to Repeat:
1. launch game into world editor
2. open gideon in shape editor
3. change root animation to not cycle and save.(happens with any animation changes)
4. now open your /art/shapes/actors/gideon/gideon.cs in your editor of choice and you will see the new
onLoad function with all the duplications.
5. start the game again and load into a mission. open console and see all the pretty spam this has caused!!


Suggested Fix: have it only save the change you made and not duplicate everything else.

console spam
Executing art/shapes/actors/Gideon/gideon.cs.
TSShape::addSequence: Failed to add sequence 'root' (name already exists)
TSShape::addSequence: Failed to add sequence 'run' (name already exists)
TSShape::addSequence: Failed to add sequence 'back' (name already exists)
TSShape::addSequence: Failed to add sequence 'side' (name already exists)
TSShape::addSequence: Failed to add sequence 'look' (name already exists)
TSShape::addSequence: Failed to add sequence 'headLook' (name already exists)
TSShape::addSequence: Failed to add sequence 'fall' (name already exists)
TSShape::addSequence: Failed to add sequence 'land' (name already exists)
TSShape::addSequence: Failed to add sequence 'jump' (name already exists)
TSShape::addSequence: Failed to add sequence 'death1' (name already exists)
TSShape::addSequence: Failed to add sequence 'death2' (name already exists)
TSShape::addSequence: Failed to add sequence 'death3' (name already exists)
TSShape::addSequence: Failed to add sequence 'death4' (name already exists)
TSShape::addSequence: Failed to add sequence 'death5' (name already exists)
TSShape::addSequence: Failed to add sequence 'death6' (name already exists)
TSShape::addSequence: Failed to add sequence 'death7' (name already exists)
TSShape::addSequence: Failed to add sequence 'death8' (name already exists)
TSShape::addSequence: Failed to add sequence 'death9' (name already exists)
TSShape::addSequence: Failed to add sequence 'death10' (name already exists)
TSShape::addSequence: Failed to add sequence 'death11' (name already exists)
TSShape::addSequence: Failed to add sequence 'looksn' (name already exists)
TSShape::addSequence: Failed to add sequence 'lookms' (name already exists)
TSShape::addSequence: Failed to add sequence 'scoutroot' (name already exists)
TSShape::addSequence: Failed to add sequence 'headside' (name already exists)
TSShape::addSequence: Failed to add sequence 'light_recoil' (name already exists)
TSShape::addSequence: Failed to add sequence 'sitting' (name already exists)
TSShape::addSequence: Failed to add sequence 'celsalute' (name already exists)
TSShape::addSequence: Failed to add sequence 'celwave' (name already exists)
TSShape::addSequence: Failed to add sequence 'standjump' (name already exists)
TSShape::addSequence: Failed to add sequence 'looknw' (name already exists)
TSShape::addSequence: Failed to add sequence 'celcheck' (name already exists)
TSShape::addSequence: Failed to add sequence 'celimp' (name already exists)
TSShape::addSequence: Failed to add sequence 'celrocky' (name already exists)
TSShape::addSequence: Failed to add sequence 'taunt' (name already exists)
TSShape::addSequence: Failed to add sequence 'celdance' (name already exists)
TSShape::addSequence: Failed to add sequence 'celflex' (name already exists)
TSShape::addSequence: Failed to add sequence 'crouch_root' (name already exists)
TSShape::addSequence: Failed to add sequence 'crouch_back' (name already exists)
TSShape::addSequence: Failed to add sequence 'crouch_forward' (name already exists)
TSShape::addSequence: Failed to add sequence 'crouch_side' (name already exists)
TSShape::addSequence: Failed to add sequence 'swim_root' (name already exists)
TSShape::addSequence: Failed to add sequence 'swim_backward' (name already exists)
TSShape::addSequence: Failed to add sequence 'swim_forward' (name already exists)
TSShape::addSequence: Failed to add sequence 'swim_left' (name already exists)
TSShape::addSequence: Failed to add sequence 'swim_right' (name already exists)
Validation required for shape: art/shapes/actors/Gideon/gideon.dts

#1
05/05/2011 (7:09 pm)
Yeah this is an annoying bug
#2
08/16/2011 (6:51 pm)
This thread got overlooked. Logged a ticket under THREED-2480. Thanks.
#3
10/11/2011 (4:35 pm)
Fixed in 1.2
#4
10/11/2011 (9:26 pm)
cool thanks for the update