Most, if not all, FPS Creator stock door segments spawn closed. This is contrary to the nature of map design in most pc computer games. The majority of games will have a pre-opened door at some point and in several levels. The fact that this is not a stock, built in, or pre-scripted feature in FPS Creator is strange, but this tutorial will show you how to achieve an already opened door with any door segment.
Part One - Script Creation
In order to make a door open upon spawn requires the creation of a simple script which will be called in the door segment. Simply navigate to your FPS Creator script bank directory( the default is: C:\Program Files\The Game Creators\FPS Creator\Files\scriptbank), right click a blank area, and create an empty text file. Once the file is created open it in notepad and type or copy and paste in the following script code:
;Artificial Intelligence Script
;Header
desc = Automatically Open Door Entity on Spawn
;Actual Script Code
:state=0,plrwithinzone=1:activateifused=1,destroy
;End of FIle
Save the file and rename it to OpenDoor.fpi.
Part Two - Using the Script
Now that the required script has been created you can incorporate it into your level. Start up FPS Creator, load or create a level, and add your desired door segment. Right click on the door segment to bring up its properties and change its name to something you can easily remember. The next step is to place a trigger zone where the player start zone is. In the trigger zones properties set the If Used property to the what you named the door and set the Main property to the script you created earlier, OpenDoor.fpi.
Whenever the player enters this type of trigger zone the specified door will automatically open. Hence, if you place the trigger zone on the player start, the door will open when the game begins.
Published by James Cloud
I like to program and do basically anything that has to do with technology and computers. View profile
- Thanksgiving Riddle GameThis is a great game to play with your kids on Thanksgiving to keep everyone in the turkey day spirit.
- Video Game Review. Sid Meier's PiratesThis game is a massively updated version from the original version that was released in 1987. What I like about this game is that it is suitable for everyone 6 years of age and older.
- Half Life 2, Steam and PC Game ProtectionHalf Life 2 is simply an awesome video game. But the company has a problem, or more correctly we have one that the company is trying to correct. The problem is piracy and illegal copying of video games.
- The Choking GameShawntae Chavez had just started high school and was getting ready to play in her first volleyball game when she died from a deadly game.
- Used Music and Game Stores in Fargo MoorheadLooking for that great music or video game title but don't want to pay the price of new, well look no further. Try one of these great stores for music cd's, DVD's, computer games or console games and even those older...
- Creating an Easy Lookup Table in a UNIX or Linux Shell Script
- The Dam Busters PC Game
- Lego Star Wars the Video Game
- Game Review: X-Men Legends
- Advancing Computer Game Technology
- PaRappaTheRapper 2-Rapping Rhythm and Action Game
- A Look at Nintendo's Holiday Video Game Lineup



