The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE1:Bot (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Pawn >> Bot
Package: 
BotPack
Direct subclasses:
HumanBotPlus, SkaarjBot
This class in other games:
UT2003, UT2004

Bot.

Properties[edit]

Property group 'Combat'[edit]

Aggressiveness[edit]

Type: float

0.0 to 1.0 (typically)

Default value: 0.3

bLeadTarget[edit]

Type: bool

lead target with projectile attack

Default value: True

RefireRate[edit]

Type: float


Default value: 0.9

TimeBetweenAttacks[edit]

Type: float

seconds - modified by difficulty

Default value: 0.6

Property group 'Orders'[edit]

Orders[edit]

Type: name

orders a bot is carrying out

OrderTag[edit]

Type: name

tag of object referred to by orders

Property group 'Pawn'[edit]

CarcassType[edit]

Type: class<Carcass>


Default value: Class'Engine.Carcass'

Property group 'Sounds'[edit]

breathagain[edit]

Type: Sound


Deaths[edit]

Type: Sound

Array size: 6


drown[edit]

Type: Sound


Footstep1[edit]

Type: Sound


Footstep2[edit]

Type: Sound


Footstep3[edit]

Type: Sound


GaspSound[edit]

Type: Sound


HitSound3[edit]

Type: Sound


HitSound4[edit]

Type: Sound


JumpSound[edit]

Type: Sound


LandGrunt[edit]

Type: Sound


UWHit1[edit]

Type: Sound


UWHit2[edit]

Type: Sound


Internal variables[edit]

See Bot internal variables.

Default values[edit]

Property Value
AccelRate 2048.0
AirControl 0.35
AirSpeed 400.0
AmbientGlow 17
BaseEyeHeight 23.0
bAutoActivate True
bCanStrafe True
bIsMultiSkinned True
bIsPlayer True
bStasis False
Buoyancy 100.0
CombatStyle 0.1
DrawType DT_Mesh
EyeHeight 23.0
GroundSpeed 400.0
HearingThreshold 0.3
Intelligence BRAINS_HUMAN
Land Sound'UnrealShare.Generic.Land1'
LightBrightness 70
LightHue 40
LightRadius 6
LightSaturation 128
MeleeRange 40.0
NetPriority 3.0
PlayerReplicationInfoClass Class'BotPack.BotReplicationInfo'
RotationRate
Member Value
Pitch 3072
Roll 2048
Yaw 30000
SightRadius 5000.0
UnderWaterTime 20.0
VoiceType "BotPack.VoiceMaleTwo"
WaterStep Sound'UnrealShare.Generic.LSplash'

Functions[edit]

Static functions[edit]

GetMultiSkin[edit]

static function GetMultiSkin (Actor SkinActor, out string SkinName, out string FaceName)

Overrides: Pawn.GetMultiSkin


SetMultiSkin[edit]

static function SetMultiSkin (Actor SkinActor, string SkinName, string FaceName, byte TeamNum)

Overrides: Pawn.SetMultiSkin


Events[edit]

AlterDestination[edit]

event AlterDestination ()

Overrides: Pawn.AlterDestination


BaseChange[edit]

singular event BaseChange ()

Overrides: Pawn.BaseChange


Bump[edit]

event Bump (Actor Other)

Overrides: Actor.Bump


Falling[edit]

singular event Falling ()

Overrides: Pawn.Falling


HearNoise[edit]

event HearNoise (float Loudness, Actor NoiseMaker)

Overrides: Pawn.HearNoise


LongFall[edit]

event LongFall ()

Overrides: Pawn.LongFall


PainTimer[edit]

event PainTimer ()

Overrides: Pawn.PainTimer


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Pawn.PostBeginPlay


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Pawn.PreBeginPlay


SeePlayer[edit]

event SeePlayer (Actor SeenPlayer)

Overrides: Pawn.SeePlayer


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


UpdateEyeHeight[edit]

event UpdateEyeHeight (float DeltaTime)

Overrides: Pawn.UpdateEyeHeight


UpdateTactics[edit]

event UpdateTactics (float DeltaTime)

Overrides: Pawn.UpdateTactics


ZoneChange[edit]

event ZoneChange (ZoneInfo newZone)

Overrides: Actor.ZoneChange


Other instance functions[edit]

See Bot instance functions.

States[edit]

See Bot states.