PARS

From Battlepedia
Jump to navigationJump to search
PARS
Particle System
Type Object
Object ID 0x27
Games used Night of 100 Frights
Battle for Bikini Bottom
The SpongeBob SquarePants Movie
Rise of the Underminer

Format

Particle systems are object assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Variable Description
0x08 int type 0
0x0C AssetID (Particle System) parentParSysID usually null
0x10 AssetID (Texture) textureID
0x14 byte parFlags
0x15 byte priority
0x16 short maxPar
0x18 byte renderFunc
0x19 byte renderSrcBlendMode
0x1A byte renderDstBlendMode
0x1B byte cmdCount
0x1C int cmdSize
0x20 struct (size: cmdSize)
Events
Event[numberOfEvents] Events