Page 1 of 1

SetMemoryPoolSize list (FAQ)

Posted: Sat Dec 03, 2011 11:39 pm
by AceMastermind
These memory pool entries were collected from the SWBF2 LUA files


AcklayData
ActiveRegion
Aimer
AmmoCounter
Asteroid
BaseHint
ClothData
Combo
Combo::Attack
Combo::Condition
Combo::DamageSample
Combo::Deflect
Combo::State
Combo::Transition
CommandFlyer
CommandHover
CommandWalker
ConnectivityGraphFollower
EnergyBar
EntityBuildingArmedDynamic
EntityCarrier
EntityCloth
EntityDefenseGridTurret
EntityDroid
EntityDroideka
EntityFlyer
EntityHover
EntityLight
EntityMine
EntityPortableTurret
EntityRemoteTerminal
EntitySoldier
EntitySoundStatic
EntitySoundStream
EntityTauntaun
EntityWalker
FlagItem
FLEffectObject::OffsetMatrix
LightFlash
MountedTurret
Music
Navigator
Obstacle
Ordnance
OrdnanceTowCable
ParticleEmitter
ParticleEmitterInfoData
ParticleEmitterObject
ParticleTransformer::ColorTrans
ParticleTransformer::PositionTr
ParticleTransformer::SizeTransf
PassengerSlot
PathFollower
PathNode
PathRequest
PowerupItem
RedOmniLight
ShieldEffect
SoldierAnimation
SoundSpaceRegion
TentacleSimulator
Timer
TreeGridStack
UnitAgent
UnitController
Weapon


Memory pools with dev notes:
  • SetMemoryPoolSize("Combo",30) -- should be ~ 2x number of jedi classes
    SetMemoryPoolSize("Combo::Attack",150) -- should be ~8-12x #Combo
    SetMemoryPoolSize("Combo::Condition",256) -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize("Combo::DamageSample",4000) -- should be ~8-12x #Combo::Attack
    SetMemoryPoolSize("Combo::Deflect",64) -- should be ~1x #combo
    SetMemoryPoolSize("Combo::State",256) -- should be ~12x #Combo
    SetMemoryPoolSize("Combo::Transition",75) -- should be a bit bigger than #Combo::State
    SetMemoryPoolSize("EntityFlyer", 5) -- to account for 5 chewbaccas
    SetMemoryPoolSize("EntityFlyer", 6) -- to account for rocket upgrade
    SetMemoryPoolSize("EntityFlyer", 9) -- 3xATST + rocket upgrade
    SetMemoryPoolSize("EntityLight", 80, 80) -- stupid trickery to actually set lights to 80
    SetMemoryPoolSize("EntityPortableTurret", 0) -- nobody has autoturrets AFAIK - MZ
    SetMemoryPoolSize("Ordnance", 80) -- not much ordnance going on in the level
    SetMemoryPoolSize("OrdnanceTowCable", 4) -- need extra for wrapped/fallen cables
    SetMemoryPoolSize("OrdnanceTowCable", 40) -- !!!! need +4 extra for wrapped/fallen cables !!!!
    SetMemoryPoolSize("OrdnanceTowCable", 8) -- NEED +4 EXTRA CABLES FOR WRAPPED/FALLING CABLES !!!!

This list should be complete but if you find any that I overlooked then please post it.

Re: SetMemoryPoolSize list

Posted: Sun Dec 04, 2011 1:32 am
by Dakota
i was wondering when i list like this would pop up, these could be really helpful, thanks.

now to put the entity mine to over 9000 and attach a mine layer to a bomber and cover the whole planet in the glowing red of the mine...