Playerclipping a train

Discussion in 'Mapping Questions & Discussion' started by hydragorgon, Oct 12, 2011.

  1. hydragorgon

    hydragorgon L1: Registered

    Messages:
    27
    Positive Ratings:
    8
    I have a train that goes into a tunnel, based off the prefab by Spammish I want the roof of the train playable, only the front and sides use trigger_hurt. The train model gets caught on the entrance to the tunnel if somebody is on the roof of the train. This is because of detail on the models themselves.

    Rather than simply extend the trigger_hurt further up, and therefore making the roofs unplayable, can I player_clip the top of the train to make them smooth? if so, how do I parent that entity to the train so it moves? I know I can parent triggers and stuff, but can I parent a player_clip or invisible texture?

    thanks for reading my post

    hydragorgon
     
  2. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    If I remember right you can just turn the playerclip brush into a func_brush entity and parent it that way.
     
  3. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    Yea, you can turn player clips into func_brush's and they'll retain their functionality whilst having the capcity to be turned on/off and/or being parented. tc_hydro does this for its round gates.
     
  4. Harry64

    Harry64 L1: Registered

    Messages:
    6
    Positive Ratings:
    1
    Why dont you just make the train model not solid and make a player clip brush around to the train?
    Then bind the trigger hurt and the trainmodel to the train and you are done. Maybe you set the flag to is not blockable by player.
     
  5. Crash

    aa Crash func_nerd

    Messages:
    3,063
    Positive Ratings:
    4,550
    Because then you could shoot through the train, bullets and projectiles.
     
  6. Another Bad Pun

    Server Staff Another Bad Pun bap

    Messages:
    564
    Positive Ratings:
    1,115
    Blockbullets?

    Wait...

    This suddenly got about 10X more complicated than it should be.
     
  7. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    4,102
    Positive Ratings:
    5,982
    Not to mention the train wouldn't show the damage. Just leave it solid, as opposed to this Rube Goldberg-esque mix of brushes.
     
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    [​IMG]
     
    • Thanks Thanks x 1
  9. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    At least he's not trying to make a map that's inside a whale, in space.
     
  10. hydragorgon

    hydragorgon L1: Registered

    Messages:
    27
    Positive Ratings:
    8
    Thanks for the advice everybody. I feel stupid cause I used to use a fun_brush on a goof elevator. You guys rock.

    hydragorgon