Lights.rad/Team Fortress 2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed it to appear on source rad files)
(re-arranged file to alphabetical order (og one is a complete mess and hard for mappers to use))
 
Line 1: Line 1:
== lights.rad ==
== lights.rad ==
{{textfile|rad}}
{{textfile|rad}}
{{Note|This file is re-arranged in Alphabetical-Order for easier viewing}}
{{codeblock|lang=rad|src=tf/lights.rad|<!--
{{codeblock|lang=rad|src=tf/lights.rad|<!--
--><nowiki>lights/blue001 107 116 116 50
--><nowiki>//blue light
lights/blue001 107 116 116 50
lights/blue002 107 116 116 100
lights/blue002 107 116 116 100
lights/blue003 107 116 116 200
lights/blue003 107 116 116 200
lights/blue004 151 165 204 50
lights/blue004 151 165 204 50


lights/white001 150 150 150 50
//fluorescent light
lights/white002 150 150 150 100
//cool
lights/white003 150 150 150 200
 
 
 
lights/white_fill 150 150 150 5
 
moon/moon_ceiling_light01 255 250 245 150
moon/moon_ceiling_light01b 255 250 245 200
moon/moon_ceiling_light01c 255 250 245 25
moon/moon_ceiling_light01d 255 250 245 400
moon/moon_light_panel_floor01 255 250 245 200
 
lights/fluorescentcool001a 189 231 232 350
lights/fluorescentcool001a 189 231 232 350
lights/fluorescentcool001b 236 255 182 350
lights/fluorescentcool001b 236 255 182 350
Line 26: Line 16:
lights/fluorescentcool002b 236 255 182 400
lights/fluorescentcool002b 236 255 182 400
lights/fluorescentcool003a 189 231 232 300
lights/fluorescentcool003a 189 231 232 300
//warm
lights/fluorescentwarm001a 239 216 193 350
lights/fluorescentwarm001a 239 216 193 350
lights/fluorescentwarm002a 239 216 193 400
lights/fluorescentwarm002a 239 216 193 400
//white
lights/fluorescentwhite001a 245 245 245 350
lights/fluorescentwhite001a 245 245 245 350
lights/fluorescentwhite002a 245 245 245 400
lights/fluorescentwhite002a 245 245 245 400


//incandescent light
lights/incandescentcool001a 235 235 235 300
lights/incandescentwarm001a 250 226 129 300
//hazard
lights/hazzardred001a 228 37 0 300
lights/hazzardred001a 228 37 0 300
lights/hazzardyellow001a 250 215 74 300
lights/hazzardyellow001a 250 215 74 300


//HID light
//cool
lights/HIDcool001a 145 222 172 650
lights/HIDcool001a 145 222 172 650
lights/HIDcool001b 205 232 255 650
lights/HIDcool001b 205 232 255 650
//warm
lights/HIDwarm001a 255 201 116 650
lights/HIDwarm001a 255 201 116 650


lights/white004 170 228 247 425
//white light
lights/white005 234 235 220 375
lights/white001 150 150 150 50
lights/white006 234 235 220 100
lights/white007 255 255 255 50
 
lights/white001_nochop 250 240 205 100
lights/white001_nochop 250 240 205 100
lights/white002 150 150 150 100
lights/white002_nochop 189 233 247 425
lights/white002_nochop 189 233 247 425
lights/white003 150 150 150 200
lights/white003_nochop 232 246 190 350
lights/white003_nochop 232 246 190 350
lights/white004 170 228 247 425
lights/white004_nochop 170 228 247 425
lights/white004_nochop 170 228 247 425
lights/white005 234 235 220 375
lights/white005_nochop 234 235 220 375
lights/white005_nochop 234 235 220 375
lights/white006 234 235 220 100
lights/white006_nochop 234 235 220 100
lights/white006_nochop 234 235 220 100
lights/white007 255 255 255 50
lights/white008 255 255 255 20
lights/white_fill 150 150 150 5
//moon
moon/moon_ceiling_light01 255 250 245 150
moon/moon_ceiling_light01b 255 250 245 200
moon/moon_ceiling_light01c 255 250 245 25
moon/moon_ceiling_light01d 255 250 245 400
moon/moon_light_panel_floor01 255 250 245 200


lights/incandescentcool001a 235 235 235 300
//passtime lights
lights/incandescentwarm001a 250 226 129 300
//point
passtime/neons/neon_red_point 255 4 4 50
passtime/neons/neon_orange_point 255 178 69 50
passtime/neons/neon_yellow_point 241 255 84 50
passtime/neons/neon_green_point 47 253 85 50
passtime/neons/neon_blue_point 40 120 255 50
//solid
passtime/neons/neon_red_solid 255 4 4 50
passtime/neons/neon_orange_solid 255 178 69 50
passtime/neons/neon_yellow_solid 241 255 84 50
passtime/neons/neon_green_solid 47 253 85 50
passtime/neons/neon_blue_solid 40 120 255 50
//stripe
passtime/neons/neon_red_stripe 255 4 4 50
passtime/neons/neon_orange_stripe 255 178 69 50
passtime/neons/neon_yellow_stripe 241 255 84 50
passtime/neons/neon_green_stripe 47 253 85 50
passtime/neons/neon_blue_stripe 40 120 255 50


//force texture shadow
forcetextureshadow models/props_gameplay/security_fence_big01.mdl
forcetextureshadow models/props_gameplay/security_fence_big01.mdl
forcetextureshadow models/props_gameplay/security_fence_big02.mdl
forcetextureshadow models/props_gameplay/security_fence_big02.mdl
Line 114: Line 144:
forcetextureshadow models/props_halloween/oak_03a.mdl
forcetextureshadow models/props_halloween/oak_03a.mdl
forcetextureshadow models/props_coalmines/wood_fence_short_256.mdl
forcetextureshadow models/props_coalmines/wood_fence_short_256.mdl
forcetextureshadow models/props_coalmines/wood_fence_short_128.mdl
forcetextureshadow models/props_coalmines/wood_fence_short_128.mdl</nowiki>}}
 
 
//passtime lights
 
passtime/neons/neon_blue_point 40 120 255 50
passtime/neons/neon_green_point 47 253 85 50
passtime/neons/neon_orange_point 255 178 69 50
passtime/neons/neon_red_point 255 4 4 50
passtime/neons/neon_yellow_point 241 255 84 50
 
passtime/neons/neon_blue_solid 40 120 255 50
passtime/neons/neon_green_solid 47 253 85 50
passtime/neons/neon_orange_solid 255 178 69 50
passtime/neons/neon_red_solid 255 4 4 50
passtime/neons/neon_yellow_solid 241 255 84 50
 
passtime/neons/neon_blue_stripe 40 120 255 50
passtime/neons/neon_green_stripe 47 253 85 50
passtime/neons/neon_orange_stripe 255 178 69 50
passtime/neons/neon_red_stripe 255 4 4 50
passtime/neons/neon_yellow_stripe 241 255 84 50
 
lights/white008 255 255 255 20</nowiki>}}
[[Category:Team Fortress 2|Team Fortress 2]]
[[Category:Team Fortress 2|Team Fortress 2]]
[[Category:Source RAD files|Team Fortress 2]]
[[Category:Source RAD files|Team Fortress 2]]

