// Mutator created by Marco.
Class MutKillMessage extends Mutator
	Config(MutKillMessage);

var() config int MessageHealthLimit,MessageMassLimit;
var() config bool bMessageDamage,bMessageKills;

function PreBeginPlay()
{
	Spawn(Class'KillsRules');
	AddToPackageMap();
}

static function FillPlayInfo(PlayInfo PlayInfo)
{
	Super.FillPlayInfo(PlayInfo);
	PlayInfo.AddSetting(default.RulesGroup, "MessageHealthLimit", "Message HP limit", 0, 1, "Text", "8;0:50000");
	PlayInfo.AddSetting(default.RulesGroup, "MessageMassLimit", "Message mass limit", 0, 1, "Text", "8;0:50000");
	PlayInfo.AddSetting(default.RulesGroup, "bMessageDamage","Message damage",0,1,"Check");
	PlayInfo.AddSetting(default.RulesGroup, "bMessageKills","Message kills",0,1,"Check");
}
static event string GetDescriptionText(string PropName)
{
	switch(PropName)
	{
		case "MessageHealthLimit":
			return "Monster health limit of the killed monster to broadcast the kill.";
		case "MessageMassLimit":
			return "Monster mass limit of the killed monster to broadcast the kill.";
		case "bMessageDamage":
			return "Show the amount of damage messages on HUD.";
		case "bMessageKills":
			return "Show the kills messages on HUD.";
	}
}

defaultproperties
{
     MessageHealthLimit=1000
     MessageMassLimit=5000
     bMessageDamage=True
     bMessageKills=True
     GroupName="KF-MessageMut"
     FriendlyName="Kill/damage Messages"
     Description="Add zombie kill/damage messages on screen."
     LifeSpan=0.100000
}
