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 / [Tutorial] How to reflect in the sky in your game?

Author
Message
Naxone
16
Years of Service
User Offline
Joined: 23rd May 2010
Location: Chile
Posted: 14th Jun 2010 04:09
Here I bring you a tutorial on how to reflect the sky in your games.

Step 1: Configure the setuplevel from
languagebank/english/gamebank/mygame and it will appear something like:

Quote: ";AIScript from Wizard
;Header
desc = Setup Wizard V103
; Setup Level Stats
:state=0:sky=skybank\ww2\Gas
:state=0:music=audiobank\atmos\hole_amb3_hum.wav,musicvolume=30,soundscale=25
:state=0:fog=0,fogred=0,foggreen=0,fogblue=0
:state=0:ambience=25,ambiencered=255,ambiencegreen=255,ambienceblue=255"


Step 2: This changed the sky that then:

Quote: ";AIScript from Wizard
;Header
desc = Setup Wizard V103
; Setup Level Stats
:state=0:sky=skybank\ww2\Cty
:state=0:music=audiobank\atmos\hole_amb3_hum.wav,musicvolume=30,soundscale=25
:state=0:fog=0,fogred=0,foggreen=0,fogblue=0
:state=0:ambience=25,ambiencered=255,ambiencegreen=255,ambienceblue=255"


Step 3: Save and we drift FPS Creator

Step 4: We created a simple map as shown in the following example:



Then we test the level and observe the color of the sky.
And we see that the color of the sky is blue.



Step 5: We created a dynamic light and place it above the map, to the limit. Then, let the light options that we have and put the following configuration:



Quote: "Light Range: 3200
Light Color: f0caa6"




Step 6: We test our level again and the result is the following:



Greetings, I hope you like it.
Dahjah
17
Years of Service
User Offline
Joined: 22nd Dec 2008
Location:
Posted: 14th Jun 2010 06:05
Haha tricky... I like it
PW Productions
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location: sitting in a chair.
Posted: 14th Jun 2010 06:12
Pretty cool. Quite clever as well, considering your date of joining.

moncho
18
Years of Service
User Offline
Joined: 12th Apr 2008
Location: houston tx
Posted: 14th Jun 2010 07:05
cool and nicely explained

Wraith Staff
19
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Hamilton, OH
Posted: 14th Jun 2010 09:57
Huh.... this is really neat, thanks!

Red Eye
17
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 14th Jun 2010 14:35
Cool trick !!!

But...

Sun effects in most games just use a standard white color [all colors], and adjust the ambience to get that "reflect" effect. I dont think by changing light color would give it a better feeling. If u would do that anyway, radiosity would be the best choice. But anyway, just use white color, and change the ambience to light blue.

...on the other hand...

If u do it your way, u will have ambience to play with left (so that's cool.

...on the other hand...

If u make the ambience grey, u dont notice that "reflect" effect.

Naxone
16
Years of Service
User Offline
Joined: 23rd May 2010
Location: Chile
Posted: 14th Jun 2010 16:32
I'm glad you liked it, here I have another example of how to reflect the sky.

DarkFrost
17
Years of Service
User Offline
Joined: 3rd May 2009
Location: ON, Canada
Posted: 15th Jun 2010 02:45
It also helps to add in a white light at max range aside your coloured light. The white balances out and mixes into the second light to give a more realistic tone to the overall ambience. Therefore the lighting is not pure blue or red or whatever your skybox is. It just has a tint

[img][/img]
PW Productions
17
Years of Service
User Offline
Joined: 13th Mar 2009
Location: sitting in a chair.
Posted: 16th Jun 2010 02:01
DarkFrost, you could also just lower the saturation of the light's colour to save processing time

Metal Devil123
17
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Suomi, Finland
Posted: 16th Jun 2010 17:15
Well, it looks nice. But it's a light in the sky, is it? Well, it's nice. I am not attacking anyone, but just asking... Looks cool thou...

Norion
16
Years of Service
User Offline
Joined: 14th Jun 2010
Location: The Netherlands.
Posted: 16th Jun 2010 19:55
i like both idea's for the sky boxes they are all very cool

sometimes you can better use that idea from red eye and sometimes you can better use that idea from naxone oh and naxone you got a few great looking screen shots made their my compliments

Login to post a reply

Server time is: 2026-07-05 06:20:37
Your offset time is: 2026-07-05 06:20:37