IrocJeff Posted September 9, 2014 Share Posted September 9, 2014 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? Link to comment
Guest KENNITHH Posted September 9, 2014 Share Posted September 9, 2014 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. Link to comment
Xycaleth Posted September 9, 2014 Share Posted September 9, 2014 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. Link to comment
Solution IrocJeff Posted September 9, 2014 Author Solution Share Posted September 9, 2014 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. Link to comment
Guest KENNITHH Posted September 10, 2014 Share Posted September 10, 2014 Really? They always said to me it didnt work, gotta try this someday Link to comment
IrocJeff Posted September 10, 2014 Author Share Posted September 10, 2014 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! Link to comment
Asgarath83 Posted September 10, 2014 Share Posted September 10, 2014 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. Link to comment
ensiform Posted September 10, 2014 Share Posted September 10, 2014 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now