FOG

From BFBB Wiki
Jump to: navigation, search
FOG
Fog
Type Object
Object ID 0x24
Games used Night of 100 Frights
Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

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

Format[edit]

Fogs are object assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Description
0x08 Color End Color
0x0C Color Start Color
0x10 float Unknown (always 1)
0x14 float Start Distance (from camera)
0x18 float End Distance
0x1C float Transition Time - 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 int Unknown (always 0)
Events
0x24 Event[numberOfEvents] Events