Advertisement
RedDeadlyCreeper

AC with heavy autocannons

Jul 1st, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. --define the class
  2. ACF_defineGunClass("AC", {
  3. spread = 0.16,
  4. name = "Autocannon",
  5. desc = "Autocannons have a rather high weight and bulk for the ammo they fire, but they can fire it extremely fast.",
  6. muzzleflash = "30mm_muzzleflash_noscale",
  7. rofmod = 0.35,
  8. sound = "weapons/ACF_Gun/ac_fire4.wav",
  9. soundDistance = " ",
  10. soundNormal = " "
  11. } )
  12.  
  13. --add a gun to the class
  14. ACF_defineGun("20mmAC", { --id
  15. name = "20mm Autocannon",
  16. desc = "The 20mm AC is the smallest of the family; having a good rate of fire but a tiny shell.",
  17. model = "models/autocannon/autocannon_20mm.mdl",
  18. caliber = 2.0,
  19. gunclass = "AC",
  20. weight = 225,
  21. year = 1930,
  22. rofmod = 1.8,
  23. magsize = 100,
  24. magreload = 3,
  25. round = {
  26. maxlength = 32,
  27. propweight = 0.13
  28. }
  29. } )
  30.  
  31. ACF_defineGun("30mmAC", {
  32. name = "30mm Autocannon",
  33. desc = "The 30mm AC can fire shells with sufficient space for a small payload, and has modest anti-armor capability",
  34. model = "models/autocannon/autocannon_30mm.mdl",
  35. gunclass = "AC",
  36. caliber = 3.0,
  37. weight = 960,
  38. year = 1935,
  39. rofmod = 1,
  40. magsize = 75,
  41. magreload = 3,
  42. round = {
  43. maxlength = 39,
  44. propweight = 0.350
  45. }
  46. } )
  47.  
  48. ACF_defineGun("40mmAC", {
  49. name = "40mm Autocannon",
  50. desc = "The 40mm AC can fire shells with sufficient space for a useful payload, and can get decent penetration with proper rounds.",
  51. model = "models/autocannon/autocannon_40mm.mdl",
  52. gunclass = "AC",
  53. caliber = 4.0,
  54. weight = 1500,
  55. year = 1940,
  56. rofmod = 0.92,
  57. magsize = 30,
  58. magreload = 3,
  59. round = {
  60. maxlength = 45,
  61. propweight = 0.9
  62. }
  63. } )
  64.  
  65. ACF_defineGun("50mmAC", {
  66. name = "50mm Autocannon",
  67. desc = "The 50mm AC fires shells comparable with the 50mm Cannon, making it capable of destroying light armour quite quickly.",
  68. model = "models/autocannon/autocannon_50mm.mdl",
  69. gunclass = "AC",
  70. caliber = 5.0,
  71. weight = 2130,
  72. year = 1965,
  73. rofmod = 0.9,
  74. magsize = 20,
  75. magreload = 3,
  76. round = {
  77. maxlength = 52,
  78. propweight = 1.2
  79. }
  80. } )
  81.  
  82. ACF_defineGun("20mmHAC", { --id
  83. name = "20mm Heavy Autocannon",
  84. desc = "The 20mm HAC is the smallest heavy autocannon, special watercooling allows this autocannon to continuously fire its nonexistant payload at extreme rates, great for attacking unarmored planes or cutting down forests.",
  85. model = "models/autocannon/autocannon_20mm_compact.mdl",
  86. caliber = 2.0,
  87. gunclass = "AC",
  88. weight = 350,
  89. year = 1960,
  90. rofmod = 1.1,
  91. magsize = 1000,
  92. magreload = 3,
  93. round = {
  94. maxlength = 24,
  95. propweight = 0.13
  96. }
  97. } )
  98.  
  99. ACF_defineGun("30mmHAC", {
  100. name = "30mm Heavy Autocannon",
  101. desc = "The watercooled 30mm HAC fires decently heavy shells at a rapid rate that are great for chewing through light armor",
  102. model = "models/autocannon/autocannon_30mm_compact.mdl",
  103. gunclass = "AC",
  104. caliber = 3.0,
  105. weight = 1600,
  106. year = 1935,
  107. rofmod = 0.75,
  108. magsize = 3000,
  109. magreload = 3,
  110. round = {
  111. maxlength = 28,
  112. propweight = 0.350
  113. }
  114. } )
  115.  
  116. ACF_defineGun("40mmHAC", {
  117. name = "40mm Heavy Autocannon",
  118. desc = "The watercooled 40mm HAC is a long range grinder created in secrecy by light vehicles with very little patience",
  119. model = "models/autocannon/autocannon_40mm_compact.mdl",
  120. gunclass = "AC",
  121. caliber = 4.0,
  122. weight = 2500,
  123. year = 1940,
  124. rofmod = 0.55,
  125. magsize = 3000,
  126. magreload = 3,
  127. round = {
  128. maxlength = 34,
  129. propweight = 0.9
  130. }
  131. } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement