Guest User

UTVWeap_SMantaGun

a guest
Nov 26th, 2015
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2. * Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
  3. */
  4. class UTVWeap_SMantaGun extends UTVehicleWeapon
  5. HideDropDown;
  6.  
  7. function float SuggestAttackStyle()
  8. {
  9. local UTBot B;
  10.  
  11. B = UTBot(Instigator.Controller);
  12. if ( (Pawn(Instigator.Controller.Focus) == None) || (B == None) || (B.Skill < 3) )
  13. {
  14. return -0.2;
  15. }
  16.  
  17. return 0.2;
  18. }
  19.  
  20. defaultproperties
  21. {
  22. WeaponFireTypes(0)=EWFT_Projectile
  23. WeaponProjectiles(0)=class'UTProj_MantaBolt'
  24. WeaponFireTypes(1)=EWFT_None
  25.  
  26. WeaponFireSnd[0]=SoundCue'A_Vehicle_Manta.SoundCues.A_Vehicle_Manta_Fire'
  27.  
  28. FireInterval(0)=+0.8
  29. bFastRepeater=true
  30. ShotCost(0)=0
  31. ShotCost(1)=0
  32. FireTriggerTags=(MantaWeapon01,MantaWeapon02)
  33. VehicleClass=class'UTVehicle_Manta_Content'
  34. AimError=750
  35. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×