Overlays Help

Discussion in 'Mapping Questions & Discussion' started by WombatSauce, Feb 23, 2016.

  1. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    Hi, I'm having problems with overlays on my map. I select an overlay in the material browser, ie. the red logo, and put it on a wall using the overlay tool. It looks pretty much fine in hammer, except it turns black in parts when I move (is that normal?), but in game, it's completely black. What am I doing wrong?
     
  2. KubeKing

    Server Staff KubeKing Back home in Jupiter, things are getting harder

    Messages:
    1,223
    Positive Ratings:
    1,418
    You appear to have two separate problems, with two separate solutions.

    First off: Your 3D viewport camera settings. In Hammer, at the top-left corner of the 3D view, click on 'Camera.' A list will appear underneath of your cursor. Click "3D Textured." The view will appear more 'flat,' but the overlays shouldn't be flickering any more.
    Note: this problem plagued me for months until I figured it out. I should write an article about it for the tutorials section... but that's for another time.

    Secondly: You probably have a leak in your map (unless you are compiling without lighting, which in that case, select Run RAD -> Fast when you compile). A leak happens when your map is compiled: the compiler can't distinguish between 'indoor' and 'outdoor' sections of your map, so certain graphical glitches occur.
    Give your map a quick lil' compile, then go back to Hammer. Click the top "Map" button, then click "Load Pointfile." If a file selection prompt doesn't appear, what will appear is a simple prompt saying "Load default pointfile?" (answer 'Yes'). A red line will appear somewhere around your map in Hammer. If you can't distinguish it right away, disable some Visgroups using the Visgroup -> Auto box on the right side of Hammer. Fly to the red line in Hammer, and follow it away from an entity to the dark abyss. Close up any gaps you come across, and once there are no leaks, you should be good to go.

    If these steps don't do the trick, or if you have any questions, we'll see if we can resolve the issue.
     
    Last edited: Feb 23, 2016
  3. KubeKing

    Server Staff KubeKing Back home in Jupiter, things are getting harder

    Messages:
    1,223
    Positive Ratings:
    1,418
    :texlock:... are you trying to get us all killed?

    (Texture Lock, by the way. Leave it enabled, and your map looks like a scrambled mess).
     
  4. SC PL

    aa SC PL local shitposter

    Messages:
    380
    Positive Ratings:
    399
    Yeah, I know. I mean using it only for making overlay and later disabling it
     
    • Thanks Thanks x 1
  5. KubeKing

    Server Staff KubeKing Back home in Jupiter, things are getting harder

    Messages:
    1,223
    Positive Ratings:
    1,418
    Yeah, for stretching, scaling, and all that jazz. But the 'partial-black' problem sounds to me to be Shaded Textured Polygons doing what it does best.

    (The default 3D viewport setting is Shaded Textured Polygons, if you ever want to switch it back).
     
    • Thanks Thanks x 1
  6. WombatSauce

    WombatSauce L3: Member

    Messages:
    115
    Positive Ratings:
    6
    okl thanks guys!
     
    • Thanks Thanks x 1
  7. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,173
    If an overlay appears black in-game it's likely because there's no lighting in your map, so your map renders with ugly flat lighting that causes some things to not render properly.