//=============================================================================
// WeaponPistol.
//=============================================================================
class ArenaPistol extends ArenaWeapon;


simulated function PreBeginPlay()
{
	Super.PreBeginPlay();

	// If this is a netgame, then override defaults
	if ( Level.NetMode != NM_StandAlone )
	{
		HitDamage = mpHitDamage;
		BaseAccuracy = mpBaseAccuracy;
		ReloadTime = mpReloadTime;
		AccurateRange = mpAccurateRange;
		MaxRange = mpMaxRange;
		ReloadCount = mpReloadCount;
	}
}



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);
		}
}

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

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
{
     LowAmmoWaterMark=6
     GoverningSkill=Class'DeusEx.SkillWeaponPistol'
     EnviroEffective=ENVEFF_Air
     Concealability=CONC_Visual
     ShotTime=0.600000
     reloadTime=1.800000
     HitDamage=11
     maxRange=4800
     AccurateRange=2400
     BaseAccuracy=0.700000
     bCanHaveLaser=True
     recoilStrength=0.300000
     mpReloadTime=3.000000
     mpHitDamage=11
     mpBaseAccuracy=0.200000
     mpAccurateRange=1200
     mpMaxRange=1200
     mpReloadCount=8
     bCanHaveModBaseAccuracy=True
     bCanHaveModReloadCount=True
     bCanHaveModAccurateRange=True
     bCanHaveModReloadTime=True
     bCanHaveModRecoilStrength=True
     AmmoName=Class'Contender.AmmoUSP'
     ReloadCount=8
     PickupAmmoCount=8
     bInstantHit=True
     FireOffset=(X=-22.000000,Y=10.000000,Z=18.000000)
     shakemag=50.000000
     FireSound=Sound'ContenderStuff.Weapons.USPFire'
     AltFireSound=Sound'ContenderStuff.Weapons.USPReloadEnd'
     CockingSound=Sound'ContenderStuff.Weapons.USPReloadBegin'
     SelectSound=Sound'ContenderStuff.Weapons.USPSelect'
	Misc1Sound=Sound'ContenderStuff.Weapons.USPDryfire'
     InventoryGroup=113
     ItemName="[Arena] Heckler & Koch Tactical USP"
     PlayerViewOffset=(X=22.000000,Y=-10.000000,Z=-18.000000)
     PlayerViewMesh=LodMesh'ContenderStuff.usp1'
     PickupViewMesh=LodMesh'ContenderStuff.usppickup'
     ThirdPersonMesh=LodMesh'ContenderStuff.usp3'
     Icon=Texture'ContenderStuff.Icons.BeltIconUSP'
     largeIcon=Texture'ContenderStuff.Icons.LargeIconUSP'
     largeIconWidth=46
     largeIconHeight=28
     Description="A standard tactical-issue USP."
     beltDescription="[ARENA]USP"
     Mesh=LodMesh'ContenderStuff.usppickup'
     CollisionRadius=7.000000
     CollisionHeight=1.000000
}
