//-----------------------------------------------------------
// 
//-----------------------------------------------------------
class HostageTaker expands BOTHumanMilitary;


function Carcass SpawnCarcass()
{
	DoReward(Enemy);

	return Super.SpawnCarcass();
}




function DoReward(pawn Killer)
{
	local HostageTaker H;
	local HTControl HTC;

	if (Killer.IsA('_MMRPGPlayer'))
	{
		ForEach AllActors (class'HostageTaker', H)
		{
			If(H != Self)
			{
				return;
			}
		}

		_MMRPGPlayer(Killer).PaxxMission = 4;
		_MMRPGPlayer(Killer).SkillItUp(2);
		Killer.ClientMessage("Goal Completed");
		Killer.ClientMessage("Goal Received (Press F2 for details)");
		_MMRPGPlayer(Killer).ClientMessage("All hostage-takers eliminated.");
		ForEach AllActors (class'HTControl', HTC)
		{
			HTC.Lagga(_MMRPGPlayer(Killer));
		}

	}
}

defaultproperties
{
     InitialAlliances(0)=(AllianceName=Player,AllianceLevel=-1.000000,bPermanent=True)
     bfearAlarm=False
     bFearCarcass=False
     bFearDistress=False
     bFearShot=False
     bFearIndirectInjury=False
     bInvincible=False
     bHateShot=True
     bHateInjury=True
     bHateIndirectInjury=True
     bHateWeapon=True
     bReactPresence=True
     bEmitDistress=False
     Health=200
     HealthHead=300
     HealthTorso=200
     HealthLegLeft=200
     HealthLegRight=200
     HealthArmLeft=200
     HealthArmRight=200
     CarcassType=Class'Contender.BotCarc'
     InitialInventory(0)=(Inventory=Class'Contender.BotAssaultGun2')
     WalkingSpeed=0.296000
     BaseAssHeight=-23.000000
     walkAnimMult=0.800000
     GroundSpeed=200.000000
     Mesh=LodMesh'DeusExCharacters.GM_DressShirt'
     MultiSkins(0)=Texture'DeusExCharacters.Skins.ThugMale2Tex0'
     MultiSkins(1)=Texture'DeusExItems.Skins.PinkMaskTex'
     MultiSkins(2)=Texture'DeusExItems.Skins.PinkMaskTex'
     MultiSkins(3)=Texture'DeusExCharacters.Skins.ThugMale2Tex2'
     MultiSkins(4)=Texture'DeusExCharacters.Skins.ThugMale2Tex0'
     MultiSkins(5)=Texture'DeusExCharacters.Skins.ThugMale2Tex1'
     MultiSkins(6)=Texture'DeusExItems.Skins.GrayMaskTex'
     MultiSkins(7)=Texture'DeusExItems.Skins.BlackMaskTex'
     CollisionRadius=20.000000
     CollisionHeight=47.500000
     CollisionHeight=47.500000
     BindName="Thug"
     FamiliarName="Thug"
     UnfamiliarName="Thug"
}
