EvilEngine/FOG
From Heavy Iron Modding
FOG | |
---|---|
Fog | |
Type | Base |
Base Type | 0x24 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | xFog.h |
FOG is an asset which controls the game's fog.
Format
Fogs are base assets, so they start with their 0x8 byte header, then are followed by:
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | Color | bkgndColor | |
0x0C | Color | fogColor | |
0x10 | float | fogDensity | always 1 |
0x14 | float | fogStart | start distance from camera |
0x18 | float | fogStop | end distance from camera |
0x1C | float | transitionTime | in the case of multiple Fogs in a level, this can be used to fade from one Fog to another. Unknown how this works exactly |
0x20 | byte (enum?) | fogType | always 0 |
0x21 | byte[3] | padFog | padding |
Events | |||
0x24 | Event[numberOfEvents] | Events |
Navigation | |
---|---|
Assets |
Retrieved from "https://heavyironmodding.org/wiki/EvilEngine/FOG?oldid=6692"