Help needed with train.

Discussion in 'Mapping Questions & Discussion' started by Flaffy, Aug 1, 2015.

  1. Flaffy

    Flaffy L1: Registered

    Messages:
    34
    Positive Ratings:
    0
    I want to make a train that goes across a bridge,
    The train is not going to be ride-able for players, it's just going to pass by. You have maybe seen it on these maps: "Thunder mountain", "Mvm_Mannhattan" and "Chinatown (I don't remember the name"
    I've got the prop that I wan't to use but I don't know how to make it move, I just want it to go from one point to another at random time.

    Please help c:
     
  2. wiseguy149

    wiseguy149 Emperor of Entities and Amateur of Aesthetics

    Messages:
    103
    Positive Ratings:
    159
    If you're trying to recreate something you've seen in an existing map, decompiling it to take a look and see how it was done in the vmf is always a good idea.

    Anyway, you probably want to use the func_tracktrain entity to make the the magic happen. If you look it up on google you should be able to find lots of good tutorials on how to use it.

    As far as making it show up at random intervals, you can use a logic_timer for that.