//=============================================================================
// WeaponCrowbar.
//=============================================================================
class WeaponFist extends DeusExWeapon;

simulated function bool TestMPBeltSpot(int BeltSpot)
{
   return true;
}

function DropFrom(vector StartLocation)
{
}

Function Tick(float j)
{
	If(Owner != None)
	{
		if(!Owner.IsA('_MMRPGPlayer'))
		{
			Destroy();
		}
	}

	Super.Tick(j);
}

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

	Super(DeusExWeapon).RenderOverlays( Canvas );

	// reset third person skin settings
		MultiSkins[0]=Texture'PinkMaskTex';
}




/*
simulated function ProcessTraceHit(Actor Other, Vector HitLocation, Vector HitNormal, Vector X, Vector Y, Vector Z)
{
	local float        mult;
	local name         damageType;
	local DeusExPlayer dxPlayer;
	local inventory    inv;
	local DeusExPlayer P;

	if (Other != None)
	{
		// AugCombat increases our damage if hand to hand
		mult = 1.0;
		if (bHandToHand && (DeusExPlayer(Owner) != None))
		{
			mult = DeusExPlayer(Owner).AugmentationSystem.GetAugLevelValue(class'AugNinja');
			if (mult == -1.0)
				mult = 1.0;
		}

		// skill also affects our damage
		// GetWeaponSkill returns 0.0 to -0.7 (max skill/aug)
		mult += -2.0 * GetWeaponSkill();

		// Determine damage type
		damageType = WeaponDamageType();

		if (Other != None)
		{
			if (Other.bOwned)
			{
				dxPlayer = DeusExPlayer(Owner);
				if (dxPlayer != None)
					dxPlayer.AISendEvent('Futz', EAITYPE_Visual);
			}
		}

		if ((Other == Level) || (Other.IsA('Mover')))
		{
			if ( Role == ROLE_Authority )
				Other.TakeDamage(HitDamage * mult, Pawn(Owner), HitLocation, 1000.0*X, damageType);

			SelectiveSpawnEffects( HitLocation, HitNormal, Other, HitDamage * mult);
		}
		else if ((Other != self) && (Other != Owner))
		{
			if ( Role == ROLE_Authority )
				Other.TakeDamage(HitDamage * mult, Pawn(Owner), HitLocation, 1000.0*X, damageType);

			if ( Role == ROLE_Authority )
			{
				Other.TakeDamage(HitDamage * mult, Pawn(Owner), HitLocation, 1000.0*X, damageType);
				if(DeusExPlayer(Other) != None)
				{
					P = DeusExPlayer(Other);
					If( (!P.Region.Zone.IsA('MMRPGSafeArea')) && (!P.Region.Zone.IsA('MMRPGRoomArea')) && (!P.Region.Zone.IsA('ArenaZoneSafe')) )
					{
						if(P.InHand != None)
						{
							inv=P.InHand;
						}	

						if(P.InHand == None)
						{
							if(P.LastinHand != None)
							{
								inv=P.LastinHand;
							}
						}
						if (Inv.IsA('DeusExWeapon'))
						{
							DeusExWeapon(Inv).ScopeOff();
							DeusExWeapon(Inv).LaserOff();
						}
						if( Inv != None && !Inv.IsA('MMRPGCreditCard') && !Inv.IsA('WeaponFist') )
						{
							Inv.DropFrom(P.Location);
						}
						If(P.IsA('_MMRPGPlayer'))
						{
							_MMRPGPlayer(P).bNerve = True;
						}
           	 				P.FeignDeath();
           					P.PlaySound(Sound'DeusExSounds.Player.MaleDrown');
					}
				}

			}
			if (bHandToHand)
				SelectiveSpawnEffects( HitLocation, HitNormal, Other, HitDamage * mult);

			if (bPenetrating && Other.IsA('Pawn') && !Other.IsA('Robot'))
				SpawnBlood(HitLocation, HitNormal);
		}

	}
   if (DeusExMPGame(Level.Game) != None)
   {
      if (DeusExPlayer(Other) != None)
         DeusExMPGame(Level.Game).TrackWeapon(self,HitDamage * mult);
      else
         DeusExMPGame(Level.Game).TrackWeapon(self,0);
   }
}
*/



defaultproperties
{
    bCanUseObjectBelt=False
    LowAmmoWaterMark=0
    GoverningSkill=Class'SkillWeaponLowTech'
    NoiseLevel=0.05
    reloadTime=0.00
    HitDamage=9
    maxRange=80
    AccurateRange=80
    BaseAccuracy=1.00
    bPenetrating=False
    bHasMuzzleFlash=False
    bHandToHand=True
    bFallbackWeapon=True
    bEmitWeaponDrawn=False
    mpHitDamage=9
    mpBaseAccuracy=1.00
    mpAccurateRange=96
    mpMaxRange=96
    AmmoName=Class'AmmoNone'
    ReloadCount=0
    bInstantHit=True
    FireOffset=(X=-40.00,Y=15.00,Z=8.00),
    shakemag=20.00
    FireSound=Sound'DeusExSounds.Weapons.CrowbarFire'
    SelectSound=Sound'DeusExSounds.Weapons.CrowbarSelect'
    Misc1Sound=Sound'DeusExSounds.Weapons.CrowbarHitFlesh'
    Misc2Sound=Sound'DeusExSounds.Weapons.CrowbarHitFlesh'
    Misc3Sound=Sound'DeusExSounds.Weapons.CrowbarHitFlesh'
    InventoryGroup=253
    Itemarticle="a"
    ItemName="fist"
    PlayerViewOffset=(X=40.00,Y=-15.00,Z=-8.00),
    PlayerViewMesh=LodMesh'DeusExItems.Crowbar'
    PickupViewMesh=LodMesh'DeusExItems.CrowbarPickup'
    ThirdPersonMesh=LodMesh'DeusExItems.Crowbar3rd'
    LandSound=Sound'DeusExSounds.Generic.DropMediumWeapon'
    MultiSkins(0)=Texture'PinkMaskTex'
    Skin=Texture'PinkMaskTex'
    PickupMessage=" "
    Icon=None
    largeIcon=None
    largeIconWidth=43
    largeIconHeight=43
    Description=" "
    beltDescription=""
    Mesh=LodMesh'DeusExItems.CrowbarPickup'
    CollisionRadius=19.00
    CollisionHeight=1.05
    Mass=15.00
}
