This is an old revision of the document!
Editor Basics
Starting the Editor
You can access the editor by either selecting 'Editor' from the main menu (If available), opening the console with the Tilde key (~) and typing 'editor', or by pressing Alt+Ctrl+F5 while in a map.
Anatomy
Toolbar
Includes many often-used features in the editor.
- Select Mode (Q): Changes the manipulator type to Select Mode.
- Move Mode (W): Changes the manipulator type to Move Mode.
- Rotate Mode (E): Changes the manipulator type to Rotate Mode.
- Create Geo: Activates the 'Create Geo' tool, which allows the user to create new level geometry. Additional geometry types are available by clicking the down arrow on the right.
- Create Object: Activates the 'Create Object' tool, which allows the user to create new objects in the scene. Additional object types are available by clicking the down arrow on the right.
- Transform Space: Changes the current space that manipulators work within. The three options are:
- World: Transforms are relative to the world
- Local: Transforms are relative to the currently selected object
- Parent: Transforms are relative to the parent of any currently selected object
- Pivot Selection: Changes where manipulators are located relative to the selection. Options are:
- Center: Only shows a single manipulator at the center of all selected objects
- Pivot: Shows multiple manipulators, one for each selected object, at their own set pivot points.
- Move Snapping: Enables/disables grid or vertex snapping. Grid settings and snap type can be adjusted by clicking the down arrow to the right. Snapping can be temporarily enabled/disabled by holding either X for grid snapping, or V for vertex snapping.
- Rotation Snapping: Enables/disables angle snapping for rotation. Angle settings can be adjusted by clicking the down arrow to the right. Rotation snapping can be temporarily enabled/disabled by holding X.
- Texture Lock (T): Enables/disables texture lock. This means that any Geos and Geo Faces will retain their texture coordinates as they're moved and rotated around. With it disabled, Geos will attempt to automatically determine the best texture coordinates using tri-planar mapping.
- Difficulty Preview: Enables/Disables the ability to hide objects in the map that are set to a particular difficulty setting. You can select which difficulties should be shown by selecting them from the drop-down menu accessed by clicking the down arrow to the right.
Viewports
In the center of the editor, you will see either one large viewport (Known as the Maximized View), or 4 smaller viewports (Known as the Quad View). You can switch between the Quad View and the Maximized view by pressing Enter.
When maximized, you can quickly switch between multiple views by using the following numpad keys:
- 1: Front view
- 3: Right view
- 7: Top view
- 9: Perspective view
You can think of it like each numpad key is related to the layout of the viewports in the Quad View:
----------- ----------- | Top | | Persp | | 7 | | 9 | | | | | ----------- ----------- ----------- ----------- | Front | | Right | | 1 | | 3 | | | | | ----------- -----------
You can move around the viewports by holding the right mouse button and dragging. This will pan in orthogonal viewports, and rotate the camera in the perspective viewport. You can also move around by using WASD while either the right mouse button is held, and/or when the Shift key is held. Holding Shift while also holding the right mouse button will also speed movement up by 2x. It's generally recommended to hold shift while navigating around the viewport, just so you don't lose WASD functionality if you let go of the right mouse button.
You can also zoom/move forwards in a viewport by using the scrollwheel.
Additional Viewport keys
- F: Fit current selection to viewport
- F2: Toggle wireframe mode
- F3: Toggle texture visibility
- F4: Toggle lightmap preview
- Shift+F4: Toggle lightmap size preview
