ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "AmbientChangeStep"

From ModEnc
Jump to: navigation, search
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Step rate for gradually changing ambient lighting.
+
|name={{PAGENAME}}
 +
|files={{Categ|rules(md).ini}}
 +
|types={{Categ|AudioVisual}}
 +
|values={{Values|float}}
 +
|ts=yes
 +
|fs=yes
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
Specifies the default amount of [[ambient]] light to change on each "step" of ambient light recalculations. When the ambient lighting level in a [[map]] is changed via [[triggers|trigger]] action #73, the map's {{f|Ambient|link}} value (or {{f|IonAmbient|link}}, if Ion Storm/Lightning Storm is active) is increased or decreased in steps by this amount until it reaches the new level. This amount can be changed with action #71. The default delay between each step is defined by {{f|AmbientChangeRate|link}}.
 +
 
 +
{{bugs}}
 +
 
 +
If {{f|{{PAGENAME}}}} is defined in [[map]] code, you must also redefine {{f|ExtraUnitLight|link}}, {{f|ExtraInfantryLight|link}} and {{f|ExtraAircraftLight|link}}, else these are reset to [[rules]] value without decimal component.
 +
 
 +
==See Also==
 +
* [[AmbientChangeRate]]
 +
* [[Ambient]]
 +
* [[IonAmbient]]
 +
 
 +
[[Category:Resetting Flags]]

Latest revision as of 15:46, 4 December 2020

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: AmbientChangeStep
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: AudioVisual


Specifies the default amount of ambient light to change on each "step" of ambient light recalculations. When the ambient lighting level in a map is changed via trigger action #73, the map's Ambient value (or IonAmbient, if Ion Storm/Lightning Storm is active) is increased or decreased in steps by this amount until it reaches the new level. This amount can be changed with action #71. The default delay between each step is defined by AmbientChangeRate.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

If AmbientChangeStep is defined in map code, you must also redefine ExtraUnitLight, ExtraInfantryLight and ExtraAircraftLight, else these are reset to rules value without decimal component.

See Also