My program doesn't have bugs. It just develops random features.

UE2:Bot (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
UnrealGame
Direct subclass:
XBot
This class in other games:
UT, UT2003

Bot.

Constants

MAXSTAKEOUTDIST

Value: 2000


ENEMYLOCATIONFUZZ

Value: 1200


TACTICALHEIGHTADVANTAGE

Value: 320


MINSTRAFEDIST

Value: 200


MINVIEWDIST

Value: 200


AngleConvert

Value: 0.0000958738

2*PI/65536

Properties

Property group 'Bot'

OrderNames

Type: name

Array size: 16


Default value, index 0: 'Defend'

Default value, index 1: 'Hold'

Default value, index 10: 'Attack'

Default value, index 11: 'Defend'

Default value, index 12: 'Defend'

Default value, index 13: 'Attack'

Default value, index 14: 'Attack'

Default value, index 15: 'Attack'

Default value, index 16: 'Follow'

Default value, index 17: 'FreeLance'

Internal variables

See Bot internal variables.

Default values

Property Value
bIsPlayer True
FovAngle 85.0
OldMessageTime -100.0
PlayerReplicationInfoClass Class'UnrealGame.TeamPlayerReplicationInfo'

Enums

EScriptFollow

FOLLOWSCRIPT_IgnoreAllStimuli 
FOLLOWSCRIPT_IgnoreEnemies 
FOLLOWSCRIPT_StayOnScript 
FOLLOWSCRIPT_LeaveScriptForCombat 

Functions

Events

AllowDetourTo

event bool AllowDetourTo (NavigationPoint N)

Overrides: Controller.AllowDetourTo


DelayedWarning

event DelayedWarning ()

Overrides: Controller.DelayedWarning


Desireability

event float Desireability (Pickup P)

Overrides: Controller.Desireability


Destroyed

event Destroyed ()

Overrides: Controller.Destroyed


HearNoise

event HearNoise (float Loudness, Actor NoiseMaker)

Overrides: Controller.HearNoise


MayDodgeToMoveTarget

event MayDodgeToMoveTarget ()

Overrides: Controller.MayDodgeToMoveTarget


MissedDodge

event MissedDodge ()

Overrides: Controller.MissedDodge


NotifyBump

event bool NotifyBump (Actor Other)

Overrides: Controller.NotifyBump


NotifyFallingHitWall

event NotifyFallingHitWall (Object.Vector HitNormal, Actor HitActor)

Overrides: Controller.NotifyFallingHitWall


NotifyHitWall

event bool NotifyHitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Controller.NotifyHitWall


NotifyJumpApex

event NotifyJumpApex ()

Overrides: ScriptedController.NotifyJumpApex


NotifyLanded

event bool NotifyLanded (Object.Vector HitNormal)

Overrides: Controller.NotifyLanded


NotifyMissedJump

event NotifyMissedJump ()

Overrides: Controller.NotifyMissedJump


NotifyPhysicsVolumeChange

event bool NotifyPhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Controller.NotifyPhysicsVolumeChange


NotifyPostLanded

event NotifyPostLanded ()

Overrides: Controller.NotifyPostLanded


PostBeginPlay

event PostBeginPlay ()

Overrides: Controller.PostBeginPlay


ReceiveWarning

event ReceiveWarning (Pawn shooter, float projSpeed, Object.Vector FireDir)

Overrides: Controller.ReceiveWarning


RecoverFromBadStateCode

event RecoverFromBadStateCode ()

Overrides: Actor.RecoverFromBadStateCode


SeePlayer

event SeePlayer (Pawn SeenPlayer)

Overrides: Controller.SeePlayer


SetupSpecialPathAbilities

event SetupSpecialPathAbilities ()

Overrides: Controller.SetupSpecialPathAbilities


SoakStop

event SoakStop (string problem)

Overrides: Controller.SoakStop


SuperDesireability

event float SuperDesireability (Pickup P)

Overrides: Controller.SuperDesireability


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: AIController.Trigger


Other instance functions

See Bot instance functions.

States

See Bot states.