Game Editor (Workbench)

From Bohemia Interactive Community
Revision as of 14:45, 21 December 2012 by Tomas (talk | contribs)
Jump to navigation Jump to search

Game Editor

This editor is used to create playable content of any game based on EnForce engine. Game Editor is a universal name and its because it's a really universal Editor. You can make corridor levels and also huge open areas. The basic building stone is Entity. Entity is everything - world, terrrain, tree, stone, character, particle or cutscene.

We can separete the User Interface in Game Editor into two main groups:

  • Content Window - Area where you can see whole inserted content in the opened world (Render View).
  • Tool windows - which can be undocked, moved to another monitor, showed or hided ( in panes menu ).
ShortCuts
Ctrl + O Open dialog with list of *.ent files for loaded
Ctrl + S Saves the opened map
Ctrl + Z Undo
Ctrl + Y Redo
Ctrl + G Run map in game mode
E Show/hide debug layer (material tool has to be selected)
N Recalculate normal map on the terrain
B Recalculate supertexture map on the terrain
T Insert Entity selected in Template Manager


How To Links

Game Editor Layout

Click on the headline for more information.

Panels which you can undock are: Entities, Entities Properties, Current Tool

<map name="gameEditor"> <area shape="rect" alt="" title="" coords="384,40,470,70" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:entity_editing:start" target="" /> <area shape="rect" alt="" title="" coords="486,40,580,70" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:terrain_editing:start" target="" /> <area shape="rect" alt="" title="" coords="615,40,800,70" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:start#content_window_options" target="" /> <area shape="rect" alt="" title="" coords="814,40,950,70" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:start#content_window" target="" /> <area shape="rect" alt="" title="" coords="15,210,92,230" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:entity_editing:start#entities" target="" /> <area shape="rect" alt="" title="" coords="15,350,133,370" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:entity_editing:start#entity_selection" target="" /> <area shape="rect" alt="" title="" coords="15,530,103,550" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:start#console_log" target="" /> <area shape="rect" alt="" title="" coords="1180,290,1280,320" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:start#current_tool" target="" /> <area shape="rect" alt="" title="" coords="1140,500,1280,530" href="http://81.0.236.116/wiki/doku.php?id=cc_gm:tools:workbench:gameeditor:start#textures_indicator" target="" /> </map> <img src="http://81.0.236.116/wiki/lib/exe/fetch.php?cache=cache&media=cc_gm:tools:workbench:gameeditor:gameeditor_layout.jpg" usemap="#gameEditor" width="1280" height="720">

Content Window

Content Window is a render view of world you're editing. A lot of editing is made in this window - entity editing, material painting. There are two control modes:

  • Static
  • Free fly

You can switch between them with “space”.

In Static mode you can just look around using mouse. In free fly you can go with camera where you want using WASD + mouse. Mouse wheel will increase/decrease speed. Be careful you can fly very fast and you can go out of the world bounds.

Content Window Options

View Type

There can be switched type of view. The first three are good for editing interiors (when you need to see )

  • Front
  • Top
  • Right
  • Perspective

Camera

You can have more cameras in one world. This will switch between them.

Render Options

[[Image:]] There you can switch on/off (show/hide) a lot of things which are rendered in the game. The most used ones are:

  • Ocean
  • Postprocess effects
  • Layer debug
  • Fog


Compass

Show/hide compass on the right bottom.

Send View

Here you can send the current view to another Workbench editor. So you can see in another editor how the edited thing will look on the place where you want to put it in the world. For now it's material and particle editor.

Grid

You can change here the snapping grid of entities. Very useful when editing set of blocks models.

Content Window Split

Can be found on the right side. Content Window can be split into more views. How it will be shown can be set in WB Options (F3)

Console Log

In this window you can see error messages or messages from scripting ( using Print() function ). It's stored in console.log file, which can be found in your: user profile -> Documents -> CarrierCommand

Current Tool

Things in this panel is changing depending on the current selected tool. Examples:

Textures Indicator

When loading world you have to wait, before you can start editing textures, till they all be loaded, this indicator is red when you can not edit textures, green when all needed files are loaded and you can begin the editing.

Tools

Each tool has his own settings, which can be found in Current Tool window.


Entity Editing

[[Image:]] Entity manipulation tool


Terrain Editing

[[Image:]] Pattern Brush

[[Image:]] Terrain Editing

[[Image:]] Blocks Editing

[[Image:]] Material Editing

[[Image:]] Other Terrain Tools

[[Image:]] Terrain Roads Editing


Other Tools

[[Image:]] Sky Preset Editor

[[Image:]] Camera Animation

[[Image:]] Tape tool