Template:KV BmNewLightBase: Difference between revisions
Jump to navigation
Jump to search
MyGamepedia (talk | contribs) (This template stores new lights related keyvalues for new lights from BMS. This template is base (we don't have all point/spot light kvs in newlights_settings). We will use it for KV BmNewLightPoint and KV BmNewLightSpot.) |
MyGamepedia (talk | contribs) No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!--Purpose: | |||
We are using this template for one or multiple pages related to Black Mesa new light entities. These templates allows you to use the same text for entities that have many identical properties, without having to make the same changes for several pages separately. This template is also may used in some other templates.--> | |||
{{KV|Light Color|intn=LightColor|color255|The RGB color of the light. Colors must be between 0 and 255.}} | {{KV|Light Color|intn=LightColor|color255|The RGB color of the light. Colors must be between 0 and 255.}} | ||
{{KV|Light | {{KV|Light Intensity|intn=Intensity|float|Intensity/brightness of the light. It's RGB * intensity. | ||
{{ | :{{Note|With 0 it will make the light disabled, including the effects. Doesn't affect shadows.}} | ||
}} | }} | ||
{{KV|Range|intn=Range|float|Range of the light, or how far the light source can illuminate. Measured in Hammer Units. | |||
{{KV| | :{{warning|This is one of the parameters that affects performance in the game. Smaller values allow you to process less geometry and save performance.}} | ||
:{{ | :{{important|Range is limited, the limit depends on intensity value. Do not use values bigger than the intensity value allows.}} | ||
{{ | :{{expand|title=Examples| | ||
{{expand | <gallery mode=packed heights=280px> | ||
File:range50.jpg| thumb | left | 510px | Range - 50 | |||
<gallery mode=packed heights= | File:range1000.jpg| thumb | left | 510px | Range - 1000 | ||
File: | File:range15000.jpg| thumb | left | 510px | Range - 15000 | ||
File: | |||
File: | |||
</gallery> | </gallery> | ||
}} | }} | ||
}} | }} | ||
Latest revision as of 07:26, 24 June 2025
- Light Color (LightColor) <color255>
- The RGB color of the light. Colors must be between 0 and 255.
- Light Intensity (Intensity) <float>
- Intensity/brightness of the light. It's RGB * intensity.
Note:With 0 it will make the light disabled, including the effects. Doesn't affect shadows.
- Range (Range) <float>
- Range of the light, or how far the light source can illuminate. Measured in Hammer Units.
Warning:This is one of the parameters that affects performance in the game. Smaller values allow you to process less geometry and save performance.
Important:Range is limited, the limit depends on intensity value. Do not use values bigger than the intensity value allows.
Examples