EvilEngine/PORT: Difference between revisions
Content added Content deleted
Battlepedia>Igorseabra4 No edit summary |
Battlepedia>Seil No edit summary |
||
Line 1: | Line 1: | ||
{{AssetInfobox |
|||
|subtitle=Portal |
|||
|type=[[Object]] |
|||
|objectid=0x10 |
|||
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}} |
|||
==Format== |
==Format== |
||
Portals are [[Object Asset|object assets]], so they start with their 0x8 byte header, then are followed by: |
Portals are [[Object Asset|object assets]], so they start with their 0x8 byte header, then are followed by: |
Revision as of 19:14, 30 November 2018
PORT | |
---|---|
Portal | |
Type | Object |
Games used | The Incredibles |
Format
Portals are object assets, so they start with their 0x8 byte header, then are followed by:
Offset | Type | Description |
---|---|---|
0x08 | int | Camera. Unknown |
0x0C | int | Marker to teleport to. If it can't be found, the position of the Player asset is used. |
0x10 | float | Rotation in degrees, that the player and camera will face in. |
0x14 | char[4] | ID of the Level to warp to. This is backwards on the GameCube version (i.e. instead of "HB01", use "10BH"). If it's the same as the current level's ID, the teleportation will happen instantly. Otherwise, a loading screen will appear for the new level. |
Events | ||
0x18 | Event[numberOfEvents] | Events |