Difference between revisions of "AI Bound Editor"

From Divinity Engine Wiki
Jump to: navigation, search
m
Line 35: Line 35:
  
 
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:
# The [[#Auto Size|Auto Size]] Tool
+
# The [[#Auto Size Tool|Auto Size Tool]]
 
# The [[#Resize Interaction Mode|Resize Interaction Mode]]
 
# The [[#Resize Interaction Mode|Resize Interaction Mode]]
  
  
==== Auto Size ====
+
==== Auto Size Tool ====
 
[[File:AIBoundEditor_Tools_AutoSize.png]]
 
[[File:AIBoundEditor_Tools_AutoSize.png]]
<sub></sub>
+
<sub>The auto size tool</sub>
 +
 
 +
 
 +
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.
 +
 
  
 
==== Resize Interaction Mode ====
 
==== Resize Interaction Mode ====
 
[[File:AIBoundEditor_Tools_ResizeInteractionMode.png]]
 
[[File:AIBoundEditor_Tools_ResizeInteractionMode.png]]
<sub></sub>
+
<sub>The resize interaction mode toggle</sub>
 +
 
 +
 
 +
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:
 +
# Make sure your template has the correct AI bounds shape (box or cylinder)
 +
# Click the resize interaction mode toggle button
 +
# Mouse over the face you want to expand or contract
 +
## For cylinders, this can be the side (radius) or top (height)
 +
## 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.

Revision as of 11:40, 2 August 2017

AIBoundEditor.png

The AI Bound Editor

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

AI Bound Properties

AI Bound Editing Tools

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

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


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.


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. For cylinders, this can be the side (radius) or top (height)
    2. 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.