User Tools

Site Tools


hpl2:tools:editors:level_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
hpl2:tools:editors:level_editor [2010/11/04 16:12]
jens [Types of Objects]
hpl2:tools:editors:level_editor [2012/11/10 16:06]
dice [Overview]
Line 3: Line 3:
  
 ===== Overview ===== ===== Overview =====
 +
 +
 When run, the first screen we get to see is like this: When run, the first screen we get to see is like this:
  
-{{.:​leveleditoroverview-small.jpg|}}+ 
 +{{:​hpl2:​tools:​editors:​leveleditoroverview-small.jpg?​nolink&​}} 
  
 Each part of the screen has a specific function, as follows: Each part of the screen has a specific function, as follows:
-  ​- [[#Main menu|Main menu bar]]: this is where every non-editor command lies, as well as some edition ones.  + 
-  - [[#EditMode selection bar|EditMode sidebar]]: here you will find a set of buttons used to switch the current behaviour of the editor. More on this later. + 
-  - EditMode window area: any helper input the current EditMode needs will appear here. +    ​- [[#main_menu|Main menu bar]]: this is where every non-editor command lies, as well as some edition ones. 
-  - [[#Viewport area|Viewport area]]: this area of the screen is reserved for the viewports, which are used to actually see what you are doing to the map. Every viewport has its own menu bar, to control some parameters of the visualization. +    - [[#editmode_selection_bar|EditMode sidebar]]: here you will find a set of buttons used to switch the current behaviour of the editor. More on this later. 
-  - [[#Lower Toolbar|Lower toolbar]]: some tools that are either viewport-dependent or global are located here.+    - EditMode window area: any helper input the current EditMode needs will appear here. 
 +    - [[#viewport_area|Viewport area]]: this area of the screen is reserved for the viewports, which are used to actually see what you are doing to the map. Every viewport has its own menu bar, to control some parameters of the visualization. 
 +    - [[#lower_toolbar|Lower toolbar]]: some tools that are either viewport-dependent or global are located here. 
  
 Not listed above are some special windows, used pretty often here: Not listed above are some special windows, used pretty often here:
-  ​* [[.:​save_dialog|Save file dialog]] + 
-  * [[.:​load_dialog|Load file dialog]] + 
-  * [[.:​color_picker|Color Picker]] +    ​* [[:​hpl2:​tools:​editors:​save_dialog|Save file dialog]]  
-  * [[.:​texture_browser|Texture Browser]] +    * [[:​hpl2:​tools:​editors:​load_dialog|Load file dialog]]  
-  * [[.:​sound_browser|Sound Browser]]+    * [[:​hpl2:​tools:​editors:​color_picker|Color Picker]]  
 +    * [[:​hpl2:​tools:​editors:​texture_browser|Texture Browser]]  
 +    * [[:​hpl2:​tools:​editors:​sound_browser|Sound Browser]]
  
 ===== Main Menu ===== ===== Main Menu =====
 +
 +
 This is a menu bar, just like in any other windowed application. Available options for this particular editor are as follows: This is a menu bar, just like in any other windowed application. Available options for this particular editor are as follows:
  
-  * **File** 
-    * **New**: This command will reset the map to an empty one, and the editor to a default state as well. 
-    * **Open**: This will load a map file picked in a dialog in the editor. 
-    * **Save**: Use this to save your work to a file in disk. Will ask for a file name when no file has been created. 
-    * **Save As**: This will also save your work, but will ask for a file name everytime it is called. 
-    * **Open Recent**: This will show a list of up to 10 files that have been recently loaded or saved. 
-    * **Import Objects**: This will show a file dialog with exported object (.expobj) files. When picked, the objects in the file will be added to the map. 
-    * **Export Selection**:​ This will save the current selection to a .expobj file. 
-    * **Quit**: This will exit the program. 
-  * **Edit** 
-    * **Undo**: Use this to undo the last action. Note that not everything you can do in the editor is undo-able. 
-    * **Redo**: Use this to redo the last undone action. ​ 
-    * **Duplicate**:​ This will clone the current selected objects. More details on selection later. 
-    * **Delete**: This will delete the current selected objects. 
-    * **Create**/​**Destroy compound object**: Use this to create a compound object with the current selected objects, or to destroy the currently selected compound object. More on compound objects [[Compound Objects|here]]. 
-    * **Search for object**: This will open the [[.:​level_editor:​Find Objects]] window. It is useful when you want to find a particular object and don't want to actually look for it. 
-    * **Browse groups**: This will open the [[.:​level_editor:​Group window]]. This one is used to manage groups of objects. 
-    * **Level Settings**: This will open the [[.:​level_editor:​Level Settings]] window. This is used to add global fog and skybox to a level, also has other tools. 
-    * **Options**:​ This will open the [[.:​level_editor:​Options Window]]. You will find general settings for the editor here. 
  
 +    * **File** ​    
 +      * **New**: This command will reset the map to an empty one, and the editor to a default state as well.
 +      * **Open**: This will load a map file picked in a dialog in the editor.
 +      * **Save**: Use this to save your work to a file in disk. Will ask for a file name when no file has been created.
 +      * **Save As**: This will also save your work, but will ask for a file name everytime it is called.
 +      * **Open Recent**: This will show a list of up to 10 files that have been recently loaded or saved.
 +      * **Import Objects**: This will show a file dialog with exported object (.expobj) files. When picked, the objects in the file will be added to the map.
 +      * **Export Selection**:​ This will save the current selection to a .expobj file.
 +      * **Quit**: This will exit the program.
 +
 +
 +    * **Edit** ​    
 +      * **Undo**: Use this to undo the last action. Note that not everything you can do in the editor is undo-able.
 +      * **Redo**: Use this to redo the last undone action.
 +      * **Duplicate**:​ This will clone the current selected objects. More details on selection later.
 +      * **Delete**: This will delete the current selected objects.
 +      * **Create** /**Destroy compound object**: Use this to create a compound object with the current selected objects, or to destroy the currently selected compound object. More on compound objects [[:​hpl2:​tools:​editors:​level_editor:​compound_objects|here]]. ​     * **Search for object**: This will open the [[:​hpl2:​tools:​editors:​level_editor:​find_objects|Find Objects window]] window. It is useful when you want to find a particular object and don't want to actually look for it.      * **Browse groups**: This will open the [[:​hpl2:​tools:​editors:​level_editor:​group_window|Group window]]. This one is used to manage groups of objects. ​     * **Level Settings**: This will open the [[:​hpl2:​tools:​editors:​level_editor:​level_settings|Level Settings window]] window. This is used to add global fog and skybox to a level, also has other tools. ​     * **Options**:​ This will open the [[:​hpl2:​tools:​editors:​level_editor:​options_window|Options Window]]. You will find general settings for the editor here.
  
 ===== EditMode selection bar ===== ===== EditMode selection bar =====
Line 91: Line 100:
  
 ==== Moving and looking around ==== ==== Moving and looking around ====
 +
 +
 All movement and looking will be done using the mouse. In a nutshell, there are three basic movements that can be done, all need the '​view'​ key to be pressed (default left Alt). When this key is held, the red focus frame will turn yellow. These movements are listed next: All movement and looking will be done using the mouse. In a nutshell, there are three basic movements that can be done, all need the '​view'​ key to be pressed (default left Alt). When this key is held, the red focus frame will turn yellow. These movements are listed next:
-  ​* **Tumble**: pressing the '​view'​ key and the left mouse button at the same time will activate the Tumble mode. This means the camera target will stay in place while the camera will orbit around it. + 
-  * **Track**: pressing the '​view'​ key and the middle mouse button at the same time will activate the Track mode. According to the track mode that is set, this will behave in two different ways: + 
-    * Tracking lock to grid is disabled: the camera target will move along the current screen plane, meaning it will move left-right or up-down along with the mouse. The camera position will stay the same with respect to the target. +**Linux Note:** Left Super (aka "​Windows"​ or Apple key) and the Z key are also the view key as the Alt key is usually bound by the Window Manager.\\ 
-    * Tracking lock to grid is enabled: this allows the user to click on the grid, hold and drag to get a camera displacement. Pretty useful when one wants to cover large distances. This mode is forced in ortho views. +**Mac %%OS%% X Note:** A three button mouse is required to use the editor. 
-  * **Zoom**: pressing the '​view'​ key and the right mouse button at the same time will activate the Zoom mode. Moving the mouse forward/​backward will then zoom in/out respectively. Note there are limits for zooming in and out. You can also zoom in/out by rolling the mouse wheel up/down.+ 
 +    ​* **Tumble**: pressing the '​view'​ key and the left mouse button at the same time will activate the Tumble mode. This means the camera target will stay in place while the camera will orbit around it. 
 +    * **Track**: pressing the '​view'​ key and the middle mouse button at the same time will activate the Track mode. According to the track mode that is set, this will behave in two different ways:    ​ 
 +      ​* Tracking lock to grid is disabled: the camera target will move along the current screen plane, meaning it will move left-right or up-down along with the mouse. The camera position will stay the same with respect to the target. 
 +      * Tracking lock to grid is enabled: this allows the user to click on the grid, hold and drag to get a camera displacement. Pretty useful when one wants to cover large distances. This mode is forced in ortho views. 
 +    * **Zoom**: pressing the '​view'​ key and the right mouse button at the same time will activate the Zoom mode. Moving the mouse forward/​backward will then zoom in/out respectively. Note there are limits for zooming in and out. You can also zoom in/out by rolling the mouse wheel up/down.
  
 ==== Enlarging a viewport ==== ==== Enlarging a viewport ====
 +
 +
 When working in a viewport, the common thing to do is enlarging it. This can be done by clicking on the '​enlarge button'​ in the lower toolbar, or pressing the shortcut for it (spacebar). When working in a viewport, the common thing to do is enlarging it. This can be done by clicking on the '​enlarge button'​ in the lower toolbar, or pressing the shortcut for it (spacebar).
  
  
 +More on key shortcuts in [[:​hpl2:​tools:​editors:​level_editor:​shortcut_keys|here]].
  
 ===== Lower Toolbar ===== ===== Lower Toolbar =====
hpl2/tools/editors/level_editor.txt · Last modified: 2015/01/25 23:14 by jermainestew