Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Tyrion.AI_CombatMovement

Extends
AI_MovementAction
Modifiers
implements IBooleanGoalCondition editinlinenew

Core.Object
|   
+-- Core.RefCount
   |   
   +-- Engine.Tyrion_ActionBase
      |   
      +-- Tyrion.ActionBase
         |   
         +-- Tyrion.AI_RunnableAction
            |   
            +-- Tyrion.AI_Action
               |   
               +-- Tyrion.AI_MovementAction
                  |   
                  +-- Tyrion.AI_CombatMovement

Constants Summary
COVER_UPDATE_PERIOD=4.0f
DRAW_OUT_DISTANCE=2000.0f
FLANKING_UPDATE_PERIOD=2.0f
PROXIMITY_HYSTERESIS_DRAW_OUT=0.9f
PROXIMITY_HYSTERESIS_STAY_AT_RANGE=0.5f
SIDESTEP_RADIUS=800.0f

Variables Summary
BaseAICharacterai
boolbCover
CombatMovementCategoriescombatMovement
CombatRangeCategoriescombatRange
ACT_ErrorcodeserrorCode
AI_GoalfollowGoal
floatlastCoverUpdateTime
floatlastFlankingUpdateTime
floatlastMovementTime
AI_GoalmoveGoal
VectormovePoint
Character.GroundMovementLevelsmoveSpeed
floatproximityHysteresis
AI_TargetMemorySensortargetMemorySensor
InternalParameters
IFollowFunctionfollowFunction
Pawntarget
Parameters
floatenergyUsage
floatproximity
floatsideStepInterval
Inherited Variables from Tyrion.AI_Action
achievingGoal, childGoals, heuristicValue, nsChild, resourceUsage, satisfiesGoal, waitingForGoalsN

Functions Summary
functionbool bValidLocation (Vector loc ))
function cleanup ()))
functionVector getBackupPoint ()))
functionVector getCoverPoint ()))
functionVector getFlankPoint ()))
functionVector getSidestepPoint ()))
function goalNotAchievedCB (AI_Goal goal, AI_Action child, ACT_ErrorCodes anErrorCode ))
functionbool goalTest (AI_Goal goal ))
functionfloat proximityFunction ()))
Inherited Functions from Tyrion.AI_MovementAction
baseAIcharacter, character, characterResource, classConstruct, findResource, getResourceClass, movementResource, rook, runAction
Inherited Functions from Tyrion.AI_Action
fail, getChildReference, getResource, goalAchievedCB, goalNotAchievedCB, initAction, instantFail, instantSucceed, interruptAction, interruptGoalIf, myAddRef, OnSensorMessage, removeAction, removeChildReference, resourceStolenCB, runAction, selectionHeuristic, setChildReference, succeed, waitForAllGoals, waitForAllGoalsConsidered, waitForAllGoalsInList, waitForAnyGoal, waitForGoal, waitForResourcesAvailable

States Summary
Running Source code
state Running


Constants Detail

COVER_UPDATE_PERIOD Source code

const COVER_UPDATE_PERIOD = 4.0f;

DRAW_OUT_DISTANCE Source code

const DRAW_OUT_DISTANCE = 2000.0f;

FLANKING_UPDATE_PERIOD Source code

const FLANKING_UPDATE_PERIOD = 2.0f;

PROXIMITY_HYSTERESIS_DRAW_OUT Source code

const PROXIMITY_HYSTERESIS_DRAW_OUT = 0.9f;

PROXIMITY_HYSTERESIS_STAY_AT_RANGE Source code

const PROXIMITY_HYSTERESIS_STAY_AT_RANGE = 0.5f;

SIDESTEP_RADIUS Source code

const SIDESTEP_RADIUS = 800.0f;


Variables Detail

ai Source code

var BaseAICharacter ai;

bCover Source code

var bool bCover;

combatMovement Source code

var CombatMovementCategories combatMovement;

combatRange Source code

var CombatRangeCategories combatRange;

errorCode Source code

var ACT_Errorcodes errorCode;

followGoal Source code

var AI_Goal followGoal;

lastCoverUpdateTime Source code

var float lastCoverUpdateTime;

lastFlankingUpdateTime Source code

var float lastFlankingUpdateTime;

lastMovementTime Source code

var float lastMovementTime;

moveGoal Source code

var AI_Goal moveGoal;

movePoint Source code

var Vector movePoint;

moveSpeed Source code

var Character.GroundMovementLevels moveSpeed;

proximityHysteresis Source code

var float proximityHysteresis;

targetMemorySensor Source code

var AI_TargetMemorySensor targetMemorySensor;

InternalParameters

followFunction Source code

var(InternalParameters) editconst IFollowFunction followFunction;

target Source code

var(InternalParameters) editconst Pawn target;

Parameters

energyUsage Source code

var(Parameters) float energyUsage;

proximity Source code

var(Parameters) float proximity;

sideStepInterval Source code

var(Parameters) float sideStepInterval;
how frequently AI's side steps when in CM_SIDE_STEP


Functions Detail

bValidLocation Source code

private final function bool bValidLocation ( Vector loc ) )

cleanup Source code

function cleanup ( ) )

getBackupPoint Source code

private final function Vector getBackupPoint ( ) )

getCoverPoint Source code

private final function Vector getCoverPoint ( ) )

getFlankPoint Source code

private final function Vector getFlankPoint ( ) )

getSidestepPoint Source code

private final function Vector getSidestepPoint ( ) )

goalNotAchievedCB Source code

function goalNotAchievedCB ( AI_Goal goal, AI_Action child, ACT_ErrorCodes anErrorCode ) )

goalTest Source code

static function bool goalTest ( AI_Goal goal ) )

proximityFunction Source code

private final function float proximityFunction ( ) )


Defaultproperties

defaultproperties
{
	satisfiesGoal = class'AI_CombatMovementGoal'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:26.607 - Created with UnCodeX