Difference between revisions of "AI grid panel"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
Line 18: Line 18:
  
  
To open up the AI Grid Panel, click the "AI Grid" [[Menu]] item in the menu bar
+
To open up the AI Grid Panel, click the "AI Grid" [[Menu]] item in the menu bar.
  
  
Line 33: Line 33:
  
  
The auto reload option sets whether or not the AI grids will automatically be reloaded after exiting game mode.
+
The auto reload option sets whether or not the AI grids will automatically be reloaded after exiting game mode.<br />
If this option is checked, any in-game changes to the AI grid (e.g. surfaces from spells cast) will be undone upon exiting game mode.
+
If this option is checked, any in-game changes to the AI grid (e.g. surfaces from spells cast) will be undone upon exiting game mode.<br />
If this option is not checked, changes made in-game will remain after leaving the game mode, but it will not be possible to modify the AI grid in editor mode without reloading the AI grid first
+
If this option is not checked, changes made in-game will remain after leaving the game mode, but it will not be possible to modify the AI grid in editor mode without reloading the AI grid first.
  
  
 
[[File:AIGridPanel_InteractionModes.png|none|500px]]
 
[[File:AIGridPanel_InteractionModes.png|none|500px]]
<sub>The [[#The Interaction Modes|interaction mode toggles]]<sub>
+
<sub>The interaction mode toggles<sub>
 +
 
 +
 
 +
The interaction mode toggles are used to activate their respective [[#The Interaction Modes|interaction modes]] and are only enabled if the current tab uses that interaction mode.
  
  
Line 45: Line 48:
 
[[File:AIGridPanel_Tab_Generate.png|none|500px]]
 
[[File:AIGridPanel_Tab_Generate.png|none|500px]]
 
<sub>The generate tab</sub>
 
<sub>The generate tab</sub>
 +
 +
 +
The Generate tab has 2 major features:
 +
 +
* Partial generation of one or more selected grids within the selected area (see [[#The AI Select Interaction Mode|the AI Select Interaction Mode]])
 +
* Full generation of one or more selected grids
  
  
Line 50: Line 59:
 
[[File:AIGridPanel_Tab_PaintMovement.png|none|500px]]
 
[[File:AIGridPanel_Tab_PaintMovement.png|none|500px]]
 
<sub>The paint movement tab</sub>
 
<sub>The paint movement tab</sub>
 +
 +
 +
The Paint Movement tab together with either the [[#The AI Paint Circle Interaction Mode|paint circle]] or [[#The AI Paint Square Interaction Mode|paint square]] interaction mode can be used to manually modify the walkable areas of your level.
 +
 +
To change which areas are walkable:
 +
# Select which AI grid layer you want to modify (either the movement layer for characters or the projectile layer for projectiles)
 +
# Select whether you want an area to be walkable (Allow) or not walkable (Block)
 +
# Select which interaction mode you want to use (round or square brush)
 +
# Begin painting!
 +
 +
 +
An AI grid regeneration is not needed after changing the walkable tiles.
  
  
Line 55: Line 76:
 
[[File:AIGridPanel_Tab_PaintSurfaces.png|none|500px]]
 
[[File:AIGridPanel_Tab_PaintSurfaces.png|none|500px]]
 
<sub>The paint surfaces tab</sub>
 
<sub>The paint surfaces tab</sub>
 +
 +
 +
The Paint Surfaces tab together with either the [[#The AI Paint Circle Interaction Mode|paint circle]] or [[#The AI Paint Square Interaction Mode|paint square]] interaction mode can be used to paint surfaces in your level.
 +
 +
To paint surfaces in your level:
 +
# Select which layer you want to paint (Ground or Cloud)
 +
# Select which surfaces you want to paint (e.g. Water, Fire, Poison)
 +
# Select whether you want the surface to be Cursed, Blessed or neither
 +
# Select whether you want the surface to be Frozen, Electrified or neither
 +
# Begin painting!
 +
 +
 +
An AI grid regeneration is not needed after painting surfaces
  
  

Revision as of 12:57, 1 August 2017

Overview

Overview.png

All 3 tabs of the AI Grid Panel


The AI Grid Panel is a panel that allows you to interact with the AI Grid. The panel has 5 major features:


Using the AI Grid Panel

AIGridMenuIcon.png

The menu item that opens the AI Grid Panel


To open up the AI Grid Panel, click the "AI Grid" Menu item in the menu bar.


The Header

AIGridPanel Header SaveLoad.png

The Save/Load options


The save and load buttons on the AI Grid Panel will save/load the AI Grid, the Material Grid and the Vision Grid. When loading, you will be prompted to save first if there are any unsaved changes. If you choose not to save, any changes made will be discarded.


AIGridPanel Header AutoReload.png

The auto reload toggle


The auto reload option sets whether or not the AI grids will automatically be reloaded after exiting game mode.
If this option is checked, any in-game changes to the AI grid (e.g. surfaces from spells cast) will be undone upon exiting game mode.
If this option is not checked, changes made in-game will remain after leaving the game mode, but it will not be possible to modify the AI grid in editor mode without reloading the AI grid first.


AIGridPanel InteractionModes.png

The interaction mode toggles


The interaction mode toggles are used to activate their respective interaction modes and are only enabled if the current tab uses that interaction mode.


The Generate Tab

AIGridPanel Tab Generate.png

The generate tab


The Generate tab has 2 major features:

  • Partial generation of one or more selected grids within the selected area (see the AI Select Interaction Mode)
  • Full generation of one or more selected grids


The Paint Movement Tab

AIGridPanel Tab PaintMovement.png

The paint movement tab


The Paint Movement tab together with either the paint circle or paint square interaction mode can be used to manually modify the walkable areas of your level.

To change which areas are walkable:

  1. Select which AI grid layer you want to modify (either the movement layer for characters or the projectile layer for projectiles)
  2. Select whether you want an area to be walkable (Allow) or not walkable (Block)
  3. Select which interaction mode you want to use (round or square brush)
  4. Begin painting!


An AI grid regeneration is not needed after changing the walkable tiles.


The Paint Surfaces Tab

AIGridPanel Tab PaintSurfaces.png

The paint surfaces tab


The Paint Surfaces tab together with either the paint circle or paint square interaction mode can be used to paint surfaces in your level.

To paint surfaces in your level:

  1. Select which layer you want to paint (Ground or Cloud)
  2. Select which surfaces you want to paint (e.g. Water, Fire, Poison)
  3. Select whether you want the surface to be Cursed, Blessed or neither
  4. Select whether you want the surface to be Frozen, Electrified or neither
  5. Begin painting!


An AI grid regeneration is not needed after painting surfaces


The Show Grid Options

AIGridPanel Footer Expanded.png

All the grid visualization options


The Interaction Modes

AIGridPanel InteractionModes.png

The interaction mode toggles


The AI Grid Panel features 3 Interaction Modes:


  • The AI Select interaction mode, which allows you to select cells on the AI Grid for a partial regenerate of the AI Grid
  • The Paint Circle interaction mode, which allows you to paint movement or surfaces with a round brush
  • The Paint Square interaction mode, which allows you to paint movement or surfaces with a square brush


The AI Select Interaction Mode

InteractionModeAISelect.png

The AI Select interaction mode toggle


The AI Paint Circle Interaction Mode

InteractionModePaintCircle.png

The Paint Circle interaction mode toggle


The AI Paint Square Interaction Mode

InteractionModePaintSquare.png

The Paint Square interaction mode toggle