LightIntensity: Difference between revisions
Appearance
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. | |||
==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
|
|
|
|
|
|
| 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
- Invisible=yes,InvisibleInGame=yes,CloakGenerator=yes will not block the glow generated.
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.





