EvilEngine/PARE: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Seil
No edit summary
Battlepedia>Seil
Line 9: Line 9:


{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x08 || byte[4] || '''Flags?'''
| 0x08 || byte || '''emit_flags''' ||
|-
|-
| 0x0C || [[AssetID]] ([[PARP]]) || '''Particle Emitter Property''' (required?)
| 0x09 || byte || '''emit_type''' ||
|-
|-
| 0x10 || float[7] || Unknown
| 0x0A || short || '''pad''' || padding
|-
|-
| 0x2C || [[AssetID]] ([[Placeable Asset|Placeable]]/[[MRKR|Marker]]/[[GRUP|Group]]) || '''Probably applies particle emitter to this asset'''
| 0x0C || [[AssetID]] ([[PARP]]) || '''propID''' ||
|-
|-
| 0x10 || unnamed union? (max size: 0x1C) || '''e_circle'''<br>'''e_sphere'''<br>'''e_rect'''<br>'''e_line'''<br>'''e_volume'''<br>'''e_offsetp'''<br>'''e_vcyl'''<br>'''e_entbone'''<br>'''e_entbound''' ||
| 0x30 || float[9] || Unknown

|-
|-
| 0x2C || [[AssetID]] ([[Placeable Asset|Placeable]]/[[MRKR|Marker]]/[[GRUP|Group]]) || '''attachToID''' || Probably applies particle emitter to this asset
! colspan="3" | Events
|-
|-
| 0x54 || Event[numberOfEvents] || '''[[Events]]'''
| 0x30 || [[Vector3]] || '''pos''' ||
|-
| 0x3C || [[Vector3]] || '''vel''' ||
|-
| 0x48 || float? || '''vel_angle_variation''' ||
|-
| 0x4C || int? || '''cull_mode''' ||
|-
| 0x50 || float? || '''cull_dist_sqr''' ||
|-
! colspan="4" | Events
|-
| 0x54 || Event[numberOfEvents] || '''[[Events]]''' ||
|}
|}



Revision as of 09:59, 15 February 2019

PARE
Particle Emitter
TypeObject

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