Mostly Harmless

UE1:TeamGame (UT)

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

TeamGame.

Properties

Property group 'TeamGame'

bNoTeamChanges

Type: bool

Modifiers: config


bSpawnInTeamArea

Type: bool

Modifiers: config


FriendlyFireScale

Type: float

Modifiers: config

scale friendly fire damage by this value

GoalTeamScore

Type: float

Modifiers: config

like fraglimit

MaxTeams

Type: int

Modifiers: config

Maximum number of teams allowed in (up to 16)

Default value: 2

MaxTeamSize

Type: int

Modifiers: config


Default value: 16

Internal variables

NewTeamMessage

Type: string

Modifiers: localized


Default value: " is now on "

NextBotTeam

Type: int


TEAM_Blue

Type: byte


Default value: 1

TEAM_Gold

Type: byte


Default value: 3

TEAM_Green

Type: byte


Default value: 2

TEAM_Red

Type: byte


TeamColor

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

Type: TeamInfo

Array size: 16


Default values

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

Events

InitGame

event InitGame (string Options, out string Error)

Overrides: DeathMatchGame.InitGame


Login

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

Overrides: DeathMatchGame.Login


PostBeginPlay

event PostBeginPlay ()

Overrides: DeathMatchGame.PostBeginPlay


Other instance functions

AddBot

function bool AddBot ()

Overrides: DeathMatchGame.AddBot


AddToTeam

function AddToTeam (int num, Pawn Other)


CanSpectate

function bool CanSpectate (Pawn Viewer, Actor ViewTarget)

Overrides: DeathMatchGame.CanSpectate


ChangeTeam

function bool ChangeTeam (Pawn Other, int NewTeam)

Overrides: GameInfo.ChangeTeam


FindPlayerStart

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

Overrides: DeathMatchGame.FindPlayerStart


Killed

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

Overrides: DeathMatchGame.Killed


Logout

function Logout (Pawn Exiting)

Overrides: DeathMatchGame.Logout


ReduceDamage

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

Overrides: DeathMatchGame.ReduceDamage