Gah - a solution with more questions. – EntropicLqd


From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 19:30, 4 January 2006 by SuperApe (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT :: Actor (UT) >> Info (UT) >> Mutator (UT) >> DMMutator (Package: Botpack)
UT2003 :: Actor >> Info >> Mutator >> DMMutator (Package: UnrealGame)

This is used as the BaseMutator in most game types.

Properties in UT[edit]

DeathMatchPlus MyGame 
A link to the GameInfo (UT) (Level.Game). This variable is set in PostBeginPlay and is used in CheckReplacement.

Properties in UT200x[edit]

float AirControl (globalconfig) 
Air control. Obsolete in UT2004.
bool bBrightSkins (globalconfig) 
Use Epic bright skins for UT2003 models. Not available in earlier patches of UT2003, enabled by default in UT2004 and doesn't affect the newer models.
bool bMegaSpeed (globalconfig) 
Higher game speed. Obsolete in UT2004.

Functionality in UT[edit]

DMMutator replaces Unreal items, weapons and ammo with UT versions. The bAutoActivate property of all Inventory (UT) items is set to True.

The mutator also prevents other mutators from changing StationaryPawns (through AlwaysKeep), sets the NetUpdateFrequency of TorchFlames to 0.5 and raises the speed of players by 40% in Turbo game mode.

Functionality in UT200x[edit]

DMMutator handles the air control setting and Epic's bright skins as well as a turbo mode like in UT. This mega speed mode can't be activated through the in-game GUI, though.

Known Subclasses (UT)[edit]

Known Subclasses (UT2003)[edit]

Known Subclasses (UT2004)[edit]


Ben2500: Is this how you make a mutator into a gametype?

Wormbo: Basically the GameInfo.Mutator setting tells the gametype, which BaseMutator it should use. There's always a BaseMutator in a game and it has slightly more functionality than regular mutators. The BaseMutator should be subclasses from DMMutator and takes care of all the tasks a GameInfo subclass can't handle. Sometimes you will also want to make a base GameRules class, but keep in mind that only actors with bGameRelevant=True can be spawned before the BaseMutator is successfully registered. Also it's a good idea to declare the base mutator class with the keywords CacheExempt and HideDropDown in UT2004 because they should never show up in the mutator list and should never be added manuall by a user.