Lights.rad/Half-Life 2: Difference between revisions
Jump to navigation
Jump to search
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The {{path|hl2}} folder included in most {{src13mp|4.1}} game installations (as well as a few other games) does not include the {{code|[[lights.rad]]}} file included in Half-Life 2's {{path|hl2}} directory. While this is not a problem for most games, as they include their own {{code|lights.rad}}, some titles such as {{hl2dm|4.1}} and {{src13mp|4.1|nt=0}} do not, which can result in unexpected results in some circumstances. The vanilla Half-Life 2 radfile is provided below for reference. | The {{path|hl2}} folder included in most {{src13mp|4.1}} game installations (as well as a few other games) does not include the {{code|[[lights.rad]]}} file included in Half-Life 2's {{path|hl2}} directory. While this is not a problem for most games, as they include their own {{code|lights.rad}}, some titles such as {{hl2dm|4.1}} and {{src13mp|4.1|nt=0}} do not, which can result in unexpected results in some circumstances. The vanilla Half-Life 2 radfile is provided below for reference. | ||
This version of {{code|lights.rad}} is from {{hl2|1}} 20th Anniversary Update, with fixed lights/white004 HDR brightness (was "100" when it's should be "212", exactly half of their LDR counterparts). | This version of {{code|lights.rad}} is from {{hl2|1}} 20th Anniversary Update, with fixed {{code|lights/white004}} HDR brightness (was "100" when it's should be "212", exactly half of their LDR counterparts). | ||
== lights.rad == | == lights.rad == | ||
{{textfile|rad}} | {{textfile|rad}} |
Revision as of 05:37, 26 July 2025
The hl2
folder included in most Source 2013 Multiplayer game installations (as well as a few other games) does not include the lights.rad file included in Half-Life 2's
hl2
directory. While this is not a problem for most games, as they include their own lights.rad, some titles such as Half-Life 2: Deathmatch and
Source SDK Base 2013 - Multiplayer do not, which can result in unexpected results in some circumstances. The vanilla Half-Life 2 radfile is provided below for reference.
This version of lights.rad is from Half-Life 2 20th Anniversary Update, with fixed lights/white004 HDR brightness (was "100" when it's should be "212", exactly half of their LDR counterparts).
lights.rad
- This is a RAD file, that can be used to manipulate the way QRAD, HLRAD, and VRAD handle given brush textures when compiling static lighting. In Source, this can be also used to forcing props to cast texture shadows.
To add a RAD file to the map editor, copy the following text into a text editor such as Windows Notepad,Notepad++ or
Visual Studio Code, and save it with "save as type" being "all files" and .rad appended to the file name.
