light question

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
What is better, light_spot or light_dynamic for a bunker?

I have one that#s purple for emergency lights, white for normal.

Breaker_room emergeny lights:
entity
{
"id" "107597"
"classname" "light_dynamic"
"_cone" "70"
"_inner_cone" "30"
"_light" "128 128 192 800"
"angles" "-35 314 0"
"brightness" "0"
"distance" "225"
"pitch" "-35"
"spawnflags" "0"
"spotlight_radius" "80"
"style" "0"
"targetname" "br_emergency_lights"
"origin" "1351 -2674.91 42.7507"
editor
{
"color" "220 30 220"
"visgroupshown" "1"
"visgroupautoshown" "1"
"logicalpos" "[0 -8768]"
}
 

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
ok., I give that a try. Thanks.
 

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
another question... what angles do you recommend so it lights up the breaker box?
 
Last edited:

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
Ya really shouldn't be asking others to figure out minor details you could probably do yourself.
 

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
OK. I'll try to get a screenshot.
 

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
Here's the screen shot

tyro_station_a40000.jpg


As you can see, the "emergency lighting" is not "Enlighting" the breaker box properly so players can see it.

Code from map vmf:
}
entity
{
"id" "111704"
"classname" "point_spotlight"
"angles" "41 293 0"
"disablereceiveshadows" "0"
"HDRColorScale" "1.0"
"maxdxlevel" "0"
"mindxlevel" "0"
"renderamt" "255"
"rendercolor" "255 255 255"
"renderfx" "0"
"rendermode" "0"
"spawnflags" "3"
"spotlightlength" "500"
"spotlightwidth" "150"
"targetname" "br_emergency_lights"
"origin" "1231 -2678.1 44"
editor
{
"color" "220 30 220"
"visgroupshown" "1"
"visgroupautoshown" "1"
"logicalpos" "[0 -8768]"
}
 
Last edited:

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
like this??

}
entity
{
"id" "111704"
"classname" "light"
"angles" "41 293 0"
"disablereceiveshadows" "0"
"HDRColorScale" "1.0"
"maxdxlevel" "0"
"mindxlevel" "0"
"renderamt" "255"
"rendercolor" "255 255 255"
"renderfx" "0"
"rendermode" "0"
"spawnflags" "3"
"spotlightlength" "500"
"spotlightwidth" "50"
"targetname" "br_emergency_lights"
"origin" "1231 -2678.1 44"
editor
{
"color" "220 30 220"
"visgroupshown" "1"
"visgroupautoshown" "1"
"logicalpos" "[0 -8768]"
}
}
 

iiboharz

eternally tired
aa
Nov 5, 2014
857
1,291
Use a light_spot if it's a spotlight.

Don't give them a targetname unless you intend to turn them on/off.
 

Cynder loves Portal

L420: High Member
Jan 9, 2016
434
103
I intend to turn them on and off.

The light I'm trying to fix is an emergency light that goes off when the main power is restored to the map by resetting the breakers.