//=============================================================================
// WeaponStealthPistol.
//=============================================================================
class ArenaStealthPistol extends ArenaWeapon;


simulated function bool TestMPBeltSpot(int BeltSpot)
{
   return ( (BeltSpot >= 1) && (BeltSpot <=8) );
}



simulated function bool ClientFire( float value )
{
		if((Region.Zone.IsA('ArenaZoneSafe')) || (Region.Zone.IsA('MMRPGRoomArea')) || (Region.Zone.IsA('MMRPGSafeArea')))
		{
			return False;
		}

		if((!Region.Zone.IsA('ArenaZoneSafe')) && (!Region.Zone.IsA('MMRPGRoomArea')) && (!Region.Zone.IsA('MMRPGSafeArea')))
		{
			return Super.ClientFire(value);
		}
}

function Fire(float Value)
{
	if((Region.Zone.IsA('ArenaZoneSafe')) || (Region.Zone.IsA('MMRPGRoomArea')) || (Region.Zone.IsA('MMRPGSafeArea')))
	{
		return;
	}

	if((!Region.Zone.IsA('ArenaZoneSafe')) && (!Region.Zone.IsA('MMRPGRoomArea')) && (!Region.Zone.IsA('MMRPGSafeArea')))
	{
		Super.Fire(Value);
	}
}

defaultproperties
{
     bNeedToSetMPPickupAmmo=False
     LowAmmoWaterMark=30
     GoverningSkill=Class'DeusEx.SkillWeaponRifle'
     EnviroEffective=ENVEFF_Air
     Concealability=CONC_Visual
     bAutomatic=True
     ShotTime=0.400000
     reloadTime=2.000000
     HitDamage=4
     BaseAccuracy=0.700000
     bCanHaveLaser=False
     bCanHaveSilencer=False
     recoilStrength=0.500000
     MinWeaponAcc=0.200000
     mpReloadTime=0.500000
     mpHitDamage=4
     mpBaseAccuracy=0.800000
     mpAccurateRange=2400
     mpMaxRange=2400
     mpReloadCount=30
     bCanHaveModBaseAccuracy=True
     bCanHaveModReloadCount=True
     bCanHaveModAccurateRange=True
     bCanHaveModReloadTime=True
     bCanHaveModRecoilStrength=True
     AmmoName=Class'Contender.XCRAmmo'
     ReloadCount=30
     PickupAmmoCount=90
     bInstantHit=True
     FireOffset=(X=-16.000000,Y=5.000000,Z=11.500000)
     shakemag=10.000000
     FireSound=Sound'ContenderStuff.Weapons.XCRFire'
     AltFireSound=None
     CockingSound=Sound'ContenderStuff.Weapons.XCRReload'
     SelectSound=Sound'ContenderStuff.Weapons.XCRSelect'
     InventoryGroup=101
     ItemName="[Arena] Robinson Arms XCR Rifle"
     ItemArticle="a"
     PlayerViewOffset=(X=16.000000,Y=-5.000000,Z=-11.500000)
     PlayerViewMesh=LodMesh'ContenderStuff.xcr1'
     PickupViewMesh=LodMesh'ContenderStuff.xcrpickup'
     ThirdPersonMesh=LodMesh'ContenderStuff.xcr3'
     LandSound=Sound'DeusExSounds.Generic.DropMediumWeapon'
     Icon=Texture'ContenderStuff.Icons.BeltIconXCR'
     largeIcon=Texture'ContenderStuff.Icons.LargeIconXCR'
     largeIconWidth=94
     largeIconHeight=65
     invSlotsX=2
     invSlotsY=2
     Description="An XCR M12 assault rifle."
     beltDescription="[ARENA]XCR"
     Mesh=LodMesh'ContenderStuff.xcrpickup'
     CollisionRadius=15.000000
     CollisionHeight=1.100000
     Mass=30.000000
}

