Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

WormbotHandlerAssault.WIR_GameHandler_Assault

Extends
WIR_GameHandler

Copyright (c) 2005-2007 by Wormbo $Id$

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- WormbotReporter.WIR_ModHandler
         |   
         +-- WormbotReporter.WIR_GameHandler
            |   
            +-- WormbotHandlerAssault.WIR_GameHandler_Assault

Variables Summary
GameObjectiveCurrentObjective
stringMsgNewRoundPractice
stringMsgNextObjectiveAttackers
stringMsgNextObjectiveDefenders
stringStringNewRoundAttacker
stringStringPrefixPracticeRound
stringStringRoundDraw
stringStringSuffixPracticeRound
stringStringTeamMoreObjectives
stringStringTeamMoreProgress
stringStringTeamSameObjFaster
stringStringTeamSuccessfullyAttacked
stringStringTeamSuccessfullyDefended
Inherited Variables from WormbotReporter.WIR_GameHandler
bAnnounceOutOfLives, bReportKillingSprees, bReportLocations, bReportMultiKills, bReportSpecial, bReportWeapons, bScoreEndsRound, ColumnAlign, dataReportKills, dataReportPickups, descGameHandler, descReportKillingSprees, descReportKills, descReportLocations, descReportMultiKills, descReportPickups, descReportSpecial, descReportWeapons, descScoreReportDelay, GameHandler, lblGameHandler, lblReportKillingSprees, lblReportKills, lblReportLocations, lblReportMultiKills, lblReportPickups, lblReportSpecial, lblReportWeapons, lblScoreReportDelay, MsgClientMessage, MsgCurrentTeamScores, MsgGameEndFragLimit, MsgGameEndLastMan, MsgGameEndRoundLimit, MsgGameEndTeamScoreLimit, MsgGameEndTimeLimit, MsgGameFirstBlood, MsgGameInfo, MsgGameInProgress, MsgGameMaxLives, MsgGameOvertime, MsgGameScoreLimit, MsgGameStarted, MsgGameTimeLimit, MsgLastSecondSave, MsgPlayerScoredMultiKill, MsgScoreboard, MsgSpreeEndKill, MsgSpreeEndSuicideFemale, MsgSpreeEndSuicideMale, MsgSpreeEndTeamKill, MsgSpreeStart[6], ReportKills, ReportPickups, ScoreReportDelay, StringNameBomb, StringNameCore, StringNameFlag, StringNameFlags, StringPrefixOvertime, StringScoreTemplate, StringSuffixOvertime, StringSuffixWinnerPlayer, StringSuffixWinnerTeam, StringSuffixWinnerTeams, StringTableHeader, StringTableSeparator, StringTeamScore, StringTimeNotPlaying
Inherited Variables from WormbotReporter.WIR_ModHandler
bMatchStarted, descModHandler, HandlerGroup, lblModHandler, ModHandler, MyMutator, NextHandler

Structures Summary
Inherited Structures from WormbotReporter.WIR_GameHandler
TGameHandler
Inherited Structures from WormbotReporter.WIR_ModHandler
TModHandler

Functions Summary
function AddRow (out array<WIR_Util.TAlignedTable> Table, int row, PlayerReplicationInfo PRI, bool bRightSide))
functionActor GetClosestGameObjective (vector DesiredLocation))
functionstring GetGameInfoString ()))
functionstring GetRemainingTime ()))
functionbool HandleEndRound (out string Reason))
functionbool HandleNewRound ()))
function MatchStarting ()))
function PostBeginPlay ()))
event Tick (float DeltaTime))
event Trigger (Actor Other, Pawn EventInstigator))
WaitForRoundEnd
function UpdateObjectives ()))
Inherited Functions from WormbotReporter.WIR_GameHandler
AddRow, CriticalPlayer, FillPlayInfo, FormatPlayerName, GetClosestGameObjective, GetDescriptionText, GetGameInfoString, GetObjectiveName, GetObjectName, GetRemainingTime, HandleEndGame, HandleKill, HandleLocalizedMessage, HandleStringMessage, InOrder, MatchStarting, ReportScores
Inherited Functions from WormbotReporter.WIR_ModHandler
AcceptPlayInfoProperty, AddHandler, CriticalPlayer, Destroyed, FillPlayInfo, FormatPlayerName, GetDescriptionText, GetLocationNameFor, GetObjectiveName, GetObjectName, GetRemainingTime, HandleEndGame, HandleEndRound, HandleKill, HandleLocalizedMessage, HandleNewRound, HandleStringMessage, MatchStarting, Mutate, PostBeginPlay, ScoreObjective, UpdateLocationNames

States Summary
WaitForRoundEnd Source code
auto state WaitForRoundEnd
/** Wait for the round to end. */
Trigger


