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

LightIntensity

From ModEnc
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


Defines the amount of light radiated by a building if configured. Positive values increase the intensity of emitted light, while negative values 'absorb' existing light.

A value of 0.0 (the default value) disables lighting, the same as removing the tag.

Notes

Light emitting buildings will still do so with Invisible=yes or InvisibleInGame=yes set, this is how the lightposts in RA2 operate.

Bugs/Side-Effects/Unexpected Limitations

If you insert this building into a map, or the game mode INIs, to modify any of its tags, you must also redefine the LightIntensity, or the game won't read anything after the decimal point in the rules(md).ini value.

See Also

LightVisibility

LightRedTint

LightGreenTint

LightBlueTint