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

UnrealGame.TeamGame

Extends
DeathMatch
Modifiers
HideDropDown CacheExempt config

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.GameInfo
         |   
         +-- UnrealGame.UnrealMPGameInfo
            |   
            +-- UnrealGame.DeathMatch
               |   
               +-- UnrealGame.TeamGame

Direct Known Subclasses:

CTFGame, xBombingRun, xDoubleDom, xTeamGame

Constants Summary
TGPROPNUM=5
Inherited Contants from UnrealGame.DeathMatch
DMPROPNUM
Inherited Contants from UnrealGame.UnrealMPGameInfo
MPPROPNUM

Variables Summary
boolbAllowNonTeamChat
stringBareHanded
boolbBalanceTeams
stringBlueTeamName
boolbPlayersBalanceTeams
boolbScoreTeamKills
boolbScoreVictimsTarget
boolbSpawnInTeamArea
nameCaptureSoundName[2]
byteEndGameCommented[10]
stringEndGameComments[10]
stringEndGameLossRemarks[10]
byteEndGameRemark[10]
stringEndGameResponses[10]
stringEndGameTaunts[10]
stringEndGameVictoryRemarks[10]
floatFriendlyFireScale
nameIncreaseLeadName[2]
intLastEndGameComment
intLastEndGameRemark
intLastEndGameResponse
floatLastEndGameTauntTime
intMaxTeamSize
stringNearString
StringPathWhisps[2]
stringRedTeamName
nameTakeLeadName[2]
class<TeamAI>TeamAIType[2]
floatTeammateBoost
UnrealTeamInfoTeams[2]
textureTempSymbols[2]
stringTGPropDescText[TGPROPNUM]
stringTGPropsDisplayText[TGPROPNUM]
LoadingHints
array<string>TGHints
TeamGame
floatADR_Control
floatADR_Goal
floatADR_Return
Inherited Variables from UnrealGame.DeathMatch
AdjustedDifficulty, ADR_Kill, ADR_KillTeamMate, ADR_MajorKill, ADR_MinorBonus, ADR_MinorError, AltEndGameSoundName[2], bAdjustSkill, bAllowPlayerLights, bAllowTaunts, bAllowTrans, bAlwaysShowLoginMenu, bAutoNumBots, bColoredDMSkins, bCustomBots, bDefaultTranslocator, bEpicNames, bFinalStartup, bFirstBlood, bForceDefaultCharacter, bForceNoPlayerLights, bForceRespawn, bKillBots, bMustHaveMultiplePlayers, bOverrideTranslocator, bOverTimeBroadcast, bPlayerBecameActive, bPlayersMustBeReady, bQuickStart, bReviewingJumpSpots, bSkipPlaySound, bStartedCountDown, bTournament, bWaitForNetPlayers, CountDown, DefaultEnemyRosterClass, DefaultMaxLives, DMHints, DMPropDescText[DMPROPNUM], DMPropsDisplayText[DMPROPNUM], DMSquadClass, ElapsedTime, EndGameFocus, EndGameSoundName[2], EndMessageCounter, EndMessageWait, EnemyRoster, EnemyRosterName, EpicNames[21], EpicOffset, FemaleBackupNameOffset, FemaleBackupNames[32], InitialBots, LastPlayerStartSpot, LastStartSpot, LateEntryLives, LevelRules, LevelRulesClass, LoginMenuClass, MaleBackupNameOffset, MaleBackupNames[32], MinNetPlayers, NameNumber, NamePrefixes[10], NameSuffixes[10], NetWait, NumRounds, PlayerDeaths, PlayerKills, RemainingBots, RemainingTime, RestartWait, SinglePlayerWait, SpawnProtectionTime, StandalonePlayer, StartupStage, TotalEpic, YouDestroyed, YouDestroyedTrailer
Inherited Variables from UnrealGame.UnrealMPGameInfo
bAllowPrivateChat, BeaconList, bMSUplinkSet, BotMode, BotModeText, BotOptions[4], BotRatio, bPlayersVsBots, bPreloadAllSkins, bSoaking, bTeamScoreRounds, DefaultVoiceChannel, EndTime, EndTimeDelay, LocalStatsScreenClass, MinPlayers, MPBotDesc, MPBotText, MPGIPropDescText[MPPROPNUM], MPGIPropsDisplayText[MPPROPNUM], MSUplink, SPBotDesc, SPBotText, SpecialVehicleObjectives, VoiceReplicationInfoType

