Advertisement
IOGamer

Drone3

Aug 13th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. r = 200
  2. h = 0.25
  3. g = 0.15
  4. c1 = []
  5. c2 = []
  6. c3 = []
  7. c4 = []
  8. for i in [0...31] by 2
  9. c1.push(i * 2)
  10.  
  11. for i in [0...31] by 4
  12. c2.push(Math.pow((Math.pow(r,1.2)-Math.pow(i,2)),0.5))
  13.  
  14. for i in [0...31] by 4
  15. c3.push(0)
  16.  
  17. for i in [0...31] by 4
  18. if i > 0
  19. c4.push(Math.pow((Math.pow(r,1.2)-Math.pow(i,2)),0.5))
  20. else
  21. c4.push(Math.pow((Math.pow(r,1.2)-Math.pow(i,2)),0.5))
  22. return model =
  23. name: 'Drone Sniper'
  24. level: 1
  25. model: 5
  26. zoom: 0.8
  27. size: 1.6
  28. specs:
  29. shield:
  30. capacity: [16,16]
  31. reload: [1,1]
  32. generator:
  33. capacity: [50,50]
  34. reload: [20,20]
  35. ship:
  36. mass: 60
  37. speed: [100,100]
  38. rotation: [50,50]
  39. acceleration: [100,100]
  40. bodies:
  41. main:
  42. section_segments: 12
  43. offset:
  44. x: 38
  45. y: 0
  46. z: 10
  47. position:
  48. x: [0,-10]
  49. y: [-20,0]
  50. z: [0,10]
  51. width: [8,3]
  52. height: [2,0]
  53. texture: [3]
  54. angle: 90
  55. propeller: false
  56. z:
  57. section_segments: 4
  58. offset:
  59. x: 0.01
  60. y: 0
  61. z: 35
  62. position:
  63. x: [0,0,0,0,0,0]
  64. y: [0,6,9,9,6,0]
  65. z: [0,2,6,10,14,16]
  66. width: [4,4,4,4,4,4]
  67. height: [0,0,0,0,0,0]
  68. texture: [2]
  69. angle: 90
  70. propeller: false
  71. zc:
  72. section_segments: 4
  73. offset:
  74. x: 0
  75. y: 0
  76. z: 16
  77. position:
  78. x: [0,0]
  79. y: [0,0.1]
  80. z: [0,20]
  81. width: [4,4]
  82. height: [-1,-1]
  83. texture: [3]
  84. angle: 0
  85. propeller: false
  86. db1:
  87. section_segments: 12
  88. offset:
  89. x: 0
  90. y: 0
  91. z: 0
  92. position:
  93. x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
  94. y: c1
  95. z: c3
  96. width: c2
  97. height: c4
  98. angle: 0
  99. texture: [3.5,3.5,4,62,62,62]
  100. db2:
  101. section_segments: 12
  102. offset:
  103. x: 0
  104. y: 0
  105. z: 0
  106. position:
  107. x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
  108. y: c1
  109. z: c3
  110. width: c2
  111. height: c4
  112. angle: 180
  113. texture: [3.5,3.5,4,63,6,63]
  114. cockpit:
  115. section_segments: 8
  116. offset:
  117. x: 0
  118. y: -20
  119. z: 0
  120. position:
  121. x: [0,0,0]
  122. y: [-10,-15,0]
  123. z: [0,0,0]
  124. width: [0,3,4]
  125. height: [0,3,4]
  126. texture: [17,10]
  127. propeller: false
  128. laser:
  129. damage: [5,5]
  130. rate: 1
  131. type: 1
  132. speed: [160,160]
  133. number: 10
  134. error: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement