Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:Mutator (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> Mutator
Package: 
Engine
Direct subclasses:
DMMutator, MutRegen, MutArena, MutBigHead, MutCrateCombo, MutDelayedSpawn, MutHeliumCorpses, MutInstaGib, MutLowGrav, MutNoAdrenaline, MutNoSuperWeapon, MutPintSizeCombo, MutQuadJump, MutSlomoDeath, MutSpeciesStats, MutUTClassic, MutVampire
This class in other games:
RTNP, U1, UT, U2XMP, U2, UE2Runtime, UT2004, UT3, UDK

Mutator.

Mutators allow modifications to gameplay while keeping the game rules intact. Mutators are given the opportunity to modify player login parameters with ModifyLogin(), to modify player pawn properties with ModifyPlayer(), to change the default weapon for players with GetDefaultWeapon(), or to modify, remove, or replace all other actors when they are spawned with CheckRelevance(), which is called from the PreBeginPlay() function of all actors except those (Decals, Effects and Projectiles for performance reasons) which have bGameRelevant==true.

Properties

Property group 'Mutator'

ConfigMenuClassName

Type: string


Description

Type: string

Modifiers: localized


Default value: "Description"

FriendlyName

Type: string

Modifiers: localized


Default value: "Mutator"

GroupName

Type: string

Will only allow one mutator with this tag to be selected.

IconMaterialName

Type: string


Default value: "MutatorArt.nosym"

Internal variables

bUserAdded

Type: bool

mc - mutator was added by user (cmdline or mutator list)

DefaultWeapon

Type: class<Weapon>


DefaultWeaponName

Type: string


NextMutator

Type: Mutator


Functions

Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


OverrideDownload

event bool OverrideDownload (string PlayerIP, string PlayerID, string PlayerURL, out string RedirectURL)


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions

AddMutator

function AddMutator (Mutator M)


AlwaysKeep

function bool AlwaysKeep (Actor Other)


CheckRelevance

function bool CheckRelevance (Actor Other)


CheckReplacement

function bool CheckReplacement (Actor Other, out byte bSuperRelevant)


GetDefaultWeapon

function class<WeaponGetDefaultWeapon ()


GetInventoryClass

function class<InventoryGetInventoryClass (string InventoryClassName)


GetInventoryClassOverride

function string GetInventoryClassOverride (string InventoryClassName)


GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)


GetServerPlayers

function GetServerPlayers (out GameInfo.ServerResponseLine ServerState)


IsRelevant

function bool IsRelevant (Actor Other, out byte bSuperRelevant)


ModifyLogin

function ModifyLogin (out string Portal, out string Options)


ModifyPlayer

function ModifyPlayer (Pawn Other)


Mutate

function Mutate (string MutateString, PlayerController Sender)


MutatorFillPlayInfo

function MutatorFillPlayInfo (PlayInfo PlayInfo)


MutatorIsAllowed

function bool MutatorIsAllowed ()


MyDefaultWeapon

function class<WeaponMyDefaultWeapon ()


ParseChatPercVar

function string ParseChatPercVar (Controller Who, string Cmd)


PlayerChangedClass

function PlayerChangedClass (Controller aPlayer)


RecommendCombo

function string RecommendCombo (string ComboName)


ReplaceWith

function bool ReplaceWith (Actor Other, string aClassName)


ServerTraveling

function ServerTraveling (string URL, bool bItems)