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 Product Chat / Disable Light Control In Build Game

Author
Message
4125
18
Years of Service
User Offline
Joined: 3rd Feb 2008
Location: Bronx, New York
Posted: 9th Jan 2010 08:44
How do you disable the "Light Control" or whatever its called for a build game? The < and > Keys to change the lighting from ligher to darker.

Computer Specs: Intel Core 2 Duo E7400 2.80GHz @ 1066Mhz FSB 3MB Cache, Dual Channel 8192MB DDR2 PC6400 800MHz RAM, XFX Nvidia Geforce 9800 GTX+ 512MB, MSI P7N SLI-FI Motherboard - nForce 750i SLI
Silvester
20
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 9th Jan 2010 10:40
That's not even possible when you build a game, the Build Game/Test Game are two different systems when handled by FPSC-Game.exe, so when you finished your game and have built it it will no longer allow for such changes to be made by the player.(Unless this is a new bug nobody knows about yet?)


EDP Map Editor[2D]
Hexy123
17
Years of Service
User Offline
Joined: 14th Jul 2009
Location: Melbourne
Posted: 9th Jan 2010 11:15
I have experienced this aswell. in some built games useing < and >
keys turn up the ambient lighting
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 9th Jan 2010 11:25
Use a script which permanently sets the ambience, like the one below:

:state=0:state=1
:state=1:ambience=50,state=1

Ambience will now be unchangable using the < > keys.


FPSC MIGRATION: http://bit.ly/5I8LYO
FPSC NUCLEAR EXPLOSION: http://bit.ly/67v8GI
4125
18
Years of Service
User Offline
Joined: 3rd Feb 2008
Location: Bronx, New York
Posted: 9th Jan 2010 22:19
Quote: "Use a script which permanently sets the ambience"


Whould this script work in multiplayer?

Quote: "That's not even possible when you build a game"


It is possible. Other wise I would have never made this thread if it wasn't. I've had this "issue" sense like...forever...

Computer Specs: Intel Core 2 Duo E7400 2.80GHz @ 1066Mhz FSB 3MB Cache, Dual Channel 8192MB DDR2 PC6400 800MHz RAM, XFX Nvidia Geforce 9800 GTX+ 512MB, MSI P7N SLI-FI Motherboard - nForce 750i SLI
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Jan 2010 01:41 Edited at: 10th Jan 2010 01:44
You can use a script as stated above and attach it to a dynamic object. You should set the object to always active so that the player doesn't get out of it's range and it stops working.

You can also set the ambience in the build game settings to either not allow any change during game play, or allow an amount that you specify.

If you set the settings as follows...
ambience=20
ambiencered=20
ambiencegreen=20
ambienceblue=20
there will be no adjustment in the game using the <> keys and the ambience will be 20.

If you set the settings as follows...
ambience=20
ambiencered=30
ambiencegreen=30
ambienceblue=30
the <> keys will adjust the ambience between 20 and 30 only.

The ambience is the lower limit, and the ambience r-g-b are the upper limit. You can lock them to the same value, or allow the player whatever adjustment you choose.

Brian.

BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 10th Jan 2010 02:32
Thanks for that info Brian. Is there a recommended setting you use for games that you utilize as a constant or template? Or does it vary?

Cheers

Mike

xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Jan 2010 02:54
I guess it would depend on the game or game type. When making a night game or creepy, dark, indoor environment, you don't want the player to be able to make daylight. I find it works best when there is some ambient light, especially in outdoor settings. I've also found that the ambience needs to correlate to the skybox.

In reality, a very dim light will shed some light over a very long distance, but not in FPSC. If you place a dim light it will only light 10 feet away, and then you have pitch black. Having a little bit of ambient light is a more realistic way to go.

In Caper City, the settings were 20-26. There is always some light from the sky, even at night. Indoors, you may want to go a little darker.

Brian.

BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 10th Jan 2010 03:45
Nod. I have a struggle with getting our lighting just right. I'll keep your info in mind as a reference point. Thanks for sharing that piece of info.

Cheers

Mike

Login to post a reply

Server time is: 2026-07-17 13:59:04
Your offset time is: 2026-07-17 13:59:04