EvilEngine/MVPT: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Igorseabra4
No edit summary
Battlepedia>Igorseabra4
No edit summary
Line 13: Line 13:
| 0x15 || byte || Unknown, usually 0x10
| 0x15 || byte || Unknown, usually 0x10
|-
|-
| 0x16 || byte || 0x00 for zone, 0x01 for point (?)
| 0x16 || byte || Type: 0x00 for zone (can see you), 0x01 for move point
|-
|-
| 0x17 || byte || Unknown, usually 0x00
| 0x17 || byte || Unknown, usually 0x00
Line 19: Line 19:
| 0x18 || int || otherAmount - Amount of children/siblings
| 0x18 || int || otherAmount - Amount of children/siblings
|-
|-
| 0x1C || float || Movement Angle - will rotate around the point this amount, -1 means disabled
| 0x1C || Vector3 || Scale
|-
| 0x20 || float || Movement Radius - will circle around the point in this distance, -1 means disabled
|-
| 0x24 || float || Detect Radius - 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] || Asset IDs of children/siblings MVPTs

Revision as of 11:54, 10 September 2018

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 Description
0x8 Vector3 Position
0x14 byte Unknown, usually 0x27
0x15 byte Unknown, usually 0x10
0x16 byte Type: 0x00 for zone (can see you), 0x01 for move point
0x17 byte Unknown, usually 0x00
0x18 int otherAmount - 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
0x24 float Detect Radius - 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
Events
- Event[numberOfEvents] Events - Do MVPT even have events?