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 Scripts / Skybox .x file?

Author
Message
Cruise McClarren
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 6th Dec 2006 17:31
How do you create the skybox .x file? I downloaded the skybox packs 4 & 5 for FPSC and I don't know how to load them into the program. I know about the Build menu/Level Settings/Global Script/ Sky. but how do you create the script for the new sky boxes?

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 6th Dec 2006 22:32
You would need a prgram that imports skyboxes into FPSC.
Skies by Tschwarz is one that comes to mind.
You can find it here.

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 7th Dec 2006 04:49 Edited at: 7th Dec 2006 04:53
Quote: "You would need a prgram that imports skyboxes into FPSC."

Or you could do it yourself.

Here is the zip of a skybox that you can use for an example.

In the zip you will find a generic skybox X file name a03.x

You will notice if you open this file, lines like the following...

TextureFilename {
"a03_D.tga";

There are six sides to the box.

U=Up
D=Down
F=Forward
B=Back
R=Right
L=Left

Just copy that X file and replace the a03 part of the lines with the name of your skybox.
Your skybox must be named 3 digits. (the name 'four' would not work because it contains four characters)
Hence my naming convention of an alpha for the first and numerals for the other two.
This gives me 2600 combinations which is more than the number of skyboxes I would ever need.
Anyway, if you name it more than 3 characters you will have problems.
Don't ask me why, just name it 3 digits.
Moving on...

The skybox folder you create should be the same name as the X file.
It should be located in a sub=folder in the skybank folder.
IE..
C:\Program Files\The Game Creators\FPS Creator\Files\skybank\user\A03

Here I placed it in the user subfolder in the skybank.
You'll notice too that my images are TGA format.
You need a good terrain creator because making these seamless is difficult.
But these programs just create the images.
You still can create the X file and Folder yourself, instead of using a program if you choose to.

Now you need to assign the skybox in FPSC...
In the map editor under FILE>BUILD GAME>LEVEL SETTINGS>GLOBAL SCRIPT>LEVEL SETUP>SKY
..you can assign it.


My hat is off to you Cruise, because it is obvious you are giving this your all.
I hope this helps you to understand skyboxes a bit more.

Don't forget to visit Conjured Entertainment
tschwarz
19
Years of Service
User Offline
Joined: 13th Feb 2005
Location: 127.0.0.1
Posted: 7th Dec 2006 05:08 Edited at: 7th Dec 2006 05:10
tgc actually made them fpsc ready. You might want to send an email and ask for the fpsc versions if they are not in your order history. It's in this newsletter, let us know if you get them so others will know they are available.


http://www.thegamecreators.com/data/newsletter/newsletter_issue_44.html
Cruise McClarren
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 7th Dec 2006 17:13
I hvae the ones that are fpsc ready. But I do not see the .x file that goes with it. Thanks for the info Conjured

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003

Login to post a reply

Server time is: 2024-11-23 04:50:05
Your offset time is: 2024-11-23 04:50:05