Introduction: How to Use Vavle's Hammer Editor

Picture of How to Use Vavle's Hammer Editor

This is a tutorial for making a small map to help out people who want to make maps for gmod, counterstrike, and half life 2.

Step 1: Open Up Steam

Picture of Open Up Steam

Open Up Steam. Look for the tools tab at the top, and, if you havn't already done this, download the tool "Source SDK". If you have it then open it up.

Step 2: Enter Your Settings

Picture of Enter Your Settings

This is where you start to customize settings. If you want to play half-life 2 or garry's mod with your new map, choose orange box engine or the ep1 engine and then set the game to half life 2 (or any other game for gmod).
If you want to make a counterstrike source map, use the ep1 engine and choose the game counterstrike source.

For me, I'm going to use the ep2 engine.

When your done choosing the settings, doubleclick "Hammer Editor" at the top.

Step 3: Click on the Brush Tool

Picture of Click on the Brush Tool

To make a new map, go to file at the top, and then click new. When you click that, 4 boxes should pop up in the middle mass of the window.

To start making the base of the map, click the brush tool. This is the small square icon in middle left.

Step 4: Click and Drag a Box

Picture of Click and Drag a Box

To make the base of the map, click and drag on one of the windows, but not on the top left box. Make a box of soem sorts. When you make the box that you find to be right, press enter.
Once you press enter, press Control+H. A window should pop up. In the input, put in "-12" (negative 12). Then press enter.

Step 5: Apply Entities

Picture of Apply Entities

Once you have made you base for your map, click on the camara tool. This is located on the middle left toolbox. If it isn't anymore obvious, this tool is picutred as a camera.
Go back to one on the windows and click and drag to set yur camera. If you did that correctly, you should be looking at the inside of your box that you made at the top left window. You can now move around.
Once you get use to the controls for the camera, go down to the bottom of the inside of the map, right around the middle. We are now going to make a spawn point. In the toolbox on the left, click on the entities tool (the light bulb). Even though the default entity is the spawn point, I still want to let you recognise what do later on when you want to spawn things like nps, specicfic lights, ect. Click on the ground to make a spawn point. Your map is now playbale.

Step 6: Compile the Map

Picture of Compile the Map

If you want, you can also put anything else that you want into your map. If your done, your now ready to compile and then play your new map. Go to file, run map. A window should pop up. The next picture will show you the setting I use alot. I would suggest them, but you don't have to. When your ready, click ok. A new window will pop up and it will begin to compile your map.

Step 7: Find Your Map in the Folder Destination.

Picture of Find Your Map in the Folder Destination.

When the process is finished, you should see a link to the folder that the .vmf file is, and if you scroll the the right, you will see the link to the folder where your newly created map is.
If you want to move the map around to another folder (such as the gmod map folder), you can go to the link and copy and paste it to another folder. In a half life game, to run the map, open console and type in "Map (Exact name of map)". If you did it correctly, you should load into your map.

Congradulations! You made you first map! If you have any questions, just send me a message.

Comments

LucasN17 (author)2016-03-26

When did you take the snapshot of the 1st stem and the rest

TheNeonGuy. (author)LucasN172016-11-30

dont use sdk for hammer if you have gmod open the the BIN file in the first garrysmod folder same for half life 2 i think

koolA1dmann (author)2016-02-10

so got the sdk but orange box isnt there... i got the valve pack on discount during black friday of 2015 and i got the half life series, had gmod, counter strike series.... etc etc

main question is other then orange box, is there any other game i can use cause its listing tf2, day of defeat, and css along with source engines 2007-2009 and engine MP

DylanO8 (author)2016-01-26

how do i get the orange box???

tardis fan (author)2010-10-19

Can I download Source SDK on a mac?

yogibear9023 (author)tardis fan2010-10-20

