Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Dark or light

Author
Message
Forze
12
Years of Service
User Offline
Joined: 26th Mar 2012
Location:
Posted: 24th May 2012 12:13
Welcome. how to do so in the room was dark?.
and when the light up to make it clear
Troutflies
13
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 24th May 2012 18:03 Edited at: 24th May 2012 21:10
Not really sure what your asking for here. If you want a room completely dark you need to lower the ambience to zero.

Open your map editor click on files>build>click on the second tab(forget what its called) then the second tab down. Scroll till you find ambience. Set all to zero, be sure to hit enter after each value change or it won't change in the game.

Now when you want to light up the room you can place a light.
Dynamic if your going to use a switch or triggerzone to turn the light on or static if you just want the light to be on.

However that will make your whole game dark. If you just want the room dark. Place a dynamic light in the room, Set the main to lightoff.fpi and name it something unique like "MyLight". You will have to put a switch somewher, of some kind to turn the light on when desired. add the name of the light in the switches ifused field.

If it's a triggerzone that will turn on the light use the Activateifused.fpi in the triggers main. and add the light name to the ifused field.

Hope this helps.

Login to post a reply

Server time is: 2024-11-24 00:46:55
Your offset time is: 2024-11-24 00:46:55