moving train

Discussion in 'Mapping Questions & Discussion' started by (-TN-) Ben2, Jun 29, 2009.

  1. (-TN-) Ben2

    (-TN-) Ben2 L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    15
    in my map i want a train like in well that drives by and runs people over, how do i do?
     
  2. SiniStarR

    SiniStarR L8: Fancy Shmancy Member

    Messages:
    585
    Positive Ratings:
    116
    look for tutorials thats how
     
  3. (-TN-) Ben2

    (-TN-) Ben2 L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    15
    i found one but it was terrible, what a horrible reply that was.
     
  4. TracerDX

    TracerDX L3: Member

    Messages:
    127
    Positive Ratings:
    25
    Use a func_tracktrain, following path_tracks with a prop_dynamic (the train model) and a trigger_hurt (the ability to kill) parented to it.


    I cannot be arsed to write out a step by step tutorial. So read up, understand what you're doing, and it should be fairly obvious.
     
    Last edited: Jun 29, 2009
  5. (-TN-) Ben2

    (-TN-) Ben2 L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    15
    so i gotta build a func_tracktrain brush around a prop_dynamic, how do i tie the entities together?
     
  6. TracerDX

    TracerDX L3: Member

    Messages:
    127
    Positive Ratings:
    25
    Name the func_tracktrain.

    Set the prop_dynamic and trigger_hurt's "Parent" property to that name. Entities with parents, move with their parents.


    Kinda like DnD nerds >.>
     
  7. Radaka

    Radaka L7: Fancy Member

    Messages:
    495
    Positive Ratings:
    242
    I chortled.
     
  8. (-TN-) Ben2

    (-TN-) Ben2 L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    15
    radaka i lvoe your avatar.
     
  9. TracerDX

    TracerDX L3: Member

    Messages:
    127
    Positive Ratings:
    25
    You probably already realized this, as it was mentioned in your other thread, it appears the func_tracktrain itself can be set to kill on impact, so the trigger_hurt is probably not needed.

    I figured I should mention my err for completeness of this discussion. :closedeyes: