Svendy
14 Apr 2009, 08:06am
This tutorial shows how I set up my func_tracktrains, i'm not gonna cover the point_servercommand
Func_tracktrain:
Make your vehicle brushes and tie them to func_tracktrain. Go into its properties and edit the following:
CLASS INFO
Name - name
Parent - parentname
Origin (X Y Z) - the center of the vehicle
Disable shadows - no
Disable Receiving Shadows - no
First Stop Target - name of first path_track
Max Speed (units / seconds) - max speed
Initial Speed (units / seconds) - start speed
Change Velocity - ease in/ease out
Change angles - ease in/ease out
Height above track - hight the func_tracktrain will move above its path
FLAGS:
Only mark “fixed orientation” and “is unblockable by player”
Make your track using path_track, make one where it starts, ends, turns and changes speed over a straight path. Go into its properties and edit the following:
Name - name
Parent - parentname
Next stop target - name of next path_track
New Train Speed - new speed
Orientation Type - Face direction of motion
Now make either a trigger brush or a func_button and add this output:
(This example uses a func_button)
OnPressed
Name of the func_tracktrain
StatForward
<ignore>
<delay in sec>
I hope I covered all I did to make a moving vehicle in this did in this tutorial. Good Luck!
let me know if there are any areas i havent covered or did worgly :P
Func_tracktrain:
Make your vehicle brushes and tie them to func_tracktrain. Go into its properties and edit the following:
CLASS INFO
Name - name
Parent - parentname
Origin (X Y Z) - the center of the vehicle
Disable shadows - no
Disable Receiving Shadows - no
First Stop Target - name of first path_track
Max Speed (units / seconds) - max speed
Initial Speed (units / seconds) - start speed
Change Velocity - ease in/ease out
Change angles - ease in/ease out
Height above track - hight the func_tracktrain will move above its path
FLAGS:
Only mark “fixed orientation” and “is unblockable by player”
Make your track using path_track, make one where it starts, ends, turns and changes speed over a straight path. Go into its properties and edit the following:
Name - name
Parent - parentname
Next stop target - name of next path_track
New Train Speed - new speed
Orientation Type - Face direction of motion
Now make either a trigger brush or a func_button and add this output:
(This example uses a func_button)
OnPressed
Name of the func_tracktrain
StatForward
<ignore>
<delay in sec>
I hope I covered all I did to make a moving vehicle in this did in this tutorial. Good Luck!
let me know if there are any areas i havent covered or did worgly :P