Variables Detail

CurrentObjective Source code

var GameObjective CurrentObjective;

MsgNewRoundPractice Source code

var localized string MsgNewRoundPractice;

MsgNextObjectiveAttackers Source code

var localized string MsgNextObjectiveAttackers;

MsgNextObjectiveDefenders Source code

var localized string MsgNextObjectiveDefenders;

StringNewRoundAttacker Source code

var localized string StringNewRoundAttacker;

StringPrefixPracticeRound Source code

var localized string StringPrefixPracticeRound;

StringRoundDraw Source code

var localized string StringRoundDraw;

StringSuffixPracticeRound Source code

var localized string StringSuffixPracticeRound;

StringTeamMoreObjectives Source code

var localized string StringTeamMoreObjectives;

StringTeamMoreProgress Source code

var localized string StringTeamMoreProgress;

StringTeamSameObjFaster Source code

var localized string StringTeamSameObjFaster;

StringTeamSuccessfullyAttacked Source code

var localized string StringTeamSuccessfullyAttacked;

StringTeamSuccessfullyDefended Source code

var localized string StringTeamSuccessfullyDefended;


Functions Detail

AddRow Source code

function AddRow ( out array<WIR_Util.TAlignedTable> Table, int row, PlayerReplicationInfo PRI, bool bRightSide) )
Adds data in a row on the left or right side of the scoreboard table.

GetClosestGameObjective Source code

function Actor GetClosestGameObjective ( vector DesiredLocation) )
Called when the match starts.

GetGameInfoString Source code

function string GetGameInfoString ( ) )
Returns a string describing the game type and map.

GetRemainingTime Source code

function string GetRemainingTime ( ) )
Returns the time remaining in the match or the time elapsed if there's no time limit.

HandleEndRound Source code

function bool HandleEndRound ( out string Reason) )
Return True if the handler wants to override the mutator's default behavior.

HandleNewRound Source code

function bool HandleNewRound ( ) )
Return True if the handler wants to override the mutator's default behavior.

MatchStarting Source code

function MatchStarting ( ) )
Skip WIR_GameHandler logic. (no "Match has started" message)

PostBeginPlay Source code

function PostBeginPlay ( ) )
Initialize the handler.

Tick Source code

event Tick ( float DeltaTime) )
Update the current objectives.

Trigger WaitForRoundEnd Source code

event Trigger ( Actor Other, Pawn EventInstigator) )

UpdateObjectives Source code

function UpdateObjectives ( ) )
Update objective progress.


Defaultproperties

defaultproperties
{
  HandlerGroup = "Wormbot (Assault)"
  ReportPickups = 1
  
  MsgGameTimeLimit  = ", Round Time Limit: [^B]%t minutes[^B]"
  MsgGameScoreLimit = ", [^B]%s[^B] Attack/Defend Rounds"
  
  StringPrefixPracticeRound = "PR-"
  
  StringNewRoundAttacker  = " - %t is attacking"
  MsgNewRoundPractice     = "[^B][%r] The practice round has begun[^B]"
  
  MsgNextObjectiveAttackers = "[%r] [^B]%t[^B] (Attackers):[^O] [^B]%m[^B]"
  MsgNextObjectiveDefenders = "[%r] [^B]%t[^B] (Defenders):[^O] [^B]%m[^B]"
  StringTeamSuccessfullyAttacked = "%t[^O] successfully attacked"
  StringTeamSuccessfullyDefended = "%t[^O] successfully defended"
  
  StringTeamMoreObjectives = "%t[^O] scored more objectives"
  
  StringTableHeader(0)  = "[^U]Name"
  StringTableHeader(1)  = "Score"
  StringTableHeader(2)  = "Obj."
  StringTableHeader(3)  = "Final"
  StringTableHeader(4)  = "Veh.[^O]"
  StringTableHeader(5)  = " "
  StringTableHeader(6)  = "[^U]Name"
  StringTableHeader(7)  = "Score"
  StringTableHeader(8)  = "Obj."
  StringTableHeader(9)  = "Final"
  StringTableHeader(10) = "Veh.[^O]"
  
  ColumnAlign(0)  = TXTA_Left
  ColumnAlign(1)  = TXTA_Right
  ColumnAlign(2)  = TXTA_Right
  ColumnAlign(3)  = TXTA_Right
  ColumnAlign(4)  = TXTA_Right
  ColumnAlign(5)  = TXTA_Center
  ColumnAlign(6)  = TXTA_Left
  ColumnAlign(7)  = TXTA_Right
  ColumnAlign(8)  = TXTA_Right
  ColumnAlign(9)  = TXTA_Right
  ColumnAlign(10) = TXTA_Right
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:29.615 - Created with UnCodeX