Guest User

Untitled

a guest
Mar 2nd, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.97 KB | None | 0 0
  1. unitDef = {
  2. unitname = [[tpjeep]],
  3. name = [[Rough Rider]],
  4. description = [[rougher than usual]],
  5. acceleration = 0.8, --0.2
  6. bmcode = [[1]],
  7. brakeRate = 0.5, --0.2 --0.05--0.2->wenn man s drückt rutscht er noch ziemlich viel
  8. buildCostEnergy = 0,
  9. buildCostMetal = 200,--100 war sehr billig..
  10. builder = false,
  11. buildPic = [[tpjeepblue.png]],
  12. buildTime = 20,
  13. canAttack = true,
  14. canGuard = true,
  15. canMove = true,
  16. canPatrol = true,
  17. canstop = [[1]],
  18. category = [[LAND VEHICLE]],
  19. corpse = [[DEAD]],
  20. reclaimable = false,
  21. --HITBOX--
  22. collisionVolumeTest = 1,
  23. collisionVolumeOffsets = [[0 0 0]], --positiv = nach oben
  24. collisionVolumeType = [[box]], --box
  25. collisionVolumeScales = [[40 20 55]],--40 25 55
  26. --collisionVolumeScales = [[25 10 50]],
  27. --collisionVolumeOffsets = [[-30 0 -5]],
  28.  
  29. ----------
  30. --TRANSPORT--
  31. isTransport = true,
  32. ReleaseHeld = true, --transported units survive if transporter dies
  33. HoldSteady = true, --transported units tilt and turn like the transporter
  34. TransportCapacity = 1, --The number of units the transport can carry
  35. transportSize = 10000,
  36. TransportMass = 50,
  37. transportUnloadMethod = 2,
  38. canload = [[1]],
  39. isfireplatform=1,
  40. -------------
  41. defaultmissiontype = [[Standby]],
  42. -- explodeAs = [[MEDIUM_UNIT]],
  43. footprintX = 3,
  44. footprintZ = 3,
  45. idleAutoHeal = 0,
  46. maneuverleashlength = [[640]],
  47. mass = 200,--200
  48. maxDAMAGE = 30000,--300 ist normal!!
  49. maxSlope = 45, --18
  50. maxVelocity = 5.5, --20, --(was 5) script sets it lower so upgrade can increase it again http://springrts.com/mantis/view.php?id=2877
  51. maxWaterDepth = 22,
  52. minCloakDistance = 75,
  53. movementClass = [[Vehicle3x3]],
  54. --crushStrength = 100,
  55. moveState = 0,
  56. noAutoFire = false,
  57. noChaseCategory = [[MINERALS]],
  58. objectName = [[jeep.s3o]],
  59. seismicSignature = 4,
  60. selfDestructAs = [[MEDIUM_UNIT]],
  61.  
  62. sounds = {
  63. select = {
  64. {file="freesound/acclivity/muststayonpath.wav",volume=6.0},
  65. {file="freesound/104432_wrongnumber.wav",volume=6.0},
  66. {file="freesound/104432_thisis912.wav",volume=6.0},
  67. {file="freesound/alphahog/46852_get-in-the-car.wav",volume=8.0},
  68. },
  69. ok = {
  70. {file="samples/loslos.wav",volume=6.0},
  71. {file="freesound/acclivity/youmusthurry.wav",volume=6.0},
  72. {file="freesound/128528_justgettingstarted.wav",volume=6.0},
  73. {"Argh_TankSound",volume=6.0},
  74. },
  75. },
  76.  
  77. sfxtypes = {
  78. explosiongenerators = {
  79. "custom:tpmuzzleflash_jeep",
  80. },
  81. },
  82.  
  83. side = [[GAYS]],
  84. sightDistance = 450,
  85. smoothAnim = true,
  86. steeringmode = [[1]],
  87. TEDClass = [[TANK]],
  88. leaveTracks = true,
  89. trackOffset = -3,
  90. trackStrength = 6,
  91. trackStretch = 1,
  92. trackType = [[StdTank]],
  93. trackWidth = 34,
  94. turninplace = 0,
  95. turnRate = 1000,--800,
  96. --turnInPlaceSpeedLimit = 6, --gabs nicht
  97. workerTime = 0,
  98. script = [[tpjeep.lua]],
  99.  
  100. weapons = {
  101. {
  102. def = [[Gatling]],
  103. onlyTargetCategory = [[LAND BUILDING BIO SHIP SWIM AIR]], --AIR war nicht
  104. badTargetCategory = [[AIR BUILDING VEHICLE]],
  105.  
  106. --mainDir = [[0 1 0]],--TEST!!
  107. --maxAngleDif = 220,--TEST!!
  108.  
  109. },
  110. },
  111.  
  112.  
  113. weaponDefs = {
  114. Gatling = {
  115. name = [[Gatling]],
  116. areaOfEffect = 8,
  117. craterMult = 0.25,
  118.  
  119. damage = {
  120. Normal = 15,
  121. },
  122. cylinderTargeting =1, --war nicht
  123. -- explosionGenerator = [[custom:FLAK_BURST_Expl]],
  124. interceptedByShieldType = 1,
  125. lineOfSight = true,
  126. range = 350,
  127. reloadtime = 0.8, --0.4
  128. rgbColor = [[1 0.6 0.2]],
  129. separation = 2,
  130. size = 1.6,
  131. soundStart = [[Argh_heavy_machinegun]],
  132. soundStartVolume = 0.8,
  133. soundTrigger = true,
  134. stages = 50,
  135. sprayAngle = 300, --1180
  136. tolerance = 8000,
  137. turret = true,
  138. weaponType = [[Cannon]],
  139. weaponVelocity = 750,
  140. burst = 3, --war vorher kein burst
  141. burstrate = 0.08,
  142. },
  143.  
  144. },
  145.  
  146. customParams = {
  147. unitguide_text = "blablablablablablabla",
  148. unitguide_goodvs = "Infantry",
  149. unitguide_weakvs = "Vehicles",
  150. unitguide_protip = "Can transport dudes.",
  151. },
  152. }
  153.  
  154. return lowerkeys({ tpjeep = unitDef })
Advertisement
Add Comment
Please, Sign In to add comment