Counter-Strike: Source blends Counter-Strike's award-winning teamplay action with the advanced technology of Source technology. Featuring state of the art graphics, all new sounds, and introducing physics, Counter-Strike: Source is a must-have for every action gamer. Game updates since mid 2010 are done by Hidden Path Entertainment.

Report article RSS Feed Displacements and their uses.

A tutorial on how to use displacments and their practical uses in SDK Hammer Editor.

Posted by CysticCraze on Mar 3rd, 2009
Basic Level Design/Theory.

There seems to not be any tutorials on displacements on this website so I figured Id make a simple one.

First open SDK Hammer and make a square.
User Posted Image

Simple right?
Deselect the box you have made. Ok now go to the Texture Application Tool and select it. User Posted Image

A window like this will appear.
User Posted Image

Select one side of the brick.
User Posted Image
Select the displacement tab.
User Posted Image

And click create. Now there are three options you have hear, one, two, and three. These numbers are the amount of times the selected face will be subdivided. Here is an explanation.
User Posted Image

These are polygon squares, meaning these are practically separate pieces. Now click on Paint Geometry. There are four buttons that we will look at in this tutorial.
Effect: There are three effects, Raise to, which is barely used, and two more useful tools.
Raise/Lower: This is what we will mainly be focusing on. This tool allows you to raise and lower terrain by individual selections, or by raising/lowering large amounts of faces at the same time. By selecting the Axis drop down menu you can choose the direction to move the face. This means that you the tool does not limit you to the up and down axis.
Distance: This is self explained, this is the amount of units that you are moving the faces. It is also key to notice that the brush does not press down, by setting the number inside the box to a negative number, (ie. -5) the brush will go in the opposite direction.
Radius: This is the size of the brush. If you plan to individually move single points at a time, set the brush to 1. Obviously, if you want to move larger areas set this to a larger number. Also its safe to note that this number can be set using the keyboard to a much larger number than the movable bar allows. Meaning that the largest number it can go to is 256, however you can set it to 1000 with larger results.
Smooth: This should be apparent, this smooth’s the shapes you have raised or lowered, or moved north, south, east, or west.

User Posted Image

Now that you understand the capabilities, let me explain a new button, and apply it to something. I made an alley way with 3 displacements, I have only selected two in this image to show you. Here is the reason I have made 3, if I had made one, there would be stretched polygons, you must attempt to make your displacements SQUARE at all times. If you do not the image will look distorted and unrealistic, here’s an explanation

User Posted Image

Back to the original project, we are attempting to make an alley.

User Posted Image

Select all three displacements and open the Texture Application Tool. User Posted Image
Open the displacement tab and select “Noise.”

User Posted Image

Min means the maximum height and Max means the maximum low. So set the top to 3, and the bottom to 3. This means it will move all the polygons up or down, by 6 units on the grid. This will give the surface a semi rigid look. Now select the Paint Geometry button, and paint a corner of the wall so that it is raised along the wall. Grab the smooth tool and smooth the raised corner by a small amount, to make it look plausible. Add some Props and Decals and it should look like this:

User Posted Image

Important Note: Displacments are nto considered brushes, so they CAN cause leaks.  You must put a brush behind them.

CysticCraze.

Post comment Comments
Daystranger
Daystranger Mar 3 2009, 6:26am says:

Are you SURE its GOLDSOURCE?
Looks like Source Hammer to me...

+2 votes     reply to comment
technoblue
technoblue Mar 3 2009, 7:01am replied:

And you would be correct

+2 votes     reply to comment
hushpuppy
hushpuppy Mar 3 2009, 3:16pm replied:

/facepalm, no its not goldsource, its the Source engine, the Engine that runs half life 2 -,- Hammer is just the name of the Editor.

-4 votes     reply to comment
Daystranger
Daystranger Mar 4 2009, 12:15am replied:

Thanks you for not noticing my sarcasm. You did well.

+2 votes     reply to comment
izzysinz
izzysinz Mar 3 2009, 10:18am says:

nice tut

+1 vote     reply to comment
Delfador
Delfador Jun 10 2011, 3:08am says:

very nice tutorial, thnx

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Counter-Strike: Source
Platform
Windows
Developer & Publisher
Valve
Engine
Source
Contact
Send Message
Official Page
Store.steampowered.com
Release Date
Released Oct 30, 2004
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
Counter-Strike: Source
Counter-Strike: Source Single & Multiplayer First Person Shooter
Related Engines
Source
Source Commercial Released Oct 31, 2004
Related Groups
Valve
Valve Developer & Publisher