UE2:XMutantGame (UT2004)

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

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

Property group 'xMutantGame'

BaseKillScore

Type: int

Basic number of points for a kill

Default value: 2

bEnableBottomFeeder

Type: bool

Modifiers: config


Default value: True

BottomFeederKillScore

Type: int

Points the mutant gets for killing the bottom feeder

Default value: 5

DegenInterval

Type: float


Default value: 0.8

MaxMultiKillScore

Type: int

Cap on multi-kill score

Default value: 4

MultiKillBonus

Type: int

Additional points for each level of multi-kill

Default value: 1

MutantKillHealthBonus

Type: int

Health the mutant gets for killing someone

Default value: 25

MutantMaterial

Type: Material


Default value: FinalBlend'XGameShaders.InvisFinal'

MutantSuicidePenalty

Type: int

When the mutant suicides, number of points they lose

Default value: 4

Internal variables

CurrentBottomFeeder

Type: Controller


CurrentMutant

Type: Controller


MutDescText

Type: string

Modifiers: localized


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

MutPropText

Type: string

Modifiers: localized


Default value: "Enable BottomFeeder"

RegenTimeCarryOver

Type: float


Default values

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

Static events

GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: DeathMatch.GetDescriptionText


Other static functions

FillPlayInfo

static function FillPlayInfo (PlayInfo PI)

Overrides: DeathMatch.FillPlayInfo


PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)

Overrides: DeathMatch.PrecacheGameAnnouncements


PrecacheGameTextures

static function PrecacheGameTextures (LevelInfo myLevel)

Overrides: xDeathMatch.PrecacheGameTextures


Events

InitGame

event InitGame (string Options, out string Error)

Overrides: DeathMatch.InitGame


Login

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

Overrides: DeathMatch.Login


PostLogin

event PostLogin (PlayerController NewPlayer)

Overrides: DeathMatch.PostLogin


Tick

event Tick (float deltaSeconds)

Overrides: Actor.Tick


Other instance functions

CheckScore

function CheckScore (PlayerReplicationInfo Scorer)

Overrides: DeathMatch.CheckScore


ComparePRI

function int ComparePRI (PlayerReplicationInfo PRI1, PlayerReplicationInfo PRI2)


EquipMutant

function EquipMutant (xPawn PredPawn)


GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)

Overrides: DeathMatch.GetServerDetails


IsBottomFeeder

function bool IsBottomFeeder (Controller C)


Logout

function Logout (Controller Exiting)

Overrides: DeathMatch.Logout


NotifyKilled

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

Overrides: GameInfo.NotifyKilled


PickupQuery

function bool PickupQuery (Pawn Other, Pickup item)

Overrides: UnrealMPGameInfo.PickupQuery


RandomTeleportMutant

function RandomTeleportMutant (Controller Pred, xPawn PredPawn)


RatePlayerStart

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

Overrides: DeathMatch.RatePlayerStart


RecommendCombo

function string RecommendCombo (string ComboName)

Overrides: GameInfo.RecommendCombo


ReduceDamage

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

Overrides: DeathMatch.ReduceDamage


ScoreKill

function ScoreKill (Controller Killer, Controller Other)

Overrides: DeathMatch.ScoreKill


SendAllCurrentMutantMessage

function SendAllCurrentMutantMessage ()


SendCurrentMutantMessage

function SendCurrentMutantMessage (PlayerController Player)


SetMutant

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


SpawnBot

function Bot SpawnBot (optional string botName)

Overrides: DeathMatch.SpawnBot


UpdateAnnouncements

simulated function UpdateAnnouncements ()

Overrides: Actor.UpdateAnnouncements


UpdateBottomFeeder

function UpdateBottomFeeder ()


WantsPickups

function bool WantsPickups (Bot B)

Overrides: DeathMatch.WantsPickups