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 with any fraction dropped, so every Ground value below 1 gives 0.
map file
[Lighting]
Ground=.1
IonGround=.1

While an ion storm runs, IonGround replaces Ground as the light subtracted from every cell. It uses the same scale, a fraction of full light, so 0 darkens nothing and .1 removes a tenth of full light. IonGround takes over on the frame the storm breaks, and Ground returns on the frame it ends. Neither change fades.

Random map generation

Specification — Random map generation
Applies to
random map generation
File
map file
Section
[Lighting]
Value
floating point
When omitted
Context-dependent0, the same as a generated map's ground darkening outside storms, so storms add none.

Random map generation reads this key from the [Lighting] section of ION.INI, and only for a map whose seed sets UseIonStorms=yes. A loose ION.INI in the game directory takes precedence over one in a MIX archive. The value applies to every generated map with ion storms.

The value works as a scenario’s IonGround does: while a storm runs, it is the fraction of full light subtracted from every cell. A generated map has no ground darkening outside storms, so any value above 0 makes storms darker than clear weather.

ION.INI
[Lighting]
IonGround=0 ; the stock file's value: no ground darkening during storms