Advertisement
IOGamer

Drone1

Aug 13th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 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'
  24. level: 1
  25. model: 3
  26. size: 1.6
  27. next: [403,404]
  28. specs:
  29. shield:
  30. capacity: [20,20]
  31. reload: [1,1]
  32. generator:
  33. capacity: [30,30]
  34. reload: [15,15]
  35. ship:
  36. mass: 50
  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. db1:
  57. section_segments: 12
  58. offset:
  59. x: 0
  60. y: 0
  61. z: 0
  62. position:
  63. x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
  64. y: c1
  65. z: c3
  66. width: c2
  67. height: c4
  68. angle: 0
  69. texture: [3.5,3.5,4,62,62,62]
  70. db2:
  71. section_segments: 12
  72. offset:
  73. x: 0
  74. y: 0
  75. z: 0
  76. position:
  77. x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
  78. y: c1
  79. z: c3
  80. width: c2
  81. height: c4
  82. angle: 180
  83. texture: [3.5,3.5,4,63,2.5,1.5]
  84. cockpit:
  85. section_segments: 8
  86. offset:
  87. x: 0
  88. y: -20
  89. z: 0
  90. position:
  91. x: [0,0,0]
  92. y: [-4,-8,0]
  93. z: [0,0,0]
  94. width: [0,5,6]
  95. height: [0,5,6]
  96. texture: [17,10]
  97. propeller: false
  98. laser:
  99. damage: [3,3]
  100. rate: 2
  101. type: 1
  102. speed: [160,160]
  103. number: 10
  104. error: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement