Combo memory in lua
Posted: Thu Jul 12, 2007 11:23 pm
Okay, as posted in the unit numbers not spawning, I've been having some pretty bad and persistent problems with my map. Some of them had to do with the jedi in it. It seems that something special needs to be done to get jedi to work. So I copied this from the eli script, and pasted it in my lua.
It cut out about fifty lines of errors from the error log after I tried it again, though the map still crashed. What do I need to do to fix this? Am I missing any lines that are needed for this, or are the values just wrong for some of them?SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",30) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",500) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",500) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",500) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",400) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",4000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",88) -- should be ~1x #combo
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(3253)
Combo[84d86099]::State: failed to add Combo::State 'JUMPATTACK_LAND' [7d5471df] (85 needed)
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(3398)
Combo[84d86099]::State[JUMPATTACK_FALL:e245242b]::Transition: invalid state 7d5471df mapped to IDLE
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(3398)
Combo[84d86099]::State[JUMPATTACK_END:b8430a5b]::Transition: invalid state 7d5471df mapped to IDLE
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(2475)
Combo[ba944832]::State[JUMPATTACK_FALL2]::InputLock unknown input '!Strafe'
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Combo.cpp(3222)
Combo[5493d4d3]: failed to add Combo::State 'IDLE' [c301cf93] (86 needed)
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3191)
WeaponMelee "cis_weap_lightsaber" invalid combo definition file "cis_hero_countdooku"
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponMelee.cpp(3196)
WeaponMelee[cis_weap_lightsaber]::ComboAnimationBank invalid params "human_sabre melee cis_hero_countdooku"