EvilEngine/PLAT
This asset usually defines an entry for a moving object.
PLAT | |
---|---|
Platform | |
Type | Placeable |
Games used | The Incredibles |
Format
PLAT are placeable assets, so they start with their 0x54 byte header, then are followed by:
Offset | Type | Description |
---|---|---|
0x54 | byte | Subtype - This is always the same as the Type at 0x09 for every type except Platform, which can be one of the following subtypes:
|
0x55 | byte | Unknown - always 0 |
0x56 | short | Collision type - 0, 1, 4, or 5 |
Platform only | ||
0x58 | int | null |
0x5C | int | null |
0x60 | int | null |
0x64 | int | null |
Mechanism only | ||
0x58 | int | null |
0x5C | int | null |
0x60 | int | null |
0x64 | int | null |
Conveyor Belt only | ||
0x58 | float | Speed |
0x5C | int | null |
0x60 | int | null |
0x64 | int | null |
Breakaway Platform only | ||
0x58 | float | Break Delay - Time in seconds to fall down after player stands on it |
0x5C | int | Unknown - Always 0 or 0xCE7F8131 (hash of "--Choose One--") |
0x60 | float | Reset Delay - Time in seconds after falling down to reset back to normal position |
0x64 | int | Unknown - Always 0 or 1 |
Springboard only | ||
0x58 | float | Bounce Height 1 - there are 3 of these, the reason is unknown since they all seem to do the same thing and the game picks the highest one of the 3 |
0x5C | float | Bounce Height 2 |
0x60 | float | Bounce Height 3 |
0x64 | float | Slam Height - SpongeBob only |
Teeter-Totter only | ||
0x58 | float | Unknown - in radians |
0x5C | float | Max Tilt Angle - in radians |
0x60 | float | Tilt Speed |
0x64 | int | null |
Paddle only | ||
0x58 | float | Current Spin Index - Which spin position to start at. Zero-indexed. Range is 0 ... Number of Spins - 1. |
0x5C | float | Number of Spins - Total number of spins in the paddle's range. |
0x60 | float | Unknown - in degrees? |
0x64 | int | null |
0x68 | Asset ID | ANIM |
0x6C | Asset ID | ANIM |
0x70 | float | Unknown |
0x74 | float | Launch Direction X |
0x78 | float | Launch Direction Y |
0x7C | float | Launch Direction Z |
0x80 | int | Movement lock mode |
0x84 | float | Unknown |
0x88 | float | Unknown |
0x8C | float | Unknown |
0x90 | byte[4] | Unknown |
0x94 | byte | Movement Mode:
To do: investigate more values |
0x95 | byte | Movement Loop Type:
To do: investigate more values and difference between 2 and 3 |
0x96 | byte | Movement Translation Direction:
To do: investigate more values and see how some PLATs move in more than one direction |
0x97 | byte | Movement Rotation Axis:
To do: investigate more values and see how some PLATs rotate in more than one direction |
0x98 | float | Movement Translation Distance |
0x9C | float | Movement Translation Time |
0xA0 | float | Movement Translation Unknown |
0xA4 | float | Movement Translation Unknown |
0xA8 | float | Movement Rotation Degrees |
0xAC | float | Movement Rotation Time |
0xB0 | float | Movement Rotation Unknown |
0xB4 | float | Movement Rotation Unknown |
0xB8 | float | Movement End Wait Time |
0xBC | float | Movement Start Wait Time |
Events | ||
0xC0 | Event[numberOfEvents] | Events |
Types (0x09)
- 0 - Platform
- 4 - Mechanism
- 6 - Conveyor Belt
- 9 - Breakaway Platform
- 10 - Springboard
- 11 - Teeter-Totter
- 12 - Paddle