Advertisement
IOGamer

Drone5

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