"
lights.rad
" is already a file in the game. If you want to actually use your own, you need to give it a different name. Or you can place it in
tf/custom/(any folder name)/
to override the default one. (In which case you don't need to specify it in VRAD because "
-lights lights.rad
" is the default.)
I recommend you take the default lights.rad file and add your stuff to it. Two things to note:
1. Two of the coalmines fences are already in there. Literally just two of them, though.
2. You should delete the line "
//passtime lights
". VRAD doesn't know what this means because there is no support for comments. The people from Bad Robot added this line and never realized that it creates a warning in the compile log every god-damn time you compile any map ever. GOD.
You can find the default lights.rad file in tf/tf2_misc_dir.vpk and it looks like this:
Code:
lights/blue001 107 116 116 50
lights/blue002 107 116 116 100
lights/blue003 107 116 116 200
lights/blue004 151 165 204 50
lights/white001 150 150 150 50
lights/white002 150 150 150 100
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/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/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/white004 170 228 247 425
lights/white005 234 235 220 375
lights/white006 234 235 220 100
lights/white007 255 255 255 50
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
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
//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