Page 1 of 1
combo error ::Animation: failed to add 'animationname'
Posted: Sat Oct 01, 2011 12:16 pm
by DarthD.U.C.K.
im trying to tweak around in a combo, i gave it a sercte fourth attack and firts used the dashattackanimation for it. now i want it to have a differnet animation from the dashattack but when i changed the name of the animation in the combo i get this error:
Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(2290)
Combo[43770bfb]::State[ATTACK_4]::Animation: failed to add 'stand_attack1d' [2a09d4e5]
of course i included the animation in the animset. i seem to get this error for every renamed animation i try to add. does anybody know how to solve this?
edit: i called the anim gam_guard and it works.....so new anims need weird names. does anybody know a little more about the naming convention?
Re: combo error ::Animation: failed to add 'animationname'
Posted: Sat Oct 01, 2011 2:27 pm
by Fiodis
I had this error yesterday; what fixed it for me was loading the unit that used it first in the LUA and upping the combo memory pools.
EDIT -
http://www.gametoast.com/forums/viewtop ... 27&t=14226
Teancum wrote:Basically what happened is that Tatooine Luke uses up a lot of the memory, so everyone who was loaded into memory first was fine, but when it came to the Emperor there was not enough room in the game's memory to load his animations.
Re: combo error ::Animation: failed to add 'animationname'
Posted: Sat Oct 01, 2011 2:30 pm
by DarthD.U.C.K.
thanks, ill try that now.
weird though that it works with some animnames...
edit: now the game crashes even before the spanwscreen rather than a second after displaying it, i doubled the memorypools and moved the unit from botton to top in the loadlist. i also get far more "failed to add" errors for anims of the other units.
edit2: i found the solution!!!!! you have to call the animations just like animations in other animationsets 8that also get loaded i suppose). then it will work. i guess it has to do with memory handling...
Re: combo error ::Animation: failed to add 'animationname'
Posted: Sat Oct 01, 2011 9:56 pm
by Fiodis
DarthD.U.C.K. wrote:edit2: i found the solution!!!!! you have to call the animations just like animations in other animationsets 8that also get loaded i suppose). then it will work. i guess it has to do with memory handling...
I gave one of my animations the name maul_sabre_counter2_recover_full. It didn't work at first, but did when I moved that unit so it was loaded first. I'm not sure that naming doesn't have something to do with it, but it doesn't seem to be the full picture in and of itself.