Level Design Introduction (Portal 2)/Getting Started: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (1 revision: Portal 2 Level Design tutorial)
m (Unicodifying, replaced: [[Image: → [[File: (5))
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
__NOTOC__{{Portal 2 level intro menu}}  
{{lang|title=Level Design Introduction/Getting Started (Portal 2)|Level Design Introduction (Portal 2)/Getting Started}}__NOTOC__{{Portal 2 level intro menu}}
The first step is to launch Hammer, the map editor for Portal 2 and other Source games.  
The first step is to launch Hammer, the map editor for Portal 2 and other Source games.  


Open the '''Steam''' window, pick the '''Tools''' tab and double-click '''Portal 2 Authoring Tools'''.  
Open the '''Steam''' window, and in the '''Library''' tab, open the dropdown above the search bar, and check the '''Tools''' checkbox and double-click '''Portal 2 Authoring Tools'''. Because there are a lot of tools available on Steam, your library can get a bit cluttered, so once you install Portal 2 Authoring Tools, you can click on the '''ready to play''' button to the right of the dropdown menu. This will hide all of the uninstalled tools.


If this is your first time launching the Authoring Tools, it will take a little time to download and install.  
If this is your first time launching the Authoring Tools, it will take a little time to download and install.  


[[Image:P2_SDK00.jpg|thumb|left|500px]]{{clr-left}}  
[[File:Tools checkbox steam.png|thumb|left|Where to find the "tools" section in Steam]]{{clr-left}}


Double-click '''Hammer World Editor''' to start the Hammer level editor.  
Double-click '''Hammer World Editor''' to start the Hammer level editor.  


[[Image:P2_SDK02.jpg|thumb|left|250px]]{{clr}}  
[[File:Authoring_Tools.jpg|270px|thumb|left|]]{{clr}}  


Once Hammer is loaded, you can start a new level by going to the '''New''' from the '''File''' menu.  
Once Hammer is loaded, you can start a new level by going to the '''New''' from the '''File''' menu.  


[[Image:P2_hammer_new.jpg|thumb|left|500px]]{{clr}}  
[[File:P2_hammer_new.jpg|thumb|left|500px]]{{clr}}  


A new window with four editing areas should appear.  
A new window with four editing areas should appear.  


[[Image:P2_hammer_ui02.jpg|thumb|left|500px]]{{clr}}  
[[File:P2_hammer_ui02.jpg|thumb|left|500px]]{{clr}}  
{{note|If your viewports are not equally sized as in the image above, you can reset them by going to '''View''' and selecting '''Autosize 4 Views'''.}}  
{{note|If your viewports are not equally sized as in the image above, you can reset them by going to '''View''' and selecting '''Autosize 4 Views'''.}}  
[[Image:L4d hammer autosize.jpg|Selecting Autosize 4 Views from the View menu.]]  
[[File:L4d hammer autosize.jpg|Selecting Autosize 4 Views from the View menu.]]  


== Hammer Editor interface layout ==
== Hammer Editor interface layout ==


[[Image:P2_hammer_ui03.jpg|thumb|right|500px]]  
[[File:P2_hammer_ui03.jpg|thumb|right|500px]]  


Here is a basic description of the Hammer interface. You will learn how to use these items throughout this tutorial, so don't worry about learning about how they all function quite yet.  
Here is a basic description of the Hammer interface. You will learn how to use these items throughout this tutorial, so don't worry about learning about how they all function quite yet.  
Line 36: Line 36:
The '''Tools''' bar switches the editor to different modes that allow you to select, build, place, texture, and manipulate different objects in your level.  
The '''Tools''' bar switches the editor to different modes that allow you to select, build, place, texture, and manipulate different objects in your level.  


=== Selection Mode bar ===
=== Selection Mode box ===


The '''Selection Mode''' bar switches between modes of selecting objects in the map:  
The '''Selection Mode''' box switches between modes of selecting objects in the map:  


* '''Groups''' — You will select the whole sets of objects that have been grouped together.  
* '''Groups''' — You will select the whole sets of objects that have been grouped together.  
Line 44: Line 44:
* '''Solids''' — You will select individual components even if it has been joined with others to make one object.
* '''Solids''' — You will select individual components even if it has been joined with others to make one object.


=== Texture bar ===
=== Texture box ===


The '''Texture''' bar allows you to see the currently selected texture and to browse for other textures by going into the '''Browse...''' button.  
The '''Texture''' box allows you to see the currently selected texture and to browse for other textures by going into the '''Browse...''' button.  


=== Object bar ===
=== Object box ===


Used to place objects in your level that are not simple geometry. While ''brushes'' are the basic building blocks of levels, ''entities'' placed with the '''Object''' bar are pretty much everything else. You can place lights, props (models) and items using the '''Object''' bar.  
Used to place objects in your level that are not simple geometry. While ''brushes'' are the basic building blocks of levels, ''entities'' placed with the '''Object''' box are pretty much everything else. You can place lights, props (models) and items using the '''Object''' box.  


=== VisGroups bar ===
=== VisGroups box ===


''VisGroups'' are a way to organize your level. You can place any type of object into VisGroups and label them so that you can hide them or reveal them as a group. This allows you to see what you're working on in a much cleaner way than leaving everything visible.  
''VisGroups'' are a way to organize your level. You can place any type of object into VisGroups and label them so that you can hide them or reveal them as a group. This allows you to see what you're working on in a much cleaner way than leaving everything visible.  
Line 59: Line 59:


The strip along on the bottom of the interface gives valuable information while you're editing, such as the size of the selected objects and the current grid settings.  
The strip along on the bottom of the interface gives valuable information while you're editing, such as the size of the selected objects and the current grid settings.  
{{Navbar|Portal 2 Level Design|Portal 2 Level Design|Portal 2 Level Design/Your First Portal 2 Level}}  
{{navbar2|Level Design Introduction (Portal 2)/Getting Started|Getting Started|Level Design Introduction (Portal 2)|Level Design Introduction|Level Design Introduction (Portal 2)/Your First Level|Your First Level}}
[[Category:Portal 2]]
[[Category:Portal 2 Level Design]]
[[Category:Level Design]]

Latest revision as of 00:22, 7 January 2024

English (en)Deutsch (de)Español (es)Français (fr)Magyar (hu)한국어 (ko)Polski (pl)Русский (ru)中文 (zh)Translate (Translate)

The first step is to launch Hammer, the map editor for Portal 2 and other Source games.

Open the Steam window, and in the Library tab, open the dropdown above the search bar, and check the Tools checkbox and double-click Portal 2 Authoring Tools. Because there are a lot of tools available on Steam, your library can get a bit cluttered, so once you install Portal 2 Authoring Tools, you can click on the ready to play button to the right of the dropdown menu. This will hide all of the uninstalled tools.

If this is your first time launching the Authoring Tools, it will take a little time to download and install.

Where to find the "tools" section in Steam

Double-click Hammer World Editor to start the Hammer level editor.

Authoring Tools.jpg

Once Hammer is loaded, you can start a new level by going to the New from the File menu.

P2 hammer new.jpg

A new window with four editing areas should appear.

P2 hammer ui02.jpg
Note.pngNote:If your viewports are not equally sized as in the image above, you can reset them by going to View and selecting Autosize 4 Views.

Selecting Autosize 4 Views from the View menu.

Hammer Editor interface layout

P2 hammer ui03.jpg

Here is a basic description of the Hammer interface. You will learn how to use these items throughout this tutorial, so don't worry about learning about how they all function quite yet.

Map Views and Operations bars

These bars across the top of the window contain a variety of buttons to control the viewing of objects in the map, as well as controls for the grid and snapping tools.

Tools bar

The Tools bar switches the editor to different modes that allow you to select, build, place, texture, and manipulate different objects in your level.

Selection Mode box

The Selection Mode box switches between modes of selecting objects in the map:

  • Groups — You will select the whole sets of objects that have been grouped together.
  • Objects — You will select an entire object even if it consists of more than 1 component.
  • Solids — You will select individual components even if it has been joined with others to make one object.

Texture box

The Texture box allows you to see the currently selected texture and to browse for other textures by going into the Browse... button.

Object box

Used to place objects in your level that are not simple geometry. While brushes are the basic building blocks of levels, entities placed with the Object box are pretty much everything else. You can place lights, props (models) and items using the Object box.

VisGroups box

VisGroups are a way to organize your level. You can place any type of object into VisGroups and label them so that you can hide them or reveal them as a group. This allows you to see what you're working on in a much cleaner way than leaving everything visible.

Status bar

The strip along on the bottom of the interface gives valuable information while you're editing, such as the size of the selected objects and the current grid settings.