Toggleable lights

Discussion about Shadowgrounds and Shadowgrounds Survivor Mods and the Level Editor.
Posts: 1
Joined: Wed Nov 19, 2008 11:41 am

Toggleable lights

Postby Mecho » Wed Nov 19, 2008 11:55 am

Hello. I was wondering, if it's possible to somehow create toggleable lights? The point is that you'd need to use a generator to switch the lights on in our level. I couldn't find a solution with a quick search. Thank you.

User avatar
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Toggleable lights

Postby fb_joel » Wed Dec 17, 2008 7:23 pm

Sorry for the long delay.

Unfortunately I think it's not possible to toggle lights. You CAN toggle spotlights but it's a little different (there's console commands "enableLightGroup 0" and "disableLightGroup 0" and the groups are defined in the editor).

The way I'd do something like this is to make the light switching part change the level as well, and then rework the lighting. It's not very elegant but it could work ok.

If you'd only want to make all lights go off, then that might be possible... let me know if that's the case and I'll find out if there's a command for removing all light.
// Joel, Frozenbyte team

Return to “Mods / Level Editor”

Who is online

Users browsing this forum: No registered users and 2 guests