Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealGame.DMMutator


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
//=============================================================================
// DMMutator.
//=============================================================================

class DMMutator extends Mutator
	HideDropDown
	CacheExempt
	config;

var() globalconfig bool bMegaSpeed; // OBSOLETE
var() globalconfig float AirControl; // OBSOLETE
var() globalconfig bool bBrightSkins;

// mc - localized PlayInfo descriptions & extra info
const PROPNUM = 2;
var localized string DMMutPropsDisplayText[PROPNUM];
var localized string DMMutDescText[PROPNUM];

function bool MutatorIsAllowed()
{
	return true;
}

function bool AlwaysKeep(Actor Other)
{
	if ( NextMutator != None )
		return ( NextMutator.AlwaysKeep(Other) );
	return false;
}

function GetServerDetails(out GameInfo.ServerResponseLine ServerState)
{
	// Do not add game-type default mutators to list
}

defaultproperties
{
     AirControl=0.350000
     bBrightSkins=True
     DMMutPropsDisplayText(0)="Mega Speed"
     DMMutPropsDisplayText(1)="Air Control"
     DMMutDescText(0)="Greatly increase game speed."
     DMMutDescText(1)="Specifies how much air control players have."
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: pr 5-2-2018 12:35:50.000 - Creation time: sk 18-3-2018 09:50:07.335 - Created with UnCodeX