I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE1:Assault (UT)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search

Contents

Package: 
BotPack
Direct subclass:
TrainingAS

Assault.

[edit] Properties

[edit] Property group 'Assault'

[edit] Defenses

Type: int

Modifiers: config


Default value: 3

[edit] Internal variables

[edit] Attacker

Type: TeamInfo


[edit] AttackMessage

Type: string

Modifiers: localized


Default value: "Take the enemy base!"

[edit] bAssaultWon

Type: bool


[edit] bDefenseSet

Type: bool

Modifiers: config


[edit] BestFort

Type: FortStandard


[edit] bFortDown

Type: bool


[edit] bTiePartOne

Type: bool

Modifiers: config


[edit] CurrentDefender

Type: int

Modifiers: config


[edit] Defender

Type: TeamInfo


[edit] DefenderSuccess

Type: string

Modifiers: localized


Default value: "defended the base"

[edit] DefendMessage

Type: string

Modifiers: localized


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

[edit] Destroyer

Type: int


[edit] EndCam

Type: SpectatorCam


[edit] Fort

Type: FortStandard

Array size: 16


[edit] GameCode

Type: string

Modifiers: config


[edit] LastIncoming

Type: float


[edit] Leader

Type: Pawn

Array size: 4

current leader of each team (used by bots)

[edit] NumDefenses

Type: int

Modifiers: config


[edit] numForts

Type: int


[edit] ObjectivesMessage

Type: string

Modifiers: localized


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

[edit] Part

Type: int

Modifiers: config


[edit] SavedTime

Type: float

Modifiers: config


[edit] TieMessage

Type: string

Modifiers: localized


Default value: "Tie!"

[edit] WinMessage

Type: string

Modifiers: localized


Default value: "and wins!"

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

[edit] Functions

[edit] Static functions

[edit] ResetGame

static function ResetGame ()

Overrides: GameInfo.ResetGame


[edit] Events

[edit] InitGame

event InitGame (string Options, out string Error)

Overrides: TeamGamePlus.InitGame


[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: TeamGamePlus.PostBeginPlay


[edit] Other instance functions

[edit] AddDefaultInventory

function AddDefaultInventory (Pawn PlayerPawn)

Overrides: DeathMatchPlus.AddDefaultInventory


[edit] AssessBotAttitude

function byte AssessBotAttitude (Bot aBot, Pawn Other)

Overrides: TeamGamePlus.AssessBotAttitude


[edit] AttackFort

function FortStandard AttackFort (Bot aBot, out byte bMultiSame)


[edit] AttackOnlyLocalFort

function bool AttackOnlyLocalFort (Bot aBot)


[edit] BestFortFor

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


[edit] CalcEndStats

function CalcEndStats ()

Overrides: TournamentGameInfo.CalcEndStats


[edit] ChangeTeam

function bool ChangeTeam (Pawn Other, int NewTeam)

Overrides: TeamGamePlus.ChangeTeam


[edit] ElectNewLeaderFor

function ElectNewLeaderFor (Bot OldLeader)


[edit] FallBackTo

function FallBackTo (name F, int Priority)


[edit] FindPathToFortFor

function bool FindPathToFortFor (Bot aBot, Actor Dest)


[edit] FindPlayerStart

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

Overrides: TeamGamePlus.FindPlayerStart


[edit] FindSpecialAttractionFor

function bool FindSpecialAttractionFor (Bot aBot)

Overrides: TeamGamePlus.FindSpecialAttractionFor


[edit] GameThreatAdd

function float GameThreatAdd (Bot aBot, Pawn Other)

Overrides: DeathMatchPlus.GameThreatAdd


[edit] HandleTieUp

function bool HandleTieUp (Bot Bumper, Bot Bumpee)

Overrides: TeamGamePlus.HandleTieUp


[edit] InitRatedGame

function InitRatedGame (LadderInventory LadderObj, PlayerPawn LadderPlayer)

Overrides: TeamGamePlus.InitRatedGame


[edit] IsOnTeam

function bool IsOnTeam (Pawn Other, int TeamNum)

Overrides: TeamGamePlus.IsOnTeam


[edit] Killed

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

Overrides: DeathMatchPlus.Killed


[edit] NeverStakeOut

function bool NeverStakeOut (Bot Other)

Overrides: DeathMatchPlus.NeverStakeOut


[edit] PickAmbushSpotFor

function PickAmbushSpotFor (Bot aBot)

Overrides: TeamGamePlus.PickAmbushSpotFor


[edit] PlayStartUpMessage

function PlayStartUpMessage (PlayerPawn NewPlayer)

Overrides: TeamGamePlus.PlayStartUpMessage


[edit] RemoveFort

function RemoveFort (FortStandard F, Pawn instigator)


[edit] RestartGame

function RestartGame ()

Overrides: DeathMatchPlus.RestartGame


[edit] RestartPlayer

function bool RestartPlayer (Pawn aPlayer)

Overrides: DeathMatchPlus.RestartPlayer


[edit] SendBotToGoal

function bool SendBotToGoal (Bot aBot)

Overrides: TeamGamePlus.SendBotToGoal


[edit] SendStartMessage

function SendStartMessage (PlayerPawn P)

Overrides: DeathMatchPlus.SendStartMessage


[edit] SetBotOrders

function SetBotOrders (Bot NewBot)

Overrides: TeamGamePlus.SetBotOrders


[edit] SetDefenseFor

function Actor SetDefenseFor (Bot aBot)

Overrides: TeamGamePlus.SetDefenseFor


[edit] SetEndCams

function bool SetEndCams (string Reason)

Overrides: TeamGamePlus.SetEndCams


[edit] SuccessfulGame

function bool SuccessfulGame ()

Overrides: TeamGamePlus.SuccessfulGame


[edit] WaitForPoint

function bool WaitForPoint (Bot aBot)

Overrides: TeamGamePlus.WaitForPoint