TTP Map Tutorial: World & Editing Basics
In Serious Editor, a map is called 'World'. Worlds are saved in .wld files and they contain all entities and all local resources that are used. Every world contains at least one entity called 'WorldInfo' which is sort of the ignition of any world. We'll get to the settings for that entity later.
To create a new world you can
- select 'New' → 'Document.World' in the file menu, or
- press Ctrl+N and select 'Document.World' in the dialog that pops up.
The editor should look something like this now:
Ok, before we start adding stuff to the world it's time to make yourself familiar with some editing basics:
Some general remarks first about the elements of the layout that you need to manipulate the world and its entities:
- The center part with the 3D view is called 'Viewport'.
- The window on the left contains 'Panels' that belong to the 'Property group'.
- On the right is the 'Command bar group' that contains tabs with all sorts of tools for editing.
You can find further information in Editor Layout.
The viewport can be navigated in two ways:
- Fly mode
- If you press Esc you can navigate the viewport with W, A, S, D. The mouse wheel controls fly speed.
- Note: Fly mode deactivates all other controls of the editor. If you want to edit you need to deactivate fly mode with Esc again.
- Seamless mode
- You can also navigate the viewport with several combinations of keys and mouse:
- Panning: Space+
- Zooming/Panning: Space+
- Rotating: Space++
- Center view on selected entity: ⇧ Shift+C
- Align view with selected entity: ⇧ Shift+A
- Zoom in: Ctrl+Space+
- Zoom out: Ctrl+Space+
For further information on how seamless navigation mode works see Viewport Navigation. While creating maps only with fly mode is possible, it is recommended that you make yourself familiar with seamless navigation because it will significantly expedite your work in the viewport.
Apart from the WorldInfo, a world can contain
- Entities are all map elements that are displayed in the viewport. Entities are defined by their 'Properties'.
- Resources are all map elements that cannot be displayed in the viewport. Generally speaking, resources can be required to define properties of of entities.
Whenever you want to check what you've build in the editor you can do so by simply pressing T. This will transport you directly into your map to test puzzle elements, the general look of the map, etc. The player model will be spawned at world spawn, i.e. coordinates (0, 0, 0). If you want the player model to spawn at the current position in the viewport, press ⇧ Shift+T. Pressing Esc will return you to the editor.
Ok, that should be enough general stuff to understand the following steps. Let's start by adding our first entity to the map.