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

U2.U2TeamGame

Extends
U2DeathMatch
Modifiers
config

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.GameInfo
         |   
         +-- U2Dialog.DialogGameInfo
            |   
            +-- U2.U2GameInfo
               |   
               +-- U2.U2DeathMatch
                  |   
                  +-- U2.U2TeamGame

Direct Known Subclasses:

U2CTFGame, U2XMPGame

Constants Summary
Inherited Contants from U2.U2DeathMatch
STAGE_MidGame, STAGE_PostGame, STAGE_PreGame
Inherited Contants from U2.U2GameInfo
GF_NOIMPACTS, MaxTeams

Variables Summary
boolbBalanceTeams
boolbBalancing
U2TeamInfoBestTeam
boolbPlayersBalanceTeams
boolbScoreTeamKills
boolbSpawnInTeamArea
intMaxAllowedTeams
intNextBotTeam
stringStartupMessage
stringStartupTeamMessage
stringStartupTeamTralier
stringTeamChangeMessage
stringTeamColor[MaxTeams]
U2TeamInfoTeams[MaxTeams]
U2TeamGame
boolbNoTeamChanges
intMaxTeamSize
intNumTeams
floatScore_TeamKill
Inherited Variables from U2.U2DeathMatch
bAlreadyChanged, bChangeLevels, bForceRespawn, bJumpMatch, BotConfig, BotConfigType, BotPackageClassStr, bRequireReady, bTournament, CountDown, CountDownMessage, ElapsedTime, GameEndedMessage, GameGoal, GBestPlayer, GoalScore, LastPlayerStartSpot, LastStartSpot, LevelRatingDefensive, LevelRatingOffensive, MultiplayerCountdown, MultiplayerPlayerWait, NoNameChange, NotReadyMessage, ReadyMessage, RemainingBots, RestartDelay, RestartTime, Score_EnemyKill, Score_Suicide, SingleWaitingMessage, Stage, StandAloneCountdown, StartMessage, TimeLimit, TourneyMessage, WaitingMessage1, WaitingMessage2
Inherited Variables from U2.U2GameInfo
ActiveRagdollDeaths, AirControl, bBroadcastObjectives, bForcedWeaponSwitch, bGiveDefaultWeapon, bKeepTossedPickups, bMultiWeaponStay, bSinglePlayerMission, BSMColor, BSMTime, bUseCombatSounds, DamageByPlayerScalars[3], DamageToPlayerScalars[3], DefaultFOV, FriendlyDamageScale, GameAIControllerClasses, GameAIControllers, MaxRagdollDeaths, MinPlayers, NumBots, PlayerDamageScaleMax, PlayerDamageScaleMin, PlayerSpeedRatio, RagdollDetailLevel, RespawnAppearanceDelay, SoundSlotTimerList, SpeedRatio, UIComponents

Structures Summary
Inherited Structures from U2.U2GameInfo
TPrecacheInfo

