Getting Started: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(53 intermediate revisions by 25 users not shown)
Line 1: Line 1:
[[Category:Level Design]][[Category:Level Design Tutorials]]
{{LanguageBar}}
 
{{first room menu}}
{{first room menu}}


# Go to Steam's '''Tools''' tab and launch '''Source SDK'''.
Most of the Source SDK applications including Hammer are found in the game's {{path|bin}} folders, following the SteamPipe update for Source engine games.
# Select the engine and game you wish to use with your map.
* Go to Steam’s '''Library''' tab (1), right click your game (2), hover over Manage to expand more options (3), and click Browse Local Files (4).
# Launch '''Hammer''', the level editor for Source.
* From there, double click your game's <code>/bin</code> folder to view it (5).
 
* Find {{code|hammer.bat}} (or run {{code|hammer.exe}} if the latter doesn't exist) in this folder and double click it (6). This will launch '''Hammer''', the level editor for Source.
[[Image:game_config_set.png|thumb|left|400px|Launch the Hammer Editor in Half-Life 2: Deathmatch mode by following these steps.]]{{clr}}
{{Note|Do not launch {{code|hammer.exe}} directly (unless if {{code|hammer.bat}} does not exist), as it might fail to detect the game automatically when launched for first time.}}
 
[[File:Game config set.png|1280px|left|link=]]
The Hammer editor should now launch, and start with a blank window, ready to use.
{{clr}}
 
* From the '''File''' menu, select '''New''':
Pick '''New''' from the '''File''' menu to create an empty map.
[[File:Hammer newwindow.png|link=]]
 
* An empty map will appear.
An empty, blank map is created, and you are ready to start building.
[[File:Hammer emptyworkspace.png|600px]]
 
[[Image:hammer_newwindow.jpg|thumb|300px|left|Pick New from the File Menu to create a blank map.]]
[[Image:hammer_emptyworkspace.jpg|thumb|300px|left|A new map, ready for level creation.]]{{clr}}


{{NavBar|:Category:Level Design|Your First Map|View Navigation}}
{{bug|hidetested=1|You may find that Hammer's viewports are '''all''' totally black. This is because Hammer is running with a different branch of Source from the game you are working on.}}
{{Note|On {{asbranch|1}} and later, you might need to run "Hammer Editor" through its SDK/Authoring Tools Launcher, as it may not open when running {{code|hammer.exe}} directly.}}


{{otherlang:en}}
{{Navbar|Category:Level Design|Your First Map|View Navigation}}
{{otherlang:en:de|Getting_Started:de}},
[[Category:Level Design]]
{{otherlang:en:ru|Getting_Started:ru}}
[[Category:Tutorials]]

Latest revision as of 07:13, 20 May 2025

English (en)Deutsch (de)Français (fr)Magyar (hu)日本語 (ja)한국어 (ko)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)中文 (zh)中文(臺灣) (zh-tw)Translate (Translate)

Most of the Source SDK applications including Hammer are found in the game's 🖿bin folders, following the SteamPipe update for Source engine games.

  • Go to Steam’s Library tab (1), right click your game (2), hover over Manage to expand more options (3), and click Browse Local Files (4).
  • From there, double click your game's /bin folder to view it (5).
  • Find hammer.bat (or run hammer.exe if the latter doesn't exist) in this folder and double click it (6). This will launch Hammer, the level editor for Source.
Note.pngNote:Do not launch hammer.exe directly (unless if hammer.bat does not exist), as it might fail to detect the game automatically when launched for first time.
Game config set.png
  • From the File menu, select New:

Hammer newwindow.png

  • An empty map will appear.

Hammer emptyworkspace.png

Icon-Bug.pngBug:You may find that Hammer's viewports are all totally black. This is because Hammer is running with a different branch of Source from the game you are working on.
Note.pngNote:On Alien Swarm engine branch and later, you might need to run "Hammer Editor" through its SDK/Authoring Tools Launcher, as it may not open when running hammer.exe directly.