Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. if not ATTACHMENT then
  2. ATTACHMENT = {}
  3. end
  4.  
  5. ATTACHMENT.Name = "Blue Tibanna Stun Cartridges"
  6. ATTACHMENT.ShortName = "BTSGC" --Abbreviation, 5 chars or less please
  7. --ATTACHMENT.ID = "base" -- normally this is just your filename
  8. ATTACHMENT.Description = {
  9. TFA.AttachmentColors["="],"Stun ammo. Uses the same unique ammo as the explosive and assination types.",
  10. TFA.AttachmentColors["-"],"%50 increase to Clip Size",
  11. TFA.AttachmentColors["-"],"",
  12. }
  13. ATTACHMENT.Icon = "entities/tfa_ammo_fragshell.png" --Revers to label, please give it an icon though! This should be the path to a png, like "entities/tfa_ammo_match.png"
  14. ATTACHMENT.Damage = 8
  15.  
  16. ATTACHMENT.WeaponTable = {
  17. ["Primary"] = {
  18. ["Damage"] = 8,
  19. ["ClipSize"] = 50,
  20. ["DefaultClip"] = 50,
  21. ["RPM"] = 200,
  22. ["RPM_Burst"] = function( wep, val) return val * 0.75 end,
  23. ["Spread"] = function( wep, val) return val * 2 end,
  24. ["IronAccuracy"] = function( wep, val) return val * 10 end,
  25. ["Force "] = 500,
  26. ["AmmoConsumption"] = 5,
  27. ["Ammo"] = "RPG_Round",
  28. ["Sound"] = "weapons/bf3/e11_light.wav"
  29. },
  30. ["MoveSpeed"] = 1.05,
  31. ["TracerName"] = "effect_sw_laser_blue_stun",
  32. ["CustomBulletCallback"] = function(a,b,c)
  33. TFA_RP_MeltEasy(a,b,c,8,"BGOLightning")
  34. end
  35. }
  36.  
  37.  
  38.  
  39. if not TFA_ATTACHMENT_ISUPDATING then
  40. TFAUpdateAttachments()
  41. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement