Skip to content

Ambient

The scenario's overall light level, where 1 is full daylight.

Specification
Applies to
scenarios
File
map file
Section
[Lighting]
Value
floating point
When omitted
1
map file
[Lighting]
Ambient=1

The value is stored in hundredths, so .5 is half daylight and 1.35 is brighter than daylight. It is applied at load without a fade, and it is also the level the map returns to when an ion storm ends — the return travels through the ambient fade rather than snapping.

This value is read before its ion counterpart in the same section and is what IonAmbient falls back to, so a map that gives only this key darkens no further during a storm.

The Set ambient light… trigger action replaces the stored level during play. While a storm is running the replacement is stored but the fade is withheld until the storm clears.