Functions Summary
eventbool AcceptPlayInfoProperty (string PropertyName))
function AnnounceScore (int ScoringTeam))
functionbool ApplyOrder (PlayerController Sender, int RecipientID, int OrderID ))
functionint BallCarrierMessage ()))
functionbool CanShowPathTo (PlayerController P, int TeamNum))
functionbool CanSpectate (PlayerController Viewer, bool bOnlySpectator, actor ViewTarget ))
functionbool ChangeTeam (Controller Other, int num, bool bNewTeam))
functionbool CheckEndGame (PlayerReplicationInfo Winner, string Reason))
functionbool CheckMaxLives (PlayerReplicationInfo Scorer))
function CheckScore (PlayerReplicationInfo Scorer))
functionbool CriticalPlayer (Controller Other))
function EndGameCommentFor (Bot B))
function EndGameTauntFor (Bot B))
function FillPlayInfo (PlayInfo PlayInfo))
function FindNewObjectives (GameObjective DisabledObjective ))
functionstring FindTeamDesignation (GameReplicationInfo GRI, actor A))
functionUnrealTeamInfo FindTeamFor (Controller C))
functionPawn FindVictimsTarget (Controller Other))
functionarray<string> GetAllLoadHints (optional bool bThisClassOnly))
functionUnrealTeamInfo GetBlueTeam (int TeamBots))
functionUnrealTeamInfo GetBotTeam (optional int TeamBots))
eventstring GetDescriptionText (string PropName))
functionint GetMinPlayers ()))
functionUnrealTeamInfo GetRedTeam (int TeamBots))
function GetServerDetails (out ServerResponseLine ServerState ))
functionint GetStatus (PlayerController Sender, Bot B))
function IncrementGoalsScored (PlayerReplicationInfo PRI))
event InitGame (string Options, out string Error ))
function InitTeamSymbols ()))
function InitVoiceReplicationInfo ()))
functionbool NearGoal (Controller C))
function NotifyKilled (Controller Killer, Controller Killed, Pawn KilledPawn))
functionTeamInfo OtherTeam (TeamInfo Requester))
function OverrideInitialBots ()))
functionstring ParseChatPercVar (Mutator BaseMutator, controller Who, string Cmd))
functionstring ParseMessageString (Mutator BaseMutator, Controller Who, String Message))
functionint ParseOrder (string OrderString))
functionint ParseRecipient (string Recipient ))
function ParseRecipients (out int RecipientIDs[3], out int NumRecipients, out string OrderString ))
function ParseVoiceCommand (PlayerController Sender, string RecognizedString ))
functionbool PickEndGameTauntFor (Bot B))
functionbyte PickTeam (byte num, Controller C))
function PlayEndOfMatchMessage ()))
function PostBeginPlay ()))
event PostLogin (PlayerController NewPlayer ))
function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds))
function PreLoadBot ()))
function PreLoadNamedBot (string BotName))
functionfloat RatePlayerStart (NavigationPoint N, byte Team, Controller Player))
functionint ReduceDamage (int Damage, pawn injured, pawn instigatedBy, vector HitLocation, out vector Momentum, class DamageType ))
function RestartPlayer (Controller aPlayer ))
functionbool SameTeam (Controller a, Controller b))
function ScoreKill (Controller Killer, Controller Other))
function SetEndGameFocus (PlayerReplicationInfo Winner))
event SetGrammar ()))
function ShowPathTo (PlayerController P, int TeamNum))
functionbool TooManyBots (Controller botToRemove))
function UpdateAnnouncements ()))
function WeakObjectives ()))
Inherited Functions from UnrealGame.DeathMatch
AcceptInventory, AcceptPlayInfoProperty, AddBot, AddBots, AddDefaultInventory, AddGameSpecificInventory, AddNamedBot, AdjustSkill, AllowBecomeActivePlayer, AllowTransloc, AtCapacity, BecomeSpectator, beginstate, CanSpectate, ChangeLoadOut, ChangeName, ChangeTeam, CheckEndGame, CheckMaxLives, CheckReady, CheckScore, EndGame, EndSpree, FillPlayInfo, FindPlayerStart, FindTeamFor, ForceAddBot, GetAllLoadHints, GetBotTeam, GetDescriptionText, GetDisplayText, GetMinPlayers, GetNextLoadHint, GetServerDetails, InitGame, InitGameReplicationInfo, InitializeBot, InitLogging, InitPlacedBot, InitTeamSymbols, JustStarted, KillBot, KillBots, Killed, Login, Logout, NeedPlayers, NeverAllowTransloc, NotifySpree, OverrideInitialBots, PlayEndOfMatchMessage, PlayStartupMessage, PlayWinMessage, PostBeginPlay, PostLogin, PrecacheGameAnnouncements, PreLoadBot, PreLoadNamedBot, RatePlayerStart, ReduceDamage, Reset, RestartPlayer, ReviewJumpSpots, ScoreKill, ScoreObjective, SetGrammar, ShouldRespawn, SpawnBot, StartMatch, Timer, TooManyBots, TweakSkill, VehicleScoreKill, WantsPickups
Inherited Functions from UnrealGame.UnrealMPGameInfo
AdjustBotInterface, AdjustDestroyObjectiveDamage, CanDisableObjective, CanShowPathTo, ChangeLoadOut, ChangeVoiceChannel, FillPlayInfo, FindNewObjectives, ForceAddBot, GameEvent, GenerateBotOptions, GetDescriptionText, GetGameObject, GetNumPlayers, GetRandomTeamSymbol, GetServerDetails, InitMaplistHandler, InitPlacedBot, InitVoiceReplicationInfo, KillEvent, Login, MultiMinPlayers, ObjectiveDisabled, PickupQuery, PreLogin, RestartGame, ScoreEvent, ScoreGameObject, ShouldRespawn, ShowPathTo, SpawnWait, SpecialEvent, TeamScoreEvent, TooManyBots


