PLYR

From Heavy Iron Modding
Jump to navigation Jump to search

PLYR
Player
TypeEntity
Base Type0x03
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles

Rise of the Underminer
Source codezEntPlayer.h

This asset defines an entry for the player.

Format[edit]

Player is a entity assets, so it starts with their 0x54 byte header, then is followed by:

Offset Type Description
Events
0x54 Event[numberOfEvents] Events
Light Kit ID
- AssetID LKIT. Not present in Scooby

Notes:

  • Rotation X and Z values get reset to 0 after the player moves.
  • Position is usually ignored as the player gets placed in a MRKR.
  • Scale resets to (1, 1, 1) after the player moves.
  • Color resets to (1, 1, 1, 1).
  • Model asset ID in BFBB is always spongebob_bind.MINF (boot.HIP).
  • Model asset ID in Scooby is always sd.MINF (boot.HIP).

Events[edit]

  • ControlOff
  • ControlOn
  • OutOfBounds
  • GiveShinyObjects
  • GiveHealth
  • FallToDeath
  • GivePowerUp
  • PlayerRumbleTest
  • PlayerRumbleLight
  • PlayerRumbleMedium
  • PlayerRumbleHeavy
  • GiveSocks (current level)
  • GiveCollectables (current level)
  • Spongeball On
  • Spongeball Off
  • Switch Player Character
  • CruiseSetLife
  • Take Socks