class MMRPGMODSniperSilencer extends DeusExPickup;

state Activated
{
	function Activate()
	{
	}

	function BeginState()
	{
		local DeusExPlayer player;
		local WeaponRifle Weap;
		Super.BeginState();

		player = DeusExPlayer(Owner);
		foreach AllActors(class'WeaponRifle', Weap)
		{
			if (Weap.Owner == Player)
			{
				Weap.bHasSilencer=True;
			}
		}


		UseOnce();
	}
Begin:
}

defaultproperties
{
     bActivatable=True
     ItemName="Sniper Modification (Silencer)"
     Icon=Texture'DeusExUI.Icons.BeltIconWeaponModSilencer'
     largeIcon=Texture'DeusExUI.Icons.LargeIconWeaponModSilencer'
     Description="A silencer will muffle the muzzle crack caused by rapidly expanding gases left in the wake of a bullet leaving the gun barrel.|n|n<UNATCO OPS FILE NOTE SC108-BLUE> Obviously, a silencer is only effective with firearms. -- Sam Carter <END NOTE>"
     beltDescription="SNIPE SLNCR"
     PlayerViewOffset=(X=30.000000,Z=-12.000000)
     PlayerViewMesh=LodMesh'DeusExItems.WeaponMod'
     PickupViewMesh=LodMesh'DeusExItems.WeaponMod'
     ThirdPersonMesh=LodMesh'DeusExItems.WeaponMod'
     LandSound=Sound'DeusExSounds.Generic.PlasticHit1'
     largeIconWidth=34
     largeIconHeight=49
     Mesh=LodMesh'DeusExItems.WeaponMod'
     CollisionRadius=3.500000
     CollisionHeight=4.420000
     Mass=1.000000
     Skin=Texture'DeusExItems.Skins.WeaponModTex7'
}
