Jump to content

LightIntensity: Difference between revisions

From ModEnc²
en>Crimsonum
Added a mention of a reset bug.
en>Testid123
mNo edit summary
Line 9: Line 9:
|yr=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.


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.
==Note==
*{{f|Invisible|yes|link}},{{f|InvisibleInGame|yes|link}},{{f|CloakGenerator|yes|link}} will not block the glow generated.


{{bugs}}
{{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.
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.



Revision as of 08:11, 29 December 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.

Note

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