Creating an exploding train

Discussion in 'Mapping Questions & Discussion' started by GenEn, Aug 19, 2010.

  1. GenEn

    GenEn L1: Registered

    Messages:
    46
    Positive Ratings:
    35
    I'm working on a kind of cart (though I'll call it a train, because it's a standard func_tracktrain) that moves along its rail as usual, but on contact with a player, the train explodes as if it were loaded with explosives.

    I've gotten the train running smoothly (following the track, stopping, then looping back around again), but when it makes contact with a player, I'm not sure how to remove the train so that it doesn't look like it's still intact.

    Of course, I don't want to permanently kill the train, but rather keep it intact somewhere (or respawn it) so it can continue to run along the tracks.

    Does anyone have a suggestion on how to either teleport the train away after impact, or perhaps kill it and respawn it later? I can't find any way to remove the train without permanently killing it.
     
  2. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    You could make the trigger on the train output when being touched to teleport to an earlier path_track?
     
  3. GenEn

    GenEn L1: Registered

    Messages:
    46
    Positive Ratings:
    35
    Like "Teleport to path track?"

    [​IMG]

    When I tried this, the train kept moving along the same path- I assume it teleported to the same track it was on, or I made a mistake somewhere. Do you happen to know how I could teleport it to an earlier one?
     
  4. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    simply fill in the name of the earlier path track to the "parameter override" box
     
    • Thanks Thanks x 1
  5. GenEn

    GenEn L1: Registered

    Messages:
    46
    Positive Ratings:
    35
    It's working excellently now! I've never been too sure what the parameter override did, I'll need to look into that. Thanks!
     
  6. nik

    nik L12: Fabulous Member

    Messages:
    987
    Positive Ratings:
    246
    It's mostly for changing the values in an entity through input, basically any input that isn't just "disable/enable/etc"
     
  7. Blue552

    Blue552 L3: Member

    Messages:
    137
    Positive Ratings:
    18
    If you did kill it you could always respawn it with a point_template.