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

Contents

Package: 
BotPack
Direct subclasses:
HumanBotPlus, SkaarjBot
This class in other games:
UT2003, UT2004

Bot.

[edit] Properties

[edit] Property group 'Combat'

[edit] Aggressiveness

Type: float

0.0 to 1.0 (typically)

Default value: 0.3

[edit] bLeadTarget

Type: bool

lead target with projectile attack

Default value: True

[edit] RefireRate

Type: float


Default value: 0.9

[edit] TimeBetweenAttacks

Type: float

seconds - modified by difficulty

Default value: 0.6

[edit] Property group 'Orders'

[edit] Orders

Type: name

orders a bot is carrying out

[edit] OrderTag

Type: name

tag of object referred to by orders

[edit] Property group 'Pawn'

[edit] CarcassType

Type: class<Carcass>


Default value: Class'Engine.Carcass'

[edit] Property group 'Sounds'

[edit] breathagain

Type: Sound


[edit] Deaths

Type: Sound

Array size: 6


[edit] drown

Type: Sound


[edit] Footstep1

Type: Sound


[edit] Footstep2

Type: Sound


[edit] Footstep3

Type: Sound


[edit] GaspSound

Type: Sound


[edit] HitSound3

Type: Sound


[edit] HitSound4

Type: Sound


[edit] JumpSound

Type: Sound


[edit] LandGrunt

Type: Sound


[edit] UWHit1

Type: Sound


[edit] UWHit2

Type: Sound


[edit] Internal variables

See Bot internal variables.

[edit] 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'

[edit] Functions

[edit] Static functions

[edit] GetMultiSkin

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

Overrides: Pawn.GetMultiSkin


[edit] SetMultiSkin

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

Overrides: Pawn.SetMultiSkin


[edit] Events

[edit] AlterDestination

event AlterDestination ()

Overrides: Pawn.AlterDestination


[edit] BaseChange

singular event BaseChange ()

Overrides: Pawn.BaseChange


[edit] Bump

event Bump (Actor Other)

Overrides: Actor.Bump


[edit] Falling

singular event Falling ()

Overrides: Pawn.Falling


[edit] HearNoise

event HearNoise (float Loudness, Actor NoiseMaker)

Overrides: Pawn.HearNoise


[edit] LongFall

event LongFall ()

Overrides: Pawn.LongFall


[edit] PainTimer

event PainTimer ()

Overrides: Pawn.PainTimer


[edit] PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Pawn.PostBeginPlay


[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Pawn.PreBeginPlay


[edit] SeePlayer

event SeePlayer (Actor SeenPlayer)

Overrides: Pawn.SeePlayer


[edit] Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


[edit] UpdateEyeHeight

event UpdateEyeHeight (float DeltaTime)

Overrides: Pawn.UpdateEyeHeight


[edit] UpdateTactics

event UpdateTactics (float DeltaTime)

Overrides: Pawn.UpdateTactics


[edit] ZoneChange

event ZoneChange (ZoneInfo newZone)

Overrides: Actor.ZoneChange


[edit] Other instance functions

See Bot instance functions.

[edit] States

See Bot states.