I'm a doctor, not a mechanic

UE1:DeathMatchGame (UT)

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

DeathMatchGame.

Properties

Property group 'DeathMatchGame'

bChangeLevels

Type: bool

Modifiers: globalconfig


Default value: True

bHardCoreMode

Type: bool

Modifiers: globalconfig


Default value: True

bMegaSpeed

Type: bool

Modifiers: globalconfig


bMultiPlayerBots

Type: bool

Modifiers: globalconfig


FragLimit

Type: int

Modifiers: globalconfig


InitialBots

Type: int

Modifiers: globalconfig


Default value: 4

TimeLimit

Type: int

Modifiers: globalconfig

time limit in minutes

Internal variables

bAlreadyChanged

Type: bool


bDontRestart

Type: bool


bGameEnded

Type: bool


BotConfig

Type: BotInfo


BotConfigType

Type: class<BotInfo>


Default value: Class'UnrealShare.BotInfo'

GlobalNameChange

Type: string

Modifiers: localized


Default value: " changed name to "

NoNameChange

Type: string

Modifiers: localized


Default value: " is already in use"

NumBots

Type: int


RemainingBots

Type: int


RemainingTime

Type: int


TimeMessage

Type: string

Array size: 16

Modifiers: localized


Default value, index 0: "5 minutes left in the game!"

Default value, index 1: "4 minutes left in the game!"

Default value, index 10: "2..."

Default value, index 11: "1..."

Default value, index 12: "Time Up!"

Default value, index 13: "3 minutes left in the game!"

Default value, index 14: "2 minutes left in the game!"

Default value, index 15: "1 minute left in the game!"

Default value, index 16: "30 seconds left!"

Default value, index 17: "10 seconds left!"

Default value, index 18: "5 seconds and counting..."

Default value, index 19: "4..."

Default value, index 20: "3..."

Default values

Property Value
bDeathMatch True
BeaconName "DM"
bNoMonsters True
bPauseable False
bRestartLevel False
GameMenuType Class'UnrealShare.UnrealDMGameOptionsMenu'
GameName "DeathMatch"
MapListType Class'UnrealShare.DMmaplist'
MapPrefix "DM"
ScoreBoardType Class'UnrealShare.UnrealScoreBoard'

Functions

Events

AcceptInventory

event AcceptInventory (Pawn PlayerPawn)

Overrides: GameInfo.AcceptInventory


InitGame

event InitGame (string Options, out string Error)

Overrides: GameInfo.InitGame


Login

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

Overrides: GameInfo.Login


PostBeginPlay

event PostBeginPlay ()

Overrides: GameInfo.PostBeginPlay


Timer

event Timer ()

Overrides: GameInfo.Timer


Other instance functions

AddBot

function bool AddBot ()

Overrides: GameInfo.AddBot


CanSpectate

function bool CanSpectate (Pawn Viewer, Actor ViewTarget)

Overrides: GameInfo.CanSpectate


ChangeName

function ChangeName (Pawn Other, coerce string S, bool bNameChange)

Overrides: GameInfo.ChangeName


EndGame

function EndGame (string Reason)

Overrides: GameInfo.EndGame


FindPlayerStart

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

Overrides: GameInfo.FindPlayerStart


GetIntOption

function int GetIntOption (string Options, string ParseString, int CurrentValue)

Overrides: GameInfo.GetIntOption


GetRules

function string GetRules ()

Overrides: GameInfo.GetRules


IsRelevant

function bool IsRelevant (Actor Other)

Overrides: GameInfo.IsRelevant


Killed

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

Overrides: GameInfo.Killed


LogGameParameters

function LogGameParameters (StatLog StatLog)

Overrides: GameInfo.LogGameParameters


Logout

function Logout (Pawn Exiting)

Overrides: GameInfo.Logout


PlayerJumpZScaling

function float PlayerJumpZScaling ()

Overrides: GameInfo.PlayerJumpZScaling


PlaySpawnEffect

function float PlaySpawnEffect (Inventory Inv)

Overrides: UnrealGameInfo.PlaySpawnEffect


ReduceDamage

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

Overrides: UnrealGameInfo.ReduceDamage


RestartGame

function RestartGame ()

Overrides: GameInfo.RestartGame


SetGameSpeed

function SetGameSpeed (float T)

Overrides: GameInfo.SetGameSpeed


ShouldRespawn

function bool ShouldRespawn (Actor Other)

Overrides: UnrealGameInfo.ShouldRespawn