User Tools

Site Tools


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
modeleditor:gui_fixtures [2012-03-28 11:18]
Carsten Added the overview and "context menu" sections
modeleditor:gui_fixtures [2016-03-04 10:46] (current)
Carsten Fix link to model editor image
Line 4: Line 4:
 <​clear>​ <​clear>​
  
-{{ http://​www.cafu.de/​images/​phocagallery/​cawe-model-editor/​model-editor-3.png?​252}}+{{ http://​www.cafu.de/​images/​gallery/​cawe-model-editor/​model-editor-3.png?​252}}
 GUIs are virtual computer desktops that the player can interact with to unlock doors, call lifts, obtain information,​ and much more. GUIs are virtual computer desktops that the player can interact with to unlock doors, call lifts, obtain information,​ and much more.
  
Line 14: Line 14:
  
 {{ :​modeleditor:​gui-fixtures-list.png?​|}} {{ :​modeleditor:​gui-fixtures-list.png?​|}}
 +The **GUI Fixtures** pane lists all GUI fixtures in the model.
 +
 +For each GUI fixture,
 +  * its name and
 +  * the GUI fixture number
 +is shown.
 +
 +A single click on a GUI fixture selects it, a double click opens the **GUI Fixture Inspector** pane as well.
 +
 +Pressing the **F2** key or a single-click on an already selected GUI fixture allows you to rename the GUI fixture in place.
 +
 +The “**+**” button creates a new GUI fixture and adds it to the list.
 +The “**-**” button deletes the currently selected GUI fixtures.
 <​clear>​ <​clear>​
  
Line 30: Line 43:
  
 {{ :​modeleditor:​gui-fixture-inspector.png?​|}} {{ :​modeleditor:​gui-fixture-inspector.png?​|}}
 +The **GUI Fixture Inspector** pane shows the details of the currently selected GUI fixture.
 +
 +==== Name====
 +Shows the name of the currently selected GUI fixture.
 +The  name can be edited in order to rename the GUI fixture.
 +
 +==== Origin and endpoints ====
 +
 +The origin and the endpoints of the x- and y-axes determine the position and orientation of the GUI.
 +
 +You can enter and edit the mesh and vertex numbers manually, but it is much easier and faster to right-click directly on the model in the 3D view:
 +
 +{{ :​modeleditor:​3d-view-context-menu.png |}}
 +
 +Selecting one of the three **GUI fixture** menu items will fill in the related numbers in the **GUI Fixture Inspector** automatically.
 +
 +
 +==== Translation and scale ====
 +
 +Normally, the GUI rectangle is exactly aligned to the origin and the endpoints of the axes.
 +Using the translation and scale, you can move the GUI rectangle from its original position and adjust its overall size:
 +  * The **Scale** values set the relative lengths of the axes.
 +  * The **Translation** values move the origin in multiples of the scaled axes.
 <​clear>​ <​clear>​
 +
 +
 +===== Example video =====
 +
 +This example video shows a GUI that is attached to an animated model and uses custom translation and scale settings:
 +<​HTML>​
 +<div style="​text-align:​ center; clear: both;">​
 +
 +<object style="​height:​ 385px; width: 400px">​
 +<param name="​movie"​ value="​http://​www.youtube.com/​v/​dNCf82E90TA?​version=3&​feature=player_detailpage"></​param>​
 +<param name="​allowFullScreen"​ value="​true"></​param>​
 +<param name="​allowScriptAccess"​ value="​always"></​param>​
 +<embed src="​http://​www.youtube.com/​v/​dNCf82E90TA?​version=3&​feature=player_detailpage"​ type="​application/​x-shockwave-flash"​ allowfullscreen="​true"​ allowScriptAccess="​always"​ width="​400"​ height="​385"></​embed>​
 +</​object>​
 +
 +</​div>​
 +</​HTML>​
  
modeleditor/gui_fixtures.1332926338.txt.gz · Last modified: 2013-01-07 12:07 (external edit)