Can you parent clip brushes to moving objects?

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Feb 25, 2019.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    I'm trying to make a moving platform, and just for convenience sake I'm trying to parent a playerclip brush to it. Is it possible?
     
  2. DrSquishy

    aa DrSquishy ???

    Messages:
    1,211
    Positive Ratings:
    779
    Try using a func_brush with a transparent texture, set to 'don't render'
     
    • Thanks Thanks x 1
    • Agree Agree x 1
  3. Da Spud Lord

    aa Da Spud Lord Occasionally I make maps

    Messages:
    1,291
    Positive Ratings:
    858
    Yes, clip brushes can be made into, and parented to, moving entities. Technically you don't need to parent it, you can just make the clip brush a part of the moving entity itself (assuming it is a brush entity).
     
    • Thanks Thanks x 1
  4. comradecommie

    comradecommie L3: Member

    Messages:
    138
    Positive Ratings:
    48
    It's possible. I did it with my door.
     
    • Thanks Thanks x 1
  5. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Thanks for the help. Another quick question: Can you parent a ambient generic or any audible sound to a moving object? Also, while I'm at it, can you put overlays on moving objects?
     
  6. comradecommie

    comradecommie L3: Member

    Messages:
    138
    Positive Ratings:
    48
    If an object has the field "Parent", you can parent it to just about anything. As far as I know, you cannot put overlays or decals on moving objects, though I (very likely) may be wrong.
     
  7. ficool2

    ficool2 L4: Comfortable Member

    Messages:
    158
    Positive Ratings:
    159
    Decals *can* be placed on moving objects, although its extremely rudimentary (haven't tested the full extent of it)

    Also don't rely on the "Parent" field to determine if it can be parented or not. The Valve FGDs especially suffer this, with a lot of entities missing Parent fields, even though they can be parented fine. You can either add the "parentname" keyvalue manually with smartedit off, or use my FGD which patches this issue and allows everything to be parented easily