EvilEngine/ENV: Difference between revisions
Content added Content deleted
No edit summary |
m (Seil moved page ENV to EvilEngine/ENV) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|ENV}}<nowiki/> |
|||
|subtitle=Environment |
|||
{{#vardefine:name|Environment}}<nowiki/> |
|||
|type=[[Base]] |
|||
{{#vardefine:type|[[Base]]}}<nowiki/> |
|||
|objectid=0x05 |
|||
{{#vardefine:basetype|0x05}}<nowiki/> |
|||
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer |
|||
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/> |
|||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xEnv.h xEnv.h]}}<nowiki/> |
|||
{{#vardefine:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
==Format== |
==Format== |
||
Night of 100 Frights and Battle for Bikini Bottom |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
Line 43: | 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''' || |
|||
|- |
|||
| 0x14 || float || '''climateStrengthMin''' || |
|||
|- |
|||
| 0x18 || float || '''climateStrengthMax''' || |
|||
|- |
|||
| 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. |
|||
|- |
|||
| 0x44 || [[Vector3]] || '''minBounds''' || |
|||
|- |
|||
| 0x50 || [[Vector3]] || '''maxBounds''' || |
|||
|- |
|||
! colspan="4" | Events |
|||
|- |
|||
| 0x5C || Event[numberOfEvents] || '''[[Events]]''' || |
|||
|} |
|} |
||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Latest revision as of 22:40, 15 September 2022
ENV | |
---|---|
Environment | |
Type | Base |
Base Type | 0x05 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | xEnv.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 | |
0x14 | float | climateStrengthMin | |
0x18 | float | climateStrengthMax | |
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. |
0x44 | Vector3 | minBounds | |
0x50 | Vector3 | maxBounds | |
Events | |||
0x5C | Event[numberOfEvents] | Events |