UE2:DeathMatch (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch
Package: 
UnrealGame

DeathMatch

Constants

DMPROPNUM

Value: 14


Properties

Property group 'DeathMatch'

ADR_Kill

Type: float


Default value: 5.0

ADR_KillTeamMate

Type: float


Default value: -5.0

ADR_MajorKill

Type: float


Default value: 10.0

ADR_MinorBonus

Type: float


Default value: 5.0

ADR_MinorError

Type: float


Default value: -2.0

Property group 'LoadingHints'

DMHints

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'

bAlwaysShowLoginMenu

Type: bool


LoginMenuClass

Type: string

Modifiers: config

Show this menu to players joining the server

Default value: "GUI2K4.UT2K4PlayerLoginMenu"

Internal variables

See DeathMatch internal variables.

Default values

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

Static events

AcceptPlayInfoProperty

static event bool AcceptPlayInfoProperty (string PropertyName)

Overrides: GameInfo.AcceptPlayInfoProperty


GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: UnrealMPGameInfo.GetDescriptionText


Other static functions

FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: UnrealMPGameInfo.FillPlayInfo


GetAllLoadHints

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: GameInfo.GetAllLoadHints


GetDisplayText

static function string GetDisplayText (string PropName)

Overrides: GameInfo.GetDisplayText


GetNextLoadHint

static function string GetNextLoadHint (string MapName)

Overrides: GameInfo.GetNextLoadHint


NeverAllowTransloc

static function bool NeverAllowTransloc ()


PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: GameInfo.PrecacheGameAnnouncements


Exec functions

AddBots

exec function AddBots (int num)


AddNamedBot

exec function AddNamedBot (string botname)


KillBots

exec function KillBots (int num)

Overrides: GameInfo.KillBots


Events

AcceptInventory

event AcceptInventory (Pawn PlayerPawn)

Overrides: GameInfo.AcceptInventory


InitGame

event InitGame (string Options, out string Error)

Overrides: GameInfo.InitGame


Login

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

Overrides: UnrealMPGameInfo.Login


PostBeginPlay

event PostBeginPlay ()

Overrides: GameInfo.PostBeginPlay


PostLogin

event PostLogin (PlayerController NewPlayer)

Overrides: GameInfo.PostLogin


SetGrammar

event SetGrammar ()

Overrides: GameInfo.SetGrammar


Other instance functions

See DeathMatch instance functions.

States

MatchInProgress

MatchInProgress.beginstate

event beginstate ()

Overrides: Object.BeginState (global)


MatchInProgress.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver

MatchOver.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


MatchOver.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver.ChangeTeam

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

Overrides: GameInfo.ChangeTeam (global)


MatchOver.NeedPlayers

function bool NeedPlayers ()

Overrides: NeedPlayers (global)


MatchOver.ReduceDamage

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

Overrides: ReduceDamage (global)


MatchOver.RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: RestartPlayer (global)


MatchOver.ScoreKill

function ScoreKill (Controller Killer, Controller Other)

Overrides: ScoreKill (global)


PendingMatch

Modifiers: auto

PendingMatch.beginstate

event beginstate ()

Overrides: Object.BeginState (global)


PendingMatch.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


PendingMatch.AddBot

function bool AddBot (optional string botName)

Overrides: AddBot (global)


PendingMatch.RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: RestartPlayer (global)