you can now! you must buy a source game (http://store.steampowered.com/search/?category2=16 this link is a full list of games which have the source sdk. ) they are all mac compatible.

tardis fan (author)yogibear90232010-10-20

I have portal but when I open Steam and go to the library-tools menu, it says that Source SDK is not available.

Trainguyxx (author)2008-09-15

actually it's taco cat...it's my mascot of some sorts...I use it for everything...even in school

waffleman (author)Trainguyxx2009-12-19

its awesome. did you make it in photoshop or find it online?

tacocat is mascot of lolcats.(i think...) and Tacocat spelled backwards is tacocaT!!!

ReCreate (author)Trainguyxx2009-01-04

that cat does not look happy

baneat (author)ReCreate2009-03-11

It's a chinese cat!

ReCreate (author)baneat2009-03-11

Chinese people don't eat cats,they eat dogs

baneat (author)ReCreate2009-03-14

I think you'll find in fact they they eat both. There was a big news article investigating the theft and sale of domestic house cats specifically for meat. You should read up on it.

ReCreate (author)baneat2009-03-14

thats sad

baneat (author)ReCreate2009-04-03

poor kitty eh? :(

ReCreate (author)baneat2009-04-04

thats mad...

corey_caffeine (author)ReCreate2009-05-20

mad-ness? THIS IS IRRESISTIBLE!

ReCreate (author)corey_caffeine2009-05-21

Yuck,Not only would this be cruel,but it would be gross

baneat (author)ReCreate2009-05-24

Not any crueler or grosser than eating a pig, just because one is cuter than the other doesn't change the value of their life.

ReCreate (author)baneat2009-05-24

Well,Its Just Something that you can't eat,Eating Pork Is OK,Its Normal,But Eating Cat,Its Just,Gross,Its Like Eating Frog Legs,And Yes,I Have Seen Those Before,At a Chinese Restaurant.

corey_caffeine (author)ReCreate2009-05-21

not the cat meat he just sorta led me into the joke

ReCreate (author)corey_caffeine2009-05-21

Still,It would Be all Gross,Cat Guts,Cat Fur,Cat Cat Cat.

corey_caffeine (author)ReCreate2009-05-22

Troo Dat.

ReCreate (author)corey_caffeine2009-05-22

Wi de bad(its hard to mispell that :P) spilin?

Awesome Possum (author)baneat2009-04-24

Looks like a mexican cat, actually.

I3uckwheat (author)2009-12-06

is there a way to import npcs from hl2 into cs:s or something like that

mattronix (author)2009-09-29

a cataco

Trainguyxx (author)2009-08-31

hey could you stop commenting about that damned cat? it has no origin for your purposes, it's just a plain old cat, with a taco costume on.

Cheswick32 (author)2009-03-16

I cant understand how you put anything on the map including textures and objects Etc.

Trainguyxx (author)Cheswick322009-08-31

well there is a ture tool on he side, it's the brickwall toolthat' on there. you simply select the texture you want on the right side, then sleect the textures you want to replace, then you click the brick wall button thing on the left. to make props and such, use the enitity tool to make props, and other things like that

yourface101 (author)2009-07-13

My steam name is goldstar4me (though i changed it to a japanese translated one) meh, just search "the army of deliciousness" its my group (i own it) and you can find me there.

lemminggenocide (author)2009-06-20

watermelon cat!!!!!! cool but probably not as awesome as taco cat.

Dr.Bill (author)2009-04-14

I like the cat. Really !

N1CK4ND0 (author)2009-03-14

Name is N1CK4ND0 on Steam. I run my own Counter Strike: Source server, have my own clan, and create my own custom maps.

SG1Oniell (author)N1CK4ND02009-04-08

nice, I too run my own clan, its at www.freewebs.com/sg1-clan-commandcentre I do not have my own servers, instead, we use DDR's all crit servers in TF2, and I too create maps, albeit using the dev_ colors so it comes out like the orange series of maps you play TF2?

N1CK4ND0 (author)SG1Oniell2009-04-10

I play TF2, not much these days though, I know what your talking about with the orange maps. I made an average one before, sitting on my old hard drive somewhere. I also got your add on Steam, I usually turn down people who add me and I don't know them but I guess it was your lucky day. :]

SG1Oniell (author)N1CK4ND02009-04-12

thanks, I haven't had much time to finish the map I'm making, but soon it will be done and it will be found at the DDR servers if you want to have a look, they generally use all custom maps such as orange_ddr, purple, purple_night, castle_4 and so on. Can you post screen shots of you maps somewhere? I would love to see them, also, check out tf2maps.net, they have some really sweet stuff.

SG1Oniell (author)2009-02-26

add me on steam SG1Oniell(DDR) I have been building maps for quite some time, but haven't finished them sadly. I would love to have someone to collaborate with.

Dr.Bill (author)2009-02-21

I like the cat. To eat.

humongo_spork (author)2009-02-21

uhh, how do I add other things, and textures for the ground and walls?

and how big my box is, and how to make a sky and all that junk