class Taser extends DeusExWeapon;


simulated event RenderOverlays( canvas Canvas )
{
	// set first person skin settings
		MultiSkins[0]=Texture'WeaponHandsTex';
		MultiSkins[1]=Texture'WeaponHandsTex';
		MultiSkins[2]=Texture'ContenderStuff.Skins.Taser1st';
		MultiSkins[3]=Texture'ContenderStuff.Skins.Taser1st';

	Super.RenderOverlays( Canvas );

	// reset third person skin settings
		MultiSkins[0]=Texture'ContenderStuff.Skins.Taser3rd';
}



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


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
     AreaOfEffect=AOE_Cone
     GoverningSkill=Class'DeusEx.SkillWeaponPistol'
     NoiseLevel=0.010000
     EnviroEffective=ENVEFF_Air
     Concealability=CONC_All
     ShotTime=0.150000
     reloadTime=1.500000
     HitDamage=8
     ReloadCount=1
     PickupAmmoCount=5
     maxRange=1100
     AccurateRange=1100
     BaseAccuracy=0.800000
     ScopeFOV=25
     recoilStrength=0.100000
     AmmoName=Class'Contender.TaserAmmo'
     ProjectileClass=Class'Contender.TaserDart'
     bInstantHit=False
     FireOffset=(X=-24.000000,Y=10.000000,Z=14.000000)
     shakemag=50.000000
     FireSound=Sound'DeusExSounds.Weapons.StealthPistolFire'
     AltFireSound=Sound'DeusExSounds.Weapons.StealthPistolReloadEnd'
     CockingSound=Sound'DeusExSounds.Weapons.StealthPistolReload'
     SelectSound=Sound'DeusExSounds.Weapons.StealthPistolSelect'
     InventoryGroup=109
     ItemName="Taser"
     PlayerViewOffset=(X=24.000000,Y=-10.000000,Z=-14.000000)
     PlayerViewMesh=LodMesh'DeusExItems.StealthPistol'
     PlayerViewScale=0.8000000
     PickupViewMesh=LodMesh'DeusExItems.StealthPistolPickup'
     PickupViewScale=0.8000000
     ThirdPersonMesh=LodMesh'DeusExItems.StealthPistol3rd'
     ThirdPersonScale=0.8000000
     Icon=Texture'ContenderStuff.Icons.BeltIconTaser'
     largeIcon=Texture'ContenderStuff.Icons.LargeIconTaser'
     largeIconWidth=47
     largeIconHeight=37
     Skin=Texture'ContenderStuff.Skins.Taser3rd'
     Description="(c)MainMan."
     beltDescription="TASER"
     Mesh=LodMesh'DeusExItems.StealthPistolPickup'
     CollisionRadius=8.000000
     CollisionHeight=0.800000
}
