Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:XMutantGame (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo >> DeathMatch >> xDeathMatch >> XMutantGame
Package: 
BonusPack
This class in other games:
UT2003

Class: BonusPack.xMutantGame

Main 'Mutant' game type tab. Basic idea: - When there is no existing mutant, first blood mutates. - Everyone else must hunt down the mutant - you can't kill each other. You get a radar to find them. - If you kill the mutant, you mutate. - Mutant gets invisibility, agility and regen based on number of other players.

Written by James Golding (c) 2002, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'xMutantGame'[edit]

BaseKillScore[edit]

Type: int

Basic number of points for a kill

Default value: 2

bEnableBottomFeeder[edit]

Type: bool

Modifiers: config


Default value: True

BottomFeederKillScore[edit]

Type: int

Points the mutant gets for killing the bottom feeder

Default value: 5

DegenInterval[edit]

Type: float


Default value: 0.8

MaxMultiKillScore[edit]

Type: int

Cap on multi-kill score

Default value: 4

MultiKillBonus[edit]

Type: int

Additional points for each level of multi-kill

Default value: 1

MutantKillHealthBonus[edit]

Type: int

Health the mutant gets for killing someone

Default value: 25

MutantMaterial[edit]

Type: Material


Default value: FinalBlend'XGameShaders.InvisFinal'

MutantSuicidePenalty[edit]

Type: int

When the mutant suicides, number of points they lose

Default value: 4

Internal variables[edit]

CurrentBottomFeeder[edit]

Type: Controller


CurrentMutant[edit]

Type: Controller


MutDescText[edit]

Type: string

Modifiers: localized


Default value: "If enabled, the player with the lowest score is the BottomFeeder, and can kill other players."

MutPropText[edit]

Type: string

Modifiers: localized


Default value: "Enable BottomFeeder"

RegenTimeCarryOver[edit]

Type: float


Default values[edit]

Property Value
Acronym "MUT"
DecoTextName "BonusPack.MutantGame"
Description "The first player to score a frag becomes the Mutant. Everyone else hunts the Mutant, as by killing the mutant, a player becomes the mutant, with superhuman powers. The player with the lowest score is the Bottom Feeder. He can also kill other players."
DMSquadClass Class'BonusPack.MutSquadAI'
GameName "Mutant"
GameReplicationInfoClass Class'BonusPack.MutantGameReplicationInfo'
GoalScore 20
HUDType "BonusPack.HudMutant"
MapListType "BonusPack.MapListMutant"
ScoreBoardType "BonusPack.MutantScoreboard"
ScreenShotName "UT2004Thumbnails.MutantShots"

Functions[edit]

Static events[edit]

GetDescriptionText[edit]

static event string GetDescriptionText (string PropName)

Overrides: DeathMatch.GetDescriptionText


Other static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PI)

Overrides: DeathMatch.FillPlayInfo


PrecacheGameAnnouncements[edit]

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: DeathMatch.PrecacheGameAnnouncements


PrecacheGameTextures[edit]

static function PrecacheGameTextures (LevelInfo myLevel)

Overrides: xDeathMatch.PrecacheGameTextures


Events[edit]

InitGame[edit]

event InitGame (string Options, out string Error)

Overrides: DeathMatch.InitGame


Login[edit]

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

Overrides: DeathMatch.Login


PostLogin[edit]

event PostLogin (PlayerController NewPlayer)

Overrides: DeathMatch.PostLogin


Tick[edit]

event Tick (float deltaSeconds)

Overrides: Actor.Tick


Other instance functions[edit]

CheckScore[edit]

function CheckScore (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckScore


ComparePRI[edit]

function int ComparePRI (PlayerReplicationInfo PRI1, PlayerReplicationInfo PRI2)


EquipMutant[edit]

function EquipMutant (xPawn PredPawn)


GetServerDetails[edit]

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)

Overrides: DeathMatch.GetServerDetails


IsBottomFeeder[edit]

function bool IsBottomFeeder (Controller C)


Logout[edit]

function Logout (Controller Exiting)

Overrides: DeathMatch.Logout


NotifyKilled[edit]

function NotifyKilled (Controller Killer, Controller Other, Pawn OtherPawn)

Overrides: GameInfo.NotifyKilled


PickupQuery[edit]

function bool PickupQuery (Pawn Other, Pickup item)

Overrides: UnrealMPGameInfo.PickupQuery


RandomTeleportMutant[edit]

function RandomTeleportMutant (Controller Pred, xPawn PredPawn)


RatePlayerStart[edit]

function float RatePlayerStart (NavigationPoint N, byte Team, Controller Player)

Overrides: DeathMatch.RatePlayerStart


RecommendCombo[edit]

function string RecommendCombo (string ComboName)

Overrides: GameInfo.RecommendCombo


ReduceDamage[edit]

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

Overrides: DeathMatch.ReduceDamage


ScoreKill[edit]

function ScoreKill (Controller Killer, Controller Other)

Overrides: DeathMatch.ScoreKill


SendAllCurrentMutantMessage[edit]

function SendAllCurrentMutantMessage ()


SendCurrentMutantMessage[edit]

function SendCurrentMutantMessage (PlayerController Player)


SetMutant[edit]

function SetMutant (Controller Pred, xPawn PredPawn, bool isPred)


SpawnBot[edit]

function Bot SpawnBot (optional string botName)

Overrides: DeathMatch.SpawnBot


UpdateAnnouncements[edit]

simulated function UpdateAnnouncements ()

Overrides: Actor.UpdateAnnouncements


UpdateBottomFeeder[edit]

function UpdateBottomFeeder ()


WantsPickups[edit]

function bool WantsPickups (Bot B)

Overrides: DeathMatch.WantsPickups