EvilEngine/ENV: Difference between revisions
Content added Content deleted
m (7 revisions imported) |
No edit summary |
||
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}}<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== |
||
Line 46: | Line 50: | ||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Revision as of 22:53, 25 May 2021
ENV | |
---|---|
Environment | |
Type | Base |
Base Type | 0x05 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | xEnv.h |
Format
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 |