EvilEngine/PLYR: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Seil
No edit summary
Battlepedia>Seil
No edit summary
Line 27: Line 27:
* Scale resets to (1, 1, 1) after the player moves.
* Scale resets to (1, 1, 1) after the player moves.
* Color resets to (1, 1, 1, 1).
* Color resets to (1, 1, 1, 1).
* Model asset ID is always 0x003FE4D5.
* Model asset ID is always spongebob_bind.MINF (boot.HIP).


===Events===
===Events===

Revision as of 07:36, 28 December 2018

PLYR
Player
TypePlaceable
Games usedThe Incredibles

This asset defines an entry for the player (Spongebob).

Format

Player is a placeable 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

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 is always spongebob_bind.MINF (boot.HIP).

Events

  • 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