EvilEngine/ENV: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
(add movie and incredi format)
Line 11: Line 11:


==Format==
==Format==
Night of 100 Frights and Battle for Bikini Bottom
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
Line 47: Line 48:
|-
|-
| 0x44 || Event[numberOfEvents] || '''[[Events]]''' ||
| 0x44 || Event[numberOfEvents] || '''[[Events]]''' ||
|}


==Format==
The Spongebob SquarePants Movie and The Incredibles
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x08 || [[AssetID]] ([[JSP]]) || '''bspAssetID''' ||
|-
| 0x0C || [[AssetID]] ([[CAM|Camera]]) || '''startCameraAssetID''' ||
|-
| 0x10 || int || '''climateFlags''' || 2 in Sand Mountain, 0 in other levels
|-
| 0x14 || float || '''climateStrengthMin''' || only used in Sand Mountain, 0 in other levels
|-
| 0x18 || float || '''climateStrengthMax''' || only used in Sand Mountain, 0 in other levels
|-
| 0x1C || [[AssetID]] ([[LKIT|LightKit]]) || '''bspLightKit''' ||
|-
| 0x20 || [[AssetID]] ([[LKIT|LightKit]]) || '''objectLightKit''' ||
|-
| 0x24 || int || '''flags''' ||
|-
| 0x28 || [[AssetID]] || '''bspCollisionAssetID''' ||
|-
| 0x2C || [[AssetID]] || '''bspFXAssetID''' ||
|-
| 0x30 || [[AssetID]] || '''bspCameraAssetID''' ||
|-
| 0x34 || [[AssetID]] ([[MAPR|Material Map]]) || '''bspMapperID''' ||
|-
| 0x38 || [[AssetID]] || '''bspMapperCollisionID''' ||
|-
| 0x3C || [[AssetID]] || '''bspMapperFXID''' ||
|-
| 0x40 || float (little endian) || '''loldHeight''' || always 10. '''Not present in Scooby'''
|-
| 0x44 || [[Vector3]] || '''minBounds''' ||
|-
| 0x50 || [[Vector3]] || '''maxBounds''' ||
|-
! colspan="4" | Events
|-
| 0x5C || Event[numberOfEvents] || '''[[Events]]''' ||
|}
|}



Revision as of 05:30, 27 June 2021

ENV
Environment
TypeBase
Base Type0x05
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles

Rise of the Underminer
Source codexEnv.h

Format

Night of 100 Frights and Battle for Bikini Bottom

Offset Type Variable Description
0x08 AssetID (JSP) bspAssetID
0x0C AssetID (Camera) startCameraAssetID
0x10 int climateFlags 2 in Sand Mountain, 0 in other levels
0x14 float climateStrengthMin only used in Sand Mountain, 0 in other levels
0x18 float climateStrengthMax only used in Sand Mountain, 0 in other levels
0x1C AssetID (LightKit) bspLightKit
0x20 AssetID (LightKit) objectLightKit
0x24 int padF1 padding
0x28 AssetID bspCollisionAssetID
0x2C AssetID bspFXAssetID
0x30 AssetID bspCameraAssetID
0x34 AssetID (Material Map) bspMapperID
0x38 AssetID bspMapperCollisionID
0x3C AssetID bspMapperFXID
0x40 float (little endian) loldHeight always 10. Not present in Scooby
Events
0x44 Event[numberOfEvents] Events


Format

The Spongebob SquarePants Movie and The Incredibles

Offset Type Variable Description
0x08 AssetID (JSP) bspAssetID
0x0C AssetID (Camera) startCameraAssetID
0x10 int climateFlags 2 in Sand Mountain, 0 in other levels
0x14 float climateStrengthMin only used in Sand Mountain, 0 in other levels
0x18 float climateStrengthMax only used in Sand Mountain, 0 in other levels
0x1C AssetID (LightKit) bspLightKit
0x20 AssetID (LightKit) objectLightKit
0x24 int flags
0x28 AssetID bspCollisionAssetID
0x2C AssetID bspFXAssetID
0x30 AssetID bspCameraAssetID
0x34 AssetID (Material Map) bspMapperID
0x38 AssetID bspMapperCollisionID
0x3C AssetID bspMapperFXID
0x40 float (little endian) loldHeight always 10. Not present in Scooby
0x44 Vector3 minBounds
0x50 Vector3 maxBounds
Events
0x5C Event[numberOfEvents] Events