Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
why are my overlays either black or dont show up? [Archive] - TF2Maps.net Forums

PDA

View Full Version : why are my overlays either black or dont show up?


Bonafide
03-24-2008, 04:52 PM
After putting some overlays on my map they either dont show up or they are black. Why is this?

poopster101
03-24-2008, 04:59 PM
maybe leak
idk

Spike
03-24-2008, 05:01 PM
are them custom?¿

Hawk
03-24-2008, 05:39 PM
First of all, make sure the texture you're using to overlay is actually meant to be an overlay. If it is, it'll have "overlay/" in the texture path.

Second, if you turn brushwork into a func_detail, its overlays lose there attachment and must be reattached. That's one possible reason your overlay might not show up.

The Scientist
03-24-2008, 06:23 PM
Also, if your using the 3d view in hammer with "shading" they will be black and flicker. That won't affect it ingame, just in the 3d preview in hammer.

Ze Inspector
03-25-2008, 06:37 AM
I encountered this once with an overlay on a displacement. Building cubemaps and reloading the map fixed it.

BurninWater
03-25-2008, 07:25 AM
another cause might be that overlays go over partial brushes (cut in half horizontically/verticaly) or sometimes because they are overlapping

flam5
04-08-2008, 03:21 PM
I get the same error.

And I'm pretty sure it has nothing to do with cubemaps or a leak. I just made a "test map" from scratch and overlays still appear black to me.




I provided a couple screenshots:
http://img227.imageshack.us/img227/7/overlaytest0001aq2.th.jpg (http://img227.imageshack.us/my.php?image=overlaytest0001aq2.jpg)

http://img512.imageshack.us/img512/426/overlaytest0002gt3.th.jpg (http://img512.imageshack.us/my.php?image=overlaytest0002gt3.jpg)

and the sample map I had:
http://img178.imageshack.us/img178/7277/hammersszq5.th.jpg (http://img178.imageshack.us/my.php?image=hammersszq5.jpg)


Is there anything I need to do other than select an overlay (I selected all of these from /Signs/) from the texture browser, and use the overlay tool to attach it to a brush? Am I using the /Signs incorrectly?

Any help?

TotalMark
04-08-2008, 03:46 PM
The only time anything like that happens to me, is when I set the map to fullbright.

flam5
04-08-2008, 04:42 PM
Well, i don't have any lights in there. I have not gotten that far in my design yet. Do I just stick a light in there to make it not fullbright?

VelvetFistIronGlove
04-08-2008, 05:08 PM
Try reattaching the overlays to the brush face; sometimes I've had that mess up for no reason I could tell.

To do that, select the overlay (the little blue box shown in the middle of it), and press Alt+Enter. Choose "Brush faces", click the "Pick" button and click on the brush face it should be attached to. If the overlay overlaps several faces, you can Ctrl+click to select them all.

woodbulb
04-08-2008, 06:06 PM
Anyone else using the 3d view in hammer with shaded texture get those annoying scale/rotate issues with translucent textures/decals/overlays etc. Like you can move around a trigger box and it'll be normal looking sometimes and then sometimes it'll be weirdly displayed (texture-wise). Also ever since that january SDK update, closing hammer lags my entire comp. I don't know why everything is just slow after I close hammer, or even when hammer is running and I'm going through C drive etc. I'm on a quad core cpu, but I'm using vista, so that might be the cause.

flam5
04-08-2008, 11:11 PM
The only time anything like that happens to me, is when I set the map to fullbright.

Thank you!

I just did a little testing with some lighting and overlays work fine when there is light present and mat_fullbright is off.

I guess I'll just have to go back and add overlays as I go back and do lighting after I'm done doing the main layout of the map.


So basically, for anyone else who isn't getting overlays to work correctly, don't fret if you don't have lighting installed in your map yet, overlays will work once you get around to lighting!

Vander
04-09-2008, 06:57 AM
Yeah, same thing happened to me. I got frustrated and decided to just leave overlays alone. Later on, I came back and added in lights...BAM! The overlays showed up.