EvilEngine/VIL: Difference between revisions

no edit summary
Battlepedia>Igorseabra4
(Created page with "==VIL== This asset defines an entry for an NPC, enemy, tiki and others. ===Format=== int assetID byte assetType // 0x2B for VIL byte numEvents byte[6] Unknown...")
 
No edit summary
Line 1:
==VIL==
This asset defines an entry for an NPC, enemy, tiki and others. (I think VIL stands for ''villager'', villain would be)
 
===Format===
{| class="wikitable"
int assetID
! Offset !! Type !! Description
byte assetType // 0x2B for VIL
|-
byte numEvents
! colspan="3" | Header
byte[6] Unknown // usually 00 1D 01 00 00 02 but sometimes different
|-
int2 null
| 0x00 || [[AssetID]] || '''Asset ID'''.
int null
|-
int2 unknownAssetID
| 0x04 || byte || '''Asset type'''. 0x2B for VIL.
int null
|-
int null
| 0x05 || byte || '''Number of Events'''.
float[3] XYZ Position
|-
float[3] XYZ Scale
| 0x06 || short || '''Flags'''. // usually 00 1D
float[5] Unknown
|-
int MINFid // asset ID for MINF of entry
! colspan="3" | VIL
int null
|-
int null
| 0x08 || byte[64] || Unknown. // usually 00 1DUsually 01 00 00 02 but sometimes different
int unknownAssetID
|-
int null
| 0x0C || int || null
int32 MVPTid // asset ID for MVPT entry
|-
int32 DYNAid // for NPCs, taskbox entry 1
| 0x10 || int || null
int32 DYNAid2 // for NPCs, taskbox entry 2
|-
event[numEvents] events
| 0x14 || Vector3 || '''Rotation'''
|-
| 0x20 || Vector3 || '''Position'''
|-
| 0x2C || Vector3 || '''Scale'''
|-
| 0x38 || Vector3 || '''Color'''
|-
| 0x44 || Vector2 || '''Unknown'''
|-
| 0x4C || [[AssetID]] || '''[[MINF]]'''
|-
| 0x50 || int || null
|-
| 0x54 || int || null
|-
| 0x58 || [[AssetID]] || ?
|-
| 0x5C || int || null
|-
| 0x60 || [[AssetID]] || '''[[MVPT]]'''
|-
| 0x64 || [[AssetID]] || '''[[DYNA]]'''
|-
| 0x68 || [[AssetID]] || '''[[DYNA]]'''
|-
! colspan="3" | Events
|-
| 0x6C || Event[numberOfEvents] || '''[[Events]]'''
|}
 
[[Category:Asset]] [[Category:Stub]]
Anonymous user