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

UE2:DeathMatch (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch

Contents

Package: 
UnrealGame
Direct subclasses:
TeamGame, XDeathMatch
This class in other games:
UT2003

DeathMatch

[edit] Constants

[edit] DMPROPNUM

Value: 14


[edit] Properties

[edit] Property group 'DeathMatch'

[edit] ADR_Kill

Type: float


Default value: 5.0

[edit] ADR_KillTeamMate

Type: float


Default value: -5.0

[edit] ADR_MajorKill

Type: float


Default value: 10.0

[edit] ADR_MinorBonus

Type: float


Default value: 5.0

[edit] ADR_MinorError

Type: float


Default value: -2.0

[edit] Property group 'LoadingHints'

[edit] 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."

[edit] Property group 'Menu'

[edit] bAlwaysShowLoginMenu

Type: bool


[edit] LoginMenuClass

Type: string

Modifiers: config

Show this menu to players joining the server

Default value: "GUI2K4.UT2K4PlayerLoginMenu"

[edit] Internal variables

See DeathMatch internal variables.

[edit] 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

[edit] Functions

[edit] Static events

[edit] AcceptPlayInfoProperty

static event bool AcceptPlayInfoProperty (string PropertyName)

Overrides: GameInfo.AcceptPlayInfoProperty


[edit] GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: UnrealMPGameInfo.GetDescriptionText


[edit] Other static functions

[edit] FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: UnrealMPGameInfo.FillPlayInfo


[edit] GetAllLoadHints

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)

Overrides: GameInfo.GetAllLoadHints


[edit] GetDisplayText

static function string GetDisplayText (string PropName)

Overrides: GameInfo.GetDisplayText


[edit] GetNextLoadHint

static function string GetNextLoadHint (string MapName)

Overrides: GameInfo.GetNextLoadHint


[edit] NeverAllowTransloc

static function bool NeverAllowTransloc ()


[edit] PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: GameInfo.PrecacheGameAnnouncements


[edit] Exec functions

[edit] AddBots

exec function AddBots (int num)


[edit] AddNamedBot

exec function AddNamedBot (string botname)


[edit] KillBots

exec function KillBots (int num)

Overrides: GameInfo.KillBots


[edit] Events

[edit] AcceptInventory

event AcceptInventory (Pawn PlayerPawn)

Overrides: GameInfo.AcceptInventory


[edit] InitGame

event InitGame (string Options, out string Error)

Overrides: GameInfo.InitGame


[edit] Login

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

Overrides: UnrealMPGameInfo.Login


[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: GameInfo.PostBeginPlay


[edit] PostLogin

event PostLogin (PlayerController NewPlayer)

Overrides: GameInfo.PostLogin


[edit] SetGrammar

event SetGrammar ()

Overrides: GameInfo.SetGrammar


[edit] Other instance functions

See DeathMatch instance functions.

[edit] States

[edit] MatchInProgress

[edit] MatchInProgress.beginstate

event beginstate ()

Overrides: Object.BeginState (global)


[edit] MatchInProgress.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


[edit] MatchOver

[edit] MatchOver.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


[edit] MatchOver.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


[edit] MatchOver.ChangeTeam

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

Overrides: GameInfo.ChangeTeam (global)


[edit] MatchOver.NeedPlayers

function bool NeedPlayers ()

Overrides: NeedPlayers (global)


[edit] MatchOver.ReduceDamage

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

Overrides: ReduceDamage (global)


[edit] MatchOver.RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: RestartPlayer (global)


[edit] MatchOver.ScoreKill

function ScoreKill (Controller Killer, Controller Other)

Overrides: ScoreKill (global)


[edit] PendingMatch

Modifiers: auto

[edit] PendingMatch.beginstate

event beginstate ()

Overrides: Object.BeginState (global)


[edit] PendingMatch.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


[edit] PendingMatch.AddBot

function bool AddBot (optional string botName)

Overrides: AddBot (global)


[edit] PendingMatch.RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: RestartPlayer (global)