Blocking sprays on overlays?

Discussion in 'Mapping Questions & Discussion' started by Foxyfluff, Dec 1, 2014.

  1. Foxyfluff

    Foxyfluff L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Is it possible to prevent people from spraying over certain overlays/logos in a map?

    If so, how could this be done?
     
  2. Izotope

    aa Izotope Never releases maps

    Messages:
    622
    Positive Ratings:
    586
    make it a brush entity, you can't spray over them (well most of them)
     
  3. yoghurt

    yoghurt L1: Registered

    Messages:
    47
    Positive Ratings:
    39
    I don't really know if there is a setting for overlays like that.
    But i guess you could fake an overlay with a 1 unit thick func_illusionary brush with the overlay texture on it.
    (with invisible sides ofcourse)

    that will just mean that the logo/overlay will be hovering 1 unit above the wall but that is almost unnoticable, even when you look for it.
     
  4. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    Put a nonsolid, non-shadow casting, non-shadow receiving, 1u thick nodraw func_brush over the overlay
     
    • Thanks Thanks x 2
  5. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Pretty sure it would need to be solid, otherwise the spraypaint tracer wouldn't hit it, and would get applied to the underlying wall.
     
  6. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    That's not necessarily a bad thing.
     
  7. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    Hm, that makes sense. In that case make the brush a pyramid shape so players slide off.
     
  8. wareya

    wareya L7: Fancy Member

    Messages:
    493
    Positive Ratings:
    173
    Are sprays overlays or decals? If they're decals then they'll probably still render over unless you prevent the spray from bring sprayed in the first place, like someone suggested... If they're overlays, you might be able to abuse z-indexes to make the overlay render over them.
     
  9. Foxyfluff

    Foxyfluff L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Appreciate the responses lads.

    Will try some of the suggestions out and post results later.
     
  10. ProselyteCanti

    ProselyteCanti L2: Junior Member

    Messages:
    91
    Positive Ratings:
    10
    preventing sprays is usually a dick move
     
  11. Crash

    aa Crash func_nerd

    Messages:
    3,186
    Positive Ratings:
    4,899
    I would imagine it's for something like server rules or a logo they don't want immediately covered up.

    Why would it even remotely be a dick move?
     
  12. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    "I can't put my picture of Fluttershy fisting Twilight Sparkle on this wall, wtf kind of shitty mapper made this"
     
    • Thanks Thanks x 2
  13. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    When you asked in chat to name 2 My little ponies, I did not expect this.
     
    • Thanks Thanks x 3
  14. henke37

    aa henke37

    Messages:
    1,918
    Positive Ratings:
    448
    Especially because they don't have fists.
     
  15. DonutVikingChap

    DonutVikingChap L5: Dapper Member

    Messages:
    228
    Positive Ratings:
    142
    Frankly, I agree that blocking sprays is bad (It feels dumb and inconsistent). But if it's just blocking it on important overlays as suggested and not an entire wall, there's no problem with that, and I actually want to know how to do that too. Isn't there a way to make it just always render over other decals like wareya suggested?

    I'd also like to do it on windows, but perhaps just setting them to func_brush is enough.
     
    Last edited: Dec 3, 2014