Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Special Spotlights Help me

Page: 1 of 1
 Gohan_Trunksss
06-19-2004, 7:49 PM
#1
I need to know how to make Spotlights that Turn ON while you touch a trigger, what im doing it making a floor that looks like checker board for example...... every black square will set off a spotlight above while they stand on the square , but i want the light to turn back off when they step off it.

all i know how to do is make a spot light, i dont know how to set it to button or anything.
 EvilJedi
06-20-2004, 2:11 AM
#2
Make a trigger_multiple on each square, link it to your spotlight. Check the box with start_off in the entity window (I have no idea if it's there with lights) and it should work.
 Gohan_Trunksss
06-20-2004, 4:56 PM
#3
this gives me the error, MAX_SWITCHED_LIGHTS


GRRRRRRR, any ideas?
 Ice Dyn4stY™
06-20-2004, 5:33 PM
#4
Too many lights?
 Gohan_Trunksss
06-20-2004, 10:30 PM
#5
no.... not too many lights.... my firend has had over 200 lights in a map, i only have about 30..... it has to do with targeting a light, he said target the func_multiple to the spotlight, but you cant target the light or it gives that error..... or did i do this wrong?
 Shadow_stone
06-21-2004, 12:12 AM
#6
maybe try using target_activate and deactivate
 Gohan_Trunksss
06-21-2004, 3:32 AM
#7
nope...... i am resolving to plan B lol, leave the spotlights on and change a few things, thanks for helping guys
 EvilJedi
06-21-2004, 1:47 PM
#8
Make sure you select the TRIGGER first and then the LIGHT and then connect them. If it says something about "Must have two brushes selected" unselect both and then select them again in that order, then link again.

Maybe the MAX_SWITCHED_LIGHTS thing means that you can't have too many lights by a switch?

Or maybe your lights are colored giving that error?
 WadeV1589
06-21-2004, 7:24 PM
#9
You can only have so many unique 'styled' lights in a map, if you turn a light into a switchable light it becomes a styled light; quite simply you can't do it with a lot of lights.
 Gohan_Trunksss
06-22-2004, 2:55 AM
#10
wade and evil both right, have too many styled lights, which ruins my idea so i have to leave them all on perm. :-(
 Jedi_Vogel
06-22-2004, 5:50 AM
#11
Mapping Evil number 1: Switchable Lights :p
 WadeV1589
06-22-2004, 12:11 PM
#12
No, number 1 is the fact mapping requires closed boxes, aka the hull...some people just never grasp that concept and wonder what 'leaked' means.
 Jedi_Vogel
06-22-2004, 12:30 PM
#13
Seemed fairly logical to me, once I figured out where the "void" was :lol:
Page: 1 of 1