Gah - a solution with more questions. – EntropicLqd

UE1:Assault (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
BotPack
Direct subclass:
TrainingAS

Assault.

Properties

Property group 'Assault'

Defenses

Type: int

Modifiers: config


Default value: 3

Internal variables

Attacker

Type: TeamInfo


AttackMessage

Type: string

Modifiers: localized


Default value: "Take the enemy base!"

bAssaultWon

Type: bool


bDefenseSet

Type: bool

Modifiers: config


BestFort

Type: FortStandard


bFortDown

Type: bool


bTiePartOne

Type: bool

Modifiers: config


CurrentDefender

Type: int

Modifiers: config


Defender

Type: TeamInfo


DefenderSuccess

Type: string

Modifiers: localized


Default value: "defended the base"

DefendMessage

Type: string

Modifiers: localized


Default value: "Defend your base against the enemy!"

Destroyer

Type: int


EndCam

Type: SpectatorCam


Fort

Type: FortStandard

Array size: 16


GameCode

Type: string

Modifiers: config


LastIncoming

Type: float


Leader

Type: Pawn

Array size: 4

current leader of each team (used by bots)

NumDefenses

Type: int

Modifiers: config


numForts

Type: int


ObjectivesMessage

Type: string

Modifiers: localized


Default value: "Press F3 for an objectives briefing."

Part

Type: int

Modifiers: config


SavedTime

Type: float

Modifiers: config


TieMessage

Type: string

Modifiers: localized


Default value: "Tie!"

WinMessage

Type: string

Modifiers: localized


Default value: "and wins!"

Default values

Property Value
bCoopWeaponMode True
BeaconName "ASLT"
bScoreTeamKills False
bSpawnInTeamArea True
GameEndedMessage "conquered the base in"
GameName "Assault"
HUDType Class'BotPack.AssaultHUD'
LadderTypeIndex 4
MapListType Class'BotPack.ASmaplist'
MapPrefix "AS"
MaxAllowedTeams 2
RulesMenuType "UTMenu.UTAssaultRulesSC"
ScoreBoardType Class'BotPack.AssaultScoreBoard'
StartUpMessage ""

Functions

Static functions

ResetGame

static function ResetGame ()

Overrides: GameInfo.ResetGame


Events

InitGame

event InitGame (string Options, out string Error)

Overrides: TeamGamePlus.InitGame


PostBeginPlay

event PostBeginPlay ()

Overrides: TeamGamePlus.PostBeginPlay


Other instance functions

AddDefaultInventory

function AddDefaultInventory (Pawn PlayerPawn)

Overrides: DeathMatchPlus.AddDefaultInventory


AssessBotAttitude

function byte AssessBotAttitude (Bot aBot, Pawn Other)

Overrides: TeamGamePlus.AssessBotAttitude


AttackFort

function FortStandard AttackFort (Bot aBot, out byte bMultiSame)


AttackOnlyLocalFort

function bool AttackOnlyLocalFort (Bot aBot)


BestFortFor

function bool BestFortFor (Bot aBot, FortStandard oldFort, FortStandard currentFort)


CalcEndStats

function CalcEndStats ()

Overrides: TournamentGameInfo.CalcEndStats


ChangeTeam

function bool ChangeTeam (Pawn Other, int NewTeam)

Overrides: TeamGamePlus.ChangeTeam


ElectNewLeaderFor

function ElectNewLeaderFor (Bot OldLeader)


FallBackTo

function FallBackTo (name F, int Priority)


FindPathToFortFor

function bool FindPathToFortFor (Bot aBot, Actor Dest)


FindPlayerStart

function NavigationPoint FindPlayerStart (Pawn Player, optional byte InTeam, optional string incomingName)

Overrides: TeamGamePlus.FindPlayerStart


FindSpecialAttractionFor

function bool FindSpecialAttractionFor (Bot aBot)

Overrides: TeamGamePlus.FindSpecialAttractionFor


GameThreatAdd

function float GameThreatAdd (Bot aBot, Pawn Other)

Overrides: DeathMatchPlus.GameThreatAdd


HandleTieUp

function bool HandleTieUp (Bot Bumper, Bot Bumpee)

Overrides: TeamGamePlus.HandleTieUp


InitRatedGame

function InitRatedGame (LadderInventory LadderObj, PlayerPawn LadderPlayer)

Overrides: TeamGamePlus.InitRatedGame


IsOnTeam

function bool IsOnTeam (Pawn Other, int TeamNum)

Overrides: TeamGamePlus.IsOnTeam


Killed

function Killed (Pawn killer, Pawn Other, name damageType)

Overrides: DeathMatchPlus.Killed


NeverStakeOut

function bool NeverStakeOut (Bot Other)

Overrides: DeathMatchPlus.NeverStakeOut


PickAmbushSpotFor

function PickAmbushSpotFor (Bot aBot)

Overrides: TeamGamePlus.PickAmbushSpotFor


PlayStartUpMessage

function PlayStartUpMessage (PlayerPawn NewPlayer)

Overrides: TeamGamePlus.PlayStartUpMessage


RemoveFort

function RemoveFort (FortStandard F, Pawn instigator)


RestartGame

function RestartGame ()

Overrides: DeathMatchPlus.RestartGame


RestartPlayer

function bool RestartPlayer (Pawn aPlayer)

Overrides: DeathMatchPlus.RestartPlayer


SendBotToGoal

function bool SendBotToGoal (Bot aBot)

Overrides: TeamGamePlus.SendBotToGoal


SendStartMessage

function SendStartMessage (PlayerPawn P)

Overrides: DeathMatchPlus.SendStartMessage


SetBotOrders

function SetBotOrders (Bot NewBot)

Overrides: TeamGamePlus.SetBotOrders


SetDefenseFor

function Actor SetDefenseFor (Bot aBot)

Overrides: TeamGamePlus.SetDefenseFor


SetEndCams

function bool SetEndCams (string Reason)

Overrides: TeamGamePlus.SetEndCams


SuccessfulGame

function bool SuccessfulGame ()

Overrides: TeamGamePlus.SuccessfulGame


WaitForPoint

function bool WaitForPoint (Bot aBot)

Overrides: TeamGamePlus.WaitForPoint