Forums  ·  Maps  ·  Files  ·  Steam Skins  ·  Tutorials  ·  Tools  ·  Faqs  ·  Search  ·  Submit Content join cs planet 
Counter-Strike
News Happy New Year - 2014 !!! read/post comments comments(821)
Everyone here at CStrike-Planet would like to thank you for a fantastic 2013, and we all wish you read more ..
Forgot? · Register?
Powered by Level (3)
level3.com Internet & Data Hosting
  Configuring Hammer and Working with CS:S Console - Hammer Configuration and the Console Online: 195 · 296 296 requests per minute
Browse all
de · cs · as
fy · he · ka Wad files
  Home  Search  Maps  Files  Skins  Forums  »   Need help? try search  
Tutorial Index
  1. Steam Directories and Files
  2. Hammer Configuration and the Console

Options
comments Comments
save Download Copy
print Print tutorial
email Send to friend

Want to publish a tutorial?
Contact us.



Please register to use this feature.
Tutorials
Mapping » Architecture

Configuring Hammer and Working with CS:S Console

Hammer Configuration and the Console (Page 2 of 2) by satchmo · 162,608 views · comments(7)

Configuring Hammer for the First Time


I also recommend creating a shortcut with hotkey to the Hammer editor. The first time you startup Hammer, you should do it the long way--via Steam.

So if you have never opened the Hammer editor before, you need to load Steam first (if it's not already loaded, of course). After the Steam game menu pops up, double-click on Source SDK under TOOLS. Wait a few seconds for the SDK menu to load up.

Near the bottom of the SDK menu, you should find a drop-down selection that's labeled "Current Game:". Select "Counter-Strike: Source" as your game. You only need to do this once if you only map for CS:S. The editor will remember this preference the next time it starts.

Setting the current game for Hammer
Setting the current game for Hammer


Under APPLICATIONS, double-click on Hammer Editor. It should be the first item in the menu. If everything goes well, Hammer should load in a few seconds. The new version of Hammer (version 4.0) automatically configures itself and loads up the appropriate resources for CS:S (that's why it's necessary to indicate "Counter-Strike: Source" from the Steam SDK menu). If something goes wrong with your configuration, I'll troubleshoot with you in the »Understanding and Solving Mapping Errors.

I am not going to discuss mapping just yet in this tutorial, so just close Hammer again without doing anything interesting in the editor. I know, I am such a tease.

Activating the Console


If you haven't activated the console from within the game yet, you need to do that in order to load any custom maps you made.

Fire up CS:S, and from the OPTIONS menu, select the "Keyboard" tab. Toward the bottom of the "Keyboard" tab, click on the "Advanced..." button. Check the "Enable developer console (~)" option, and cilck OK.

From now on, whenever you press the "~" key in CS:S, the console will pop up. Pressing the "~" key again will close the console.

Working with Console


Now, let's bind an useful key from the console. This will be important later to assess the performance of your map. After bringing up the console, type:

bind <your key> +showbudget

Let's load up an existing official map for practice. Type:

map cs_office

You'll notice that the console is cleverly programmed to autocomplete the map's name. In fact, if you have a custom map compiled, the name of your custom map would be listed in the map selection. It's a real time-saver.

If you encounter an error message when attempting to load the map, »STEAM validation rejected.

Once cs_office is loaded, walk around in it while pressing <your key>. It's the same key that you've bound to +showbudget earlier. You should see a complicated bar graph, showing the various resources being used by the map. It's updated real-time, and it gives the mapper a very good idea how to optimize their maps if performance is an issue. This will be very important later, when we discuss optimization in the advanced topics.

So now we've gone through the necessary but boring stuff. Let's make some maps! Start with the tutorial »Making Your First Map in Counter-Strike: Source.


Page Index
  1. Steam Directories and Files
  2. Hammer Configuration and the Console
Did you find this helpful?
Yes it was Not really |

Still need help? Ask on the forums for additional help.


Bandwidth by Level (3) and N-Layer Communications Wednesday, 23-Apr 16:00:28 · feedback
© 2001-2008
Hosting & co-lo reliablesevers.com - Terms of Use - Privacy Policy. Use of this site signifies your agreement.
Not registered? Sign up