Constants Detail

TGPROPNUM Source code

const TGPROPNUM = 5;


Variables Detail

bAllowNonTeamChat Source code

var config bool bAllowNonTeamChat;

BareHanded Source code

var localized string BareHanded;

bBalanceTeams Source code

var globalconfig bool bBalanceTeams;

BlueTeamName Source code

var string BlueTeamName;

bPlayersBalanceTeams Source code

var globalconfig bool bPlayersBalanceTeams;

bScoreTeamKills Source code

var bool bScoreTeamKills;

bScoreVictimsTarget Source code

var bool bScoreVictimsTarget;

bSpawnInTeamArea Source code

var bool bSpawnInTeamArea;

CaptureSoundName[2] Source code

var name CaptureSoundName[2];

EndGameCommented[10] Source code

var byte EndGameCommented[10];

EndGameComments[10] Source code

var localized string EndGameComments[10];

EndGameLossRemarks[10] Source code

var localized string EndGameLossRemarks[10];

EndGameRemark[10] Source code

var byte EndGameRemark[10];

EndGameResponses[10] Source code

var localized string EndGameResponses[10];

EndGameTaunts[10] Source code

var localized string EndGameTaunts[10];

EndGameVictoryRemarks[10] Source code

var localized string EndGameVictoryRemarks[10];

FriendlyFireScale Source code

var config float FriendlyFireScale;

IncreaseLeadName[2] Source code

var name IncreaseLeadName[2];

LastEndGameComment Source code

var int LastEndGameComment;

LastEndGameRemark Source code

var int LastEndGameRemark;

LastEndGameResponse Source code

var int LastEndGameResponse;

LastEndGameTauntTime Source code

var float LastEndGameTauntTime;

MaxTeamSize Source code

var int MaxTeamSize;

NearString Source code

var localized string NearString;

PathWhisps[2] Source code

var String PathWhisps[2];

RedTeamName Source code

var string RedTeamName;

TakeLeadName[2] Source code

var name TakeLeadName[2];

