LightIntensity: Difference between revisions
Appearance
en>Silverwind mNo edit summary |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| (8 intermediate revisions by 5 users not shown) | |||
| Line 2: | Line 2: | ||
|files={{Categ|ini=rules}} | |files={{Categ|ini=rules}} | ||
|values={{values|float}} | |values={{values|float}} | ||
|default=0.0 | |default=0.0 | ||
|types={{Categ|BuildingTypes}} | |types={{Categ|BuildingTypes}} | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
| Line 16: | Line 9: | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
Specifies the amount of light radiated by a [[BuildingTypes|building]] if set. 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 {{f|Invisible|yes|link}} or {{f|InvisibleInGame|yes|link}} set, this is how the lightposts in RA2 operate. | |||
==See | =={{bugs}}== | ||
If you insert this building into a map, or the [[MP Modes|game mode]] INIs, to modify any of its tags, you must also redefine the <tt>LightIntensity</tt>, or the game won't read anything after the decimal point in the {{ini|rules}} value. | |||
==See Also== | |||
[[LightVisibility]] | |||
[[LightRedTint]] | |||
[[LightGreenTint]] | |||
[[LightBlueTint]] | |||
[[Category:Resetting Flags]] | |||
Latest revision as of 17:34, 2 July 2025
|
|
|
|
|
|
| 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 of light radiated by a building if set. 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.





