EvilEngine/VIL: Difference between revisions

no edit summary
Battlepedia>Igorseabra4
No edit summary
Battlepedia>Igorseabra4
No edit summary
Line 3:
 
==Format==
VIL 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'''. 0x2B for VIL.
|-
| 0x05 || byte || '''Number of Events'''.
|-
| 0x06 || short || '''Flags'''. Usually 00 1D
|-
! colspan="3" | VIL
|-
| 0x08 || byte[4] || Unknown. Usually 01 00 00 02 but sometimes different
|-
| 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 || int || null