Getting Started: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Lang template. Ordered list -> Unordered list, due to the numbers in the screenshots.)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{lang|Getting_Started}}
{{LanguageBar}}
 
{{first room menu}}
{{first room menu}}
{{bug|The recent SteamPipe update has also created a bug where, upon clicking '''File > New''', Hammer reports that it ''failed to load the default scheme file'', and all viewports will be black. To fix this Hammer must not be launched from the SDK program through Steam, but instead through the chosen game directory, e.g. <code>C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin</code>.}}
:::([http://web.archive.org/web/20170525233554/http://forums.steampowered.com/forums/showthread.php?t=3225145 solution on Steam SDK Forums])


* Go to Steam’s '''Library''' tab (1), then the '''Tools''' tab (2) and launch the '''Source SDK''' (3).
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 version and game you want to use for your map (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).
* Launch '''Hammer''', the level editor for Source (5).
* From there, double click your game's <code>/bin</code> folder to view it (5).
[[File:Game config set.png|700px]]
* 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.
{{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 13: 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. If you encounter this, [[Reset the Source SDK Game Configuration]]s.}}
{{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.