EvilEngine/FOG

From Heavy Iron Modding
< EvilEngine(Redirected from FOG)

FOG
Fog
TypeBase
Base Type0x24
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

Ratatouille Prototype
Source codexFog.h

FOG is an asset which controls the game's fog.

Format[edit]

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