Jump to content

AI Question


Make7

Recommended Posts

A path grid is a set of points and the lines connecting said points in an interior or exterior cell. NPCs that have a Wander AI package with a nonzero distance travel along the lines of a cell's path grid, picking the point that they are going to travel to next at random from the list of points that are connected to their current point via a line, then travelling to that point along the path specified by the line connecting their current point to their next point. To access a cell's path grid, go into the World menu and select the option for editing a path grid. By default, right-clicking creates a new point, F floors the point, left-clicking selects it, delete removes it, and holding down shift and left-clicking on a point with another selected creates a line between the two points. If you want to get a more flexible view of a cell's path grid and where the path grids of seperate cells connect, the console command TPG can be entered in-game to view the path grids.

 

To view cell boundaries, I believe you must press either V or C with the render window active. Cell boundaries are only displayed on the landscape, not objects (Such as buildings).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...