Jump to content

Trigger-able Lights


Go to solution Solved by IrocJeff,

Recommended Posts

Posted

I want the player to walk into a room and have the lights shut off. How would I set up the lights themselves for this or is this something that has to be scripted?

 

 

Guest KENNITHH
Posted

Not 100% sure for jka jk2 but in sof2, lights cant be toggled. You could make a trigger that triggers an effect, so the effect (efx) would be a light.

Posted

It's possible using light styles I think. I don't know how to do it off the top of my head, but searching for "q3map2 light styles" should give you something to start with.

  • Solution
Posted

Well, its so freaking simple its silly. Just make a trigger, make it a trigger multiple and set it to use button. Put a wait time in as well. Then, just link that trigger to any light entity and voila, you got a switchable light. It works in Jedi Outcast which is great for me! 

 

http://en.wikibooks.org/wiki/GtkRadiant/Linking_Entities

 

Also, if you want the room to be lights to be off, just tag the start off box in the entity window.

Guest KENNITHH
Posted

Really? They always said to me it didnt work, gotta try this someday

Posted

Really? They always said to me it didnt work, gotta try this someday

 

Yeah, same here. Now, I have to go back to some areas of my project where I WANTED this feature and have to add it in. The longer I mess with this project the more I learn, the more I have to go back! 

Posted

in JKA using a trigger and a targetname for thelight, or a script for the trigger, it's possible to turn off \ on a light with his own fx_runner too XD it's very nice for make lamps or torchs that can turn off or on,,, or magic braziers or lightballs. :)

Posted

This is only possible because of the addition of light styles.  Its a bsp / engine extension from the main idtech3.  What it does is flips around pieces in the lightmap ("styles").  The lights themselves do not toggle as it just changes some configstrings around to tell clients which ones to render.

 

And lights which have a targetname (toggleable), DO consume server side entity space unlike regular lights which are stripped from the bsp.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...