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 / Question About Lighting

Author
Message
Tom Thelwall
19
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 23rd Oct 2006 13:14
I have a question about FPS Creator. I would like to make a game that is very dark, but I'm afraid that I am having difficulty figuring out how to make a room look very dark. Can anybody tell me how I can do this?
DJ Professor K
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location: Somwhr in front of a brokn kyboard.....
Posted: 23rd Oct 2006 13:43
A search never hurt anyone...

Anyway, go to File > Build Game

Put all settings on max of lighting, i suggest texture the same,
Then go to the 2nd tab and edit the main script (click on the edit button), there you'll find maps default lighting wich should be 25, put it to 0 for completely black, you can put around 3, so it isn't completelly black, but it also gives that spooky "night" feel (for exemple, only light from the moon).

My love is seperated in 2 parts, 1 of them is 3ds Max 7, the other; FPSC.
Tom Thelwall
19
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 23rd Oct 2006 20:06
Thanks a lot, I didn't realise it was that simple. Thanks for your help mate.
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 24th Oct 2006 01:28
that thing never works for me, whenever i set it to anything less than 100 and click ok, i go back in, and it's still 100, it never changes!!!

any ideas?

Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 24th Oct 2006 01:52
Be smart and edit the file.

Tom Thelwall
19
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 24th Oct 2006 10:33
That has happened to me a number of times, I find that it helps if you change the number, then click on another field before selecting OKAY.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 24th Oct 2006 19:55
Quote: "that thing never works for me, whenever i set it to anything less than 100 and click ok, i go back in, and it's still 100, it never changes!!!

any ideas?"

I use the ambience=x action in an entity's fpi script.
You have to place a lightbulb in your map. (even if it's just static)
Then you have full control from the scripts to override the ',' and '.' keys.
( the < and > keys from the shift perspective)
You guys do know that your players can adjust the light using the comma and period keys, right?


Don't forget to visit Conjured Entertainment
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 24th Oct 2006 20:12
@ Conjured

Nope I never knew you could change the ambience ingame using keys!! (Please dont tell me I missed that in the manual )

So if I use the ambience=X in an fpi script (I guess in any entity!), then it over-rides the ,. keys??

Thanks for the info!

-- n00b at playing games...and now at making em too :p --
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 24th Oct 2006 20:46 Edited at: 24th Oct 2006 21:00
Here's a line of code you can add that will override them.

The value can be between 0 and 100.
There has to be a light placed somewhere in the map.
The entity should be Invulnerable (set Strength to Zero) and have its Always Active set to Yes.
This is usually how I would have a radio set up for background music selection.
Just add that line above :state=0 of an existing entity's script if it is already set like that.
ie. Invulnerable and Always Active

Note
Ambience only works indoors as it does not affect the skybox.
You will still need a dark skybox like the one in the FPS Creator\Files\skybank\natural\Ngt folder.


Don't forget to visit Conjured Entertainment
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 24th Oct 2006 22:26
Thanks for the knowledge Conjured.

-- n00b at playing games...and now at making em too :p --
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 25th Oct 2006 01:36
Quote: "Be smart and edit the file."

DOH!!!

wow, i hadn't even thought of that, lol.

flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 25th Oct 2006 02:43
on the topic of lights, you know how you can make custum color lights, can you make dark lights?

http://smallgroup.be
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 25th Oct 2006 05:05
Quote: "on the topic of lights, you know how you can make custum color lights...?"

Yes.
ambiencered=x
ambiencegreen=x
ambienceblue=x

Unlike the ambience with its max value of 100;
the ambiencered, ambiencegreen, and ambienceblue have max values of 255.

The light's color can be any color in the RGB triplet.

For instance..

:state=0:ambiencered=255,ambiencegreen=0,ambienceblue=0,state=1

Would set the color to Red, because we set red to its highest value and the others to zero.

If you want Green then we would use...
:state=0:ambiencered=0,ambiencegreen=255,ambienceblue=0,state=1

If you want Blue then, yep you guessed it...
:state=0:ambiencered=0,ambiencegreen=0,ambienceblue=255,state=1

Most paint programs tell you the RGB values of any color you pick.
This can simplify the process by getting closer matches the first try.


Don't forget to visit Conjured Entertainment
Kerithion
18
Years of Service
User Offline
Joined: 17th Jun 2006
Location: Scotland
Posted: 25th Oct 2006 16:46
Quote: "You guys do know that your players can adjust the light using the comma and period keys, right?"


Ummm... no. I did not know that. Learn something new every day - thanks very much for posting that. Mighty useful to know. Where's that hidden in the manual?

Login to post a reply

Server time is: 2024-11-25 17:55:46
Your offset time is: 2024-11-25 17:55:46