How to Use Vavle's Hammer Editor

84,205

18

46

About: *See interests.

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

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

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

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

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

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

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.

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.

Share

    Recommendations

    • Sensors Contest

      Sensors Contest
    • 1 Hour Challenge

      1 Hour Challenge
    • Frozen Treats Challenge

      Frozen Treats Challenge

    46 Discussions

    0
    None
    114586EnderGamer67

    Answer 9 months ago

    Same thing as above. Source SDK is out of date now.

    0
    None
    MichaelK604

    Question 10 months ago on Step 3

    Whenever I make a "new" map, the 4 views never show up.
    There's nothing I can do to make them show up again, is there a fix to this?
    (I already tried re-installing)

    1 answer
    0
    None
    114586MichaelK604

    Answer 9 months ago

    Hi Michael. Source SDK is extremely out of date as of now. To access a working hammer, go to Steam > Steamapps > Common > GameName > Bin > Hammer

    0
    None
    LucasN17

    3 years ago

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

    1 reply
    0
    None
    TheNeonGuy.LucasN17

    Reply 2 years ago

    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

    0
    None
    koolA1dmann

    3 years ago

    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

    0
    None
    DylanO8

    3 years ago

    how do i get the orange box???

    0
    None

    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.

    0
    None

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

    0
    None
    baneatReCreate

    Reply 10 years ago on Introduction

    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.