PARE

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

Format

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

Offset Type Variable Description
0x08 byte emit_flags
0x09 byte emit_type
0x0A short pad padding
0x0C AssetID (PARP) propID
0x10 unnamed union? (max size: 0x1C) e_circle
e_sphere
e_rect
e_line
e_volume
e_offsetp
e_vcyl
e_entbone
e_entbound
0x2C AssetID (Placeable/Marker/Group) attachToID Probably applies particle emitter to this asset
0x30 Vector3 pos
0x3C Vector3 vel
0x48 float? vel_angle_variation
0x4C int? cull_mode
0x50 float? cull_dist_sqr
Events
0x54 Event[numberOfEvents] Events