Advertisement
IOGamer

Drone4

Aug 13th, 2018
122
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 Pulsar'
  24. level: 1
  25. model: 6
  26. size: 1.6
  27. specs:
  28. shield:
  29. capacity: [16,16]
  30. reload: [1,1]
  31. generator:
  32. capacity: [60,60]
  33. reload: [20,20]
  34. ship:
  35. mass: 60
  36. speed: [100,100]
  37. rotation: [50,50]
  38. acceleration: [100,100]
  39. bodies:
  40. main:
  41. section_segments: 12
  42. offset:
  43. x: 38
  44. y: 0
  45. z: 10
  46. position:
  47. x: [0,-10]
  48. y: [-20,0]
  49. z: [0,10]
  50. width: [8,3]
  51. height: [2,0]
  52. texture: [3]
  53. angle: 90
  54. propeller: false
  55. db1:
  56. section_segments: 12
  57. offset:
  58. x: 0
  59. y: 0
  60. z: 0
  61. position:
  62. x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
  63. y: c1
  64. z: c3
  65. width: c2
  66. height: c4
  67. angle: 0
  68. texture: [1.5,1.5,1,63,6,63]
  69. db2:
  70. section_segments: 12
  71. offset:
  72. x: 0
  73. y: 0
  74. z: 0
  75. position:
  76. x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
  77. y: c1
  78. z: c3
  79. width: c2
  80. height: c4
  81. angle: 180
  82. texture: [1.5,1.5,1,63,6,63]
  83. cockpit:
  84. section_segments: 8
  85. offset:
  86. x: 0
  87. y: -20
  88. z: 0
  89. position:
  90. x: [0,0,0]
  91. y: [-10,-15,0]
  92. z: [0,0,0]
  93. width: [0,3,4]
  94. height: [0,3,4]
  95. texture: [17,10]
  96. propeller: false
  97. laser:
  98. damage: [2,2]
  99. rate: 1
  100. type: 1
  101. speed: [160,160]
  102. number: 30
  103. recoil: 5
  104. error: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement