XIII
Class Fists

source: C:\XIII\XIII\Classes\Fists.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Inventory
         |
         +--Engine.Weapon
            |
            +--XIII.XIIIWeapon
               |
               +--XIII.Fists
Direct Known Subclasses:None

class Fists
extends XIII.XIIIWeapon

//----------------------------------------------------------- // //-----------------------------------------------------------

Function Summary
 
simulated
AltFire(float Value)
     
//_____________________________________________________________________________
 
simulated
PlayFiring()
     
//_____________________________________________________________________________
 float RateSelf()
     
//_____________________________________________________________________________
// FRD



Source Code


00001	//-----------------------------------------------------------
00002	//
00003	//-----------------------------------------------------------
00004	class Fists extends XIIIWeapon;
00005	
00006	//_____________________________________________________________________________
00007	simulated function AltFire( float Value )
00008	{
00009	    PlayAnim('FireAlt', 1.0);
00010	}
00011	
00012	//_____________________________________________________________________________
00013	simulated function PlayFiring()
00014	{
00015	    if ( Instigator.IsPlayerPawn() && XIIIPlayerController(Instigator.controller).MyInteraction.bCanStun )
00016	      PlayAnim('Manchette', 1.0);
00017	    else if ( (fRand() < 0.5) && (!Instigator.IsPlayerPawn() || !XIIIPawn(Instigator).LHand.bActive) )
00018	      PlayAnim('FireL', 1.0);
00019	    else
00020	      PlayAnim('FireR', 1.0);
00021	    IncrementFlashCount();
00022	    PlayFiringSound();
00023	}
00024	
00025	//_____________________________________________________________________________
00026	// FRD
00027	function float RateSelf()
00028	{
00029	    return AIRating;
00030	}
00031	
00032	//    Icon=texture'XIIIMenu.FistsIcon'
00033	
00034	
00035	defaultproperties
00036	{
00037	     bMeleeWeapon=True
00038	     bUnderWaterWork=True
00039	     AmmoName=Class'XIII.FistsAmmo'
00040	     PickupAmmoCount=1
00041	     ShotTime=0.700000
00042	     FiringMode="FM_Fists"
00043	     FireNoise=0.104000
00044	     ReLoadNoise=0.000000
00045	     ShakeMag=100.000000
00046	     ShakeVert=(X=5.000000,Z=2.000000)
00047	     ShakeSpeed=(X=200.000000,Z=-100.000000)
00048	     ShakeCycles=1.500000
00049	     AIRating=0.100000
00050	     hFireSound=Sound'XIIIsound.Guns__NoWpFire.NoWpFire__hNoWpFire'
00051	     hAltFireSound=Sound'XIIIsound.Guns__HandFireAlt.HandFireAlt__hHandFireAlt'
00052	     hActWaitSound=Sound'XIIIsound.Guns__HandsWait.HandsWait__hHandsWait'
00053	     InventoryGroup=0
00054	     PlayerViewOffset=(X=4.000000,Y=4.000000,Z=-9.000000)
00055	     AttachmentClass=Class'XIII.FistsAttach'
00056	     ItemName="FISTS"
00057	     Mesh=SkeletalMesh'XIIIArmes.fpsM'
00058	     DrawScale=0.300000
00059	}

End Source Code