Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
 
 
Search Tutorials:           Advanced
 
 
 
In-Depth Guide to Hint Brushes
Difficulty: Intermediate
Category: CS:S > MappingAuthor(s): NatalyaAF

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:
http://www.fpsbanana.com/tuts/3533

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 cs_office_unlimited_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.
Added: 4 months agoTags: hint, skip, optimize, optimization, hammer
In-Depth Guide to Hint Brushes
Added by...
Images






Submitter Identity
NatalyaAF .
Ñåţâļÿà[ẶҒ]
Tutorial Stats
Statistics on tutorial submissions by NatalyaAF .
Submissions: 3
    Independent: 2
    Studio: 1
    Redistributions: 2
Total Views: 6,633
Total Feedback: 54 posts
Average Rating: 8.7/10
Unrated Tutorials: 0
Total Favs: 4
First Submission: 6 months ago
Latest Submission: 2 months ago
Favorite Category: CS:S > Mapping (3 releases)
More tuts submitted by NatalyaAF .
Create a Driveable Boat
Advanced (CS:S > Mapping)
Fixing Source SDK
Beginner (CS:S > Mapping)
Statistics
This tut's scores and traffic.
Rating: 9.3/10
Skill Band: Expert (9.0 to 10)
Assessments: 2
Views: 993
Favorites: 2
Feedback: 6
New Tutorials: Mapping
More tuts in this category.
Flowing Water
Difficulty: Advanced
Very Useful Info On Models
Difficulty: Beginner
Parallax Mapping
Difficulty: Advanced
Hammer Editor Hotkey Reference
Difficulty: Beginner
Share It!
Get HTML Code
Get BBCode
Tell a Friend
Assessment
The community's verdict.
9.3/10
Detail
9.3
Usefulness
9.5
Readability
9
Stamps
This tutorial in a nutshell...
No stamps recorded
Assess Tutorial
Tutorials are community moderated.
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamp Tutorial
How would you describe this tutorial in a few words?
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Messages
Provide constructive feedback. What is "constructive"?
Porcupine .
Bananite | Y2M
Posted 28 days ago
Pros: Explains well the uses of hints and links to appropriate material.
Cons: Doesn't explain the basics fully
Improvements: Choose a different font colour, cant read properly on dark bg.
Notes: Good tutorial, one which I have bookmarked
Assessment: [+] Approved - 9.5
- Bananite
Termaximus .
In Tf2, winning > points > living. | Y2M
Posted 3 months ago
Pros: Good info and nice examples. Will help with my optimizing.
Cons: Not really a tutorial, more of an example. A tutorial is step by step which this is not. Language is a bit immature (not in a fowl mouthed way, just not adult).
Improvements: Use a more technical style of writing. If it is a tutorial it should have ordered steps.
Assessment: [+] Approved - 9
- In Tf2, winning > points > living.
.
Remember to thumb up! | Y2M
Posted 3 months ago
Please change the color
NatalyaAF .
Ñåţâļÿà[ẶҒ] | Y2M
Posted 4 months ago
Posted by strangemodul3

Sounds like a good tutorial man. However, what if your map is an outdoor map? I'm making a map that's mostly outdoors and which you can easily see the other enemy base soon after leaving yours.


Hint brushes and area portals aren't suited for use on large wide-open maps with lots of open space... Maybe the hint-brush over a wall trick from the other hint brush tutorial (which I linked in mine) could help you out if you hide blocks of nodraw inside hills and put hint brushes over them, but you might also need to do corner hints, but corner hints don't work unless there are walls to end them. I'd have to actually look at your map to show you where they could be put though.
.
O_O | Y2M
Posted 4 months ago
Sounds like a good tutorial man. However, what if your map is an outdoor map? I'm making a map that's mostly outdoors and which you can easily see the other enemy base soon after leaving yours.
:
13 | Y2M
Posted 4 months ago
Blue on darkblue not a good choice, very little contrast and tad harsh to look at and read. Just leave as the default color so that those who have custom ubers can also see.

Stopped reading because of that.
- 13
Add Message
You must login or register to access this!