SetMemoryPoolSize list (FAQ)

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
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3284
Joined: Mon Aug 21, 2006 6:23 am
Contact:

SetMemoryPoolSize list (FAQ)

Post 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.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: SetMemoryPoolSize list

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