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 / Change Skybox during game

Author
Message
Ritik756
9
Years of Service
User Offline
Joined: 22nd Apr 2014
Location:
Posted: 29th Sep 2014 09:40
How do i change skybox of game using trigger zone.
BlackFox
FPSC Master
15
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 1st Oct 2014 17:55
Quote: "How do i change skybox of game using trigger zone. "


In the level place a trigger, then apply this script to the main.



The !!PATHTOSKYBOX!! is the location of the skybox you want which is located in your "Files\skybank" folder.

**NOTE** you cannot change the skybox in FPSC during the game (ie while inside the game). Normally the skybox is specified in your "Files\languagebank\english\gamebank\FOLDER\setuplevel.fpi" which is the skybox the game will render for the level(s). While the level is loaded, the engine will process scripts and if a script in the level is found calling the "skybox=x" command, it will render that skybox (overriding the one from setuplevel.fpi).

If you want to change the skybox for each level, you can by following the info here.

There's no problem that can't be solved without applying a little scripting.
Ritik756
9
Years of Service
User Offline
Joined: 22nd Apr 2014
Location:
Posted: 11th Oct 2014 22:44
Thanx BlackFox, all info i wanted to know.

Login to post a reply

Server time is: 2024-04-20 12:04:57
Your offset time is: 2024-04-20 12:04:57