EvilEngine/PLAT: Difference between revisions

no edit summary
Battlepedia>Igorseabra4
(Created page with "==PLAT== This asset usually defines an entry for a moving object. ==Format== {| class="wikitable" ! Offset !! Type !! Description |- ! colspan="3" | Header |- | 0x00 || Ass...")
 
Battlepedia>Igorseabra4
No edit summary
Line 3:
 
==Format==
PLAT are [[Placeable Asset|placeable assets]], so they start with their 0x54 byte header, then are followed by:
 
{| class="wikitable"
! Offset !! Type !! Description
|-
! colspan="3" | Header
|-
| 0x00 || [[AssetID]] || '''Asset ID'''.
|-
| 0x04 || byte || '''Asset type'''. 0x06 for PLAT.
|-
| 0x05 || byte || '''Number of Events'''.
|-
| 0x06 || short || '''Flags'''. Usually 00 1D
|-
! colspan="3" | Button
|-
| 0x08 || byte[4] || Unknown.
|-
| 0x0C || int || null
|-
| 0x10 || int || null
|-
| 0x14 || Vector3 || '''Rotation'''
|-
| 0x20 || Vector3 || '''Position'''
|-
| 0x2C || Vector3 || '''Scale'''
|-
| 0x38 || Vector4 || '''Color'''
|-
| 0x48 || float || '''Unknown'''
|-
| 0x4C || [[AssetID]] || '''[[MINF]]'''
|-
| 0x50 || int || null
|-
| 0x54 || byte[4] || Unknown