Cogito, ergo sum

UE2:DeathMatch (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch
Package: 
UnrealGame
Direct subclasses:
TeamGame, XDeathMatch
This class in other games:
UT2003

DeathMatch

Constants[edit]

DMPROPNUM[edit]

Value: 14


Properties[edit]

Property group 'DeathMatch'[edit]

ADR_Kill[edit]

Type: float


Default value: 5.0

ADR_KillTeamMate[edit]

Type: float


Default value: -5.0

ADR_MajorKill[edit]

Type: float


Default value: 10.0

ADR_MinorBonus[edit]

Type: float


Default value: 5.0

ADR_MinorError[edit]

Type: float


Default value: -2.0

Property group 'LoadingHints'[edit]

DMHints[edit]

Type: array<string>

Modifiers: private, localized


Default value, index 0: "Every weapon has two firing modes, a regular fire mode when you press %FIRE% and an alternate fire mode when you press %ALTFIRE%."

Default value, index 1: "Press jump again at the peak of a jump to get an extra boost."

Default value, index 10: "You can shoot down enemy Redeemer missiles with a well placed shot."

Default value, index 11: "Press %TALK% and type your message to send text messages to other players."

Default value, index 12: "You can play taunts or other voice messages through the voice menu by pressing %SPEECHMENUTOGGLE%."

Default value, index 13: "While crouching (by holding down %DUCK%), you cannot fall off a ledge."

Default value, index 14: "Pressing a movement key twice in rapid succession will make your character dodge in that direction."

Default value, index 15: "You can also dodge off walls while in the air."

Default value, index 16: "You can change weapons by pressing the associated weapon number, or scroll through your weapons using %NEXTWEAPON% and %PREVWEAPON%."

Default value, index 17: "The shock combo is a powerful explosion created with a shock rifle by shooting a shock ball with a shock beam."

Default value, index 18: "When loading up rockets using the rocket launcher alt fire, press the regular fire button before releasing the rockets to fire them in a tight spiral."

Default value, index 19: "You can toggle the scoreboard display on or off at any time by pressing %SHOWSCORES%."

Default value, index 20: "You receive adrenaline for killing enemies and other accomplishments. Once your adrenaline reaches 100, you can start an adrenaline combo by using the correct movement key combination."

Default value, index 21: "%SHOWSTATS% will bring up a personal stats display."

Property group 'Menu'[edit]

bAlwaysShowLoginMenu[edit]

Type: bool


LoginMenuClass[edit]

Type: string

Modifiers: config

Show this menu to players joining the server

Default value: "GUI2K4.UT2K4PlayerLoginMenu"

Internal variables[edit]

See DeathMatch internal variables.

Default values[edit]

Property Value
AutoAim 1.0
BeaconName "DM"
bLoggingGame True
bPauseable False
bRestartLevel False
bWeaponStay True
DefaultPlayerClassName "XGame.xPawn"
Description "Free-for-all kill or be killed. The player with the most frags wins."
GoalScore 25
HUDType "XInterface.HudCDeathMatch"
MapListType "XInterface.MapListDeathMatch"
MapPrefix "DM"
MaxPlayers 32
MutatorClass "UnrealGame.DMMutator"
PlayerControllerClassName "XGame.XPlayer"
ScoreBoardType "XInterface.ScoreBoardDeathMatch"
TimeLimit 20

Functions[edit]

Static events[edit]

AcceptPlayInfoProperty[edit]

static event bool AcceptPlayInfoProperty (string PropertyName)

Overrides: GameInfo.AcceptPlayInfoProperty


GetDescriptionText[edit]

static event string GetDescriptionText (string PropName)

Overrides: UnrealMPGameInfo.GetDescriptionText


Other static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: UnrealMPGameInfo.FillPlayInfo


GetAllLoadHints[edit]

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: GameInfo.GetAllLoadHints


GetDisplayText[edit]

static function string GetDisplayText (string PropName)

Overrides: GameInfo.GetDisplayText


GetNextLoadHint[edit]

static function string GetNextLoadHint (string MapName)

Overrides: GameInfo.GetNextLoadHint


NeverAllowTransloc[edit]

static function bool NeverAllowTransloc ()


PrecacheGameAnnouncements[edit]

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: GameInfo.PrecacheGameAnnouncements


Exec functions[edit]

AddBots[edit]

exec function AddBots (int num)


AddNamedBot[edit]

exec function AddNamedBot (string botname)


KillBots[edit]

exec function KillBots (int num)

Overrides: GameInfo.KillBots


Events[edit]

AcceptInventory[edit]

event AcceptInventory (Pawn PlayerPawn)

Overrides: GameInfo.AcceptInventory


InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: GameInfo.InitGame


Login[edit]

event PlayerController Login (string Portal, string Options, out string Error)

Overrides: UnrealMPGameInfo.Login


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: GameInfo.PostBeginPlay


PostLogin[edit]

event PostLogin (PlayerController NewPlayer)

Overrides: GameInfo.PostLogin


SetGrammar[edit]

event SetGrammar ()

Overrides: GameInfo.SetGrammar


Other instance functions[edit]

See DeathMatch instance functions.

States[edit]

MatchInProgress[edit]

MatchInProgress.beginstate[edit]

event beginstate ()

Overrides: Object.BeginState (global)


MatchInProgress.Timer[edit]

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver[edit]

MatchOver.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


MatchOver.Timer[edit]

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver.ChangeTeam[edit]

function bool ChangeTeam (Controller Other, int num, bool bNewTeam)

Overrides: GameInfo.ChangeTeam (global)


MatchOver.NeedPlayers[edit]

function bool NeedPlayers ()

Overrides: NeedPlayers (global)


MatchOver.ReduceDamage[edit]

function int ReduceDamage (int Damage, Pawn injured, Pawn instigatedBy, Object.Vector HitLocation, out Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: ReduceDamage (global)


MatchOver.RestartPlayer[edit]

function RestartPlayer (Controller aPlayer)

Overrides: RestartPlayer (global)


MatchOver.ScoreKill[edit]

function ScoreKill (Controller Killer, Controller Other)

Overrides: ScoreKill (global)


PendingMatch[edit]

Modifiers: auto

PendingMatch.beginstate[edit]

event beginstate ()

Overrides: Object.BeginState (global)


PendingMatch.Timer[edit]

event Timer ()

Overrides: GameInfo.Timer (global)


PendingMatch.AddBot[edit]

function bool AddBot (optional string botName)

Overrides: AddBot (global)


PendingMatch.RestartPlayer[edit]

function RestartPlayer (Controller aPlayer)

Overrides: RestartPlayer (global)