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

Difference between revisions of "LightIntensity"

From ModEnc
Jump to: navigation, search
 
(Added a mention of a reset bug.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Specifies the amount light radiated by this BuildingType. Defaults to 0.0.
+
|files={{Categ|ini=rules}}
 +
|values={{values|float}}
 +
|default=0.0
 +
|types={{Categ|BuildingTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
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}}
 +
 
 +
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==
 +
* [[LightVisibility]]
 +
* [[LightRedTint]]
 +
* [[LightGreenTint]]
 +
* [[LightBlueTint]]
 +
 
 +
[[Category:Resetting Flags]]

Latest revision as of 14:26, 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: 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.

Cc alert.png 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