Skip to content

IonLevel

The brightness added per height level 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 Lighting Level value truncated to a whole number, because the fallback divides two whole numbers. Every Level value below 1 therefore yields 0.
map file
[Lighting]
Level=.016
IonLevel=.016

While a storm runs, this figure replaces Level as the brightness added for each height level a cell stands above the ground, and it scales the height bonus drawn onto aircraft and onto elevated units and infantry as well.

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 height brightness truncated to a whole number, because the fallback divides two whole numbers. Generation sets that value to a thousandth of full light just beforehand, so the fallback 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 height brightness across, so a generated map is shaded flat through every storm unless ION.INI states this value outright.