Latest revision as of 17:46, 8 August 2025

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.
Note.pngNote:This file is re-arranged in Alphabetical-Order for easier viewing
tf/lights.rad
rad
//blue light lights/blue001 107 116 116 50 lights/blue002 107 116 116 100 lights/blue003 107 116 116 200 lights/blue004 151 165 204 50 //fluorescent light //cool 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 //warm lights/fluorescentwarm001a 239 216 193 350 lights/fluorescentwarm002a 239 216 193 400 //white lights/fluorescentwhite001a 245 245 245 350 lights/fluorescentwhite002a 245 245 245 400 //incandescent light lights/incandescentcool001a 235 235 235 300 lights/incandescentwarm001a 250 226 129 300 //hazard lights/hazzardred001a 228 37 0 300 lights/hazzardyellow001a 250 215 74 300 //HID light //cool lights/HIDcool001a 145 222 172 650 lights/HIDcool001b 205 232 255 650 //warm lights/HIDwarm001a 255 201 116 650 //white light lights/white001 150 150 150 50 lights/white001_nochop 250 240 205 100 lights/white002 150 150 150 100 lights/white002_nochop 189 233 247 425 lights/white003 150 150 150 200 lights/white003_nochop 232 246 190 350 lights/white004 170 228 247 425 lights/white004_nochop 170 228 247 425 lights/white005 234 235 220 375 lights/white005_nochop 234 235 220 375 lights/white006 234 235 220 100 lights/white006_nochop 234 235 220 100 lights/white007 255 255 255 50 lights/white008 255 255 255 20 lights/white_fill 150 150 150 5 //moon moon/moon_ceiling_light01 255 250 245 150 moon/moon_ceiling_light01b 255 250 245 200 moon/moon_ceiling_light01c 255 250 245 25 moon/moon_ceiling_light01d 255 250 245 400 moon/moon_light_panel_floor01 255 250 245 200 //passtime lights //point passtime/neons/neon_red_point 255 4 4 50 passtime/neons/neon_orange_point 255 178 69 50 passtime/neons/neon_yellow_point 241 255 84 50 passtime/neons/neon_green_point 47 253 85 50 passtime/neons/neon_blue_point 40 120 255 50 //solid passtime/neons/neon_red_solid 255 4 4 50 passtime/neons/neon_orange_solid 255 178 69 50 passtime/neons/neon_yellow_solid 241 255 84 50 passtime/neons/neon_green_solid 47 253 85 50 passtime/neons/neon_blue_solid 40 120 255 50 //stripe passtime/neons/neon_red_stripe 255 4 4 50 passtime/neons/neon_orange_stripe 255 178 69 50 passtime/neons/neon_yellow_stripe 241 255 84 50 passtime/neons/neon_green_stripe 47 253 85 50 passtime/neons/neon_blue_stripe 40 120 255 50 //force texture shadow forcetextureshadow models/props_gameplay/security_fence_big01.mdl forcetextureshadow models/props_gameplay/security_fence_big02.mdl forcetextureshadow models/props_gameplay/security_fence512.mdl forcetextureshadow models/props_gameplay/security_fence512_lower.mdl forcetextureshadow models/props_gameplay/security_fence512_skybox.mdl forcetextureshadow models/props_gameplay/security_fence256.mdl forcetextureshadow models/props_gameplay/security_fence32.mdl forcetextureshadow models/props_gameplay/security_fence64.mdl forcetextureshadow models/props_gameplay/security_fence64_lower.mdl forcetextureshadow models/props_gameplay/security_fence80.mdl forcetextureshadow models/props_gameplay/security_fence_section01.mdl forcetextureshadow models/props_gameplay/security_fence128.mdl forcetextureshadow models/props_gameplay/security_fence128_lower.mdl forcetextureshadow models/props_gameplay/security_fence256_gate01.mdl forcetextureshadow models/props_gameplay/security_fence256_gate02.mdl forcetextureshadow models/props_gameplay/security_fence256_lower.mdl forcetextureshadow models/props_farm/haypile001.mdl forcetextureshadow models/props_farm/tree001.mdl forcetextureshadow models/props_farm/tree001_skybox.mdl forcetextureshadow models/props_gameplay/door_grate001_bottom.mdl forcetextureshadow models/props_gameplay/door_grate001_top.mdl forcetextureshadow models/props_gameplay/door_grate002_bottom.mdl forcetextureshadow models/props_gameplay/door_grate002_top.mdl forcetextureshadow models/props_gameplay/door_grate003_bottom.mdl forcetextureshadow models/props_gameplay/door_grate003_top.mdl forcetextureshadow models/props_foliage/grass_01.mdl forcetextureshadow models/props_foliage/grass_02.mdl forcetextureshadow models/props_foliage/grass_02_cluster01.mdl forcetextureshadow models/props_foliage/grass_02_cluster02.mdl forcetextureshadow models/props_foliage/grass_02_detailmodel.mdl forcetextureshadow models/props_foliage/bramble001a.mdl forcetextureshadow models/props_foliage/bramble001a_skybox.mdl forcetextureshadow models/props_foliage/corn_plant01.mdl forcetextureshadow models/props_foliage/shrub_01a.mdl forcetextureshadow models/props_foliage/shrub_02a.mdl forcetextureshadow models/props_foliage/shrub_03_card.mdl forcetextureshadow models/props_foliage/shrub_03_card_skybox.mdl forcetextureshadow models/props_foliage/shrub_03_cluster.mdl forcetextureshadow models/props_foliage/shrub_03_cluster02.mdl forcetextureshadow models/props_foliage/shrub_03_cluster_skybox.mdl forcetextureshadow models/props_foliage/shrub_03a.mdl forcetextureshadow models/props_foliage/shrub_03b.mdl forcetextureshadow models/props_foliage/shrub_03c.mdl forcetextureshadow models/props_foliage/shrub_04a.mdl forcetextureshadow models/props_foliage/shrub_04b.mdl forcetextureshadow models/props_foliage/tree01.mdl forcetextureshadow models/props_foliage/tree02.mdl forcetextureshadow models/props_foliage/tree_pine01.mdl forcetextureshadow models/props_foliage/tree_pine01_4cluster.mdl forcetextureshadow models/props_foliage/tree_pine01_8cluster.mdl forcetextureshadow models/props_foliage/tree_pine01_8cluster.mdl forcetextureshadow models/props_forest/shrub_03_cluster.mdl forcetextureshadow models/props_forest/shrub_03b.mdl forcetextureshadow models/props_forest/shrub_03c.mdl forcetextureshadow models/props_foliage/tree_sb_pencil_01.mdl forcetextureshadow models/props_foliage/tree_sb_pencil_02.mdl forcetextureshadow models/props_foliage/tree_sb_pencil_03.mdl forcetextureshadow models/props_halloween/oak_01a.mdl forcetextureshadow models/props_halloween/oak_02a.mdl forcetextureshadow models/props_halloween/oak_03a.mdl forcetextureshadow models/props_coalmines/wood_fence_short_256.mdl forcetextureshadow models/props_coalmines/wood_fence_short_128.mdl