combo error ::Animation: failed to add 'animationname'

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

combo error ::Animation: failed to add 'animationname'

Post 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?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: combo error ::Animation: failed to add 'animationname'

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: combo error ::Animation: failed to add 'animationname'

Post 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...
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: combo error ::Animation: failed to add 'animationname'

Post 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.
Post Reply