Advertisement
Guest User

UTVWeap_SMantaGun

a guest
Nov 26th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement