BVB Source Codes

CRYENGINE Show AIConsoleVariables.h Source code

Return Download CRYENGINE: download AIConsoleVariables.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef AICONSOLEVARIABLES_H
  4. #define AICONSOLEVARIABLES_H
  5.  
  6. struct AIConsoleVars
  7. {
  8.         // cppcheck-suppress uninitMemberVar
  9.         AIConsoleVars() {}
  10.  
  11.         void Init();
  12.  
  13.         DeclareConstIntCVar(UseCalculationStopperCounter, 0);
  14.         DeclareConstIntCVar(DebugDraw, -1);
  15.  
  16.         DeclareConstIntCVar(CoverMaxEyeCount, 2);
  17.         DeclareConstIntCVar(DebugDrawCover, 0);
  18.         DeclareConstIntCVar(DebugDrawCoverOccupancy, 0);
  19.         DeclareConstIntCVar(DebugDrawNavigation, 0);
  20.         DeclareConstIntCVar(IslandConnectionsSystemProfileMemory, 0);
  21.         DeclareConstIntCVar(DebugDrawNavigationWorldMonitor, 0);
  22.         DeclareConstIntCVar(NavigationSystemMT, 1);
  23.         DeclareConstIntCVar(NavGenThreadJobs, 1);
  24.         DeclareConstIntCVar(DebugDrawCoverPlanes, 0);
  25.         DeclareConstIntCVar(DebugDrawCoverLocations, 0);
  26.         DeclareConstIntCVar(DebugDrawCoverSampler, 0);
  27.         DeclareConstIntCVar(DebugDrawDynamicCoverSampler, 0);
  28.         DeclareConstIntCVar(CoverSystem, 1);
  29.         DeclareConstIntCVar(CoverExactPositioning, 0);
  30.         DeclareConstIntCVar(NetworkDebug, 0);
  31.         DeclareConstIntCVar(DebugDrawHideSpotRange, 0);
  32.         DeclareConstIntCVar(DebugDrawDynamicHideObjectsRange, 0);
  33.         DeclareConstIntCVar(DebugDrawVolumeVoxels, 0);
  34.         DeclareConstIntCVar(DebugPathFinding, 0);
  35.         DeclareConstIntCVar(DebugCheckWalkability, 0);
  36.         DeclareConstIntCVar(DebugWalkabilityCache, 0);
  37.         DeclareConstIntCVar(DebugDrawBannedNavsos, 0);
  38.         DeclareConstIntCVar(DebugDrawGroups, 0);
  39.         DeclareConstIntCVar(DebugDrawCoolMisses, 0);
  40.         DeclareConstIntCVar(DebugDrawFireCommand, 0);
  41.         DeclareConstIntCVar(UseSimplePathfindingHeuristic, 0);
  42.  
  43.         DeclareConstIntCVar(DebugDrawCommunication, 0);
  44.         DeclareConstIntCVar(DebugDrawCommunicationHistoryDepth, 5);
  45.         DeclareConstIntCVar(RecordCommunicationStats, 0);
  46.         DeclareConstIntCVar(CommunicationForceTestVoicePack, 0);
  47.         DeclareConstIntCVar(SoundPerception, 1);
  48.         DeclareConstIntCVar(IgnorePlayer, 0);
  49.         DeclareConstIntCVar(IgnoreVisibilityChecks, 0);
  50.         DeclareConstIntCVar(DrawModifiers, 0);
  51.         DeclareConstIntCVar(AllTime, 0);
  52.         DeclareConstIntCVar(ProfileGoals, 0);
  53.         DeclareConstIntCVar(BeautifyPath, 1);
  54.         DeclareConstIntCVar(PathStringPullingIterations, 5);
  55.         DeclareConstIntCVar(AttemptStraightPath, 1);
  56.         DeclareConstIntCVar(PredictivePathFollowing, 1);
  57.         DeclareConstIntCVar(CrowdControlInPathfind, 0);
  58.         DeclareConstIntCVar(DebugDrawCrowdControl, 0);
  59.         DeclareConstIntCVar(UpdateProxy, 1);
  60.         DeclareConstIntCVar(DrawType, -1);
  61.         DeclareConstIntCVar(AdjustPathsAroundDynamicObstacles, 1);
  62.         DeclareConstIntCVar(DrawFormations, 0);
  63.         DeclareConstIntCVar(DrawSmartObjects, 0);
  64.         DeclareConstIntCVar(DrawReadibilities, 0);
  65.         DeclareConstIntCVar(DrawGoals, 0);
  66.         DeclareConstIntCVar(DrawNodeLinkType, 0);
  67.         DeclareConstIntCVar(DrawTargets, 0);
  68.         DeclareConstIntCVar(DrawBadAnchors, -1);
  69.         DeclareConstIntCVar(DrawStats, 0);
  70.         DeclareConstIntCVar(DrawAttentionTargetsPosition, 0);
  71.         DeclareConstIntCVar(DrawHideSpotSearchRays, 0);
  72.  
  73.         DeclareConstIntCVar(DebugDrawVegetationCollisionDist, 0);
  74.         DeclareConstIntCVar(RecordLog, 0);
  75.         DeclareConstIntCVar(DrawTrajectory, 0);
  76.         DeclareConstIntCVar(DrawHideSpots, 0);
  77.         DeclareConstIntCVar(DrawRadar, 0);
  78.         DeclareConstIntCVar(DrawRadarDist, 20);
  79.         DeclareConstIntCVar(DebugRecordAuto, 0);
  80.         DeclareConstIntCVar(DebugRecordBuffer, 1024);
  81.         DeclareConstIntCVar(DrawGroupTactic, 0);
  82.         DeclareConstIntCVar(UpdateAllAlways, 0);
  83.         DeclareConstIntCVar(DrawDistanceLUT, 0);
  84.         DeclareConstIntCVar(DrawAreas, 0);
  85.         DeclareConstIntCVar(DrawProbableTarget, 0);
  86.         DeclareConstIntCVar(DebugDrawDamageParts, 0);
  87.         DeclareConstIntCVar(DebugDrawStanceSize, 0);
  88.         DeclareConstIntCVar(DebugDrawUpdate, 0);
  89.         DeclareConstIntCVar(DebugDrawEnabledActors, 0);
  90.         DeclareConstIntCVar(DebugDrawEnabledPlayers, 0);
  91.         DeclareConstIntCVar(DebugDrawLightLevel, 0);
  92.         DeclareConstIntCVar(DebugDrawPhysicsAccess, 0);
  93.         DeclareConstIntCVar(RayCasterQuota, 12);
  94.         DeclareConstIntCVar(IntersectionTesterQuota, 12);
  95.         DeclareConstIntCVar(AmbientFireEnable, 1);
  96.         DeclareConstIntCVar(DebugDrawAmbientFire, 0);
  97.         DeclareConstIntCVar(PlayerAffectedByLight, 1);
  98.         DeclareConstIntCVar(DebugDrawExpensiveAccessoryQuota, 0);
  99.         DeclareConstIntCVar(DebugTargetSilhouette, 0);
  100.         DeclareConstIntCVar(DebugDrawDamageControl, 0);
  101.         DeclareConstIntCVar(DrawFakeTracers, 0);
  102.         DeclareConstIntCVar(DrawFakeHitEffects, 0);
  103.         DeclareConstIntCVar(DrawFakeDamageInd, 0);
  104.         DeclareConstIntCVar(DrawPlayerRanges, 0);
  105.         DeclareConstIntCVar(DrawPerceptionIndicators, 0);
  106.         DeclareConstIntCVar(DrawPerceptionDebugging, 0);
  107.         DeclareConstIntCVar(DrawPerceptionModifiers, 0);
  108.         DeclareConstIntCVar(DebugPerceptionManager, 0);
  109.         DeclareConstIntCVar(DebugGlobalPerceptionScale, 0);
  110.         DeclareConstIntCVar(TargetTracking, 1);
  111.         DeclareConstIntCVar(TargetTracks_GlobalTargetLimit, 0);
  112.         DeclareConstIntCVar(TargetTracks_TargetDebugDraw, 0);
  113.         DeclareConstIntCVar(TargetTracks_ConfigDebugDraw, 0);
  114.  
  115.         DeclareConstIntCVar(ForceStance, -1);
  116.         DeclareConstIntCVar(ForceAllowStrafing, -1);
  117.  
  118.         DeclareConstIntCVar(DebugDrawAdaptiveUrgency, 0);
  119.         DeclareConstIntCVar(DebugDrawReinforcements, -1);
  120.         DeclareConstIntCVar(DebugDrawPlayerActions, 0);
  121.         DeclareConstIntCVar(DrawCollisionEvents, 0);
  122.         DeclareConstIntCVar(DrawBulletEvents, 0);
  123.         DeclareConstIntCVar(DrawSoundEvents, 0);
  124.         DeclareConstIntCVar(DrawGrenadeEvents, 0);
  125.         DeclareConstIntCVar(DrawExplosions, 0);
  126.  
  127.         DeclareConstIntCVar(SimpleWayptPassability, 1);
  128.  
  129.         DeclareConstIntCVar(WaterOcclusionEnable, 1);
  130.  
  131.         DeclareConstIntCVar(EnablePerceptionStanceVisibleRange, 0);
  132.         DeclareConstIntCVar(IgnoreVisualStimulus, 0);
  133.         DeclareConstIntCVar(IgnoreSoundStimulus, 0);
  134.         DeclareConstIntCVar(IgnoreBulletRainStimulus, 0);
  135.  
  136.         // Interest system
  137.         DeclareConstIntCVar(InterestSystem, 1);
  138.         DeclareConstIntCVar(DebugInterest, 0);
  139.         DeclareConstIntCVar(InterestSystemCastRays, 1);
  140.  
  141.         // Code coverage
  142.         DeclareConstIntCVar(CodeCoverage, 0);
  143.  
  144.         // Path Follower
  145.         DeclareConstIntCVar(UseSmartPathFollower, 1);
  146.         DeclareConstIntCVar(SmartpathFollower_UseAABB_CheckWalkibility, 1);
  147.         DeclareConstIntCVar(SmartPathFollower_useAdvancedPathShortcutting, 1);
  148.         DeclareConstIntCVar(SmartPathFollower_useAdvancedPathShortcutting_debug, 0);
  149.  
  150.         DeclareConstIntCVar(DrawPathFollower, 0);
  151.  
  152.         DeclareConstIntCVar(MNMPathfinderMT, 1);
  153.         DeclareConstIntCVar(MNMPathfinderConcurrentRequests, 4);
  154.         DeclareConstIntCVar(MNMRaycastImplementation, 1);
  155.  
  156.         DeclareConstIntCVar(LogConsoleVerbosity, 0);
  157.         DeclareConstIntCVar(LogFileVerbosity, 0);
  158.         DeclareConstIntCVar(EnableWarningsErrors, 0);
  159.  
  160.         DeclareConstIntCVar(Recorder, 0);
  161.         DeclareConstIntCVar(StatsDisplayMode, 0);
  162.  
  163.         DeclareConstIntCVar(VisionMapNumberOfPVSUpdatesPerFrame, 1);
  164.         DeclareConstIntCVar(VisionMapNumberOfVisibilityUpdatesPerFrame, 1);
  165.  
  166.         DeclareConstIntCVar(DebugDrawVisionMap, 0);
  167.         DeclareConstIntCVar(DebugDrawVisionMapStats, 1);
  168.         DeclareConstIntCVar(DebugDrawVisionMapVisibilityChecks, 1);
  169.         DeclareConstIntCVar(DebugDrawVisionMapObservers, 1);
  170.         DeclareConstIntCVar(DebugDrawVisionMapObserversFOV, 0);
  171.         DeclareConstIntCVar(DebugDrawVisionMapObservables, 1);
  172.  
  173.         DeclareConstIntCVar(DrawFireEffectEnabled, 1);
  174.  
  175.         DeclareConstIntCVar(AllowedToHitPlayer, 1);
  176.         DeclareConstIntCVar(AllowedToHit, 1);
  177.         DeclareConstIntCVar(EnableCoolMisses, 1);
  178.  
  179.         DeclareConstIntCVar(DynamicHidespotsEnabled, 0);
  180.  
  181.         DeclareConstIntCVar(ForceSerializeAllObjects, 0);
  182.  
  183.         DeclareConstIntCVar(EnableORCA, 1);
  184.         DeclareConstIntCVar(CollisionAvoidanceUpdateVelocities, 1);
  185.         DeclareConstIntCVar(CollisionAvoidanceEnableRadiusIncrement, 1);
  186.         DeclareConstIntCVar(CollisionAvoidanceClampVelocitiesWithNavigationMesh, 0);
  187.         DeclareConstIntCVar(DebugDrawCollisionAvoidance, 0);
  188.  
  189.         DeclareConstIntCVar(BubblesSystemAlertnessFilter, 7);
  190.         DeclareConstIntCVar(BubblesSystemUseDepthTest, 0);
  191.         DeclareConstIntCVar(BubblesSystemAllowPrototypeDialogBubbles, 0);
  192.  
  193.         DeclareConstIntCVar(PathfinderDangerCostForAttentionTarget, 5);
  194.         DeclareConstIntCVar(PathfinderDangerCostForExplosives, 2);
  195.         DeclareConstIntCVar(PathfinderAvoidanceCostForGroupMates, 2);
  196.         float PathfinderExplosiveDangerRadius;
  197.         float PathfinderExplosiveDangerMaxThreatDistance;
  198.         float PathfinderGroupMatesAvoidanceRadius;
  199.  
  200.         DeclareConstIntCVar(DebugMovementSystem, 0);
  201.         DeclareConstIntCVar(DebugMovementSystemActorRequests, 0);
  202.         DeclareConstIntCVar(OutputPersonalLogToConsole, 0);
  203.         DeclareConstIntCVar(DrawModularBehaviorTreeStatistics, 0);
  204.         DeclareConstIntCVar(LogModularBehaviorTreeExecutionStacks, 0);
  205.  
  206.         DeclareConstIntCVar(MNMPathfinderPositionInTrianglePredictionType, 1);
  207.  
  208.         int         MovementSystemPathReplanningEnabled;
  209.  
  210.         const char* DrawPath;
  211.         const char* DrawPathAdjustment;
  212.  
  213.         float       CheckWalkabilityOptimalSectionLength;
  214.         float       TacticalPointUpdateTime;
  215.         const char* CompatibilityMode;
  216.         float       AllowedTimeForPathfinding;
  217.         float       PathfinderUpdateTime;
  218.         float       DrawAgentFOV;
  219.         const char* FilterAgentName;
  220.         float       AgentStatsDist;
  221.         int         AiSystem;
  222.         float       DebugDrawArrowLabelsVisibilityDistance;
  223.         const char* DebugDrawAStarOpenList;
  224.         float       DebugDrawAStarOpenListTime;
  225.         float       DebugCheckWalkabilityRadius;
  226.  
  227.         float       CoverPredictTarget;
  228.         float       CoverSpacing;
  229.  
  230.         const char* StatsTarget;
  231.         const char* DebugBehaviorSelection;
  232.         float       AIUpdateInterval;
  233.         float       DynamicWaypointUpdateTime;
  234.         float       DynamicVolumeUpdateTime;
  235.         float       LayerSwitchDynamicLinkBump;
  236.         int         LayerSwitchDynamicLinkBumpDuration;
  237.  
  238.         float       CollisionAvoidanceAgentExtraFat;
  239.         float       CollisionAvoidanceRadiusIncrementIncreaseRate;
  240.         float       CollisionAvoidanceRadiusIncrementDecreaseRate;
  241.         float       CollisionAvoidanceRange;
  242.         float       CollisionAvoidanceTargetCutoffRange;
  243.         float       CollisionAvoidancePathEndCutoffRange;
  244.         float       CollisionAvoidanceSmartObjectCutoffRange;
  245.         float       CollisionAvoidanceTimeStep;
  246.         float       CollisionAvoidanceMinSpeed;
  247.         float       CollisionAvoidanceAgentTimeHorizon;
  248.         float       CollisionAvoidanceObstacleTimeHorizon;
  249.         float       DebugCollisionAvoidanceForceSpeed;
  250.         const char* DebugDrawCollisionAvoidanceAgentName;
  251.  
  252.         const char* DrawRefPoints;
  253.         const char* DrawNode;
  254.         float       DrawNodeLinkCutoff;
  255.         const char* DrawLocate;
  256.         float       DebugDrawOffset;
  257.         float       SteepSlopeUpValue;
  258.         float       SteepSlopeAcrossValue;
  259.         float       ExtraRadiusDuringBeautification;
  260.         float       ExtraForbiddenRadiusDuringBeautification;
  261.         const char* DrawShooting;
  262.         float       BurstWhileMovingDestinationRange;
  263.         const char* DrawAgentStats;
  264.  
  265.         const char* DebugHideSpotName;
  266.  
  267.         float       SOMSpeedRelaxed;
  268.         float       SOMSpeedCombat;
  269.  
  270.         float       SightRangeSuperDarkIllumMod;
  271.         float       SightRangeDarkIllumMod;
  272.         float       SightRangeMediumIllumMod;
  273.  
  274.         float       RODAliveTime;
  275.         float       RODMoveInc;
  276.         float       RODStanceInc;
  277.         float       RODDirInc;
  278.         float       RODAmbientFireInc;
  279.         float       RODKillZoneInc;
  280.         float       RODFakeHitChance;
  281.  
  282.         float       RODKillRangeMod;
  283.         float       RODCombatRangeMod;
  284.  
  285.         float       RODReactionTime;
  286.         float       RODReactionSuperDarkIllumInc;
  287.         float       RODReactionDarkIllumInc;
  288.         float       RODReactionMediumIllumInc;
  289.         float       RODReactionDistInc;
  290.         float       RODReactionDirInc;
  291.         float       RODReactionLeanInc;
  292.  
  293.         float       RODLowHealthMercyTime;
  294.  
  295.         float       RODCoverFireTimeMod;
  296.  
  297.         int         AmbientFireQuota;
  298.         float       AmbientFireUpdateInterval;
  299.  
  300.         const char* DrawPerceptionHandlerModifiers;
  301.         const char* TargetTracks_AgentDebugDraw;
  302.         const char* TargetTracks_ConfigDebugFilter;
  303.         const char* DrawAgentStatsGroupFilter;
  304.  
  305.         int         DrawSelectedTargets;
  306.  
  307.         const char* ForceAGAction;
  308.         const char* ForceAGSignal;
  309.         const char* ForcePosture;
  310.         const char* ForceLookAimTarget;
  311.  
  312.         float       BannedNavSoTime;
  313.         float       WaterOcclusionScale;
  314.  
  315.         float       MinActorDynamicObstacleAvoidanceRadius;
  316.         float       ExtraVehicleAvoidanceRadiusBig;
  317.         float       ExtraVehicleAvoidanceRadiusSmall;
  318.         float       ObstacleSizeThreshold;
  319.         float       DrawGetEnclosingFailures;
  320.  
  321.         // Perception handler override
  322.         float       CrouchVisibleRange;
  323.         float       ProneVisibleRange;
  324.  
  325.         int         MNMDebugAccessibility; // TODO: remove
  326.  
  327.         int         MNMEditorBackgroundUpdate;
  328.  
  329.         float       MNMPathFinderQuota;
  330.         int         MNMPathFinderDebug;
  331.  
  332.         int         MNMProfileMemory;
  333.  
  334.         int         MNMAllowDynamicRegenInEditor;
  335.  
  336.         int         EnableBubblesSystem;
  337.         float       BubblesSystemFontSize;
  338.         float       BubblesSystemDecayTime;
  339.         const char* BubblesSystemNameFilter;
  340.  
  341.         float       OverlayMessageDuration;
  342.         float       DrawFireEffectDecayRange;
  343.         float       DrawFireEffectMinDistance;
  344.         float       DrawFireEffectMinTargetFOV;
  345.         float       DrawFireEffectMaxAngle;
  346.         float       DrawFireEffectTimeScale;
  347.  
  348.         float       CoolMissesBoxSize;
  349.         float       CoolMissesBoxHeight;
  350.         float       CoolMissesMinMissDistance;
  351.         float       CoolMissesMaxLightweightEntityMass;
  352.         float       CoolMissesProbability;
  353.         float       CoolMissesCooldown;
  354.  
  355.         float       SmartPathFollower_LookAheadDistance;
  356.         float       SmartPathFollower_LookAheadPredictionTimeForMovingAlongPathWalk;
  357.         float       SmartPathFollower_LookAheadPredictionTimeForMovingAlongPathRunAndSprint;
  358.         float       SmartPathFollower_decelerationHuman;
  359.         float       SmartPathFollower_decelerationVehicle;
  360.  
  361.         float       LobThrowMinAllowedDistanceFromFriends;
  362.         float       LobThrowTimePredictionForFriendPositions;
  363.         float       LobThrowPercentageOfDistanceToTargetUsedForInaccuracySimulation;
  364.         DeclareConstIntCVar(LobThrowSimulateRandomInaccuracy, 0);
  365.  
  366.         int         LogSignals;
  367.  
  368.         int         ModularBehaviorTree;
  369.         int         DebugTimestamps;
  370.  
  371.         float       CommunicationManagerHeightThresholdForTargetPosition;
  372.  
  373.         static void CommTest(IConsoleCmdArgs* args);
  374.         static void CommTestStop(IConsoleCmdArgs* args);
  375.         static void CommWriteStats(IConsoleCmdArgs* args);
  376.         static void CommResetStats(IConsoleCmdArgs* args);
  377.         static void DebugMNMAgentType(IConsoleCmdArgs* args);
  378.         static void MNMCalculateAccessibility(IConsoleCmdArgs* args); // TODO: Remove when the seeds work
  379.         static void MNMComputeConnectedIslands(IConsoleCmdArgs* args);
  380.         static void NavigationReloadConfig(IConsoleCmdArgs* args);
  381.         static void DebugAgent(IConsoleCmdArgs* args);
  382.         static void AIBubblesNameFilterCallback(ICVar* pCvar);
  383. };
  384.  
  385. #endif
  386.  
downloadAIConsoleVariables.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top