Hammer Map Menu
The Map menu contains a number of functions related to the display of the map, as well as global viewing and manipulation of map contents and properties.
- 1 Snap to Grid <Shift+W>
- 2 Show Grid <Shift+R>
- 3 Grid Settings <[> and <]>
- 4 Units
- 5 Show Selected Brush Number
- 6 Entity Report...
- 7 Entity Gallery
- 8 Check for Problems <Alt+P>
- 9 Diff Map File
- 10 Load Pointfile
- 11 Unload Pointfile
- 12 Load PortalFile
- 13 Unload PortalFile
- 14 Show Information
- 15 Map Properties...
Snap to Grid <Shift+W>
Will cause objects and selection boxes to snap to the current grid.
Show Grid <Shift+R>
You can use this to toggle the grid display on and off. Objects will still snap to the grid if the Snap to Grid option is enabled, regardless if the grid is visible.
Grid Settings <[> and <]>
This allows you to increase or decrease the current Snap to Grid size. The current grid size is show in the status bar at the bottom of the Hammer window.
This allows you to changes the units of measurement displayed in the Selection size information area on the status bar.
Show Selected Brush Number
This displays the brush number of the selected brush. You must select a single non-entity brush for this command.
Opens the Entity Report dialog, which can be used to manage your entities and do quick searches for specific entities, providing an easy alternative to searching through your map manually.
Pastes a copy of every type of entity in the game data file into the current map. Mainly used for debugging purposes.
Check for Problems <Alt+P>
Opens the Check for Problems dialog that will analyze the map and notify you of any errors it finds.
Diff Map File
A feature used to compare differences between two maps. This feature is incomplete at the current time and has limited usefulness.
If your map is not totally sealed, the compile tools (vbsp.exe, specifically) will report a "leak" and generate a pointfile. A pointfile contains information Hammer can use to trace a line from one of the map's entities to the source of the leak. This is represented in the 2D and 3D views by a thick red line. The Load Pointfile command will open the pointfile data associated with the current map, if it can locate the file. If not, it will display an Open dialog that allows you to load the pointfile. The pointfile will have a .lin or .pts filename extension, depending on the game compilation tools you are using. See Leaks Explained for more information.
Use this command to remove the display of pointfile data from the 2D and 3D views of the current map file.
Loads the Prt file associated with the bsp and vmf, to view Visleafs with Hammer instead of using Glview.
Same as above, but removes the file.
This brings up the Map Information dialog, which gives you some statistics on the currently selected map file.
This will open an Object Properties dialog box, containing different editable parameters for the current map file. This is also known as the worldspawn entity. The worldspawn is an entity that defines some characteristics of the world, including the map title and skybox. See worldspawn for more information.