EvilEngine/DTRK: Difference between revisions
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
Line 12:
==Format==
Dash Tracks are base assets, so they start with their 0x8 byte header, then are followed by:
===track_asset===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
Line 24:
| 0x14 || int || '''leavable_start''' ||
|-
| 0x18 || int[
|-
| 0x24 ||
|-
|
|-
| || short[3] [num_vertices] || '''portal''' ||
|}
===triangle===
{| class="wikitable"
|-
! Offset !! Type !! Variable !! Description
|-
| 0x00 || short || '''a''' ||
|-
| 0x02 || short || '''b''' ||
|-
| 0x04 || short || '''c''' ||
|-
| 0x06 || short || '''flags''' ||
|-
| 0x08 || float[3] || '''u''' ||
|-
| 0x14 || float[3] || '''v''' ||
|}
{{Assets}}
|
Revision as of 23:28, 6 September 2022
DTRK | |
---|---|
Dash Track | |
Type | Base |
Base Type | 0xCD |
Games used | The Incredibles |
Format
Dash Tracks are base assets, so they start with their 0x8 byte header, then are followed by:
track_asset
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | int | num_vertices | Number of vertices. |
0x0C | int | num_triangles | Number of triangles. |
0x10 | int | landable_start | |
0x14 | int | leavable_start | |
0x18 | int[3] | Unknown | |
0x24 | Vector3 [num_vertices] | vertex | |
triangle* | triangle_list | ||
short[3] [num_vertices] | portal |
triangle
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | short | a | |
0x02 | short | b | |
0x04 | short | c | |
0x06 | short | flags | |
0x08 | float[3] | u | |
0x14 | float[3] | v |