Functions Summary
function BalanceTeams ()))
functionbool CanSpectate (PlayerController Viewer, Actor ViewTarget ))
functionbool ChangeTeam (Controller Other, int InTeamNumber ))
function GameEvent (name EventName, Actor Instigator, optional Actor OtherActor, optional name OtherInfo ))
functionU2TeamInfo GetBestTeam ()))
functionstring GetRules ()))
functionTeamInfo GetTeam (int InTeamNumber ))
functionint GetTeamNumber ()))
functionactor GetWinnder ()))
functionbool GoalLimitMet ()))
function InitBot (U2NPCController NewBot ))
event InitGame (string Options, out string Error ))
functionbool IsTied ()))
functionbool IsWinner (Controller Player ))
function LogGameParameters ()))
function Logout (Controller Exiting ))
function PlayStartupMessage (PlayerController NewPlayer ))
event PreBeginPlay ()))
functionfloat RatePlayerStart (NavigationPoint N, byte Team, Controller Player ))
functionint ReduceFriendlyDamage (int Damage, Pawn Injured, Pawn Instigator, vector HitLocation, vector Momentum, class DamageType ))
function ScoreKill (Controller Killer, Controller Other ))
function SetEndGameCameras ()))
functionbool ValidTeam (int InTeamNumber ))
Inherited Functions from U2.U2DeathMatch
AcceptInventory, AddBot, AddDefaultInventory, AdjustPawnClass, CanAddBots, CanSpectate, ChangeName, CheckForEndGame, CountUniquePickups, DestroyInventory, DiscardInventory, FindPlayerStart, ForceAddBot, ForcePlayerRestart, GetBestPlayer, GetDamageByPlayerScalar, GetDamageToPlayerScalar, GetEndGameTarget, GetLevelRatingDefensive, GetLevelRatingOffensive, GetNextMapName, GetRules, GetTeamNumber, GetWinner, GoalLimitMet, GotoMidGame, GotoPostGame, GotoPreGame, InitBot, InitGame, InitGameReplicationInfo, IsGameOver, IsTied, IsWinner, Killed, LogGameParameters, Logout, MidGameTimer, NeedPlayers, PlayerJumpZScaling, PlayersReady, PlaySpawnEffect, PlayStartupMessage, PlayTeleportEffect, PostBeginPlay, PostGameTimer, PostLogin, PreGameTimer, RatePlayerStart, RestartGame, RestartPlayer, ScoreKill, SendStartMessage, SetEndGameCameras, ShouldRespawn, SpawnBot, SpawnWait, TimeLimitMet, Timer, TooManyBots
Inherited Functions from U2.U2GameInfo
AddDefaultInventory, AllocateGameAIControllers, AllocateSoundSlotTimerList, BSM, DecActiveRagDollDeaths, Destroyed, ForceAddBot, GameEvent, GetActiveRagDollDeaths, GetActorFactoryItems, GetDamageByPlayerScalar, GetDamageToPlayerScalar, GetLevelInfoItems, GetMaxRagDollDeaths, GetObjectives, GetRagdollDetailLevel, GetSoundSlotTimerList, GetTeam, IncActiveRagDollDeaths, NotifyAudioSystemReset, NotifyCutSceneEnd, NotifyCutSceneStart, NotifyHack, NotifyKilled, NotifyLevelChange, NotifyLevelChangeEnd, PlaySpawnEffect, PlayTeleportEffect, PostBeginPlay, PostLogin, PreBeginPlay, PrecacheItems, ReduceDamage, ReduceFriendlyDamage, RestartPlayer, ScaleDamageByPlayer, ScaleDamageToPlayer, ScaleMovementSpeeds, ScoreReplicatorShutdown, SetDifficulty, SetPlayerDefaults, ShouldRespawn, SpawnTemporaryPrecacheInstance, SpawnWait, TooManyBots, UpdateObjective


Variables Detail

bBalanceTeams Source code

var globalconfig bool bBalanceTeams;

bBalancing Source code

var bool bBalancing;

BestTeam Source code

var U2TeamInfo BestTeam;

bPlayersBalanceTeams Source code

var globalconfig bool bPlayersBalanceTeams;

bScoreTeamKills Source code

var config bool bScoreTeamKills;

bSpawnInTeamArea Source code

var bool bSpawnInTeamArea;

MaxAllowedTeams Source code

var int MaxAllowedTeams;

NextBotTeam Source code

var int NextBotTeam;

StartupMessage Source code

var localized string StartupMessage;

StartupTeamMessage Source code

var localized string StartupTeamMessage;

StartupTeamTralier Source code

var localized string StartupTeamTralier;

TeamChangeMessage Source code

var localized string TeamChangeMessage;

TeamColor[MaxTeams] Source code

var localized string TeamColor[MaxTeams];

Teams[MaxTeams] Source code

