Revision Difference
GettingStartedWithHammer#549816
<cat>Hammer.Intro</cat>
<title>Getting Started With Hammer</title>
# Getting Started
## Creating a Map Addon
Before you do anything, you need to make a Map addon which will allow you to compile and upload the map.
Before you do anything, you need to make a Content addon which will allow you to compile and upload the map.
Start by going to the Projects tab and pressing the "+" button and selecting "Create New..."
<upload src="a3852/8daf5837731a15c.png" size="15676" name="sbox-dev_jRaDXkNRxP.png" />
Once you have done that a window will pop up with some options, change the "Project Type" to Map and fill in the rest with what you want such as Map name and location.
<upload src="a3852/8daf583a8e6227c.png" size="34426" name="sbox-dev_raFX1Ui837.png" />
You can then right click your map addon from the Projects tab and press "Open in Hammer...".
<upload src="a3852/8daf583bdaf0cb7.png" size="29567" name="sbox-dev_oD4xIv7w9m.png" />
Once you have done that a window will pop up with some options, change the "Project Type" to Content and fill in the rest with what you want such as Map name and location.
<upload src="a3852/8db5186d7c2bb5b.png" size="24617" name="image.png" />
Then navigate to the Asset Browser and locate the map, Right click and "Open in Editor...".
<upload src="a3852/8db518718d3242e.png" size="21832" name="image.png" />
## Errors
If you are getting the error "(map path) is outside of the directory required for game content:" your map is not classed as an addon, which means you either haven't created a map addon or in some cases your vmap does not match the name of the addon package ident.
If you created a map before making a addon, follow the above steps using your vmap name and copy your current map into the addons /maps folder.
If you are getting a "You were disconnected from the server. CLIENT_NO_MAP Reason:(map name)" It means the package ident does not match the vmap/vpk you uploaded.