In-Depth Guide to Hint Brushes

This is a more in-depth guide to hinting than the other hint brush tutorial found on FPS Banana. I'm putting this up because I'm really pissed at seeing good maps with bad fps because hints were not used properly.

Before you read this tutorial, I expect you to understand the basic concept of hint brushes and vis leaves and how they work. This tutorial may help: Hint Tutorial

*** This used to link to an FPSB tutorial but it was deleted. The tutorial above will sort of describe diagonal hinting like I go on to do in this. ***

This tutorial is just to show you some examples of when they should be used.

Okay, to begin...

Please look at Screens 1 and 2. This is an example of where hints belong but were not used. As you can see, in screen 1 you're looking at a wall next to a corner. Well in screen 2 you see the wire-frame version... The player is rendering stuff directly behind the wall, around the corner, AND around another corner which can't even be seen from here...

This means that a player's computer is working harder to render stuff that they can't even see, and causes lag and low fps. Now my computer is god so u see I got tons of fps anyway, but still... I'd have like 300 if this was done properly. This is the kind of thing that makes me want to beat my head against a wall. :(

So, how do we avoid this unfortunate occurrence? Hint brushes. You need to put hint brushes around corners in your map diagonally. There was an example in the linked tutorial. Okay then, which corners should get this treatment?

Preferably all of them. D: Now some are just too ridiculously large to do it, but whatever... Take a look at screen shot 3. It's a newer version I'm working on of af_omega which is a bomb map I made a few months ago before I understood hint brushes. As you can see I put hints at almost every corner. I'm not quite done with them though so don't think that's all you need.

Also, take note of the weird hint brushes in the courtyard going up. What those are doing is keeping players near the wall from rendering stuff on the top floor that they can't actually see. That might seem a little excessive, but when I don't have hammer hiding props and func_details, you'd see that next to those windows are computers and file cabinets and stuff... It's actually rather cluttered, so this helps players out some by making them not render those poly-heavy models if they get up close.

Screen 4 shows what it looks like without the hint brushes. We're in a position where we shouldn't be able to see anything inside, yet we render most of the top floor. With properly placed hint brushes like in screen 3, it reduces this to just the ceiling light models you see close to the window. You don't render the computers and chairs and stuff.

Screen 5 shows how it works in hammer. The edge of the hint brush with the hint texture runs at a 45-degree angle with the bottom of the window sill and ends at the top in the ceiling. The bottom of the hint brush (not shown) runs into the ground outside. What this brush does is keeps a player standing underneath the hint brush from rendering stuff inside the building beyond the brush's hint side. It also keeps players inside on the second floor there from rendering stuff below the brush on the ground outside.

NOTE: Hint brushes don't need to be at 45° to the corners they're going around, but it's easier to work with 45° angles because you can easily make the hint brush's face touch the exact corner of the wall brush it's going around.

Screen 6 shows what's rendered by a player standing on the ground near the window with the hint brushes in place... Just the ceiling lights. The player neither sees nor renders anything beyond, including the office computers. This is success. :)

The same method should be done around as many corners in your map as possible... Like in halls and stuff. For example, here are pics of a modded version of cs_office that I optimized with hint brushes at the corners.

cs_office_unlimited_n2a

cs_office_unlimited_n2a

You can see that not much is rendered beyond the corners because I put hint brushes in the door frames. Put them everywhere you can think of. :o

There is one more thing I must mention though, and this is a warning to all mappers who want to use hints...

