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
Rexxie
15
Years of Service
User Offline
Joined: 21st Oct 2010
Location:
Posted: 10th Nov 2010 16:46
Hello. i've red about skybank changes but i still have no clue how to change it.. can some1 please explain how i change my skybank?

thanks
Pirate Myke
16
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 10th Nov 2010 16:55
You need to go in to the build preferences.
there is a line that points to the skyboxes.
Browse into it and choose which one you want.
Save build preferences.

You might not see it in the test build, It seems to default to the standard on.

after you build a game, you might need to put the skybox files into the proper folder in the mygame directory with the name of the folder you used.

Hope this helps

Nothing but coffee in my veins
Payam
17
Years of Service
User Offline
Joined: 28th Mar 2009
Location:
Posted: 10th Nov 2010 20:53
Just go to your FPSC files and open the PDF called OFPSGuid.pdf and just search there.If you couldn't find it I'll find that part and copy it here as I know there were something.
I think it was a per level changing system but lets see what we can find.

Have our guns was a mistake!!!

I am PaYaM
Rexxie
15
Years of Service
User Offline
Joined: 21st Oct 2010
Location:
Posted: 10th Nov 2010 21:26
i can find anything in the build game thingy that says anything about skybank? :S
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 10th Nov 2010 21:28
The guide only specifies how to change the sky via the Preferences, and is not very helpful. Since I've created a demo and tutorial on changing skyboxes, here is the detailed way to do it.

Change Skybox for single/test level

First off, when you test a level, the setuplevel.fpi file that specifies the skybank will be located in the following folder:

Files\languagebank\english\gamebank\mygame\

Take a look at the setuplevel.fpi script. Notice the following code:

:state=0:sky=skybank\ww2\War --> note your line may have something different, but it is the line that has :sky=skybank\...

To change it, you do this:

1. Navigate to the Files\skybank folder. You will notice other folders in there. Let's use the night sky as an example.
2. Navigate into the \natural folder. Notice the folder NGT which is the night sky skybox.
3. In your setuplevel.fpi put the following in place of the original line:

:state=0:sky=skybank\natural\ngt

When you run a test, it will use the night sky skybox.

Changing Skybox per level

To change your skybox per level, you need to know which skyboxes you want to use. It is important to know that the setuplevel.fpi script must be the first sky, and the rest are specified in your loadinglevel#.fpi scripts.

1. Open the setuplevel.fpi and specify your sky you want for the first level in the following line (just as outlined in the other method).

:state=0:sky=skybank\natural\ngt

2. In each of your loadingpage#.fpi scripts, at the last line of :state=0:state=1, hit enter to give a blank line and add the following code:



So for loadingpage.fpi you might have :state=1:sky=skybank\ww2\gas;
for loadingpage02.fpi you might have :state=1:sky=skybank\ww2\war;
for loadingpage03.fpi, you might have :state=1:sky=skybank\ww2\hil

And so on... But each skybank change goes into the loadingpage#.fpi script with the code I supplied you at the end of the :state=0:state=1 line.

Remember that your skybank contains all your available skyboxes, so you only need to specify the folder\3-character-folder-name in your code.

Hopefully that helps you get a better understanding.

- BlackFox

RPG Mod- Create a world full of adventure
Rexxie
15
Years of Service
User Offline
Joined: 21st Oct 2010
Location:
Posted: 11th Nov 2010 23:05
thanks

Login to post a reply

Server time is: 2026-07-02 12:29:49
Your offset time is: 2026-07-02 12:29:49