LightIntensity: Difference between revisions
Appearance
better |
link fix |
||
| Line 17: | Line 17: | ||
{{bugs}} | {{bugs}} | ||
If you insert this building into a map, or the [[ | If you insert this building into a map, or the [[Mpmodes.ini|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== | ==See Also== | ||
Revision as of 05:58, 21 April 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 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.





