====== 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 ===== {{::editoranatomy.png?800|}} ==== 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. ==== Scene Outliner ==== This shows all of the objects in your map (Depending on filter settings), and can be used to rename and reorganize objects as well. Click and drag on a object to change the order of objects, and you can set the parent of an object by dragging it on top of a Geo or a Group. Note that you cannot parent something to an Entity. You can rename objects by either right-clicking on the object and selecting 'Rename', pressing **F2** while the object is selected, or by renaming the object in the inspector. Filters can be useful for navigating your scene quickly. By default, all objects are given empty names, and can clutter the outliner very quickly. If you click the down arrow to the right of the 'Filter' icon, you can select 'Hide Unnamed Nodes', which will only show objects that have been important enough to name. You can also look for a specific object in the map by going to the 'Filter...' type-in and entering any part of the object name you wish to find. If you can't find a node that you're looking for, make sure: - Filters are all set correctly, or the Filter button is disabled. - You don't have any text in the Filter type-in. Click the X button to the right to clear it. ==== 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 ==== Inspector ==== The inspector shows all editable properties of any selected objects. You can edit the properties of multiple selected objects at once (With some exceptions), but it will only show information that is common to ALL of the selected objects. ==== Asset Browser ==== Here you can select, apply and modify various assets used in the game. There are two main tabs: Materials and Entities. Materials can be dragged directly onto Geos in the map to apply them, or you can press the Apply button or the Enter key to apply them to any currently selected geos or faces. There is also an eyedropper tool that allows you to select a material from a face in the map. Entities can also be dragged directly into the map, as long as they're not marked as NonPlaceable.