Getting Started: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{lang|Getting Started}}
{{LanguageBar}}
 
{{first room menu}}
{{first room menu}}


Most of the Source SDK applications including Hammer are found in the game's bin folders, following the SteamPipe update for Source engine games.
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.
* 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).
* 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 <code>/bin</code> folder to view it (5).
* From there, double click your game's <code>/bin</code> folder to view it (5).
* Find <code>hammer.exe</code> in this folder and double click it (6). This will launch '''Hammer''', the level editor for Source.
* 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.
[[File:Game config set.png|2018px]]
{{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=]]
{{clr}}
* From the '''File''' menu, select '''New''':
* From the '''File''' menu, select '''New''':
[[File:Hammer newwindow.png|link=]]
[[File:Hammer newwindow.png|link=]]
Line 12: Line 15:
[[File:Hammer emptyworkspace.png|600px]]
[[File:Hammer emptyworkspace.png|600px]]


{{bug|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.}}
{{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.}}
{{Navbar|:Category:Level Design|Your First Map|View Navigation}}


{{Navbar|Category:Level Design|Your First Map|View Navigation}}
[[Category:Level Design]]
[[Category:Level Design]]
[[Category:Level Design Tutorials]]
[[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.