EvilEngine/PLAT

Revision as of 07:59, 8 December 2018 by Battlepedia>Seil (→‎Format)

This asset usually defines an entry for a moving object.

PLAT
Platform
TypePlaceable
Games usedThe 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:
  • 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
  • Conveyor Belt - Speed (float)
  • Breakaway Platform - Break Delay (float) - Time in seconds to fall down after player stands on it
  • Springboard - Bounce Height 1 (float) - 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
  • Teeter-Totter - Unknown (float) - in radians
  • Paddle - Current Spin Index (int) - Which spin position to start at. Zero-indexed. Range is 0 ... Number of Spins - 1.
0x5C float/int
  • Platform - Unknown - always 0
  • Mechanism - Unknown - always 0
  • Conveyor Belt - Unknown - always 0
  • Breakaway Platform - Unknown (int) - always 0 or 0xCE7F8131 (hash of "--Choose One--")
  • Springboard - Bounce Height 2 (float)
  • Teeter-Totter - Max Tilt Angle (float) - in radians
  • Paddle - Number of Spins (int) - Total number of spins in the paddle's range.
0x60 float
  • Platform - Unknown - always 0
  • Mechanism - Unknown - always 0
  • Conveyor Belt - Unknown - always 0
  • Breakaway Platform - Reset Delay (float) - Time in seconds after falling down to reset back to its normal position. Usually 3
  • Springboard - Bounce Height 3 (float)
  • Teeter-Totter - Tilt Speed (float)
  • Paddle - Unknown (float) - in degrees?
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