lights.rad
is a text file that can be used to define textures as texture lights.texturename #R #G #B #brightness
, where texturename
is the name of the texture, #R #G #B
is the color of the light in RGB format, and #brightness
is the brightness value of the light. (Example: genericlight 255 255 255 1000
will make the genericlight
texture produce a white light with a brightness of 1000)..map
) being compiled.cd
in a Windows command prompt or pwd
for Unix-es equivalents).lights.rad
, the same seeking algorithm is performed with mapname.rad
where "mapname" is the name of the map being compiled. If the -lights foo.rad
command-line argument is passed then a third run is made with foo.rad
.lights.rad
at line #50 LIGHT1 255 0 0
which is "red" and in the same file at line #75 LIGHT1 0 255 0
which is green, then HLRAD will ignore red and use green instead (and print a warning in the console/log).
You must log in to post a comment. You can login or register a new account.