1. unitDef = {
  2. unitname = "chickenr2",
  3. name = "Enraged Lobber",
  4. description = "Chicken Assault",
  5. acceleration = 0.9,
  6. activateWhenBuilt = true,
  7. bmcode = "1",
  8. brakeRate = 0.7,
  9. buildCostEnergy = 15000,
  10. buildCostMetal = 250,
  11. builder = false,
  12. buildTime = 3000,
  13. canGuard = true,
  14. canMove = true,
  15. canPatrol = true,
  16. canstop = "1",
  17. category = "MOBILE WEAPON NOTAIR NOTSUB NOTSHIP ALL",
  18. defaultmissiontype = "Standby",
  19. explodeAs = "WEAVER_DEATH",
  20. footprintX = 3,
  21. footprintZ = 3,
  22. iconType = "chicken",
  23. leaveTracks = true,
  24. maneuverleashlength = "640",
  25. mass = 600,
  26. maxDamage = 4500,
  27. maxVelocity = 3.6,
  28. turninplace = 0,
  29. movementClass = "CHICKENHKBOT3",
  30. noAutoFire = false,
  31. noChaseCategory = "VTOL",
  32. objectName = "chickenr.s3o",
  33. seismicSignature = 4,
  34. selfDestructAs = "WEAVER_DEATH",
  35. collisionVolumeType = "box",
  36. collisionVolumeOffsets = "0 -2 0",
  37. collisionVolumeScales = "25 31 44",
  38.  
  39. sfxtypes = {
  40.  
  41. explosiongenerators = {
  42. "custom:blood_spray",
  43. "custom:blood_explode",
  44. "custom:dirt",
  45. },
  46.  
  47. },
  48.  
  49. side = "THUNDERBIRDS",
  50. sightDistance = 390,
  51. smoothAnim = true,
  52. steeringmode = "2",
  53. TEDClass = "KBOT",
  54. trackOffset = 0,
  55. trackStrength = 8,
  56. trackStretch = 1,
  57. trackType = "ChickenTrack",
  58. trackWidth = 50,
  59. turnRate = 900,
  60. upright = false,
  61. workerTime = 0,
  62.  
  63. weapons = {
  64.  
  65. {
  66. def = "CHASEWEAPON",
  67. mainDir = "0 0 1",
  68. onlyTargetCategory = "NOTAIR",
  69. badTargetCategory = "VTOL",
  70. },
  71.  
  72. {
  73. def = "FLAMER",
  74. mainDir = "0 0 1",
  75. maxAngleDif = 120,
  76. badTargetCategory = "VTOL",
  77. onlyTargetCategory = "NOTAIR",
  78. },
  79.  
  80. },
  81.  
  82.  
  83. weaponDefs = {
  84.  
  85. CHASEWEAPON = {
  86. name="Claws",
  87. craterBoost = 0,
  88. craterMult = 0,
  89. toAirWeapon = 0,
  90.  
  91. damage = {
  92. default = 0.001,
  93. },
  94.  
  95. endsmoke = "0",
  96. explosionGenerator = "custom:NONE",
  97. impulseBoost = 0,
  98. impulseFactor = 0,
  99. lineOfSight = true,
  100. noSelfDamage = true,
  101. range = 100,
  102. reloadtime = 30,
  103. size = 0.001,
  104. startsmoke = "0",
  105. targetborder = 1,
  106. tolerance = 5000,
  107. weaponType = "Cannon",
  108. weaponVelocity = 500,
  109. turret = "true",
  110. proximityPriority = -4,
  111. },
  112.  
  113. FLAMER = {
  114. name="FlameThrower",
  115. rendertype=5,
  116. lineofsight=true,
  117. turret=true,
  118. range=310,
  119. reloadtime=0.7,
  120. avoidFriendly=0,
  121. avoidFeature=0,
  122. weapontimer=1,
  123. sizegrowth=1.2,
  124. intensity=0.9,
  125. ColorMap="0.2 0.5 0.9 0.7 0.2 0.5 0.9 0",
  126. flamegfxtime=1.9,
  127. weaponvelocity=300,
  128. targetmoveerror=0.001,
  129. areaofeffect=64,
  130. burst=12,
  131. burstrate=0.01,
  132. sprayangle=9600,
  133. randomdecay=0.6,
  134. toAirWeapon = 0,
  135. soundstart="Flamhvy1",
  136. soundtrigger=0,
  137. firestarter=100,
  138. groundbounce=1,
  139. smokedelay=1,
  140. startsmoke=0,
  141. endsmoke=0,
  142. impulsefactor=0,
  143. impulseboost=0,
  144. cratermult=0,
  145. proximityPriority=4,
  146. craterboost=0,
  147. noselfdamage=true,
  148. tolerance=2500,
  149. damage = {
  150. default=40,
  151. CHICKEN=6,
  152. TINYCHICKEN = 3,
  153. },
  154. },
  155.  
  156.  
  157. },
  158.  
  159. featureDefs = {
  160.  
  161. DEAD = {
  162. },
  163.  
  164.  
  165. HEAP = {
  166. },
  167.  
  168. },
  169.  
  170. }
  171.  
  172. return lowerkeys({ chickenr2 = unitDef })