struct SNavigationShapeParams { struct FlightNavData { float flyAgentWidth; float flyAgentHeight; float voxelOffsetX; float voxelOffsetY; }; const char * szPathName; EnumAreaType areaType; bool pathIsRoad; bool closed; const Vec3* points; unsigned nPoints; float fHeight; int nNavType; int nAuxType; float fNodeAutoConnectDistance; EWaypointConnections waypointConnections; bool bVehiclesInHumanNav; bool bCalculate3DNav; bool bCritterOnly; EAILightLevel lightLevel; float f3DNavVolumeRadius; float extraLinkCostFactor; float fReductionPerMetre; float fReductionMax; float flyAgentWidth; float flyAgentHeight; FlightNavData flightNavData; const char * szPFPropertiesList; };
IAISystem.h
struct FlightNavData { float flyAgentWidth; float flyAgentHeight; float voxelOffsetX; float voxelOffsetY; };
IAISystem.h
float flyAgentHeight;
float flyAgentWidth;
float voxelOffsetX;
float voxelOffsetY;
FlightNavData();
EnumAreaType areaType;
bool bCalculate3DNav;
bool bCritterOnly;
bool bVehiclesInHumanNav;
bool closed;
float extraLinkCostFactor;
Cost of links going through this shape gets multiplied by (1 + extraCostScale) - should be >= 0 for A* heuristic to be valid.
float f3DNavVolumeRadius;
float fHeight;
FlightNavData flightNavData;
float flyAgentHeight;
float flyAgentWidth;
float fNodeAutoConnectDistance;
float fReductionMax;
float fReductionPerMetre;
size of the triangles to create when it's a nav modifier that adds extra triangles for Parameters for PerceptionModifier
EAILightLevel lightLevel;
int nAuxType;
int nNavType;
unsigned nPoints;
bool pathIsRoad;
const Vec3* points;
const char * szPathName;
const char * szPFPropertiesList;
EWaypointConnections waypointConnections;
SNavigationShapeParams(const char * szPathName = 0, EnumAreaType areaType = AREATYPE_PATH, bool pathIsRoad = true, bool closed = false, const Vec3* points = 0, unsigned nPoints = 0, float fHeight = 0, int nNavType = 0, int nAuxType = 0, EAILightLevel lightLevel = AILL_NONE, float fNodeAutoConnectDistance = 0, EWaypointConnections waypointConnections = WPCON_DESIGNER_NONE, bool bVehiclesInHumanNav = false, bool bCalculate3DNav = true, bool bCritterOnly = false, float f3DNavVolumeRadius = 10.0f, float extraLinkCostFactor = 0.0f, float fReductionPerMetre = 0.0f, float fReductionMax = 1.0f, float flyAgentWidth = 0.0f, float flyAgentHeight = 0.0f, const char* szPFPropertiesList = 0);