EvilEngine/PLAT

From Heavy Iron Modding
Revision as of 02:59, 8 December 2018 by Battlepedia>Seil (→‎Format)
PLAT
Platform
TypePlaceable
Games usedThe Incredibles

This asset usually defines an entry for a moving object.

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:
  • 0 - Extend/Retract
  • 1 - Orbit
  • 3 - Move Point
  • 13 - Fully Manipulable
0x55 byte Unknown - always 0
0x56 short Collision type - 0, 1, 4, or 5
0x58 float/int
  • Platform - Unknown - always 0
  • Mechanism - Unknown - always 0
  • Conveyer Belt - Speed (float)
  • Breakaway Platform - Break Delay (float) - Time in seconds to fall down after player stands on it
  • Springboard - Bounce Height (float)
  • Teeter-Totter - Unknown (float) - in radians
  • Paddle - Turn Offset (int) - How many turns in each direction the paddle can do from the starting offset. Range: 0 to 4 (2 is in the middle)
    • 0 = 4 counter-clockwise, 0 clockwise
    • 1 = 3 counter-clockwise, 1 clockwise
    • 2 = 2 counter-clockwise, 2 clockwise
    • 3 = 1 counter-clockwise, 3 clockwise
    • 4 = 0 counter-clockwise, 4 clockwise
0x5C float Teeter Rotation Angle
0x60 float Teeter Rotation Speed
0x64 float Unknown
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[8] Unknown
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

Events