//=============================================================================
// WeaponAssaultGun.
//=============================================================================
class ArenaAssaultGun 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=20
     GoverningSkill=Class'DeusEx.SkillWeaponRifle'
     EnviroEffective=ENVEFF_Air
     Concealability=CONC_Visual
     bAutomatic=True
     ShotTime=0.5400000
     reloadTime=3.000000
     HitDamage=6
     BaseAccuracy=0.700000
     bCanHaveLaser=True
     bCanHaveSilencer=True
     AmmoNames(0)=Class'Contender.M4Ammo'
     recoilStrength=0.500000
     MinWeaponAcc=0.200000
     mpReloadTime=0.500000
     mpHitDamage=6
     mpBaseAccuracy=0.800000
     mpAccurateRange=2400
     mpMaxRange=2400
     mpReloadCount=20
     bCanHaveModBaseAccuracy=True
     bCanHaveModReloadCount=True
     bCanHaveModAccurateRange=True
     bCanHaveModReloadTime=True
     bCanHaveModRecoilStrength=True
     AmmoName=Class'Contender.M4Ammo'
     ReloadCount=20
     PickupAmmoCount=60
     bInstantHit=True
     FireOffset=(X=-22.000000,Y=10.000000,Z=14.000000)
     shakemag=500.000000
     FireSound=Sound'ContenderStuff.M4Shot'
     AltFireSound=None
     CockingSound=Sound'ContenderStuff.Weapons.M4Reload'
     SelectSound=Sound'M4Select'
     InventoryGroup=103
     ItemName="[Arena] M4 Carbine"
     ItemArticle="an"
     PlayerViewOffset=(X=22.000000,Y=-10.000000,Z=-14.000000)
     PlayerViewMesh=LodMesh'ContenderStuff.carbine1'
     //playerviewscale=0.850000
     PickupViewMesh=LodMesh'ContenderStuff.carbinepickup'
     ThirdPersonMesh=LodMesh'ContenderStuff.carbine3'
     LandSound=Sound'DeusExSounds.Generic.DropMediumWeapon'
     Icon=Texture'ContenderStuff.Icons.BeltIconM4'
     largeIcon=Texture'ContenderStuff.Icons.LargeIconM4'
     largeIconWidth=210
     largeIconHeight=90
     invSlotsX=4
     invSlotsY=2
     Description="D4 B1G PH4TT GUN5!!!110NE1!."
     beltDescription="[ARENA]M4 CRBN"
     Mesh=LodMesh'ContenderStuff.carbinepickup'
     CollisionRadius=15.000000
     CollisionHeight=14.100000
     Mass=30.000000
}

