Moving Props?

Discussion in 'Mapping Questions & Discussion' started by plastiqmanb, Jul 16, 2008.

  1. plastiqmanb

    plastiqmanb L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Ok title may decieve a few but hear me out on this idea.

    I am making a map for a lan party and using the lan party area as the map :p

    we have yearly chair races and hilarity ensues and i wanted to create that for the TF2 map as well

    1) is there any way to have prop chairs move in a set animated path like moving around on a zig zag line pattern?

    2)is there a way to have them become an instakill when someone touches them?

    PS: no character will be actually riding them just random chairs moving throuout the parking lot of the map.

    THANKS SO MUCH GUYS!!!!!!
     
  2. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    It's easy to do, but will require some work on your part. For the first one, you'll want to create a train, similar to the ones on cp_Well. http://developer.valvesoftware.com/wiki/Func_tracktrain http://developer.valvesoftware.com/wiki/Path_track As for the second part, place a brush around your traincar (in this case a chair), and give it the tools/trigger texture. Then tranform it (control-t) into trigger_hurt. Make sure your damage settings are high enough to insta-kill. Something like 1000 damage without regeneration. Hope this helps :)
     
  3. plastiqmanb

    plastiqmanb L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Awesome after looking at the train concept this should work, now i can have more than one train right?
     
  4. Rehsa4

    Rehsa4 L1: Registered

    Messages:
    35
    Positive Ratings:
    3
    I'm not too familar with trains and triggers, but don't you also have to set the trigger_hurt to have a parent of the train so it moves with it? or by simply encasing the train (the chair) in the brsuh for trigger hurt makes it move with it? I may be right or wrong, at work currently, so just wanting to clarify.
     
  5. plastiqmanb

    plastiqmanb L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    Rehsa4 has a point it should be attached to the model but will it move with it?
     
  6. Rehsa4

    Rehsa4 L1: Registered

    Messages:
    35
    Positive Ratings:
    3
    well, I know for doors, if you have a prop_static or dynamic, there is a parent field when looking at the properties and if you set the parent to the doors name, when the door moves up and down, so does the prop as if it is attached to the door.

    I am using this in my current map to move the intel down with the door (which is a dynamic prop) and once the door is fully open, the prop is killed and the intel is enabled, this is done with delays and inputs/outputs.
     
  7. World Of Frisbee Crisis

    World Of Frisbee Crisis L2: Junior Member

    Messages:
    60
    Positive Ratings:
    8
    Yes, I'm pretty sure you have to make the trigger_hurt have the same parent as the train in order for it to move with it.
     
  8. Laz

    Laz L7: Fancy Member

    Messages:
    461
    Positive Ratings:
    34
    if something has a parent it will move with the parent.,dont forget to make it prop_dynamic so it can move
     
  9. Spacemonkeynz

    Spacemonkeynz L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    52
    Yep, you can have as many as you want.

    Also, you could make use of the branch function that the path_tracks have, and the random function of the logic case to create a more random path for the chairs, instead of having them go the same way all the time.
     
  10. plastiqmanb

    plastiqmanb L1: Registered

    Messages:
    18
    Positive Ratings:
    1
    ok thanks for all the help guys but totally noob ( i need a hand hold for this) is there a good tut for moving trains and the rail crap? valves stuff is gibberish to me.... thanks!