EvilEngine/PARE

From Heavy Iron Modding
(Redirected from PARE)

PARE
Particle Emitter
TypeBase
Base Type0x26
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie

Rise of the Underminer

Ratatouille Prototype
Source codexParEmitter.h

Format

PARE are base assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Variable Description
0x08 char emit_flags 0x1 - On/Off
0x09 char emit_type
  • Point (0)
  • Circle Edge (1)
  • Circle (2)
  • Rect Edge (3)
  • Rect (4)
  • Line (5)
  • Volume (6)
  • Sphere Edge (7)
  • Sphere (8)
  • Offset Point (9)
  • Sphere Edge (10)
  • Sphere Edge (11)
  • VCyl Edge (12)
  • OCircle Edge (13)
  • OCircle (14)
  • Entity Bone (15)
  • Entity Bound (16)
0x0A short pad
0x0C AssetID propID AssetID of the Particle Emitter Property asset to use
Circle only
0x10 float radius
0x14 float deflection
0x18 Vector3 dir
Sphere only
0x10 float radius
Rect only
0x10 float x_len
0x14 float z_len
Line only
0x10 Vector3 pos1
0x1C Vector3 pos2
0x28 float radius
Volume only
0x10 AssetID volumeID
Offset Point only
0x10 Vector3 offset
VCyl only
0x10 float height
0x14 float radius
0x18 float deflection
Entity Bone only
0x10 char flags
0x11 char type
0x12 char bone
0x13 char pad1
0x14 Vector3 offset
0x20 float radius
0x24 float deflection
Entity Bound only
0x10 char flags
0x11 char type
0x12 char pad1
0x13 char pad2
0x14 float expand
0x18 float deflection
0x2C AssetID attachToID ID of an Object Asset (when emit_type == Entity Bone/Entity Bound?) or Marker (when emit_type == Point?)
0x30 Vector3 pos Position of the particle emitter
0x3C Vector3 vel
0x48 float vel_angle_variation
0x4C unsigned int cull_mode
0x50 float cull_dist_sqr
Events
- Event[numberOfEvents] Events

Format: Night of 100 Frights

Offset Type Variable Description
0x08 char emit_flags 0x1 - On/Off
0x09 char emit_type
  • Point (0)
  • Circle Edge (1)
  • Circle (2)
  • Rect Edge (3)
  • Rect (4)
  • Line (5)
  • Volume (6)
  • Sphere Edge (7)
  • Sphere (8)
  • Offset Point (9)
  • Sphere Edge (10)
  • Sphere Edge (11)
0x0A char count
0x0B char count_variation
0x0C float interval
Circle only
0x10 float radius
0x14 float deflection
Sphere only
0x10 float radius
Rect only
0x10 float x_len
0x14 float z_len
Line only
0x10 Vector3 pos1
0x1C Vector3 pos2
0x28 float radius
Volume only
0x10 AssetID volumeID
Offset Point only
0x10 Vector3 offset
0x2C AssetID attachToID
0x30 AssetID parSysID
0x34 Vector3 pos
0x40 Vector3 vel
0x4C float vel_angle_variation
0x50 Color color_birth
0x54 Color color_death
0x58 float size_birth
0x5C float size_birth_variation
0x60 float size_death
0x64 float life
0x68 float life_variation
0x6C char[2] pad_emit
0x6E char cull_mode
0x70 float cull_dist_sqr
0x74 char max_emit

Events

Emit

On

Off

Reset