Mostly Harmless

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

Property group 'Combat'

Aggressiveness

Type: float

0.0 to 1.0 (typically)

Default value: 0.3

bLeadTarget

Type: bool

lead target with projectile attack

Default value: True

RefireRate

Type: float


Default value: 0.9

TimeBetweenAttacks

Type: float

seconds - modified by difficulty

Default value: 0.6

Property group 'Orders'

Orders

Type: name

orders a bot is carrying out

OrderTag

Type: name

tag of object referred to by orders

Property group 'Pawn'

CarcassType

Type: class<Carcass>


Default value: Class'Engine.Carcass'

Property group 'Sounds'

breathagain

Type: Sound


Deaths

Type: Sound

Array size: 6


drown

Type: Sound


Footstep1

Type: Sound


Footstep2

Type: Sound


Footstep3

Type: Sound


GaspSound

Type: Sound


HitSound3

Type: Sound


HitSound4

Type: Sound


JumpSound

Type: Sound


LandGrunt

Type: Sound


UWHit1

Type: Sound


UWHit2

Type: Sound


Internal variables

See Bot internal variables.

Default values

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

Static functions

GetMultiSkin

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

Overrides: Pawn.GetMultiSkin


SetMultiSkin

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

Overrides: Pawn.SetMultiSkin


Events

AlterDestination

event AlterDestination ()

Overrides: Pawn.AlterDestination


BaseChange

singular event BaseChange ()

Overrides: Pawn.BaseChange


Bump

event Bump (Actor Other)

Overrides: Actor.Bump


Falling

singular event Falling ()

Overrides: Pawn.Falling


HearNoise

event HearNoise (float Loudness, Actor NoiseMaker)

Overrides: Pawn.HearNoise


LongFall

event LongFall ()

Overrides: Pawn.LongFall


PainTimer

event PainTimer ()

Overrides: Pawn.PainTimer


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Pawn.PostBeginPlay


PreBeginPlay

event PreBeginPlay ()

Overrides: Pawn.PreBeginPlay


SeePlayer

event SeePlayer (Actor SeenPlayer)

Overrides: Pawn.SeePlayer


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


UpdateEyeHeight

event UpdateEyeHeight (float DeltaTime)

Overrides: Pawn.UpdateEyeHeight


UpdateTactics

event UpdateTactics (float DeltaTime)

Overrides: Pawn.UpdateTactics


ZoneChange

event ZoneChange (ZoneInfo newZone)

Overrides: Actor.ZoneChange


Other instance functions

See Bot instance functions.

States

See Bot states.