Problem with overlays

UltraPowered

L1: Registered
Dec 29, 2012
14
0
Hello, sorry if this is the wrong place, but I'm having troubles with placing overlays, specifically the patches that are under ammo and health kits. When I place them in hammer, they look completely fine. However, when I compile the map and load it in-game, they don't appear at all. It's been bugging me all day, and any help is appreciated.

In-Hammer: http://i.imgur.com/jKjkSev.png

In-Game: http://i.imgur.com/nvp4euN.png
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
In the overlay's settings there's a brush faces bit, make sure the ground brush is actually selected there, use the eyedropper and it should be red when selected
 

wareya

L420: High Member
Jun 17, 2012
493
191
set r_renderoverlayfragment 1 while mapping.
keep it on if your GPU doesn't have the worst fillrate in the world.
 

henke37

aa
Sep 23, 2011
2,075
515
Or just get used to overlays breaking. The cutting tools are really stupid when it comes to overlays.

The player tags people place at runtime have the same problem, only that you can't manually override the face list.
 

UltraPowered

L1: Registered
Dec 29, 2012
14
0
In the overlay's settings there's a brush faces bit, make sure the ground brush is actually selected there, use the eyedropper and it should be red when selected

Already have done this, still doesn't work.

r_renderoverlayfragments is already set to 1, and it doesn't work.
 

wareya

L420: High Member
Jun 17, 2012
493
191
your map doesn't have any alt+p problems or compile log errors, does it?
 

Snowshoe

L2: Junior Member
May 16, 2012
53
125
If I recall overlays don't work if you apply it to a brush that's too large. I assume the floor you applied it on spreads across the entire level or something, so that would explain why it's not working in-game (I think the compile log tells you this). You will need to use the clipping tool to turn the huge brush into smaller ones (or just make new brushes manually), then apply the overlay.

If you use the clipping tool, make sure you update the brush faces in the overlay's properties or it still won't work. You can use the eyedropper and select the new faces you want the overlay to be on, holding CTRL to select multiple faces if you need to. You don't have to do this if you delete the overlay and place another one on the new brushes, though.
 
Last edited:

UltraPowered

L1: Registered
Dec 29, 2012
14
0
If I recall overlays don't work if you apply it to a brush that's too large. I assume the floor you applied it on spreads across the entire level or something, so that would explain why it's not working in-game (I think the compile log tells you this). You will need to use the clipping tool to turn the huge brush into smaller ones (or just make new brushes manually), then apply the overlay.

If you use the clipping tool, make sure you update the brush faces in the overlay's properties or it still won't work. You can use the eyedropper and select the new faces you want the overlay to be on, holding CTRL to select multiple faces if you need to. You don't have to do this if you delete the overlay and place another one on the new brushes, though.

Thanks, this fixed my problem :D
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,696
2,580
If I recall overlays don't work if you apply it to a brush that's too large.
More accurately, a brush that touches too many other brushes, which is also frequently the case when you make the ground of your whole map a single brush. It should actually produce an error during compiling, in fact.