My program doesn't have bugs. It just develops random features.

UE2:U2DeathMatch (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo >> U2DeathMatch
Package: 
U2
Direct subclass:
U2TeamGame

U2DeathMatch.uc $Author: Mfox $ $Date: 2/27/03 3:10p $ $Revision: 34 $

Constants[edit]

STAGE_PreGame[edit]

Value: 0


STAGE_MidGame[edit]

Value: 1


STAGE_PostGame[edit]

Value: 2


Properties[edit]

Property group 'U2DeathMatch'[edit]

bChangeLevels[edit]

Type: bool

Modifiers: config

level change in RestartGame()

Default value: True

GoalScore[edit]

Type: int

Modifiers: config

frag limit for death match, team score in team games

Default value: 20

MultiplayerCountdown[edit]

Type: int


Default value: 3

MultiplayerPlayerWait[edit]

Type: int

how long to wait for human players before giving up and adding bots

Default value: 33

RestartDelay[edit]

Type: float

Modifiers: globalconfig

seconds to wait after game ends before restarting

Default value: 15.0

Score_EnemyKill[edit]

Type: float


Default value: 1.0

Score_Suicide[edit]

Type: float


Default value: -1.0

StandAloneCountdown[edit]

Type: int


Default value: 1

TimeLimit[edit]

Type: int

Modifiers: config

time limit in minutes

Internal variables[edit]

bAlreadyChanged[edit]

Type: bool

level change in progress (U2PlayerController.ServerRestartGame() calls U2GameInfo.RestartGame() when any player presses Fire())

bForceRespawn[edit]

Type: bool

Modifiers: config

force players to respawn (for games such as LMS where delaying respawn helps the player)

bJumpMatch[edit]

Type: bool

Modifiers: config

boost PlayerJumpZScaling() when true

BotConfig[edit]

Type: U2BotInfo


BotConfigType[edit]

Type: class<U2BotInfo>


Default value: Class'U2.U2BotInfo'

BotPackageClassStr[edit]

Type: string


Default value: "U2AIOld.U2NPCControllerBotOld"

bRequireReady[edit]

Type: bool


bTournament[edit]

Type: bool

Modifiers: globalconfig

wait for all players before starting game

CountDown[edit]

Type: int

count down to game start

CountDownMessage[edit]

Type: string

Modifiers: localized


Default value: " seconds until play starts!"

ElapsedTime[edit]

Type: int


GameEndedMessage[edit]

Type: string

Modifiers: localized


Default value: "wins the match!"

GameGoal[edit]

Type: string

Modifiers: localized


Default value: "frags wins the match."

GBestPlayer[edit]

Type: Controller


LastPlayerStartSpot[edit]

Type: NavigationPoint

last place player looking for start spot started from

LastStartSpot[edit]

Type: NavigationPoint

last place any player started from

LevelRatingDefensive[edit]

Type: float

used by bots to determine whether their inventory ok defensively

Default value: -1.0

LevelRatingOffensive[edit]

Type: float

used by bots to determine whether their inventory ok offensively

Default value: -1.0

NoNameChange[edit]

Type: string

Modifiers: localized


Default value: " is already in use."

NotReadyMessage[edit]

Type: string

Modifiers: localized


Default value: "You are NOT READY!"

ReadyMessage[edit]

Type: string

Modifiers: localized


Default value: "You are READY!"

RemainingBots[edit]

Type: int

number of Bots to add

RestartTime[edit]

Type: float

Level.TimeSecond time to start next game

SingleWaitingMessage[edit]

Type: string

Modifiers: localized


Default value: "Press Fire to start."

Stage[edit]

Type: byte


StartMessage[edit]

Type: string

Modifiers: localized


Default value: "The match has begun!"

TourneyMessage[edit]

Type: string

Modifiers: localized


Default value: "Waiting for other players."

WaitingMessage1[edit]

Type: string

Modifiers: localized


Default value: "Waiting for ready signals."

WaitingMessage2[edit]

Type: string

Modifiers: localized


Default value: "(Use your fire button to toggle ready!)"

Default values[edit]

Property Value
bDelayedStart True
BeaconName "DM"
bForcedWeaponSwitch False
bLoggingGame True
bMultiWeaponStay True
bNoisyWeaponChanges True
bPauseable False
bRestartLevel False
bSinglePlayerMission False
bUseCombatSounds False
FriendlyDamageScale 1.0
GameName "DeathMatch"
GameReplicationInfoClass Class'U2.U2GameReplicationInfo'
MapPrefix "DM"
MaxDifficulty 7
PlayerSpeedRatio 1.8
SpeedRatio 1.8

Functions[edit]

Events[edit]

AcceptInventory[edit]

event AcceptInventory (Pawn PlayerPawn)

Overrides: GameInfo.AcceptInventory


InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: DialogGameInfo.InitGame


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: U2GameInfo.PostBeginPlay


PostLogin[edit]

event PostLogin (PlayerController NewPlayer, bool bTraveling)

Overrides: U2GameInfo.PostLogin


Timer[edit]

event Timer ()

Overrides: GameInfo.Timer


Other instance functions[edit]

See U2DeathMatch instance functions.