Problem with custom animation set [Solved]

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
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Problem with custom animation set [Solved]

Post by Samee3 »

Hello again Gametoast; I need a little help with a.....problem.

I made a custom animation set for a custom hero following Metalcore Rancor's tutorial. It works on every map except Mos Eisley: Hero Assault; it crashes when loading is complete.

I scanned the log, and found everything I could with MS3:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\TAG\data\_LVL_PC\core.lvl
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Weapon.cpp(2113)
Weapon "all_weap_inf_haywiredetonator" uses undefined weapon animbank "grenade"




Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1412)
Out of space for soldier animation banks (max 18)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1412)
Out of space for soldier animation banks (max 18)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1412)
Out of space for soldier animation banks (max 18)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1412)
Out of space for soldier animation banks (max 18)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1412)
Out of space for soldier animation banks (max 18)






Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_attack1a_end(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_attack1b(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_attack1a(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_front1(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_front2(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_left1(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_left2(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_right1(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_right2(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_block_idle(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_attack1b_end(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_attack1c(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_stand_dashattack(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_jumpattack_land(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_jumpattack_fall(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation grevious_sabre_jumpattack_end(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_idle_emote(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_idle_emote(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_idle_checkweapon(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_idle_checkweapon(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_idle_lookaround(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_idle_lookaround(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_turnleft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_turnleft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_turnright(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_stand_turnright(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_idle_emote(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_idle_emote(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_idle_checkweapon(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_idle_checkweapon(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_idle_takeknee(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_idle_takeknee(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_turnleft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_turnleft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_turnright(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_crouch_turnright(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_idle_emote(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_idle_emote(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_idle_checkweapon(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_idle_checkweapon(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_idle_lookaround(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_idle_lookaround(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_turnleft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_turnleft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_turnright(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1977)
Can't find soldier animation grevious_sabre_prone_turnright(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_sprint(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_sprint(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_forward(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_forward(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_backward(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_backward(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_left(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_left(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_right(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jump_right(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_landsoft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_landsoft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_landhard(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_landhard(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_fall(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_fall(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flail(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flail(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingfront(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingfront(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingback(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingback(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingleft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingleft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingright(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_flyingright(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_tumblefront(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_tumblefront(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_tumbleback(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_tumbleback(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_bouncefrontsoft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_bouncefrontsoft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_bouncebacksoft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_bouncebacksoft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_landfrontsoft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_landfrontsoft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_landbacksoft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_thrown_landbacksoft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_getupfront(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_getupfront(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_getupback(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_getupback(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_diveforward(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_diveforward(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jetpack_hover(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_jetpack_hover(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_deadhero(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_deadhero(_lower)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitfront(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitfront(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitback(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitback(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitleft(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitleft(_lower)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitright(_upper)


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(2037)
Can't find soldier animation grevious_sabre_stand_hitright(_lower)
Nothing I could see that would tell me anything besides the soldier animation bank being "out of space". I tried removing Grevious from the map, and tried reducing the # of people running around, and tried removing the hero whom I had modified from gameplay, to no avail.

Any ideas?

Thanks, Sam
Last edited by Samee3 on Mon May 23, 2016 7:29 pm, edited 1 time in total.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Problem with custom animation set

Post by thelegend »

What happens when you remove every hero from your .lua except yours to see if he does actually work on this map (and mode)? I think too many animations are loaded. The only way would be to reduce down available animations or by just removing other heroes. Or giving some stock heroes the same animations so all heroes would be kept but with less from their unique animations.
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Problem with custom animation set

Post by Samee3 »

Hmmm....
There seems to be something in your theory, thelegend. I removed every character from the mode, keeping only the problem character and Boba Fett.
It appears to have worked, but I did change some things about the character itself in the time between posting the question and replying. I will now slowly add back the rest of the characters, and see what happens.

Thanks, Sam


EDIT
Ok! Testing complete....ish.

After adding everyone back slowly, I finally found the crash I was looking for when I tried to add a 13th sabre wielding character. Sooo I would say there is a limit of 12 different combo files, though if anyone else wants to test it more in-depth, they are welcome to it.

This, by the way is with 10 stock characters, and 2 custom characters. Like I said, if someone else wants to test other ratios, they are welcome to it.

Thanks for the help, Sam
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Problem with custom animation set

Post by thelegend »

I am glad you found the crash issue. Maybe it's not because of the amount of .combo files. Maybe it's because of the different content inside of them. I successfully added a new, custom character to the stock Mos Eisley Assault Mode. But my character mostly used stock animations (mixed ones) and at least two custom animations. I believe I was pretty close to a limit though. Anyway there's an interesting part which *may* need to be put into every .lua with additional heroes (who use melee weapons of course):

Code: Select all

    SetMemoryPoolSize ("ClothData",20)
    SetMemoryPoolSize ("Combo",50)              -- should be ~ 2x number of jedi classes
    SetMemoryPoolSize ("Combo::State",650)      -- should be ~12x #Combo
    SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Condition",650)  -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Attack",550)     -- should be ~8-12x #Combo
    SetMemoryPoolSize ("Combo::DamageSample",6000)  -- should be ~8-12x #Combo::Attack
    SetMemoryPoolSize ("Combo::Deflect",100)     -- should be ~1x #combo  
Maybe you can increase them somehow in your .lua. But I believe the developers put these lines to define the maxiumum of allowed animations. If these lines are missing your game woud even crash if you added at least two or three melee-heroes.
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: Problem with custom animation set

Post by Samee3 »

Yes, I actually had a similar problem in an earlier mod, and figured out that the problem was that block of code. However, this is what that block of code looked like on that map well before I started having this problem:

Code: Select all

    
    SetMemoryPoolSize ("ClothData",40)
    SetMemoryPoolSize ("Combo",120)              -- should be ~ 2x number of jedi classes
    SetMemoryPoolSize ("Combo::State",2000)      -- should be ~12x #Combo
    SetMemoryPoolSize ("Combo::Transition",2000) -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Condition",2000)  -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize ("Combo::Attack",1600)     -- should be ~8-12x #Combo
    SetMemoryPoolSize ("Combo::DamageSample",16000)  -- should be ~8-12x #Combo::Attack
    SetMemoryPoolSize ("Combo::Deflect",600)     -- should be ~1x #combo
Maybe a little over the top, but I was getting rather annoyed with the crashing.

Anyway, unless someone somehow magically reproduces the source code for the original executable.....
Post Reply