var protected U2TeamInfo Teams[MaxTeams];

U2TeamGame

bNoTeamChanges Source code

var(U2TeamGame) config bool bNoTeamChanges;

MaxTeamSize Source code

var(U2TeamGame) config int MaxTeamSize;

NumTeams Source code

var(U2TeamGame) config int NumTeams;

Score_TeamKill Source code

var(U2TeamGame) float Score_TeamKill;


Functions Detail

BalanceTeams Source code

function BalanceTeams ( ) )

CanSpectate Source code

function bool CanSpectate ( PlayerController Viewer, Actor ViewTarget ) )

ChangeTeam Source code

function bool ChangeTeam ( Controller Other, int InTeamNumber ) )

GameEvent Source code

function GameEvent ( name EventName, Actor Instigator, optional Actor OtherActor, optional name OtherInfo ) )

GetBestTeam Source code

function U2TeamInfo GetBestTeam ( ) )

GetRules Source code

function string GetRules ( ) )

GetTeam Source code

function TeamInfo GetTeam ( int InTeamNumber ) )

GetTeamNumber Source code

function int GetTeamNumber ( ) )

GetWinnder Source code

function actor GetWinnder ( ) )

GoalLimitMet Source code

function bool GoalLimitMet ( ) )

InitBot Source code

function InitBot ( U2NPCController NewBot ) )

InitGame Source code

event InitGame ( string Options, out string Error ) )

IsTied Source code

function bool IsTied ( ) )

IsWinner Source code

function bool IsWinner ( Controller Player ) )

LogGameParameters Source code

function LogGameParameters ( ) )

Logout Source code

function Logout ( Controller Exiting ) )

PlayStartupMessage Source code

function PlayStartupMessage ( PlayerController NewPlayer ) )

PreBeginPlay Source code

event PreBeginPlay ( ) )

RatePlayerStart Source code

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

ReduceFriendlyDamage Source code

function int ReduceFriendlyDamage ( int Damage, Pawn Injured, Pawn Instigator, vector HitLocation, vector Momentum, class<DamageType> DamageType ) )

ScoreKill Source code

function ScoreKill ( Controller Killer, Controller Other ) )
!mdf-tbd function int ReduceDamage( int Damage, Pawn Injured, Pawn Instigator, vector HitLocation, vector Momentum, class DamageType ) { if( U2NPCController(Injured.Controller)!=None ) AssessBotDamage( Injured, Instigator ); return Super.ReduceDamage( Damage, Injured, Instigator, HitLocation, Momentum, DamageType ); }

SetEndGameCameras Source code

function SetEndGameCameras ( ) )

ValidTeam Source code

function bool ValidTeam ( int InTeamNumber ) )


Defaultproperties

defaultproperties
{
	StartupMessage="Work with your teammates against the other teams."
	StartupTeamMessage="You are on"
	StartupTeamTralier="."
	TeamChangeMessage="Use Options->Player Setup to change teams."
	TeamColor(0)="Red"
	TeamColor(1)="Blue"
	TeamColor(2)="Green"
	TeamColor(3)="Gold"
	bBalanceTeams=true
	NumTeams=2
	MaxTeamSize=16
	Score_TeamKill=-1.000000
	bSpawnInTeamArea=true
	bScoreTeamKills=true
	MaxAllowedTeams=4
	MultiplayerPlayerWait=17
	bCanChangeSkin=false
	bTeamGame=true
	BeaconName="TDM"
	GameName="Team Deathmatch Game"
     UseReticleOnEvents(0)="UseReticleText"
     UseReticleOnEvents(1)="UseReticleCorners"
     UseReticleOnEvents(2)="UseReticleTopBars"
     ProximityReticleOnEvents(0)="ProximityReticleCorners"
     ProximityReticleOnEvents(1)="ProximityReticleTopBars"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 3-1-2016 10:48:35.402 - Created with UnCodeX