Difference between revisions of "AI Bound Editor"

From Divinity Engine Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:AIBoundEditor.png|none]]
+
[[File:AIBoundEditor.png|center]]
<sub>The AI Bound Editor</sub>
+
<br />
  
 
== Opening the AI Bound Editor ==
 
== Opening the AI Bound Editor ==
Line 12: Line 12:
 
# Select the "Bounds" property in the PropertyGrid and click the [..] button to the right
 
# Select the "Bounds" property in the PropertyGrid and click the [..] button to the right
  
 
+
<br/>
 
== Using the AI Bound Editor ==
 
== Using the AI Bound Editor ==
 
[[File:AIBoundEditorStepByStep.png|none|496px]]
 
[[File:AIBoundEditorStepByStep.png|none|496px]]
Line 24: Line 24:
 
# Renderview
 
# Renderview
  
 
+
<br/>
 
=== Save and Load ===
 
=== Save and Load ===
 
The save button applies the AI bounds, the load button restores the AI bound properties back to original (how they were when you opened the panel)
 
The save button applies the AI bounds, the load button restores the AI bound properties back to original (how they were when you opened the panel)
  
 
+
<br/>
 
=== AI Bound Properties ===
 
=== AI Bound Properties ===
 
The AI bound properties box shows the AI bounds of your template in meters, and consists of 2 components:
 
The AI bound properties box shows the AI bounds of your template in meters, and consists of 2 components:
Line 38: Line 38:
 
<sup>[2] For performance reasons, cylindrical AI bounds are turned off for items</sup>
 
<sup>[2] For performance reasons, cylindrical AI bounds are turned off for items</sup>
  
 
+
<br/>
 
=== AI Bound Editing Tools ===
 
=== AI Bound Editing Tools ===
 
The AI Bound Editor has 2 tools to make editing a root template's AI bounds easier:
 
The AI Bound Editor has 2 tools to make editing a root template's AI bounds easier:
Line 44: Line 44:
 
# The [[#Auto Size Tool|Auto Size Tool]]
 
# The [[#Auto Size Tool|Auto Size Tool]]
  
 
+
<br/>
 
==== Resize Interaction Mode ====
 
==== Resize Interaction Mode ====
 
[[File:AIBoundEditor_Tools_ResizeInteractionMode.png]]
 
[[File:AIBoundEditor_Tools_ResizeInteractionMode.png]]
Line 61: Line 61:
 
For additional options, right-click the resize interaction mode button.
 
For additional options, right-click the resize interaction mode button.
  
 
+
<br/>
 
==== Auto Size Tool ====
 
==== Auto Size Tool ====
 
[[File:AIBoundEditor_Tools_AutoSize.png]]
 
[[File:AIBoundEditor_Tools_AutoSize.png]]

Latest revision as of 18:14, 2 August 2017

AIBoundEditor.png


Opening the AI Bound Editor

AIBoundProperty.png

A dockpanel containing a Root Template Panel and a Sidebar Panel showing the location of the AI Bounds property


To open the AI Bound Editor to edit the bounds of a character or item:

  1. Open the Root Template Panel and select the root template of the character or item you want to edit
  2. Select and open the Sidebar Panel via View > SideBar or press <Ctrl + B>
  3. Select the "Bounds" property in the PropertyGrid and click the [..] button to the right


Using the AI Bound Editor

AIBoundEditorStepByStep.png

Each component of the AI Grid Panel numbered


The AI Bound Editor has the following components:

  1. Save/Load
  2. AI Bound Properties
  3. AI Bound Editing Tools
  4. Renderview


Save and Load

The save button applies the AI bounds, the load button restores the AI bound properties back to original (how they were when you opened the panel)


AI Bound Properties

The AI bound properties box shows the AI bounds of your template in meters, and consists of 2 components:

  1. AIBoundEditor Properties Type.png
    The AI bound type [1] [2]
  2. AIBoundEditor Properties Bounds.png
    The AI bounds


[1] The AI bound type determines whether the template has no AI bound (None), a cylindrical AI bound (Cylinder) or a box AI bound (Box)
[2] For performance reasons, cylindrical AI bounds are turned off for items


AI Bound Editing Tools

The AI Bound Editor has 2 tools to make editing a root template's AI bounds easier:

  1. The Resize Interaction Mode
  2. The Auto Size Tool


Resize Interaction Mode

AIBoundEditor Tools ResizeInteractionMode.png The resize interaction mode toggle


The resize interaction mode works the same way as the Shape Edit Interaction Mode, providing a visual representation of the template's AI Bounds which you can click and drag.

To use the resize interaction mode:

  1. Make sure your template has the correct AI bounds shape (box or cylinder)
  2. Click the resize interaction mode toggle button
  3. Mouse over the face you want to expand or contract
    1. AIBoundEditor Tools ResizeExample Cylinder.png
      For cylinders, this can be the side (radius) or top (height)
    2. AIBoundEditor Tools ResizeExample Box.png
      For boxes, this can be any individual face (x, z, y), an edge (moves 2 faces) or vertex (moves 3 faces)

For additional options, right-click the resize interaction mode button.


Auto Size Tool

AIBoundEditor Tools AutoSize.png The auto size tool


The auto size tool automatically resizes the AI bounds to fit the template's visual.

To use this tool, simply assign the correct visual to your template and click the auto size button.