EvilEngine/MVPT: Difference between revisions

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


{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x8 || [[Vector3]] || Position
| 0x8 || [[Vector3]] || '''pos''' || Position
|-
|-
| 0x14 || byte || Unknown, usually 0x27
| 0x14 || short || '''wt''' || usually 0x2710
|-
|-
| 0x15 || byte || Unknown, usually 0x10
| 0x16 || byte || '''on''' || Type: 0x00 for arena (can see you), 0x01 for zone
|-
|-
| 0x17 || byte || '''bezIndex''' || usually 0x00
| 0x16 || byte || Type: 0x00 for zone (can see you), 0x01 for move point
|-
|-
| 0x17 || byte || Unknown, usually 0x00
| 0x18 || byte || '''flg_props''' ||
|-
|-
| 0x18 || int || otherAmount - Amount of children/siblings
| 0x19 || byte || '''pad''' || padding
|-
|-
| 0x1A || short || '''numPoints''' || Amount of children/siblings
| 0x1C || float || Movement Angle - will rotate around the point this amount, -1 means disabled
|-
|-
| 0x20 || float || Movement Radius - will circle around the point in this distance, -1 means disabled
| 0x1C || float || '''delay''' || Movement Angle - will rotate around the point this amount, -1 means disabled
|-
|-
| 0x24 || float || Detect Radius - will be able to see you from this radius (as in a sphere trigger), -1 means disabled
| 0x20 || float || '''zoneRadius''' || will circle around the point in this distance, -1 means disabled
|-
|-
| 0x24 || float || '''arenaRadius''' || will be able to see you from this radius (as in a sphere trigger), -1 means disabled
| 0x28 || [[AssetID]][otherAmount] || Asset IDs of children/siblings MVPTs
|-
|-
| 0x28 || [[AssetID]][otherAmount] || unknown || Asset IDs of children/siblings MVPTs
! colspan="3" | Events
|-
|-
! colspan="4" | Events
| - || Event[numberOfEvents] || '''[[Events]]''' - Do MVPT even have events?
|-
| - || Event[numberOfEvents] || '''[[Events]]''' || Do MVPT even have events?
|}
|}



Revision as of 09:48, 15 February 2019

MVPT
Move Point
TypeObject
Games usedThe Incredibles

This asset defines move points. Enemies usually have a few MVPT to move along. Platforms and other objects also refer to this asset.

Format

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

Offset Type Variable Description
0x8 Vector3 pos Position
0x14 short wt usually 0x2710
0x16 byte on Type: 0x00 for arena (can see you), 0x01 for zone
0x17 byte bezIndex usually 0x00
0x18 byte flg_props
0x19 byte pad padding
0x1A short numPoints Amount of children/siblings
0x1C float delay Movement Angle - will rotate around the point this amount, -1 means disabled
0x20 float zoneRadius will circle around the point in this distance, -1 means disabled
0x24 float arenaRadius will be able to see you from this radius (as in a sphere trigger), -1 means disabled
0x28 AssetID[otherAmount] unknown Asset IDs of children/siblings MVPTs
Events
- Event[numberOfEvents] Events Do MVPT even have events?