Decal bug? Mysterious Behavior.

Discussion in 'Mapping Questions & Discussion' started by Atasco, Sep 7, 2019.

  1. Atasco

    Atasco L1: Registered

    Messages:
    43
    Positive Ratings:
    10
    I'm having a strange issue that the Interloper's error checker didn't catch. For some reason, one (and only one) decal I've placed in my map is showing up on another random surface. I can't seem to figure out what's wrong, and going through the list of entities only shows ones I know I've placed. It's sort of only there as a placeholder, but whenever I get the final image there I don't want to have the same problem.

    Here's a more visual explanation. Here's what it looks like in the Hammer editor (and what it's supposed to look like)
    decal_mysterious01.png

    ...and here's what happens in-game.
    decal_mysterious02.png

    I have no clue. There's no other decals that I've placed by accident, and there's not really any meaningful settings on the decal itself for me to mess up. I tried googling for an answer, but for some reason the only results I got were youtube videos of airplane landings.
     
    Last edited: Sep 7, 2019
  2. splashy

    splashy L1: Registered

    Messages:
    40
    Positive Ratings:
    14
    Have you tried using an overlay entity instead? It has a feature that allows you to select one or multiple brush faces, narrowing down potential causes for this issue.
     
    • Agree Agree x 1
  3. Atasco

    Atasco L1: Registered

    Messages:
    43
    Positive Ratings:
    10
    Haven't yet :0 I'd been trying to use decals everywhere possible to save on performance, but when I get to my computer next I'll definitely try it.
    Overlays have always been… fussy, fiddly, in my experience, so I'm biased against them, hahaha.
     
  4. Jeff Magnum

    Jeff Magnum L1: Registered

    Messages:
    25
    Positive Ratings:
    17
    The overlay vs decal performance difference isn't something you really need to worry about. Valve maps use overlays all over the place
     
  5. Atasco

    Atasco L1: Registered

    Messages:
    43
    Positive Ratings:
    10
    Ahhhh, I see. I guess I fixate on that from my web-dev days, pfft.

    I tested it with an overlay, and the strange bug is gone :0 I never did figure out what it was. Definitely ghost stuff. I suppose this means Fixed?
     
  6. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    1,123
    Positive Ratings:
    768
    Decals will apply themselves to any nearby faces they find. What constitutes a "nearby" face generally depends on the size of the decal and what direction it is considered to be facing. Issues like the one you encountered are rare, but they can happen because suorc(tm). Using overlays in favor of decals is generally not something to be worried about, like Magnum said the performance difference is negligible unless you're absolutely spamming them everywhere, and the flexibility of overlays (not just in defining what faces they apply to, but rotating, resizing, etc) is nearly universally worth it. My own personal philosophy regarding overlays vs decals is fairly liberal: If for any reason a decal isn't satisfactory for what you're doing, use an overlay. Only use decals where what you were going to do with an overlay can be just as easily achieved with a decal.
     
    • Thanks Thanks x 1
Tags: