EvilEngine/PLYR: Difference between revisions
Content added Content deleted
(Created page with "==PLYR== This asset defines an entry for the player (Spongebob). ===Format=== {| class="wikitable" ! Offset !! Type !! Description |- ! colspan="3" | Header |- | 0x00 || As...") |
Battlepedia>Igorseabra4 No edit summary |
||
Line 30: | Line 30: | ||
| 0x2C || Vector3 || '''Scale'''. The starting scale of the player. Resets to (1, 1, 1) after the player moves. |
| 0x2C || Vector3 || '''Scale'''. The starting scale of the player. Resets to (1, 1, 1) after the player moves. |
||
|- |
|- |
||
| 0x38 || |
| 0x38 || Vector4 || '''Color''' - Always (1, 1, 1, 1). |
||
|- |
|- |
||
| |
| 0x48 || float || '''Unknown''' |
||
|- |
|- |
||
| 0x4C || [[AssetID]] || '''Unknown.''' Always 0x003FE4D5 |
| 0x4C || [[AssetID]] || '''Unknown.''' Always 0x003FE4D5 |
Revision as of 01:38, 2 September 2018
PLYR
This asset defines an entry for the player (Spongebob).
Format
Offset | Type | Description |
---|---|---|
Header | ||
0x00 | AssetID | Asset ID. |
0x04 | byte | Asset type. 0x3 for PLYR. |
0x05 | byte | Number of Events. |
0x06 | short | Flags. Usually 00 0D |
Player | ||
0x08 | byte[4] | Flags. Usually 01 00 00 00 |
0x0C | int | null |
0x10 | int | null |
0x14 | Vector3 | Rotation. The X and Z values get reset to 0 after the player moves. |
0x20 | Vector3 | Position. Usually ignored as the player gets placed in a MRKR. |
0x2C | Vector3 | Scale. The starting scale of the player. Resets to (1, 1, 1) after the player moves. |
0x38 | Vector4 | Color - Always (1, 1, 1, 1). |
0x48 | float | Unknown |
0x4C | AssetID | Unknown. Always 0x003FE4D5 |
0x50 | int | null |
Events | ||
0x54 | Event[numberOfEvents] | Events |
Light Kit ID | ||
- | AssetID | LKIT |
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