TeamAIType[2] Source code

var class<TeamAI> TeamAIType[2];

TeammateBoost Source code

var float TeammateBoost;

Teams[2] Source code

var UnrealTeamInfo Teams[2];

TempSymbols[2] Source code

var texture TempSymbols[2];

TGPropDescText[TGPROPNUM] Source code

var localized string TGPropDescText[TGPROPNUM];

TGPropsDisplayText[TGPROPNUM] Source code

var localized string TGPropsDisplayText[TGPROPNUM];

LoadingHints

TGHints Source code

var(LoadingHints) private localized array<string> TGHints;

TeamGame

ADR_Control Source code

var(TeamGame) float ADR_Control;

ADR_Goal Source code

var(TeamGame) float ADR_Goal;

ADR_Return Source code

var(TeamGame) float ADR_Return;


Functions Detail

AcceptPlayInfoProperty Source code

static event bool AcceptPlayInfoProperty ( string PropertyName) )

AnnounceScore Source code

function AnnounceScore ( int ScoringTeam) )

ApplyOrder Source code

function bool ApplyOrder ( PlayerController Sender, int RecipientID, int OrderID ) )

BallCarrierMessage Source code

function int BallCarrierMessage ( ) )

CanShowPathTo Source code

function bool CanShowPathTo ( PlayerController P, int TeamNum) )

CanSpectate Source code

function bool CanSpectate ( PlayerController Viewer, bool bOnlySpectator, actor ViewTarget ) )

ChangeTeam Source code

function bool ChangeTeam ( Controller Other, int num, bool bNewTeam) )

CheckEndGame Source code

function bool CheckEndGame ( PlayerReplicationInfo Winner, string Reason) )

CheckMaxLives Source code

function bool CheckMaxLives ( PlayerReplicationInfo Scorer) )

CheckScore Source code

function CheckScore ( PlayerReplicationInfo Scorer) )

CriticalPlayer Source code

function bool CriticalPlayer ( Controller Other) )

EndGameCommentFor Source code

function EndGameCommentFor ( Bot B) )

EndGameTauntFor Source code

function EndGameTauntFor ( Bot B) )

FillPlayInfo Source code

static function FillPlayInfo ( PlayInfo PlayInfo) )

FindNewObjectives Source code

function FindNewObjectives ( GameObjective DisabledObjective ) )

FindTeamDesignation Source code

static function string FindTeamDesignation ( GameReplicationInfo GRI, actor A) )

FindTeamFor Source code

function UnrealTeamInfo FindTeamFor ( Controller C) )

FindVictimsTarget Source code

function Pawn FindVictimsTarget ( Controller Other) )

GetAllLoadHints Source code

static function array<string> GetAllLoadHints ( optional bool bThisClassOnly) )

GetBlueTeam Source code

function UnrealTeamInfo GetBlueTeam ( int TeamBots) )

GetBotTeam Source code

function UnrealTeamInfo GetBotTeam ( optional int TeamBots) )

GetDescriptionText Source code

static event string GetDescriptionText ( string PropName) )

GetMinPlayers Source code

function int GetMinPlayers ( ) )

GetRedTeam Source code

function UnrealTeamInfo GetRedTeam ( int TeamBots) )

GetServerDetails Source code

function GetServerDetails ( out ServerResponseLine ServerState ) )

GetStatus Source code

function int GetStatus ( PlayerController Sender, Bot B) )

IncrementGoalsScored Source code

function IncrementGoalsScored ( PlayerReplicationInfo PRI) )

InitGame Source code

event InitGame ( string Options, out string Error ) )

InitTeamSymbols Source code

function InitTeamSymbols ( ) )

InitVoiceReplicationInfo Source code

function InitVoiceReplicationInfo ( ) )

NearGoal Source code

function bool NearGoal ( Controller C) )

NotifyKilled Source code

function NotifyKilled ( Controller Killer, Controller Killed, Pawn KilledPawn) )

OtherTeam Source code

function TeamInfo OtherTeam ( TeamInfo Requester) )

OverrideInitialBots Source code

function OverrideInitialBots ( ) )

ParseChatPercVar Source code

