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
00046
//=============================================================================
// 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
{
	bBrightSkins=true
	AirControl=+0.35
	DefaultWeaponName=""
	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: Di 5.9.2006 22:36:08.000 - Creation time: Do 14.8.2014 09:58:37.598 - Created with UnCodeX