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

LightIntensity

From ModEnc
Revision as of 12:26, 4 December 2020 by Crimsonum (talk | contribs) (Added a mention of a reset bug.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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: LightIntensity
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Default: 0.0
Applicable to: BuildingTypes


Specifies the amount light radiated by this BuildingType. Positive values increase the intensity of emitted light, while negative values 'absorb' existing light. 0.0 (the default value) disables lighting.

Bugs/Side-Effects/Unexpected Limitations

If you insert this BuildingType's section into map or game mode code, you must also redefine this flag in it or the game won't read anything after the decimal point in the rules value.

See also