//=============================================================================
// WeaponUSPwhite.
//=============================================================================
class WeaponUSPwhite extends WeaponUSP;


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 event RenderOverlays( canvas Canvas )
{
	// set first person skin settings
		MultiSkins[0]=Texture'USPTexWhite1';
		MultiSkins[1]=Texture'USPTexWhite1';
		//MultiSkins[2]=Texture'BlackMaskTex';
		MultiSkins[3]=Texture'USPTexWhite1';
		MultiSkins[4]=Texture'USPTexWhite1';
		MultiSkins[5]=Texture'WeaponHandsTex';
		MultiSkins[6]=Texture'WeaponHandsTex';


	Super.RenderOverlays( Canvas );

	// reset third person skin settings
		MultiSkins[0]=Texture'USPTexWhite1';
		MultiSkins[1]=Texture'USPTexWhite1';
		//MultiSkins[2]=Texture'BlackMaskTex';
		MultiSkins[3]=Texture'USPTexWhite1';
		MultiSkins[4]=Texture'USPTexWhite1';
}


defaultproperties
{
     ItemName="Heckler & Koch Tactical USP |p3[Increased Magazine]|p1"
     PlayerViewMesh=LodMesh'ContenderStuff.usp1'
     PickupViewMesh=LodMesh'ContenderStuff.usppickup'
     ThirdPersonMesh=LodMesh'ContenderStuff.usp3'
     Mesh=LodMesh'ContenderStuff.usppickup'
     InventoryGroup=114
     beltDescription="H&K USP |p3(M)|p1"
     Icon=Texture'ContenderStuff.Icons.BeltIconUSPW'
     largeIcon=Texture'ContenderStuff.Icons.LargeIconUSPW'
     ReloadCount=13
     PickupAmmoCount=13
     mpReloadCount=13
     MultiSkins(0)=Texture'USPTex1'
     MultiSkins(1)=Texture'USPTex5'
     //MultiSkins(2)=Texture'BlackMaskTex'
     MultiSkins(3)=Texture'USPTex3'
     MultiSkins(4)=Texture'USPTex4'
}
