+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Svendy is offline
    Technical Administrator
    Svendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant future

    Join Date
    3 Jun 2008
    Location
    Denmark
    Posts
    1,489
    Thanks
    3
    Thanked
    191 in 55 Posts

    func_tracktrain tutorial

    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

    And not a single fuck was given this day

  2. #2
    Nugzy is offline
    SG Regular
    Nugzy is on a distinguished road

    Join Date
    9 Apr 2009
    Posts
    27
    Thanks
    4
    Thanked
    0 in 0 Posts
    Would help with pictures tbh, and with path_track do i make like a track with block tool, then turn it into path_track or what...?

  3. #3
    Svendy is offline
    Technical Administrator
    Svendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant futureSvendy has a brilliant future

    Join Date
    3 Jun 2008
    Location
    Denmark
    Posts
    1,489
    Thanks
    3
    Thanked
    191 in 55 Posts
    yeah... i was to lazy to take pics of it :P
    path_track is an entity, like env_fire

    And not a single fuck was given this day


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts