Overlays Issue

Discussion in 'Mapping Questions & Discussion' started by Darth Cyrax, Feb 25, 2009.

  1. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    8
    So, I applied some overlays to some faces in Hammer. They show up on the right faces in Hammer, but once the map was compiled not all of them appeared. The only thing in common some of the overlays had were the ones that disappeared were all attached to objects that move. The overlays that were on static objects such as displacements showed up fine. The moving brushes in question are func_rotatingdoor and func_tracktrain. Is there something I need to do to get these to show up? Or is it not possible the way I'm trying to do it?
     
  2. HojoTheGreat

    HojoTheGreat L5: Dapper Member

    Messages:
    206
    Positive Ratings:
    34
    I've never tried applying an overlay to a moving object, but I'd imagine it's either not possible, or you have to parent the overlay to the object. A quick check of the info_overlay entity just showed me no such Parent option, so I'm going to say it's not possible to have moving overlays, unless anyone corrects me.
     
  3. GrimGriz

    GrimGriz L10: Glamorous Member

    Messages:
    774
    Positive Ratings:
    133
    Well, I ended up using the overlay for the tf2 logo to show up on my blimp. IIRC, I ended up making a 1-unit thick brush with the texture on it.
     
  4. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    I believe you can only parent decals to stuff not overlays.
     
  5. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    8
    Argh... why doesn't it say important stuff like this on the Source wiki?
     
  6. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    I think it's in the description of the entity
     
  7. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294

    If you add it it will :D
     
  8. Queops

    Queops L2: Junior Member

    Messages:
    77
    Positive Ratings:
    3
    Yeh, well why don't you take this chance and add it? Please.
     
  9. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    8
    Hmm... if at all possible, could you be a little more specific? I've tried working with decals but it's an outright pain in the ass, since I can't mess with them in Hammer (like resizing, selecting them to multiple faces)
    What I've done so far is make a func_brush, apply the overlay and parent the brush. Compiled, and nothing shows up. Does it specifically have to be 1 unit thick?
     
    Last edited: Feb 28, 2009
  10. GrimGriz

    GrimGriz L10: Glamorous Member

    Messages:
    774
    Positive Ratings:
    133
    Well, I didn't apply the overlay. I used the texture tool to make a 'sign' 1 unit thick, with one face of the sign the overlay.

    For another one, I just made the texture for the object the overlay:
    [​IMG]

    Basically - Create a block with sides large enough for how big you want the overlay to be. Open the texture tool and browse to the overlay you want to use, then right-click on one side of the block to change that side to the overlay texture. Then resize the texture and change the x and y values so it shows just like you like it. Then reduce the unnecessary sides of the block to as small as possible.
     
    • Thanks Thanks x 1
  11. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    8
    Awesome. Thanks, that's really helpful.