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.

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 13th Sep 2009 15:02
I want to deactive lighting keys in the game.These keys must be active in test mode instead of the game and this cause some problem in dark game and user can change the brightness with his own ideal light,but it is incorrect.Please tell me what should I do?THANKS A LOT
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 13th Sep 2009 16:53 Edited at: 13th Sep 2009 18:35
Place a dynamic light somewhere in the level and assign this script to it's AI Main.



Adjust the ambience values to suite. I think you can also add theses values to the setup.ini file.

Another way to limit the amount of change the player can make, is to set the ambience settings as follows:

In File - Build Game - Level Settings - Global Script, set the ambience level to 20 and the Red, Green and Blue values to 20. Now the player can adjust the ambience between 0 and 20 only.

Brian.

Login to post a reply

Server time is: 2024-11-25 06:37:28
Your offset time is: 2024-11-25 06:37:28