XIII
Class DecoDart

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

class DecoDart
extends XIII.DecoWeapon

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

Function Summary
 
simulated
Fire(float Value)
     
//_____________________________________________________________________________
 
simulated
TweenDown()
     
//_____________________________________________________________________________



Source Code


00001	//-----------------------------------------------------------
00002	//
00003	//-----------------------------------------------------------
00004	class DecoDart extends DecoWeapon;
00005	
00006	//_____________________________________________________________________________
00007	simulated function Fire( float Value )
00008	{
00009	    bProjectileThrown = true;
00010	    Super.Fire(0.0);
00011	}
00012	
00013	//_____________________________________________________________________________
00014	simulated function TweenDown()
00015	{
00016	    if ( bProjectileThrown )
00017	      PlayAnim('DownUsed', 1.0);
00018	    else
00019	      PlayAnim('Down', 1.0);
00020	    Instigator.PlayRolloffSound(hDownSound, self, 0, int(Pawn(Owner).IsPlayerPawn()), 0 );
00021	    if (!bProjectileThrown && DecoAmmo(AmmoType).bUnused)
00022	      Instigator.PlayRolloffSound(hDownUnusedSound, self, 0, int(Pawn(Owner).IsPlayerPawn()), 0 );
00023	}
00024	
00025	
00026	defaultproperties
00027	{
00028	     fDelayShake=0.000000
00029	     hDownSound=Sound'XIIIsound.Items__GlassFire.GlassFire__hGlassFire'
00030	     AmmoName=Class'XIII.DecoDartAmmo'
00031	     MeshName="XIIIArmes.fpsbarflechetteM"
00032	     FireOffset=(X=5.000000,Y=17.000000,Z=-1.000000)
00033	     FiringMode="FM_Throw"
00034	     ShakeMag=0.000000
00035	     shaketime=0.000000
00036	     ShakeVert=(Z=0.000000)
00037	     ShakeSpeed=(X=0.000000,Y=0.000000,Z=0.000000)
00038	     ShakeCycles=0.000000
00039	     hFireSound=Sound'XIIIsound.Items__DartFire.DartFire__hDartFire'
00040	     hSelectWeaponSound=Sound'XIIIsound.Items__GlassPick.GlassPick__hGlassPick'
00041	     PickupClassName="XIII.DartDecoPick"
00042	     PlayerViewOffset=(X=8.000000,Y=6.000000,Z=-7.000000)
00043	     ThirdPersonRelativeRotation=(Pitch=16384,Roll=16384)
00044	     AttachmentClass=Class'XIII.DartAttach'
00045	     ItemName="Dart"
00046	}

End Source Code