For players with poor computers... Getting like 40 fps or less especially, hints cause problems. They get a minor fps increase from the hint brushes putting less strain on their computers, but there is a downside. Players with poor comps will often not render other players coming around corners until its too late... That is their comp won't show other players until they're like already around a corner. This causes problems when the player you didn't render cuz your comp sucks is an opponent. :( It looks like they glitch around corners and can already be shooting at you if your computer is under par. So, with that in mind, take the advice in this tutorial ONLY if you're looking to create a map that is well optimized and meant for competitive play. If you expect the map to go onto a server with lots of people who have poor comps, they won't like the map because it will hurt their game play. The csofficeunlimited_n2a map I showed right up there that I made... Well it was only on the server for a few months before it got taken down because the server is a n00b friendly server and had tons of people with crappy comps playing on it who didn't like how enemies would walk around corners and start shooting them before their computers could show the enemy. Just be warned about this side-effect.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • Runaway of CSF's Levels
    • P1: Beggar
      Points: 361
    • E1: Helper
      EF: 3
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 4 years ago
    Posted by NatalyaAF
    Posted by Runaway of CSF How would I optimize a big forest? I got this big open forest with trees and I need it optimized badly.
    Are there hills and such or is it flat?

    It has a single slop with displacements and a lot is flat.

    God is great, so great. Just a
  • NatalyaAF's Levels
    • P3: Peasant
      Points: 18,605
    • E2: Guide
      EF: 20
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 4 years ago
    Posted by Runaway of CSF How would I optimize a big forest? I got this big open forest with trees and I need it optimized badly.

    Are there hills and such or is it flat?

    User Title
  • Runaway of CSF's Levels
    • P1: Beggar
      Points: 361
    • E1: Helper
      EF: 3
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 4 years ago

    How would I optimize a big forest? I got this big open forest with trees and I need it optimized badly.

    God is great, so great. Just a
  • Mastergun's Levels
    • P2: Drudge
      Points: 3,847
    • E1: Helper
      EF: 2
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 4 years ago

    Well maybe ill stay away from doing it on corners because this map is going to be used in a new css league so that may cause problems. and maybe for this map i will try and find a friend who knows how to use hint skip to help me out thanks for everything :)

    User Title
    run, gun, reload
  • NatalyaAF's Levels
    • P3: Peasant
      Points: 18,605
    • E2: Guide
      EF: 20
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 4 years ago
    Posted by Mastergun Photobucket btw sorry for all the posts and questions i just don't wanna screw my maps up from doing this wrong. :)

    Use cl_leveloverview 4 or 5 to get a 2-dimensional top-down view. Anyway, that looks about right to me. Just please remember the last section of my tutorial which warns that if you want to use angle hints like I described on a server where a lot of players have shitty comps, they're gonna complain about not seeing people who are coming around corners until it's too late. I don't want you to like do this but then be surprised if people bitch at you. This technique is for people who intend to make maps for more advanced players who have the right hardware to pwn and play pro.

    And pleasepleasepleaseplease avoid occluders. They completely lag out your map. You should be able to optimize it well enough as long as you use hints and adhere to the 8 grid.

    User Title
  • Mastergun's Levels
    • P2: Drudge
      Points: 3,847
    • E1: Helper
      EF: 2
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 4 years ago
    Posted by NatalyaAF Click Here Lol

    ok well i understand the one above the players heads now. I still don't know where or how to use these in open areas. in dust 2 comming through the double doors in the middle, they have the hint facing the doors and skip facing t spawn and they have 2 or 3 of them going up the hill to T spawn. but in t spawn at the bottom of the little hill heading to site A, they have 2 of them over lapped with hint facing one way and the opposite way on the other .

    if i actually do understand this. I'm getting that you can put them any where in your map just to split it up more, and on all corners of your map. if there are certain ways you have to place them them I'm screwed. i think i under stand how to use them on corners as well. the map I'm working on now is dust themed and is out side and open like dust 2.desandblastbeta3

    there are a lot of changes since this version but beta 5 has not been released so i will use this version. I also have occluders in all my inner walls. this is pretty much how I'm thinking of splitting it up. how ever there are a bunch of open areas that i have no idea what to do with them. does this look right ? Photobucket

    btw sorry for all the posts and questions i just don't wanna screw my maps up from doing this wrong. :)

    User Title
    run, gun, reload
  • NatalyaAF's Levels
    • P3: Peasant
      Points: 18,605
    • E2: Guide
      EF: 20
    • C1: Member
    • A6: Elder
      Account Age: 6 years
    Posted 4 years ago
    Posted by Mastergun

    The one above players heads is to make sure they don't render stuff behind walls like where the doors are at long A. If vis leafs are not cut horizontally then you might end up seeing a lot more by looking at a vis leaf over a wall. Look at the weeble and bob example:

    Click Here Lol

    User Title
  • Mastergun's Levels
    • P2: Drudge
      Points: 3,847
    • E1: Helper
      EF: 2
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 4 years ago

    i have some questions, i have vmexed dedust2 to see how they have optimized it. They have hint/skip floating in front of doors (see screen 1/2) and other openings as well as areas all over the map (see screenshot 3), i didn't see one of them on an angle. (see screen 4) They also have it covering the entire map right above the players head. I am very confused on how and where to use these.

    screen1 Photobucket

    screen2 Photobucket screen3 Photobucket

    screen4 Photobucket

    User Title
    run, gun, reload
  • Murf's Levels
    • P1: Beggar
      Points: 156
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago

    Thank you very much! I always saw Hint Brushes in decomped maps and never new what they were for. This is the only decent tut on the internet.

    User Title
    Thou has been pwned!
  • 3mb0's Levels
    • P1: Beggar
      Points: 158
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 5 years ago
    Posted by NatalyaAF
    Posted by 3mb0 Dude the link is broken, and i am left not knowing what a hint brush is. somebody help? yh i have tested my map, and everyone says its a good idea, it just needs finishing, as it has low fps.
    Thanks for letting me know. I updated the link. It now goes to a different tutorial though so if you read it, then read mine you might find mine to not be very helpful anymore. But maybe I will cover something it doesn't discuss.

    ok thank you very much, i will rate this at 10 just because ur awsome and kind xD

    Bananite

Credits

Submitter
NatalyaAF's Levels
  • P3: Peasant
    Points: 18,605
  • E2: Guide
    EF: 20
  • C1: Member
  • A6: Elder
    Account Age: 6 years
NatalyaAF (Creator/Co-creator)
Key Authors
NatalyaAF
Unknown

Rating

9.6/10
Based off 4 rating(s)

Additional Info

Genre
Mapping
Difficulty Level
Intermediate

Stats

Post Count
19
ViewCount
5,562
Date Added
5 years ago
Date Modified
2 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share