Molten Byte Design Homepage
Forum Home Forum Home > Game Development > Tutorials
  New Posts New Posts RSS Feed: [FPSC] - [X9] - Rail Shooter Tutorial
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login


[FPSC] - [X9] - Rail Shooter Tutorial

 Post Reply Post Reply
Author
Message / View First Unread Post
Gunn3r View Drop Down
Admin Group
Admin Group
Avatar

Joined: 20 Jan 2010
Location: Portland, OR
Online Status: Offline
Posts: 220
Post Options Post Options   Quote Gunn3r Quote  Post ReplyReply Direct Link To This Post Topic: [FPSC] - [X9] - Rail Shooter Tutorial
    Posted: 08 Feb 2010 at 5:41pm
Step By Step Tutorial on Rail Shooter Creating by Gunn3r:

1>  Open FPSC and create a new blank map.
2>  Goto your entities tab and click on "Scifi/Scenery/Lifts/antigravplatform"
This will be the "rail" that your player is guided on
EDIT: My texture for the antigravlift was screwed up, so I am using antigravplatform. It works the same way.
3>  Hit 'B' to snap to the grid.
4>  Place antigravplatform where desired.
5>  Right click on the lift
6>  Set the following options:
Effect:           effectbank\cubemap\cubemap.fx
Transparency:   1
Speed:           100
IsImmobile:       No
Physics On?:      No
7>  Save this script as Lift3.fpi
;Artificial Intelligence Script
;Header
;desc          = Follow Waypoints with no rotation and player locked (platform)
;Triggers
:state=0,plrdistwithin=40:state=1,norotate=1
:state=1,plrdistfurther=41:plrmoveto=lift
:state=1,waypointstate=0:animate=2,waypointstart
:state=1,waypointstate=3:animate=2,waypointnext
:state=1,waypointstate=4:animate=2,waypointrandom
:state=1,waypointstate=5:state=2
:state=2:none
;End of Script
    Set this script as the AI main
8>  Click Apply Changes
9>  Goto the markers tab and place a Player Marker on the Lift, but MAKE SURE YOU HIT PAGE UP A FEW TIMES. If you don't, the game will seem jerky and unresponsive.
10> Right click the Player Marker. Set the Player Speed to 1. This will make it to where the player does not fall off the lift as it travels around. Also, give the player his starting weapon by changing the "Has Weapon" box.
11> Create a waypoint path starting in front of the lift and heading to where you want the level to end. This will be the path that the player is taken throughout the level.
12> Place a Win Zone at the end of your waypoint path so that there is an end to the level.
13> Place entities accordingly.


Edited by Gunn3r - 08 Feb 2010 at 5:42pm
Back to Top
Sponsored Links


Back to Top
Deathead View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 22 Jan 2010
Location: Look behind you
Online Status: Offline
Posts: 179
Post Options Post Options   Quote Deathead Quote  Post ReplyReply Direct Link To This Post Posted: 09 Feb 2010 at 9:54am
Great tutorial gunn3r. I can see alot of people making House of the Dead clones pretty soon.:)
Back to Top
Gunn3r View Drop Down
Admin Group
Admin Group
Avatar

Joined: 20 Jan 2010
Location: Portland, OR
Online Status: Offline
Posts: 220
Post Options Post Options   Quote Gunn3r Quote  Post ReplyReply Direct Link To This Post Posted: 21 Feb 2010 at 8:48pm
What's funny is that I made this tutorial a couple years ago, but it was never put in the FPSC Community Guide, so no one knows about it...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.68 [Free Express Edition]
Copyright ©2001-2010 Web Wiz

This page was generated in 0.172 seconds.