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 / Sky bank and Scripts

Author
Message
FPSC Work In Progress
17
Years of Service
User Offline
Joined: 10th May 2009
Location:
Posted: 5th Jun 2011 03:38
Hi. I am new to computers and FPS Creator. I have noticed the scripts are FPI format. I do not know how to use my own scripts, very confused about it. Also, how do I use the sky banks??? I am working on a World War II type of game, nad I believe a Sky would help. Thank you in advance for all the help, FPS Creator rocks!!!
Dillionaire
15
Years of Service
User Offline
Joined: 24th Dec 2010
Location: USA
Posted: 5th Jun 2011 09:44
Welcome to the forums!

To use your own scripts, you first have to learn how to write in the FPI language. You can learn this by reading the FPSC Official Community Guide by nickydude. Here's the link:

http://www.madladdesigns.co.uk/fpsc/guide/ocfpscguide.pdf

To change the skybox, open FPS Creator, then click "File," then "Build Game." Once you've opened up that window, navigate to the "Level Settings" tab. On the line that reads "Global Script," click "Edit." Another box should pop up. In this box, near the top, look for the option "Sky." Click on the box with three dots on this line, and select any sky from the folders. To preview this, select a sky and click "Open." At the bottom of the box, select "Preview" and you'll see a rendering of your skybox.

Good luck, and have fun with FPSC.



My Computer Specifications: Intel i7 980x OC @ 4.2 GHz |3x GTX 580's in SLI | 12 GB, 2000 MHz RAM (Corsair) |2x 1 TB HDD | 1.2 KW PSU |ASUS Rampage III Extreme Motherboard
Gencheff
16
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 5th Jun 2011 13:20
The so called FPI format can be opened with Notepad with no problem.
It's just plain text stringed together in a logical way.

Each row has a condition(one or more separated with commas) and an action (could be more than one as well,same separation rule as conditions goes here).The conditions are wrapped around with colons at the start and end ( : )

Example - :plrdistwithin=100,plrhealthless=50:plraddhealth=50
First 2 are conditions checking if the player is within 100 units(1 segment) in radius and if his health is bellow 50.Then comes an action if the said conditions return true.That action is to give the player 50 extra health points.

To use scripts you have to apply them to objects (entities - must be dynamic,not static) by right clicking on them and selecting the appropriate script in their Start,Main,Destroy fields.

More info on FPI scripting : http://en.wikibooks.org/wiki/FPI_Script
http://en.wikibooks.org/wiki/FPI_Script/FPI_Usage_Examples

Hope this helps


PC Specs:Windows 7 Ultimate 64-bit,Intel Core i7 960 @ 3.20GHz,NVIDIA GeForce GTX 480,12GB RAM,2x Western Digital 997GB HDD

Login to post a reply

Server time is: 2026-07-01 09:06:22
Your offset time is: 2026-07-01 09:06:22