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 / FPSC Sky Trouble...

Author
Message
DaClinkMan
14
Years of Service
User Offline
Joined: 7th Jul 2011
Location:
Posted: 8th Jul 2011 06:47
Don't know what I did here.

I was building a game and trying to edit ambient lighting w/o actually building the game. used a trigger zone (ALWAYS) to set the ambientred/blue/green and all. Then i tried to make a dynamic light flicker for a fire effect. (I was trying to make a dark, night time scene with a camp fire)

When I tested the game, all of the sky was black. when i looked around in the game, the black area changed to whatever wall/entity touched it (hard to explain but it looked like it was redrawing whatever was near it in the sky. Please someone say they understand?)

This has carried over into all my other levels that i load and test. I did screw around with the global ambiance when trying to build the game (Built it once to see if that could change the lighting).

Thanks for any help you can give. BTW I'm absolutely desperate in trying to save my levels. Plz help.
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 8th Jul 2011 07:47 Edited at: 8th Jul 2011 07:54
Its not your ambience, this happens when all or one of your skybox images are missing, or you are referencing a non-existent skybox. Check your skybank folders to ensure everything is there, and/or your setuplevel.fpi or global settings.
You dont need to change r,g,b for ambience level only use these for ambience colour, instead use ambience=.
I dont know where you got the script your using but also make sure that it isnt changing your skybox, its a bad idea to change skyboxes through scripting. This would explain the 'jamming' of your skybox per level, if this is the cause you may have to reinstall FPSC and never do it again, trust me.

A Mod has been erased by your signature.
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 8th Jul 2011 07:56 Edited at: 8th Jul 2011 07:58
Quote: "When I tested the game, all of the sky was black. when i looked around in the game, the black area changed to whatever wall/entity touched it (hard to explain but it looked like it was redrawing whatever was near it in the sky. Please someone say they understand?)"


Yes, do I ever understand. Been there many times.

Quote: "this happens when all or one of your skybox images are missing, or you are referencing a non-existent skybox. "


Just to further add to Rolfy's explanation...

If you are testing your game, navigate to your Files\languagebank\english\gamebank\mygame\ folder and look for the setuplevel.fpi. You can use notepad to edit this file. Look for this line:



That is just an example, but where you see the "\scifi\mar", you should have that in your Files\Skybank folder. In other words, you will have Files\Skybank\scifi\mar. If it is not there, then as Rolfy said your setuplevel.fpi is pointing to a "non-existant" skybank. Just change the line to one that you do have (for example: "skybank\ww2\gas").

- BlackFox
DaClinkMan
14
Years of Service
User Offline
Joined: 7th Jul 2011
Location:
Posted: 9th Jul 2011 06:19
much appreciated rolfy and BlackFox. Believe it or not that explanation hit me right as I was going to sleep last night! Not as well explained, but I was on the right track!
Anyways, thank you for your time and help. I might be back if I REALLY screwed it up!

Login to post a reply

Server time is: 2026-06-30 22:57:26
Your offset time is: 2026-06-30 22:57:26