I don't need to test my programs. I have an error-correcting modem.

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, U2, U2XMP, UE2Runtime, UT2004, UDK, UT3

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

Property group 'Mutator'[edit]

ConfigMenuClassName[edit]

Type: string


Description[edit]

Type: string

Modifiers: localized


Default value: "Description"

FriendlyName[edit]

Type: string

Modifiers: localized


Default value: "Mutator"

GroupName[edit]

Type: string

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

IconMaterialName[edit]

Type: string


Default value: "MutatorArt.nosym"

Internal variables[edit]

bUserAdded[edit]

Type: bool

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

DefaultWeapon[edit]

Type: class<Weapon>


DefaultWeaponName[edit]

Type: string


NextMutator[edit]

Type: Mutator


Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


OverrideDownload[edit]

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


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions[edit]

AddMutator[edit]

function AddMutator (Mutator M)


AlwaysKeep[edit]

function bool AlwaysKeep (Actor Other)


CheckRelevance[edit]

function bool CheckRelevance (Actor Other)


CheckReplacement[edit]

function bool CheckReplacement (Actor Other, out byte bSuperRelevant)


GetDefaultWeapon[edit]

function class<WeaponGetDefaultWeapon ()


GetInventoryClass[edit]

function class<InventoryGetInventoryClass (string InventoryClassName)


GetInventoryClassOverride[edit]

function string GetInventoryClassOverride (string InventoryClassName)


GetServerDetails[edit]

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)


GetServerPlayers[edit]

function GetServerPlayers (out GameInfo.ServerResponseLine ServerState)


IsRelevant[edit]

function bool IsRelevant (Actor Other, out byte bSuperRelevant)


ModifyLogin[edit]

function ModifyLogin (out string Portal, out string Options)


ModifyPlayer[edit]

function ModifyPlayer (Pawn Other)


Mutate[edit]

function Mutate (string MutateString, PlayerController Sender)


MutatorFillPlayInfo[edit]

function MutatorFillPlayInfo (PlayInfo PlayInfo)


MutatorIsAllowed[edit]

function bool MutatorIsAllowed ()


MyDefaultWeapon[edit]

function class<WeaponMyDefaultWeapon ()


ParseChatPercVar[edit]

function string ParseChatPercVar (Controller Who, string Cmd)


PlayerChangedClass[edit]

function PlayerChangedClass (Controller aPlayer)


RecommendCombo[edit]

function string RecommendCombo (string ComboName)


ReplaceWith[edit]

function bool ReplaceWith (Actor Other, string aClassName)


ServerTraveling[edit]

function ServerTraveling (string URL, bool bItems)