EvilEngine/ENV: Difference between revisions
Content added Content deleted
(add movie and incredi format) |
m (Seil moved page ENV to EvilEngine/ENV) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:type|[[Base]]}}<nowiki/> |
{{#vardefine:type|[[Base]]}}<nowiki/> |
||
{{#vardefine:basetype|0x05}}<nowiki/> |
{{#vardefine:basetype|0x05}}<nowiki/> |
||
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/> |
{{#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:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xEnv.h xEnv.h]}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
||
Line 60: | Line 60: | ||
| 0x0C || [[AssetID]] ([[CAM|Camera]]) || '''startCameraAssetID''' || |
| 0x0C || [[AssetID]] ([[CAM|Camera]]) || '''startCameraAssetID''' || |
||
|- |
|- |
||
| 0x10 || int || '''climateFlags''' || |
| 0x10 || int || '''climateFlags''' || |
||
|- |
|- |
||
| 0x14 || float || '''climateStrengthMin''' || |
| 0x14 || float || '''climateStrengthMin''' || |
||
|- |
|- |
||
| 0x18 || float || '''climateStrengthMax''' || |
| 0x18 || float || '''climateStrengthMax''' || |
||
|- |
|- |
||
| 0x1C || [[AssetID]] ([[LKIT|LightKit]]) || '''bspLightKit''' || |
| 0x1C || [[AssetID]] ([[LKIT|LightKit]]) || '''bspLightKit''' || |
||
Line 84: | Line 84: | ||
| 0x3C || [[AssetID]] || '''bspMapperFXID''' || |
| 0x3C || [[AssetID]] || '''bspMapperFXID''' || |
||
|- |
|- |
||
| 0x40 || float (little endian) || '''loldHeight''' || always 10. |
| 0x40 || float (little endian) || '''loldHeight''' || always 10. |
||
|- |
|- |
||
| 0x44 || [[Vector3]] || '''minBounds''' || |
| 0x44 || [[Vector3]] || '''minBounds''' || |
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 |