Skip to content

IonGround

The flat darkening subtracted from every cell while an ion storm is running, as a fraction of full light.

Scenario lighting

Specification — Scenario lighting
Applies to
scenarios
File
map file
Section
[Lighting]
Value
floating point
When omitted
Context-dependentThis scenario's Ground value truncated to a whole number, because the fallback divides two whole numbers. Every Ground value below 1 therefore yields 0.
map file
[Lighting]
Ground=.1
IonGround=.1

While a storm runs, this figure replaces Ground as the flat amount subtracted from every cell’s brightness. The swap happens on the frame the storm breaks and reverses on the frame it ends, with no fade in either direction.

Random map generation

Specification — Random map generation
Applies to
random map generation
File
map file
Section
[Lighting]
Value
floating point
When omitted
Context-dependentThe scenario's current ground darkening truncated to a whole number, because the fallback divides two whole numbers. Any value below 1 yields 0.

Random map generation reads this entry from the hard-coded file ION.INI, and only when the seed carries UseIonStorms=yes. It replaces the value the generated map was built with, so that file is where a mod sets the storm lighting every generated map will use.

The fallback cannot carry an ordinary ground value across, so a generated map keeps its ground darkening through a storm only when ION.INI states this value outright.