static function string ParseChatPercVar ( Mutator BaseMutator, controller Who, string Cmd) )

ParseMessageString Source code

static function string ParseMessageString ( Mutator BaseMutator, Controller Who, String Message) )

ParseOrder Source code

function int ParseOrder ( string OrderString) )

ParseRecipient Source code

function int ParseRecipient ( string Recipient ) )

ParseRecipients Source code

function ParseRecipients ( out int RecipientIDs[3], out int NumRecipients, out string OrderString ) )

ParseVoiceCommand Source code

function ParseVoiceCommand ( PlayerController Sender, string RecognizedString ) )

PickEndGameTauntFor Source code

function bool PickEndGameTauntFor ( Bot B) )

PickTeam Source code

function byte PickTeam ( byte num, Controller C) )

PlayEndOfMatchMessage Source code

function PlayEndOfMatchMessage ( ) )

PostBeginPlay Source code

function PostBeginPlay ( ) )

PostLogin Source code

event PostLogin ( PlayerController NewPlayer ) )

PrecacheGameAnnouncements Source code

static function PrecacheGameAnnouncements ( AnnouncerVoice V, bool bRewardSounds) )

PreLoadBot Source code

function PreLoadBot ( ) )

PreLoadNamedBot Source code

function PreLoadNamedBot ( string BotName) )

RatePlayerStart Source code

function float RatePlayerStart ( NavigationPoint N, byte Team, Controller Player) )

ReduceDamage Source code

function int ReduceDamage ( int Damage, pawn injured, pawn instigatedBy, vector HitLocation, out vector Momentum, class<DamageType> DamageType ) )

RestartPlayer Source code

function RestartPlayer ( Controller aPlayer ) )

SameTeam Source code

function bool SameTeam ( Controller a, Controller b) )

ScoreKill Source code

function ScoreKill ( Controller Killer, Controller Other) )

SetEndGameFocus Source code

function SetEndGameFocus ( PlayerReplicationInfo Winner) )

SetGrammar Source code

event SetGrammar ( ) )

ShowPathTo Source code

function ShowPathTo ( PlayerController P, int TeamNum) )

TooManyBots Source code

function bool TooManyBots ( Controller botToRemove) )

UpdateAnnouncements Source code

simulated function UpdateAnnouncements ( ) )

WeakObjectives Source code

function WeakObjectives ( ) )


Defaultproperties

