The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE1:TeamGame (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
RTNP Object >> Actor >> Info >> GameInfo >> UnrealGameInfo >> DeathMatchGame >> TeamGame
Package: 
UnrealShare
This class in other games:
U1, UT, UT2003, UT2004

TeamGame.

Properties[edit]

Property group 'TeamGame'[edit]

bNoTeamChanges[edit]

Type: bool

Modifiers: config


bSpawnInTeamArea[edit]

Type: bool

Modifiers: config


FriendlyFireScale[edit]

Type: float

Modifiers: config

scale friendly fire damage by this value

GoalTeamScore[edit]

Type: float

Modifiers: config

like fraglimit

MaxTeams[edit]

Type: int

Modifiers: config

Maximum number of teams allowed in (up to 16)

Default value: 2

MaxTeamSize[edit]

Type: int

Modifiers: config


Default value: 16

Internal variables[edit]

NewTeamMessage[edit]

Type: string

Modifiers: localized


Default value: " is now on "

NextBotTeam[edit]

Type: int


TEAM_Blue[edit]

Type: byte


Default value: 1

TEAM_Gold[edit]

Type: byte


Default value: 3

TEAM_Green[edit]

Type: byte


Default value: 2

TEAM_Red[edit]

Type: byte


TeamColor[edit]

Type: string

Array size: 4

Modifiers: localized


Default value, index 0: "Red"

Default value, index 1: "Blue"

Default value, index 2: "Green"

Default value, index 3: "Gold"

Teams[edit]

Type: TeamInfo

Array size: 16


Default values[edit]

Property Value
bCanChangeSkin False
BeaconName "Team"
bTeamGame True
GameMenuType Class'UnrealShare.UnrealTeamGameOptionsMenu'
GameName "Team Game"
HUDType Class'UnrealShare.UnrealTeamHUD'
RulesMenuType "UMenu.UMenuTeamGameRulesSClient"
ScoreBoardType Class'UnrealShare.UnrealTeamScoreBoard'

Functions[edit]

Events[edit]

InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: DeathMatchGame.InitGame


Login[edit]

event PlayerPawn Login (string Portal, string Options, out string Error, class<PlayerPawnSpawnClass)

Overrides: DeathMatchGame.Login


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: DeathMatchGame.PostBeginPlay


Other instance functions[edit]

AddBot[edit]

function bool AddBot ()

Overrides: DeathMatchGame.AddBot


AddToTeam[edit]

function AddToTeam (int num, Pawn Other)


CanSpectate[edit]

function bool CanSpectate (Pawn Viewer, Actor ViewTarget)

Overrides: DeathMatchGame.CanSpectate


ChangeTeam[edit]

function bool ChangeTeam (Pawn Other, int NewTeam)

Overrides: GameInfo.ChangeTeam


FindPlayerStart[edit]

function NavigationPoint FindPlayerStart (byte Team, optional string incomingName)

Overrides: DeathMatchGame.FindPlayerStart


Killed[edit]

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

Overrides: DeathMatchGame.Killed


Logout[edit]

function Logout (Pawn Exiting)

Overrides: DeathMatchGame.Logout


ReduceDamage[edit]

function int ReduceDamage (int Damage, name DamageType, Pawn injured, Pawn instigatedBy)

Overrides: DeathMatchGame.ReduceDamage