The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:XMutantGame (UT2003)

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

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


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


RegenTimeCarryOver

Type: float


Default values

Property Value
Acronym "MUT"
DeathMessageClass Class'XGame.xDeathMessage'
DecoTextName "BonusPack.MutantGame"
DefaultEnemyRosterClass "XGame.xDMRoster"
DMSquadClass Class'BonusPack.MutSquadAI'
GameName "Mutant"
GameReplicationInfoClass Class'BonusPack.MutantGameReplicationInfo'
GoalScore 20
HUDType "BonusPack.HudMutant"
MapListType "BonusPack.MapListMutant"
ScoreBoardType "BonusPack.MutantScoreboard"
ScreenShotName "MapThumbnails.ShotDeathmatch"

Functions

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)


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


UpdateBottomFeeder

function UpdateBottomFeeder ()


WantsPickups

function bool WantsPickups (Bot B)

Overrides: DeathMatch.WantsPickups