defaultproperties
{
	
	EndGameTaunts(0)="woot"
	EndGameTaunts(1)="DENIED!"
	EndGameTaunts(2)="gg everyone"
	EndGameTaunts(3)="gg"
	EndGameTaunts(4)="gg"
	EndGameTaunts(5)="PANTS!"
	EndGameTaunts(6)="owned"
	EndGameTaunts(7)="Booyah!"
	EndGameTaunts(8)="W00T!"
	EndGameTaunts(9)="oh yeah!"


	
	EndGameComments(0)="lllllllamas"
	EndGameComments(1)="bye"
	EndGameComments(2)="gg"
	EndGameComments(3)="gg"
	EndGameComments(4)="gg everyone"
	EndGameComments(5)="Teams"
	EndGameComments(6)="omg"
	EndGameComments(7)="dammit!"
	EndGameComments(8)="my team sux0rs"
	EndGameComments(9)="gg"


	
	EndGameResponses(0)=":)"
	EndGameResponses(1)=";)"
	EndGameResponses(2)="haha"
	EndGameResponses(3)="LOL"
	EndGameResponses(4)="lol"
	EndGameResponses(5)="ROFL"
	EndGameResponses(6)="rofl"
	EndGameResponses(7)="werd"
	EndGameResponses(8)="ahaha"
	EndGameResponses(9)="omg"


	
	EndGameVictoryRemarks(0)="Take that to the bank, punks!"
	EndGameVictoryRemarks(1)="omg, so owned."
	EndGameVictoryRemarks(2)="Our Victory, Your Defeat"
	EndGameVictoryRemarks(3)="You know, practice might help"
	EndGameVictoryRemarks(4)="You suckas got served…"
	EndGameVictoryRemarks(5)="That was pathetic"
	EndGameVictoryRemarks(6)="Ya mamma!"
	EndGameVictoryRemarks(7)="pwned!"
	EndGameVictoryRemarks(8)="u r teh suk"
	EndGameVictoryRemarks(9)="Humans need better AI"


	
	EndGameLossRemarks(0)="was using an aimbot"
	EndGameLossRemarks(1)="Take a screenshot, this won’t happen again."
	EndGameLossRemarks(2)="crappy map"
	EndGameLossRemarks(3)="this server sux"
	EndGameLossRemarks(4)="Campers."
	EndGameLossRemarks(5)="Omg wtf wallhacking mofos"
	EndGameLossRemarks(6)="Where's Malcolm when you need him?"
	EndGameLossRemarks(7)="my team sux"
	EndGameLossRemarks(8)="OMG Epic plz fix kthxbye"
	EndGameLossRemarks(9)="Vwvwvwvwvwvwvwvwvwvwvwvzxcjjj"


	GoalScore=60
	bPlayersBalanceTeams=true
    bWeaponStay=true
    bScoreTeamKills=true
    bBalanceTeams=true
    bMustJoinBeforeStart=false
    MaxTeamSize=32
    bCanChangeSkin=False
    bTeamGame=True
    BeaconName="Team"
    TeamAIType(0)=class'UnrealGame.TeamAI'
    TeamAIType(1)=class'UnrealGame.TeamAI'
	MaxLives=0
    NumRounds=5
    SinglePlayerWait=2
    EndMessageWait=3
    TeammateBoost=+0.3
    bMustHaveMultiplePlayers=true


    TGPropsDisplayText(0)="Bots Balance Teams"
    TGPropsDisplayText(1)="Players Balance Teams"
    TGPropsDisplayText(2)="Friendly Fire Scale"
    TGPropsDisplayText(3)="Cross-Team Priv. Chat"
    TGPropsDisplayText(4)="Max Team Size"


    TGPropDescText(0)="Bots will join or change teams to make sure they are even."
    TGPropDescText(1)="Players are forced to join the smaller team when they enter."
    TGPropDescText(2)="Specifies how much damage players from the same team can do to each other."
    TGPropDescText(3)="Determines whether members of opposing teams are allowed to join the same private chat room"
    TGPropDescText(4)="Maximum number of players on each team"


    EndGameSoundName[0]=red_team_is_the_winner
    EndGameSoundName[1]=blue_team_is_the_winner


    CaptureSoundName(0)=Red_Team_Scores
    CaptureSoundName(1)=Blue_Team_Scores
    IncreaseLeadName(0)=Red_Team_increases_their_lead
    IncreaseLeadName(1)=Blue_Team_increases_their_lead
    TakeLeadName(0)=Red_Team_takes_the_lead
    TakeLeadName(1)=Blue_Team_takes_the_lead
    ADR_Goal=25.0
    ADR_Return=5.0
    ADR_Control=2.0


	ScoreBoardType="XInterface.ScoreBoardTeamDeathMatch"
	NearString="Near the"


    PathWhisps[0]="XEffects.RedWhisp"
    PathWhisps[1]="XEffects.BlueWhisp"
    VoiceReplicationInfoClass=class'UnrealGame.TeamVoiceReplicationInfo'
	BareHanded="Bare Handed"
    Description="Two teams duke it out in a quest for battlefield supremacy.  The team with the most total frags wins."


    TGHints(0)="If you miss a player's chat message, you can use %INGAMECHAT% to display a box of all chat messages you have received."
    TGHints(1)="Use the link gun alt fire beam to link up with link gun carrying teammates.  While linked, the teammate will receive a significant power boost to their link gun."
    TGHints(2)="You can toss your current weapon for a teammate by pressing %THROWWEAPON%."
    TGHints(3)="Teammates who have a link gun equipped will have a green team beacon above their heads instead of the standard yellow beacon."
	TGHints(4)="Press %VOICETALK% to voice chat with your team."
	TGHints(5)="Press %TEAMTALK% and type your message to send text messages to other team members."
	TGHints(6)="The text-to-speech feature that makes the game read text messages aloud can be enabled in the audio settings menu."
}

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