Lights.rad/Portal

From Valve Developer Community
< Lights.rad
Revision as of 09:03, 8 August 2025 by NinjaV (talk | contribs) (changed categories)
Jump to navigation Jump to search

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++ Notepad++ or Visual Studio Code Visual Studio Code, and save it with "save as type" being "all files" and .rad appended to the file name.
Tip.pngTip: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.
portal/lights.rad
rad
lights/fluorescentcool001a 189 231 232 350 lights/fluorescentcool001b 236 255 182 350 lights/fluorescentcool002a 189 231 232 400 lights/fluorescentcool002b 236 255 182 400 lights/fluorescentcool003a 189 231 232 300 lights/fluorescentwarm001a 239 216 193 350 lights/fluorescentwarm002a 239 216 193 400 lights/fluorescentwhite001a 245 245 245 350 lights/fluorescentwhite002a 245 245 245 400 lights/light_recessedcool001 239 239 239 200 lights/light_recessedcool002 149 180 200 350 149 180 200 200 lights/light_green001 175 255 233 100 lights/light_orange001 218 76 26 25 218 76 26 15 lights/hazzardred001a 228 37 0 300 lights/hazzardyellow001a 250 215 74 300 lights/HIDcool001a 145 222 172 650 lights/HIDcool001b 205 232 255 650 lights/HIDwarm001a 255 201 116 650 lights/white001 250 240 205 100 250 240 205 100 lights/white002 189 233 247 425 lights/white003 232 246 190 350 lights/white004 170 228 247 425 lights/white005 234 235 220 375 lights/white006 234 235 220 100 lights/white007 250 240 205 40 lights/white008 221 250 255 30 221 250 255 30 lights/white009 183 204 218 50 183 204 218 50 lights/white010 183 204 218 40 lights/white001_nochop 250 240 205 100 lights/white002_nochop 189 233 247 425 lights/white003_nochop 232 246 190 350 lights/white004_nochop 170 228 247 425 lights/white005_nochop 234 235 220 375 lights/white006_nochop 234 235 220 100 lights/incandescentcool001a 235 235 235 300 lights/incandescentwarm001a 250 226 129 300 glass/glassscreen001a 172 192 161 225 glass/glasspipe001f 214 72 44 200 glass/glassscreen001c 172 192 161 225 glass/glassscreen001d 211 187 134 225 glass/glassblock001a 70 194 209 200 composite/citadelfloor001a 103 143 203 200 props/tvscreen006a 196 0 0 200 shadertest/gooinglass 149 49 15 50 glass/glasswindow002e 189 233 247 425 glass/glasswindow035a 145 222 172 100 dev/DEV_INTERIORLIGHT02B 151 176 204 225 plaster/plasterwall029h 189 223 227 125 building_template/Building_Trainstation_Template001d 230 230 200 65 building_template/Building_Trainstation_Template001e 230 230 200 150 building_template/Building_Trainstation_window002d 230 230 200 300 building_template/Building_Trainstation_window002e 230 230 200 300 lights/physgunlight 189 231 232 20