Cogito, ergo sum

UE2:U2NPCControllerBaseOld (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Package: 
U2AIOld
Direct subclasses:
AtlantisControllerOld, U2NPCControllerAdvancedOld

U2NPCControllerBaseOld.uc Created By: Steve Polge, Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/17/02 8:33p $ $Revision: 56 $ NOTE (mdf): U2AIOld used for bot support only

Constants[edit]

AttackingState[edit]

Value: 'Attacking'

master attack state -- decide what to do

FallingState[edit]

Value: 'Falling'

falling

TakeHitState[edit]

Value: 'TakeHit'


ContinueWanderLabel[edit]

Value: 'ContinueWander'


FallSpecialLabel[edit]

Value: 'FallSpecial'


FallLongLabel[edit]

Value: 'FallLong'


FireWhileFallingLabel[edit]

Value: 'FallWhileFiring'


LandedLabel[edit]

Value: 'Landed'


PausingLabel[edit]

Value: 'Pausing'


PlayOutLabel[edit]

Value: 'PlayOut'


SplashLabel[edit]

Value: 'Splash'


TakeHitLabel[edit]

Value: 'TakeHit'


NonRangedFireTimerName[edit]

Value: 'NonRangedFireTimer'


HoldReachedDistance2D[edit]

Value: 16.0


HoldReachedDistanceSquared2D[edit]

Value: 256.0


MinMoveSpeedMultiplier[edit]

Value: 0.05


Properties[edit]

Aggressiveness[edit]

Type: float

0.0 to 1.0 ( typically )

Default value: 0.3

AmbushSpot[edit]

Type: AmbushPoint

current AmbushSpot if applicable

AttackNonRangedCheckRate[edit]

Type: float

rate at which to check for firing situation in attack states apart from ranged attack

Default value: 1.0

AttackNonRangedFailedRate[edit]

Type: float

inreased rate to use if check at AttackNonRangedCheckRate failed

Default value: 1.0

AttackReadyToAttackOdds[edit]

Type: float

!!mdf hack

Default value: 0.15

AttackStationaryStopTime[edit]

Type: float


bBigJump[edit]

Type: bool


bCamping[edit]

Type: bool


bCampOnlyOnce[edit]

Type: bool


bChangeDir[edit]

Type: bool

tactical move boolean

bClearShot[edit]

Type: bool


bDeviousHunting[edit]

Type: bool

if true, try to sneak up behind enemy when hunting

bFireFalling[edit]

Type: bool


bFiringPaused[edit]

Type: bool

!!mdf-tbd: pbly broken at this point...

bFrustrated[edit]

Type: bool


bGathering[edit]

Type: bool


bGoosedTimer[edit]

Type: bool

!!mdf hack

bInitLifeMessage[edit]

Type: bool


bIsPaused[edit]

Type: bool

is the script paused? (i.e. by dialog)

bKamikaze[edit]

Type: bool


bLeading[edit]

Type: bool

set when NPC attacking and has followers

BlockedPath[edit]

Type: NavigationPoint


bMustHunt[edit]

Type: bool


bNoShootDecor[edit]

Type: bool

set to true to prevent NPC from targetting a decoration 2x within Roaming state (cleared on entering Roaming state)

bReadyToAttack[edit]

Type: bool

can attack again

bSniping[edit]

Type: bool

mdf-tbd: approach changed in 777?

bStationary[edit]

Type: bool

if set NPC can only rotate/aim

bStayFreelance[edit]

Type: bool

in UT was used by assault to force bot to stay freelancing? Never true currently.

bStrafeDir[edit]

Type: bool


bTriedLastDetectedLocation[edit]

Type: bool

used with hunting state

bWantsToCamp[edit]

Type: bool


CampTime[edit]

Type: float


DefaultMeleeAttackState[edit]

Type: name


Default value: AttackMelee

HidingSpot[edit]

Type: Object.Vector


LastAttractCheck[edit]

Type: float


LastCampCheck[edit]

Type: float


LastInvFind[edit]

Type: float


LastPainAnim[edit]

Type: name


MaxHuntTime[edit]

Type: float


Default value: 30.0

MaxMoveToActorAttemptsRoaming[edit]

Type: int


Default value: 2

NextLabel[edit]

Type: name


NextState[edit]

Type: name


OldControllerEnemy[edit]

Type: Pawn


OldMoveTarget[edit]

Type: Actor


OrderGiver[edit]

Type: Object


Orders[edit]

Type: name

orders a bot is carrying out

OrdersObject[edit]

Type: Actor

object referred to by orders ( if applicable )

RealLastDetectedLocation[edit]

Type: Object.Vector


RefireDelay[edit]

Type: float


RoamTarget[edit]

Type: Actor

current goal actor for roaming state if applicable

TimeBetweenAttacks[edit]

Type: float


Default value: 0.6

Default values[edit]

Property Value
CrouchingMoveSpeedMultiplier 1.0
DefaultScriptControllerClass Class'U2AI.ScriptControllerInterf'
DefaultState Roaming
FovAngle 85.0
PlayerReplicationInfoClass None
ProneMoveSpeedMultiplier 1.0
RemoteRole ROLE_None
ScriptedScriptControllerClass Class'U2AI.ScriptControllerBase'
StandingMoveSpeedMultiplier 1.0

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: U2NPCControllerScriptable.Destroyed


LongFall[edit]

event LongFall ()

Overrides: Controller.LongFall


Other instance functions[edit]

See U2NPCControllerBaseOld instance functions.

States[edit]

See U2NPCControllerBaseOld states.