Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ships = [];
- //var BlueJ_301 = '{"name":"BlueJ","level":3,"model":1,"size":1.5,"specs":{"shield":{"capacity":[200,275],"reload":[6,7]},"generator":{"capacity":[100,150],"reload":[30,40]},"ship":{"mass":200,"speed":[70,100],"rotation":[120,180],"acceleration":[150,180]}},"bodies":{"main":{"section_segments":8,"offset":{"x":0,"y":0,"z":5},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0],"y":[-50,-45,0,10,15,35,55,40],"z":[0,0,0,0,0,0,0,0]},"width":[0,20,25,17,25,20,15,0],"height":[0,15,15,15,20,20,15,0],"texture":[1,4,63,4,2,12,17],"propeller":true},"cockpit":{"section_segments":8,"offset":{"x":0,"y":-43,"z":5},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,-4,10],"z":[-5,0,0]},"width":[1,18,20],"height":[1,15,10],"texture":[18]},"missiles":{"section_segments":12,"offset":{"x":35,"y":-5,"z":10},"position":{"x":[0,0,0,0,0],"y":[-30,-23,0,23,30],"z":[0,0,0,0,0]},"width":[0,5,5,5,0],"height":[0,5,5,5,0],"texture":[6,4,4,10],"angle":0,"laser":{"damage":[1,2],"rate":4,"type":1,"speed":[100,125],"number":1,"error":0}},"cannon":{"section_segments":6,"offset":{"x":15,"y":-10,"z":-15},"position":{"x":[0,0,0,0,0,0],"y":[-40,-50,-20,0,20,30],"z":[0,0,0,0,0,20]},"width":[0,5,8,11,7,0],"height":[0,5,8,11,10,0],"angle":0,"laser":{"damage":[12,18],"rate":2,"type":1,"speed":[200,250],"number":1,"error":0},"propeller":false,"texture":[3,3,10,3]},"top_propulsors":{"section_segments":10,"offset":{"x":75,"y":45,"z":40},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,63,17]},"bottom_propulsors":{"section_segments":10,"offset":{"x":0,"y":0,"z":-40},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-200,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[13,4,2,2,5,63,5,4,17]}},"wings":{"rooftop":{"doubleside":true,"offset":{"x":0,"y":-20,"z":20},"length":[20,15,25,25,5],"width":[50,40,35,35,35,30],"angle":[0,-20,30,30,30],"position":[0,10,20,10,80,100],"texture":[8,63,3,3],"bump":{"position":-40,"size":5}},"topwinglets":{"doubleside":true,"offset":{"x":80,"y":87,"z":45},"length":[20],"width":[40,30],"angle":[60],"position":[0,50],"texture":[63],"bump":{"position":10,"size":10}}},"typespec":{"name":"BlueJ","level":3,"model":1,"code":301,"specs":{"shield":{"capacity":[200,275],"reload":[6,7]},"generator":{"capacity":[100,150],"reload":[30,40]},"ship":{"mass":200,"speed":[70,100],"rotation":[120,180],"acceleration":[150,180]}},"shape":[6,2.675,1.891,1.874,1.454,1.206,1.485,1.478,1.465,1.865,1.847,1.869,1.926,2.019,2.159,2.766,3.055,3.309,3.63,4.089,5.039,5.299,1.577,1.87,2.417,2.405,2.417,1.87,1.577,5.299,5.039,4.089,3.63,3.309,3.055,2.766,2.159,2.019,1.926,1.869,1.847,1.865,1.465,1.478,1.485,1.206,1.454,1.874,1.891,2.675],"lasers":[{"x":1.05,"y":-1.05,"z":0.3,"angle":0,"damage":[1,2],"rate":4,"type":1,"speed":[100,125],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.05,"y":-1.05,"z":0.3,"angle":0,"damage":[1,2],"rate":4,"type":1,"speed":[100,125],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.45,"y":-1.8,"z":-0.45,"angle":0,"damage":[12,18],"rate":2,"type":1,"speed":[200,250],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.45,"y":-1.8,"z":-0.45,"angle":0,"damage":[12,18],"rate":2,"type":1,"speed":[200,250],"number":1,"spread":0,"error":0,"recoil":0}],"radius":6}}';
- var Needle_Warrior_301 = '{"name":"Needle-Warrior","level":3,"model":1,"size":1.6,"specs":{"shield":{"capacity":[5500,10000],"reload":[300,500]},"generator":{"capacity":[90,150],"reload":[35,55]},"ship":{"mass":250,"speed":[75,100],"rotation":[50,90],"acceleration":[90,110],"dash":{"rate":2,"burst_speed":[160,200],"speed":[120,150],"acceleration":[70,70],"initial_energy":[50,75],"energy":[20,30]}}},"bodies":{"main":{"section_segments":80,"offset":{"x":0,"y":0,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-100,-99,-50,0,10,30,50,80,100,90],"z":[-10,-10,-5,0,0,0,0,0,0,0,0]},"width":[0,5,30,35,25,30,50,50,20,0],"height":[0,5,20,20,20,20,20,20,10,0],"texture":[4,2,10,2,63,11,4,63,12],"propeller":true},"cockpit":{"section_segments":80,"offset":{"x":0,"y":-20,"z":5},"position":{"x":[0,0,0,0,0,0,0],"y":[-30,-20,0,30,40],"z":[0,0,0,0,0]},"width":[0,10,15,10,0],"height":[0,18,25,18,0],"texture":9,"propeller":false},"propellers":{"section_segments":120,"offset":{"x":40,"y":60,"z":0},"position":{"x":[0,0,5,3,5,0,0],"y":[-35,-40,-30,0,40,50,40],"z":[0,0,0,0,0,0,0]},"width":[0,5,10,10,15,10,0],"height":[0,5,25,30,25,5,0],"texture":4,"angle":0,"propeller":true}},"typespec":{"name":"Needle-Warrior","level":3,"model":1,"code":301,"specs":{"shield":{"capacity":[5500,10000],"reload":[300,500]},"generator":{"capacity":[90,150],"reload":[35,55]},"ship":{"mass":250,"speed":[75,100],"rotation":[50,90],"acceleration":[90,110],"dash":{"rate":2,"burst_speed":[160,200],"speed":[120,150],"acceleration":[70,70],"initial_energy":[50,75],"energy":[20,30]}}},"shape":[3.2,3.096,2.572,2.229,1.997,1.802,1.562,1.404,1.287,1.208,1.156,1.126,1.119,1.12,1,0.919,2.005,2.147,2.349,2.696,3.502,3.848,3.867,3.701,3.258,3.206,3.258,3.701,3.867,3.848,3.502,2.696,2.349,2.147,2.005,0.919,1,1.117,1.12,1.126,1.156,1.208,1.287,1.404,1.562,1.802,1.997,2.229,2.572,3.096],"lasers":[],"radius":3.867}}';
- var Intrepid_202 = '{"name":"Intrepid","level":2,"model":2,"size":1.6,"specs":{"shield":{"capacity":[3000,30000],"reload":[1000,100000]},"generator":{"capacity":[2200,5200],"reload":[100000000000,1e+23]},"ship":{"mass":250,"speed":[100,100],"rotation":[80,80],"acceleration":[110,110]}},"bodies":{"main":{"section_segments":8,"offset":{"x":0,"y":-20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0],"y":[-110,-106,-80,-40,-20,0,30,50,80,100,120,115],"z":[8,8,8,8,8,8,8,-4,-5,-6,-5,-10]},"width":[0,18,37,45,45,40,25,20,18,15,13,10],"height":[0,8,12,15,15,15,15,20,18,15,10,0],"texture":[3,2,2,2,2,2,2,2,2,2,13],"propeller":true},"side_engines":{"section_segments":8,"offset":{"x":45,"y":10,"z":-7},"position":{"x":[0,0,0,0,0,0,0,0,0],"y":[10,12,18,20,80,90,89,85],"z":[0,0,0,0,0,0,0,0,0]},"width":[0,6,8,10,11,10,8,0],"height":[0,6,7,10,11,10,8,0],"texture":[17,17,2,86,86,18,7],"propeller":true},"cockpit":{"section_segments":8,"offset":{"x":0,"y":-110,"z":26},"position":{"x":[0,0,0,0,0,0,0],"y":[20,40,60,90,120,140,210],"z":[-5,-5,-4,-5,-5,-11,-19]},"width":[5,13,15,10,6,4,1],"height":[0,8,10,4,3,3,0],"texture":[17,17,17,2]},"cannons":{"section_segments":8,"angle":5,"offset":{"x":25,"y":-90,"z":17},"position":{"x":[0,0,2,4,4,0,-3],"y":[-10,0,10,30,40,60,70],"z":[0,0,0,0,0,0,0]},"width":[0,3,3,3,3,3,0],"height":[0,5,5,5,5,5,0],"texture":[17],"laser":{"damage":[2,2],"rate":200,"type":1,"speed":[200,200],"number":1,"error":0}},"detail":{"section_segments":8,"offset":{"x":0,"y":-140,"z":22},"position":{"x":[0,0],"y":[20,40],"z":[-5,-5]},"width":[5,10],"height":[0,3],"texture":[2]}},"wings":{"main":{"doubleside":true,"offset":{"x":0,"y":70,"z":-12},"length":[25,20],"width":[70,60,40],"angle":[0,20],"position":[0,-5,-15],"texture":[2,2],"bump":{"position":30,"size":5}}},"typespec":{"name":"Intrepid","level":1,"model":1,"code":101,"specs":{"shield":{"capacity":[3000,30000],"reload":[1000,100000]},"generator":{"capacity":[2200,5200],"reload":[100000000000,1e+23]},"ship":{"mass":250,"speed":[100,100],"rotation":[80,80],"acceleration":[110,110]}},"shape":[4.16,4.111,3.886,3.506,3.001,2.581,2.254,1.974,1.69,1.479,1.282,1.132,1.028,0.958,0.909,0.877,2.005,2.173,2.422,2.791,3.326,3.652,3.537,3.177,3.283,3.36,3.283,3.177,3.537,3.652,3.326,2.791,2.422,2.173,2.005,0.877,0.909,0.958,1.028,1.132,1.282,1.479,1.69,1.974,2.254,2.581,3.001,3.506,3.886,4.111],"lasers":[{"x":0.772,"y":-3.199,"z":0.544,"angle":5,"damage":[2,2],"rate":200,"type":1,"speed":[200,200],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.772,"y":-3.199,"z":0.544,"angle":-5,"damage":[2,2],"rate":200,"type":1,"speed":[200,200],"number":1,"spread":0,"error":0,"recoil":0}],"radius":4.16}}';
- //var Delta_201 = '{"name":"Delta","level":2,"model":1,"size":4,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"bodies":{"main":{"section_segments":8,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"thrusters":{"section_segments":8,"offset":{"x":40,"y":43,"z":-24},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"propeller":true},"cockpit":{"section_segments":8,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":4,"offset":{"x":5,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,6],"rate":5,"type":1,"speed":[200,200],"number":1}},"cannon2":{"section_segments":4,"offset":{"x":17,"y":-129,"z":-2},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":3,"laser":{"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1}},"cannon3":{"section_segments":4,"offset":{"x":75,"y":-105,"z":-8},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":5,"laser":{"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1}}},"wings":{"main1":{"doubleside":true,"offset":{"x":2,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[-30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":15,"z":0},"length":[0,15,0,20],"width":[0,80,90,200,30],"angle":[210,210,210,30],"position":[30,30,10,-45,30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":25,"z":-7},"length":[45,35,0,20],"width":[40,40,40,200,40],"angle":[-20,20,-20,-5],"position":[10,30,0,-30,10],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"Delta","level":2,"model":1,"code":201,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"shape":[7.611,11.197,9.172,5.966,4.714,10.943,9.896,9.163,8.149,7.735,7.473,7.332,7.401,7.615,7.85,8.175,8.679,8.889,9.155,9.588,9.692,7.67,7.338,6.77,7.299,7.214,7.299,6.77,7.338,7.67,9.692,9.588,9.155,8.889,8.679,8.175,7.85,7.615,7.401,7.332,7.473,7.735,8.149,9.163,9.896,10.943,4.714,5.966,9.172,11.197],"lasers":[{"x":0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,6],"rate":5,"type":1,"speed":[200,200],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,6],"rate":5,"type":1,"speed":[200,200],"number":1,"spread":0,"error":0,"recoil":0},{"x":1.318,"y":-11.119,"z":-0.16,"angle":3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.318,"y":-11.119,"z":-0.16,"angle":-3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":5.93,"y":-9.197,"z":-0.64,"angle":5,"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-5.93,"y":-9.197,"z":-0.64,"angle":-5,"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"spread":0,"error":0,"recoil":0}],"radius":11.197}}';
- var D7_101 = '{"name":"StarFighter","level":1,"model":1,"size":4,"specs":{"shield":{"capacity":[1000,1200],"reload":[200,220]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[124,155],"rotation":[115,150],"acceleration":[1225,1255]}},"bodies":{"main":{"section_segments":800,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"top_propulsors":{"section_segments":10,"offset":{"x":75,"y":45,"z":10},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,63,17]},"bottom_propulsors":{"section_segments":10,"offset":{"x":100,"y":0,"z":-10},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,4,17]},"side_propulsors":{"section_segments":100,"offset":{"x":50,"y":25,"z":-30},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,15,20,20,20,15,15,20,10,0],"height":[0,15,20,20,20,15,15,20,10,0],"propeller":true,"texture":[4,4,2,2,5,63,5,4,12]},"cannons":{"section_segments":120,"offset":{"x":30,"y":-70,"z":0},"position":{"x":[0,0,0,0,0],"y":[-30,-20,0,20,30],"z":[0,0,0,0,0]},"width":[3,5,5,5,3],"height":[3,5,15,15,3],"texture":[6,4,4,6],"angle":0,"laser":{"damage":[50,80],"rate":3,"type":1,"speed":[120,180],"number":1,"error":0}},"thrusters":{"section_segments":80,"offset":{"x":40,"y":43,"z":14},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"laser":{"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"angle":0,"error":0},"propeller":true},"cockpit":{"section_segments":80,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":400,"offset":{"x":5,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"cannon2":{"section_segments":400,"offset":{"x":17,"y":-129,"z":-2},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":3,"laser":{"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1}},"wingendtop":{"section_segments":120,"offset":{"x":105,"y":50,"z":40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,5],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"propeller":true,"angle":0},"wingendbottom":{"section_segments":120,"offset":{"x":105,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"propeller":true,"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}}},"wings":{"xwing1":{"doubleside":true,"offset":{"x":0,"y":70,"z":0},"length":[80,35],"width":[50,40,30],"angle":[20,20],"position":[0,-10,-20],"texture":[1,10],"bump":{"position":10,"size":20}},"xwing2":{"doubleside":true,"offset":{"x":0,"y":70,"z":0},"length":[80,35],"width":[50,40,30],"angle":[-20,-20],"position":[0,-10,-20],"texture":[1,1],"bump":{"position":10,"size":20}},"winglets2":{"offset":{"x":30,"y":-40,"z":0},"length":[20,10],"width":[30,20,5],"angle":[-10,20],"position":[0,0,0],"texture":63,"bump":{"position":30,"size":10}},"main1":{"doubleside":true,"offset":{"x":2,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[-30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":15,"z":0},"length":[0,15,0,20],"width":[0,80,90,200,30],"angle":[210,210,210,30],"position":[30,30,10,-45,30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":25,"z":-7},"length":[45,35,0],"width":[40,40,40],"angle":[-20,20,-20],"position":[10,30,0],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"StarFighter","level":1,"model":1,"code":101,"specs":{"shield":{"capacity":[1000,1200],"reload":[200,220]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[124,155],"rotation":[115,150],"acceleration":[1225,1255]}},"shape":[7.611,11.197,9.172,8.424,6.563,5.373,5.664,5.813,5.823,2.639,2.56,8.858,9.137,9.214,9.28,9.776,10.218,10.878,10.881,10.903,12.071,11.842,9.283,7.501,7.519,7.6,7.519,7.501,9.283,11.842,12.071,10.903,10.881,10.878,10.218,9.776,9.28,9.214,9.141,8.858,2.56,2.639,5.823,5.813,5.664,5.373,6.563,8.424,9.172,11.197],"lasers":[{"x":2.4,"y":-8,"z":0,"angle":0,"damage":[50,80],"rate":3,"type":1,"speed":[120,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-2.4,"y":-8,"z":0,"angle":0,"damage":[50,80],"rate":3,"type":1,"speed":[120,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":3.2,"y":1.44,"z":1.12,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":-3.2,"y":1.44,"z":1.12,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":1.318,"y":-11.119,"z":-0.16,"angle":3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.318,"y":-11.119,"z":-0.16,"angle":-3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":8.4,"y":-1.6,"z":-3.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-8.4,"y":-1.6,"z":-3.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0}],"radius":12.071}}';
- var Delta_201 = '{"name":"Delta","level":2,"model":1,"size":4,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"bodies":{"main":{"section_segments":8,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"thrusters":{"section_segments":8,"offset":{"x":40,"y":43,"z":-24},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"propeller":true},"cockpit":{"section_segments":8,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":4,"offset":{"x":5,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"cannon2":{"section_segments":4,"offset":{"x":17,"y":-129,"z":-2},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":3,"laser":{"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1}},"cannon3":{"section_segments":4,"offset":{"x":75,"y":-105,"z":-8},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":5,"laser":{"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1}}},"wings":{"main1":{"doubleside":true,"offset":{"x":2,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[-30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":15,"z":0},"length":[0,15,0,20],"width":[0,80,90,200,30],"angle":[210,210,210,30],"position":[30,30,10,-45,30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":25,"z":-7},"length":[45,35,0,20],"width":[40,40,40,200,40],"angle":[-20,20,-20,-5],"position":[10,30,0,-30,10],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"Delta","level":2,"model":1,"code":201,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"shape":[7.611,11.197,9.172,5.966,4.714,10.943,9.896,9.163,8.149,7.735,7.473,7.332,7.401,7.615,7.85,8.175,8.679,8.889,9.155,9.588,9.692,7.67,7.338,6.77,7.299,7.214,7.299,6.77,7.338,7.67,9.692,9.588,9.155,8.889,8.679,8.175,7.85,7.615,7.401,7.332,7.473,7.735,8.149,9.163,9.896,10.943,4.714,5.966,9.172,11.197],"lasers":[{"x":0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":1.318,"y":-11.119,"z":-0.16,"angle":3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.318,"y":-11.119,"z":-0.16,"angle":-3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":5.93,"y":-9.197,"z":-0.64,"angle":5,"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-5.93,"y":-9.197,"z":-0.64,"angle":-5,"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"spread":0,"error":0,"recoil":0}],"radius":11.197}}';
- //var D7_101 = '{"name":"StarBird","level":1,"model":1,"size":0.5,"specs":{"shield":{"capacity":[800,900],"reload":[220,250]},"generator":{"capacity":[1000,1200],"reload":[1100,1500]},"ship":{"mass":3500,"speed":[155,175],"rotation":[35,40],"acceleration":[125,125]}},"bodies":{"main":{"section_segments":8,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"thrusters":{"section_segments":8,"offset":{"x":40,"y":43,"z":-24},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"propeller":true},"cockpit":{"section_segments":8,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":4,"offset":{"x":10,"y":-80,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,6],"rate":5000,"type":1,"speed":[200,200],"number":1}},"cannon2":{"section_segments":4,"offset":{"x":62,"y":245,"z":8},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":183,"laser":{"damage":[1,20],"rate":100,"type":1,"speed":[180,180],"number":1,"recoil":100}},"cannon3":{"section_segments":4,"offset":{"x":95,"y":225,"z":-8},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":185,"laser":{"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"recoil":100}}},"wings":{"main1":{"doubleside":true,"offset":{"x":9,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":85,"z":0},"length":[0,15,20,0],"width":[0,80,90,200,30],"angle":[30,30,30,30],"position":[-30,-30,-10,45,-30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":75,"z":-7},"length":[45,35,20,20],"width":[40,40,40,200,40],"angle":[-20,20,-20,-5],"position":[-20,-30,0,30,-10],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"StarBird","level":1,"model":1,"code":101,"specs":{"shield":{"capacity":[800,900],"reload":[220,250]},"generator":{"capacity":[1000,1200],"reload":[1100,1500]},"ship":{"mass":3500,"speed":[155,175],"rotation":[35,40],"acceleration":[125,125]}},"shape":[0.507,0.906,0.698,0.538,0.384,0.323,0.282,0.259,0.239,0.228,0.219,0.215,0.215,0.983,1.081,1.225,1.3,1.407,1.514,1.668,1.89,2.283,2.538,2.625,0.912,0.902,0.912,2.625,2.538,2.283,1.89,1.668,1.514,1.407,1.3,1.225,1.081,0.983,0.215,0.215,0.219,0.228,0.239,0.259,0.282,0.323,0.384,0.538,0.698,0.906],"lasers":[{"x":0.1,"y":-0.9,"z":0.01,"angle":0,"damage":[6,6],"rate":5000,"type":1,"speed":[200,200],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.1,"y":-0.9,"z":0.01,"angle":0,"damage":[6,6],"rate":5000,"type":1,"speed":[200,200],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.625,"y":2.55,"z":0.08,"angle":183,"damage":[1,20],"rate":100,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":100},{"x":-0.625,"y":2.55,"z":0.08,"angle":-183,"damage":[1,20],"rate":100,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":100},{"x":0.959,"y":2.35,"z":-0.08,"angle":185,"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"spread":0,"error":0,"recoil":100},{"x":-0.959,"y":2.35,"z":-0.08,"angle":-185,"damage":[20,20],"rate":1.5,"type":1,"speed":[160,160],"number":1,"spread":0,"error":0,"recoil":100}],"radius":2.625}}';
- var USS_Enterprise_302 = '{"name":"USS Enterprise","level":3,"model":2,"size":2,"specs":{"shield":{"capacity":[400,400],"reload":[2,3]},"generator":{"capacity":[500,500],"reload":[10,15]},"ship":{"mass":200,"speed":[125,145],"rotation":[110,130],"acceleration":[10,120]}},"bodies":{"saucer1":{"section_segments":20,"offset":{"x":0,"y":-40,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,26,36,43,49,54,57,60,63,65,67,68,69,69.8,70,69.8,69,68,67,65,63,60,57,54,49,43,36,26,0],"height":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"propeller":true,"texture":[1]},"saucer2":{"section_segments":20,"offset":{"x":0,"y":-40,"z":6},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,26,36,43,49,54,57,60,63,65,67,68,69,69.8,70,69.8,69,68,67,65,63,60,57,54,49,43,36,26,0],"height":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"propeller":true,"texture":[1]},"ring":{"section_segments":20,"offset":{"x":0.001,"y":-40,"z":3},"position":{"x":[0,26,36,43,49,54,57,60,63,65,67,68,69,69.8,70,69.8,69,68,67,65,63,60,57,54,49,43,36,26,0,2,10],"y":[-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,69.7,68.1],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.4]},"width":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":[3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,1.5],"texture":[1,10,10,10,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,10,10,10,1,11,30]},"a_deck":{"section_segments":12,"offset":{"x":0,"y":-40,"z":8},"position":{"x":[0,0,0,0,0,0,0,0],"y":[-5,-4.4,-3,0,3,4.4,5,4.6000000000000005],"z":[0,0,0,0,0,0,0,0,0]},"width":[2,3.4000000000000004,5,6,5,3.4000000000000004,2,0],"height":[2,3.4000000000000004,5,6,5,3.4000000000000004,2,0],"texture":[9],"propeller":false},"b_deck":{"section_segments":12,"offset":{"x":0,"y":-40,"z":7},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-13,-12.5,-11,-7.5,0,7.5,11,25,63,65,66,70],"z":[0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1]},"width":[0,5,8.5,12.5,15,12.5,8.5,6,3,12,14,0],"height":[0,2.5,4,5,5,5,4,2.5,1,1,1,0],"texture":[1,1,1,1,1,1,1,10,2]},"c_deck":{"section_segments":50,"offset":{"x":0,"y":-40,"z":1},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-35,-32.5,-30,-27.5,-25,-22.5,-20,-17.5,-15,-12.5,-10,-7.5,-5,-2.5,0,2.5,5,7.5,10,12.5,15,17.5,20,22.5,25,27.5,30,32.5,35],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,13,18,21.5,24.5,27,28.5,30,31.5,32.5,33.5,34,34.5,34.9,35,34.9,34.5,34,33.5,32.5,31.5,30,28.5,27,24.5,21.5,18,13,0],"height":[0,4,4.25,4.5,4.75,5,5.25,5.5,5.75,6,6.25,6.5,6.75,6.85,6.95,6.85,6.75,6.5,6.25,6,5.75,5.5,5.25,5,4.75,4.5,4.25,4,0],"propeller":true,"texture":[1]},"c_deck2":{"section_segments":50,"offset":{"x":0,"y":-40,"z":5},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-35,-32.5,-30,-27.5,-25,-22.5,-20,-17.5,-15,-12.5,-10,-7.5,-5,-2.5,0,2.5,5,7.5,10,12.5,15,17.5,20,22.5,25,27.5,30,32.5,35],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,13,18,21.5,24.5,27,28.5,30,31.5,32.5,33.5,34,34.5,34.9,35,34.9,34.5,34,33.5,32.5,31.5,30,28.5,27,24.5,21.5,18,13,0],"height":[0,2.5,2.75,3,3.25,3.5,3.75,4,4.25,4.5,4.75,5,5.25,5.35,5.45,5.35,5.25,5,4.75,4.5,4.25,4,3.75,3.5,3.25,3,2.75,2.5,0],"propeller":true,"texture":[1],"angle":0},"d_deck":{"section_segments":12,"offset":{"x":0,"y":-40,"z":-5},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-13,-12.5,-11,-7.5,0,7.5,11,12.5,13],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,5,8.5,12.5,15,12.5,8.5,5,0],"height":[0,2.5,4,5,5,5,4,2.5,0],"texture":[1]},"e_deck":{"section_segments":12,"offset":{"x":0,"y":-40,"z":-7},"position":{"x":[0,0,0,0,0,0,0,0],"y":[-5,-4.4,-3,0,3,4.4,5,4.6000000000000005],"z":[0,0,0,0,0,0,0,0,0]},"width":[2,3.4000000000000004,5,6,5,3.4000000000000004,2,0],"height":[2,3.4000000000000004,5,6,5,3.4000000000000004,2,0],"texture":[9],"propeller":false},"neck":{"section_segments":15,"offset":{"x":0,"y":20,"z":-15},"position":{"x":[0,0,0,0,0,0],"y":[-40,-25,-20,-15,3,65],"z":[15,12,7,0,0,-15]},"width":[5,5,4,5,5,4],"height":[3,10,12,18,18,0],"propeller":false,"texture":[1,1,43,42,1]},"torpedo":{"section_segments":6,"offset":{"x":0,"y":-3,"z":-16.3},"position":{"x":[0,0,0,0,0],"y":[0,-1,5,6],"z":[0,0,0,0]},"width":[0,4,4,3],"height":[0,2,2,0],"propeller":false,"texture":[3.9,1],"laser":{"damage":[10,20],"rate":10,"type":1,"speed":[200,300],"number":1,"angle":0,"error":30}},"ddish":{"section_segments":30,"offset":{"x":0,"y":0,"z":-30},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0],"y":[-2,-3,-4,-2,0,0,-2,0,20],"z":[0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,4,10,5,7,9,10,11,11],"height":[0,4,10,5,7,9,10,11,11],"propeller":false,"texture":[17,17,13,11,13,3]},"base":{"section_segments":14,"offset":{"x":11,"y":0,"z":-30},"position":{"x":[0.5,0.5,0,-11,-11,-11,-11,-11,-11,-11],"y":[5,0,6,10,25,60,80,90,91,92],"z":[0,1,-2,-1,2,2,3,2,2,2]},"width":[0,0.5,1,12,12,12,11,9,7,4],"height":[3,3,6,11,13,8,6,3,2,0],"texture":[13,1,1,42,1,42,1]},"base_support":{"section_segments":14,"offset":{"x":0,"y":0,"z":-41.5},"position":{"x":[0,0,0,0],"y":[5,0,5,11],"z":[-0.5,-0.5,1,3.3]},"width":[3,5,6,8,16,8,6,3,2,0],"height":[0,1,2,3],"texture":[13,1,1]},"hangardoors":{"section_segments":10,"offset":{"x":0,"y":81.5,"z":-25},"position":{"x":[0,0,0,0,0],"y":[-10,-9,-7,-5,-3],"z":[-2,-1,0,0,0]},"width":[2,7,8,8,7],"height":[0,2,3,4,3],"propeller":false,"angle":180,"texture":[13]},"nacelle_cap":{"section_segments":20,"offset":{"x":35,"y":36,"z":12},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[0,1,3,7,35,84,120,126,154,148],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,4,6,8,8],"height":[0,4,6,8,8],"texture":[14,14,14,3]},"nacelles":{"section_segments":22,"offset":{"x":35,"y":50,"z":12},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[0,-5,3,30,115,115],"z":[0,-1,-2,-2,4,4,0]},"width":[0,8.6,9,8,5,0],"height":[0,10,12,12,6,0],"texture":[13,1,1,1,17,17],"propeller":true},"nacelle_streaks":{"section_segments":12,"offset":{"x":29.8,"y":116,"z":12},"position":{"x":[0,0,0,0,0,0,0,0],"y":[-25,-23,-15,0,35,38,40],"z":[-4.5,-4.4,-3.7,-2.5,0,1,2]},"width":[0,2,2,2,2,1,0],"height":[0,2,2,2,2,2,0],"texture":[1,1,3,3,1],"angle":2.1},"impulse_engines":{"section_segments":4,"offset":{"x":5,"y":20,"z":3},"position":{"x":[0],"y":[0],"z":[0]},"width":[5],"height":[3],"propeller":true},"warp_engines":{"section_segments":12,"offset":{"x":35,"y":160,"z":16},"position":{"x":[0],"y":[0],"z":[0]},"width":[9],"height":[10],"propeller":true}},"wings":{"nacelle_buttresses":{"doubleside":true,"offset":{"x":5,"y":70,"z":-30},"length":[15,10,10,10,0],"width":[30,20,15,11,8,8],"angle":[46,53,65,68,68],"position":[-1,-2,-1,0.5,2.5,2.5],"texture":1,"bump":{"position":-40,"size":10}},"nacelle_cover":{"doubleside":true,"offset":{"x":25.5,"y":45,"z":11},"length":[6,4,4,3,3,4,4,6],"width":[0,15,55,63,65,63,55,15,0],"angle":[80,55,39,7,-7,-39,-55,-80],"position":[0,5,23,25.5,26,25.5,23,5,0],"texture":2,"bump":{"position":40,"size":2}},"nacelle_rearcover":{"doubleside":true,"offset":{"x":29,"y":160,"z":15},"length":[0,7,7,7,0],"width":[0,10,35,35,10,0],"angle":[72,72,0,-72,-72],"position":[2,2,0,0,2,2],"texture":1,"bump":{"position":20,"size":3}},"nacelle_fins1":{"doubleside":true,"offset":{"x":38,"y":150,"z":20},"length":[3],"width":[25,25],"angle":[70],"position":[0,12],"texture":2,"bump":{"position":0,"size":10}},"nacelle_fins2":{"doubleside":true,"offset":{"x":32,"y":150,"z":20},"length":[0,3],"width":[0,25,25],"angle":[0,110],"position":[0,0,12],"texture":2,"bump":{"position":0,"size":5}}},"typespec":{"name":"USS Enterprise","level":3,"model":2,"code":302,"specs":{"shield":{"capacity":[400,400],"reload":[2,3]},"generator":{"capacity":[500,500],"reload":[10,15]},"ship":{"mass":200,"speed":[125,145],"rotation":[110,130],"acceleration":[10,120]}},"shape":[4.4,4.355,4.327,4.269,4.154,4.028,3.819,3.63,3.41,3.191,2.943,2.715,2.485,2.28,2.111,1.925,1.77,1.65,1.53,2.753,3.23,3.99,5.332,7.262,7.228,3.683,7.228,7.262,5.332,3.99,3.23,2.753,1.53,1.65,1.77,1.925,2.111,2.279,2.485,2.715,2.943,3.191,3.41,3.63,3.819,4.028,4.154,4.269,4.327,4.355],"lasers":[{"x":0,"y":-0.16,"z":-0.652,"angle":0,"damage":[10,20],"rate":10,"type":1,"speed":[200,300],"number":1,"spread":0,"error":30,"recoil":0}],"radius":7.262}}';
- var A_Interceptor_304 = '{"name":"A-Interceptor","level":3,"model":4,"size":0.25,"specs":{"shield":{"capacity":[3000,3000],"reload":[16,16]},"generator":{"capacity":[250000,250000],"reload":[100,100]},"ship":{"mass":175,"speed":[150,190],"rotation":[80,100],"acceleration":[900,1400]}},"bodies":{"bumps":{"section_segments":8,"offset":{"x":40,"y":40,"z":5},"position":{"x":[0,0,0,0,0,0],"y":[-40,-10,0,10,40,45],"z":[0,0,0,0,0,0]},"width":[0,5,8,12,5,0],"height":[0,25,28,22,15,0],"texture":[63]},"gun":{"section_segments":8,"offset":{"x":0,"y":-60,"z":-15},"position":{"x":[0,0,0,0],"y":[-20,-10,5,10],"z":[0,0,0,0]},"width":[3,7,8,3],"height":[3,7,8,3],"texture":[6,4,5],"laser":{"damage":[3,5],"rate":3,"type":1,"speed":[100,120],"number":30,"angle":12,"error":0}},"gunsupport":{"section_segments":8,"offset":{"x":30,"y":-40,"z":5},"position":{"x":[-30,-20,-10,0,0,0],"y":[-20,-15,-5,10,40,55],"z":[-20,-20,-10,0,0,0]},"width":[3,5,8,4,5,0],"height":[3,5,8,12,15,0],"texture":63},"pulse":{"section_segments":12,"offset":{"x":75,"y":40,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-50,-45,-20,0,20,50,55],"z":[0,0,0,0,0,0,0]},"width":[0,5,10,10,15,10,0],"height":[0,5,15,15,10,5,0],"angle":0,"laser":{"damage":[4,8],"rate":2.5,"type":1,"speed":[100,120],"number":1,"angle":0,"error":0},"propeller":false,"texture":[4,4,10,4,63,4]},"propulsors":{"section_segments":8,"offset":{"x":50,"y":0,"z":-40},"position":{"x":[0,0,0,0,0,0,0,0,0],"y":[-30,-25,20,25,40,50,60,100,90],"z":[0,0,0,0,0,0,0,0,0]},"width":[0,20,15,5,25,20,15,15,0],"height":[0,20,15,5,25,20,20,10,0],"texture":[63,63,63,2,2,3,4,12],"propeller":true},"arm":{"section_segments":6,"angle":0,"offset":{"x":0,"y":80,"z":30},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0],"y":[-90,-85,-70,-60,-10,10,60,70,85,90,85],"z":[0,0,0,0,0,0,0,0,0,0,0]},"width":[0,20,25,10,12,12,15,20,20,15,0],"height":[0,10,12,8,12,12,8,12,10,5,0],"texture":[4,63,4,4,4,4,4,63,3],"propeller":true},"bomb":{"section_segments":6,"offset":{"x":0,"y":20,"z":30},"position":{"x":[0,0,0,0,0,0],"y":[-25,-30,-20,0,10,12],"z":[0,0,0,0,0,0]},"width":[0,10,8,7,6,0],"height":[0,5,5,7,6,0],"texture":[6,6,6,10,12],"laser":{"damage":[150,150],"rate":3.7,"type":1,"speed":[110,110],"number":35,"angle":0,"error":0}},"main":{"section_segments":8,"offset":{"x":0,"y":0,"z":0},"position":{"x":[0,0,0,0,0,0],"y":[-100,-95,0,0,70,65],"z":[0,0,0,0,0,0]},"width":[0,10,40,20,20,0],"height":[0,5,30,30,15,0],"texture":[6,11,5,63,12],"propeller":true,"laser":{"damage":[38,84],"rate":1,"type":2,"speed":[175,230],"recoil":50,"number":1,"error":0}},"laser":{"section_segments":10,"offset":{"x":90,"y":10,"z":-19},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-30,-25,0,10,20,25,30,40,70,60],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"texture":[6,4,10,3,4,3,2],"propeller":true,"laser":{"damage":[4,4],"rate":3,"type":1,"speed":[150,150],"number":1}},"laser2":{"section_segments":10,"offset":{"x":50,"y":-20,"z":-20},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-30,-25,0,10,20,25,30,40,70,60],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,12,0],"height":[0,10,15,15,15,10,10,15,5,0],"texture":[6,4,10,3,4,3,2],"propeller":true,"laser":{"damage":[4,4],"rate":4,"type":1,"speed":[150,150],"number":1}},"top_propulsor":{"section_segments":10,"offset":{"x":0,"y":30,"z":60},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,100,90],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,15,20,20,20,15,15,20,10,0],"height":[0,15,20,20,20,15,15,20,10,0],"texture":[4,63,1,1,1,63,1,1,12],"propeller":true},"side_propulsors2":{"section_segments":10,"offset":{"x":80,"y":30,"z":-30},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,100,90],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,15,20,20,20,15,15,20,10,0],"height":[0,15,20,20,20,15,15,20,10,0],"texture":[4,63,1,1,1,63,1,1,12],"propeller":true},"cockpit":{"section_segments":8,"offset":{"x":0,"y":-60,"z":15},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,0,20,40,50],"z":[-7,-5,0,0,0]},"width":[0,10,10,10,0],"height":[0,10,15,12,0],"texture":[18]},"top_propulsors":{"section_segments":10,"offset":{"x":75,"y":45,"z":40},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,63,17]},"bottom_propulsors":{"section_segments":10,"offset":{"x":100,"y":0,"z":-40},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,4,17]},"side_propulsors":{"section_segments":10,"offset":{"x":50,"y":25,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,15,20,20,20,15,15,20,10,0],"height":[0,15,20,20,20,15,15,20,10,0],"propeller":true,"texture":[4,4,2,2,5,63,5,4,12]},"cannons":{"section_segments":12,"offset":{"x":30,"y":40,"z":45},"position":{"x":[0,0,0,0,0,0,0],"y":[-50,-45,-20,0,20,30,40],"z":[0,0,0,0,0,0,0]},"width":[0,5,7,10,3,5,0],"height":[0,5,7,8,3,5,0],"angle":-10,"laser":{"damage":[8,12],"rate":2,"type":1,"speed":[100,130],"number":1,"angle":-10,"error":0},"propeller":false,"texture":[6,4,10,4,63,4]},"phaser":{"section_segments":12,"offset":{"x":0,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}},"phaser2":{"section_segments":12,"offset":{"x":5,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}},"phaser3":{"section_segments":12,"offset":{"x":10,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}},"phaser4":{"section_segments":12,"offset":{"x":15,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}},"phaser5":{"section_segments":12,"offset":{"x":20,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}}},"wings":{"tail":{"offset":{"x":0,"y":75,"z":20},"length":[30,40],"width":[30,20,25],"angle":[10,-30],"position":[0,0,-30],"texture":[63],"bump":{"position":0,"size":0}},"join":{"offset":{"x":0,"y":0,"z":10},"length":[40,0],"width":[10,20],"angle":[-1],"position":[0,30],"texture":[63],"bump":{"position":0,"size":25}},"winglets":{"offset":{"x":0,"y":-40,"z":10},"doubleside":true,"length":[45,10],"width":[5,20,30],"angle":[50,-10],"position":[90,80,50],"texture":[4],"bump":{"position":10,"size":30}},"winglets2":{"offset":{"x":20,"y":-40,"z":0},"length":[20,10],"width":[30,20,5],"angle":[-10,20],"position":[0,0,0],"texture":63,"bump":{"position":30,"size":10}},"winglets3":{"length":[30,20],"width":[10,30,0],"angle":[50,20],"position":[90,80,50],"texture":[63],"bump":{"position":10,"size":30},"offset":{"x":0,"y":0,"z":0}},"enhanced":{"length":[100,30,20],"width":[100,50,40,30],"angle":[-25,20,25],"position":[30,70,50,50],"bump":{"position":-20,"size":20},"offset":{"x":0,"y":0,"z":0},"texture":[11,11,63],"doubleside":true},"enhanced2":{"length":[40],"width":[40,20,30],"angle":[10,-10],"position":[-50,-70,-65],"bump":{"position":0,"size":30},"texture":63,"offset":{"x":0,"y":0,"z":0}},"wings101":{"offset":{"x":20,"y":0,"z":0},"length":[35,15,20,15],"width":[100,50,50,40,45],"angle":[-10,20,0,0],"position":[0,0,10,30,0],"texture":[11,4],"bump":{"position":-20,"size":15}},"sideWings":{"doubleside":true,"offset":{"x":105,"y":30,"z":-30},"length":[30,10,30],"width":[40,60,60,40],"angle":[90,110,110,90],"position":[0,-30,-30,0],"texture":[63],"bump":{"position":0,"size":15}}},"typespec":{"name":"A-Interceptor","level":3,"model":4,"code":304,"specs":{"shield":{"capacity":[3000,3000],"reload":[16,16]},"generator":{"capacity":[250000,250000],"reload":[100,100]},"ship":{"mass":175,"speed":[150,190],"rotation":[80,100],"acceleration":[900,1400]}},"shape":[0.5,0.486,0.401,0.438,0.446,0.367,0.357,0.373,0.369,0.353,0.546,0.554,0.571,0.576,0.707,0.736,0.758,0.71,0.678,0.724,0.789,0.77,0.58,0.485,0.852,0.852,0.852,0.485,0.58,0.77,0.789,0.724,0.678,0.71,0.758,0.736,0.707,0.576,0.571,0.554,0.546,0.353,0.369,0.373,0.357,0.367,0.446,0.438,0.401,0.486],"lasers":[{"x":0,"y":-0.4,"z":-0.075,"angle":0,"damage":[3,5],"rate":3,"type":1,"speed":[100,120],"number":30,"spread":12,"error":0,"recoil":0},{"x":0.375,"y":-0.05,"z":0,"angle":0,"damage":[4,8],"rate":2.5,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.375,"y":-0.05,"z":0,"angle":0,"damage":[4,8],"rate":2.5,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":0,"y":-0.05,"z":0.15,"angle":0,"damage":[150,150],"rate":3.7,"type":1,"speed":[110,110],"number":35,"spread":0,"error":0,"recoil":0},{"x":0,"y":-0.5,"z":0,"angle":0,"damage":[38,84],"rate":1,"type":2,"speed":[175,230],"number":1,"spread":0,"error":0,"recoil":50},{"x":0.45,"y":-0.1,"z":-0.095,"angle":0,"damage":[4,4],"rate":3,"type":1,"speed":[150,150],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.45,"y":-0.1,"z":-0.095,"angle":0,"damage":[4,4],"rate":3,"type":1,"speed":[150,150],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.25,"y":-0.25,"z":-0.1,"angle":0,"damage":[4,4],"rate":4,"type":1,"speed":[150,150],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.25,"y":-0.25,"z":-0.1,"angle":0,"damage":[4,4],"rate":4,"type":1,"speed":[150,150],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.193,"y":-0.046,"z":0.225,"angle":-10,"damage":[8,12],"rate":2,"type":1,"speed":[100,130],"number":1,"spread":-10,"error":0,"recoil":0},{"x":-0.193,"y":-0.046,"z":0.225,"angle":10,"damage":[8,12],"rate":2,"type":1,"speed":[100,130],"number":1,"spread":-10,"error":0,"recoil":0},{"x":0,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.025,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.025,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.05,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.05,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.075,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.075,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.1,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-0.1,"y":-0.1,"z":-0.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0}],"radius":0.852}}';
- var USS_Vengeance_303 = '{"name":"USS Vengeance","level":3,"model":3,"size":10,"specs":{"shield":{"capacity":[400,400],"reload":[2,3]},"generator":{"capacity":[500,500],"reload":[10,15]},"ship":{"mass":200,"speed":[125,145],"rotation":[110,130],"acceleration":[10,120]}},"bodies":{"saucerfront":{"section_segments":20,"offset":{"x":0,"y":-100,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[5,10,15,20,25,30,35,40,45,50,50],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,26,36,43,49,54,57,60,63,65,0],"height":[0,6,6,6,6,6,6,6,6,6,6,6,0],"propeller":false,"texture":[3]},"saucermiddle":{"section_segments":20,"offset":{"x":40,"y":-40,"z":0},"position":{"x":[-5,-5,-3,-1,0,1,2,3,4,4,-4,-4],"y":[-10,-10,-5,0,5,10,15,20,25,30,35,35],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,29.5,30,29,28.5,28,27,26,25,24,31,30,0],"height":[0,5,5,5,5,5,5,5,5,5,5,5,7,7,7,0],"propeller":false,"texture":[3]},"saucerback":{"section_segments":20,"offset":{"x":0,"y":-100,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0],"y":[95,95,100,105,110,115,120,125,130,135,139,145],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,67,65,63,60,57,54,49,41,35,26,0],"height":[0,6,6,6,6,6,6,6,6,6,6,6],"propeller":false,"texture":[3,3,3,3,3,3,3,3,3,3,16]},"cockpit":{"section_segments":8,"offset":{"x":0,"y":-30,"z":2},"position":{"x":[0,0,0,0,0,0],"y":[0,5,20,25,35,35],"z":[3,0,0,0,0,0,0]},"width":[2,8,8,10,10,0],"height":[0,7,8,8,7,0],"propeller":false,"texture":[10,10,2,2]},"saucer2":{"section_segments":10,"offset":{"x":0,"y":5,"z":1},"position":{"x":[0,0,0,0,0,0],"y":[-10,-10,35,35],"z":[0,0,0,0,0,0]},"width":[0,35,10,0],"height":[0,7,7,7,7,0],"propeller":false,"texture":[63]},"saucer3":{"section_segments":8,"offset":{"x":-22,"y":-20,"z":2},"position":{"x":[10,-5,-10],"y":[-30,10,30],"z":[0,0,0]},"width":[5,5,17],"height":[5,5,5],"texture":[63],"angle":0,"propeller":false},"saucer4":{"section_segments":8,"offset":{"x":-22,"y":-20,"z":-2},"position":{"x":[10,-5,-10],"y":[-30,10,30],"z":[0,0,0]},"width":[5,5,10],"height":[5,5,5],"texture":[16],"angle":0,"propeller":false},"saucer5":{"section_segments":20,"offset":{"x":0,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0],"y":[10,10,35,35],"z":[0,0,0,0,0,0]},"width":[0,5,22,0],"height":[0,7,7,7,7,0],"propeller":false,"texture":[63]},"center":{"section_segments":10,"offset":{"x":0,"y":10,"z":-10},"position":{"x":[0,0,0,0,0,0],"y":[-30,10,30,70,80,105],"z":[10,-5,-15,-15,-15,-10]},"width":[5,7,15,15,13,5],"height":[0,15,10,10,10,0],"texture":[3,13,3,13,3,11],"angle":0,"propeller":false},"lasertop":{"section_segments":10,"offset":{"x":8,"y":20,"z":-20},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-4,-3,0,2,4,5,6,8,14,12],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,2,3,3,3,2,2,3,1,0],"height":[0,2,3,3,3,2,2,3,1,0],"texture":[17,4,10,3],"propeller":false,"laser":{"damage":[3,4],"rate":6,"type":1,"speed":[180,210],"number":1}},"laserbottom":{"section_segments":10,"offset":{"x":8,"y":25,"z":-25},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-4,-3,0,2,4,5,6,8,14,12],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,2,3,3,3,2,2,3,1,0],"height":[0,2,3,3,3,2,2,3,1,0],"texture":[3,4,10,3],"propeller":false,"laser":{"damage":[3,4],"rate":6,"type":1,"speed":[180,210],"number":1}},"lasershell":{"section_segments":10,"offset":{"x":11,"y":20,"z":-22},"position":{"x":[0,0,0,0,0,0,-1,-2,-2,-2],"y":[0,2,4,5,6,8,14,16],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,1,1.5,1.5,1.5,2,2,2,0],"height":[0,5,5.5,6,6,6,6,6,0],"texture":[15],"propeller":false},"nacelles":{"section_segments":8,"offset":{"x":67,"y":30,"z":15},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0],"y":[14,11,13,15,25,66,84,126,126,154,150],"z":[2,2,2,2,0,0,0,0,0,0,0]},"width":[0,3,4,4,5,6,7,6,7,3,0],"height":[0,5,5,6,10,10,10,10,10,7,0],"propeller":true,"texture":[17,3,3,3,3,3,3,3,3,17],"laser":{"damage":[100],"rate":1,"type":2,"speed":[200],"number":1,"angle":0,"error":0}},"ddish":{"section_segments":10,"offset":{"x":0,"y":10,"z":-20},"position":{"x":[0,0],"y":[-10,3],"z":[5,0]},"width":[3,3],"height":[0,5],"texture":[17]}},"wings":{"nacelle_pylons":{"offset":{"x":5,"y":75,"z":-19},"doubleside":true,"length":[50,25],"width":[20,20,20,20],"angle":[30,15],"position":[0,0,0,50],"texture":[3],"bump":{"position":10,"size":15}},"lights1":{"offset":{"x":20,"y":-93,"z":0},"doubleside":true,"length":[10],"width":[2,2],"angle":[0],"position":[1,5],"texture":[17],"bump":{"position":10,"size":30}},"lights2":{"offset":{"x":60,"y":-61,"z":0},"doubleside":true,"length":[4],"width":[2,2],"angle":[0],"position":[1,8],"texture":[17],"bump":{"position":10,"size":30}},"lights3":{"offset":{"x":60,"y":3,"z":0},"doubleside":true,"length":[4],"width":[2,2],"angle":[0],"position":[8,1],"texture":[17],"bump":{"position":10,"size":30}},"lights4":{"offset":{"x":20,"y":37,"z":0},"doubleside":true,"length":[10],"width":[2,2],"angle":[0],"position":[5,1],"texture":[17],"bump":{"position":-10,"size":100}}},"typespec":{"name":"USS Vengeance","level":3,"model":3,"code":303,"specs":{"shield":{"capacity":[400,400],"reload":[2,3]},"generator":{"capacity":[500,500],"reload":[10,15]},"ship":{"mass":200,"speed":[125,145],"rotation":[110,130],"acceleration":[10,120]}},"shape":[19,18.808,19.025,18.796,18.315,17.946,17.458,16.934,16.228,15.575,14.841,14.247,13.65,13,12.565,11.808,11.402,17.728,19.873,22.811,27.53,34.674,39.373,17.869,21.644,23.02,21.644,17.869,39.373,34.674,27.53,22.811,19.873,17.728,11.402,11.808,12.565,12.996,13.65,14.247,14.841,15.575,16.228,16.934,17.458,17.946,18.315,18.796,19.025,18.808],"lasers":[{"x":1.6,"y":3.2,"z":-4,"angle":0,"damage":[3,4],"rate":6,"type":1,"speed":[180,210],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.6,"y":3.2,"z":-4,"angle":0,"damage":[3,4],"rate":6,"type":1,"speed":[180,210],"number":1,"spread":0,"error":0,"recoil":0},{"x":1.6,"y":4.2,"z":-5,"angle":0,"damage":[3,4],"rate":6,"type":1,"speed":[180,210],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.6,"y":4.2,"z":-5,"angle":0,"damage":[3,4],"rate":6,"type":1,"speed":[180,210],"number":1,"spread":0,"error":0,"recoil":0},{"x":13.4,"y":8.2,"z":3,"angle":0,"damage":[100],"rate":1,"type":2,"speed":[200],"number":1,"spread":0,"error":0,"recoil":0},{"x":-13.4,"y":8.2,"z":3,"angle":0,"damage":[100],"rate":1,"type":2,"speed":[200],"number":1,"spread":0,"error":0,"recoil":0}],"radius":39.373}}';
- var StarFighter_501 = '{"name":"StarFighter","level":5,"model":1,"size":4,"specs":{"shield":{"capacity":[1000,1200],"reload":[200,220]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[124,155],"rotation":[115,150],"acceleration":[1225,1255]}},"bodies":{"main":{"section_segments":800,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"top_propulsors":{"section_segments":10,"offset":{"x":75,"y":45,"z":10},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,63,17],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"bottom_propulsors":{"section_segments":10,"offset":{"x":100,"y":0,"z":-10},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,10,15,15,15,10,10,15,10,0],"height":[0,10,15,15,15,10,10,15,5,0],"propeller":true,"texture":[4,4,2,2,5,63,5,4,17],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"side_propulsors":{"section_segments":100,"offset":{"x":50,"y":25,"z":-30},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-20,-15,0,10,20,25,30,40,80,70],"z":[0,0,0,0,0,0,0,0,0,0]},"width":[0,15,20,20,20,15,15,20,10,0],"height":[0,15,20,20,20,15,15,20,10,0],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2},"propeller":true,"texture":[4,4,2,2,5,63,5,4,12]},"cannons":{"section_segments":120,"offset":{"x":30,"y":-70,"z":0},"position":{"x":[0,0,0,0,0],"y":[-30,-20,0,20,30],"z":[0,0,0,0,0]},"width":[3,5,5,5,3],"height":[3,5,15,15,3],"texture":[6,4,4,6],"angle":0,"laser":{"damage":[50,80],"rate":3,"type":1,"speed":[120,180],"number":1,"error":0}},"thrusters":{"section_segments":80,"offset":{"x":40,"y":43,"z":14},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2},"propeller":true},"cockpit":{"section_segments":80,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":400,"offset":{"x":5,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"cannon2":{"section_segments":400,"offset":{"x":17,"y":-129,"z":-2},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":3,"laser":{"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1}},"wingendtop":{"section_segments":120,"offset":{"x":105,"y":50,"z":40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,5],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"propeller":true,"angle":0},"wingendbottom":{"section_segments":120,"offset":{"x":105,"y":50,"z":-40},"position":{"x":[0,0,0,0,0,0,0],"y":[-65,-70,-20,0,20,30,25],"z":[0,0,0,0,0,0,0]},"width":[0,2,3,7,7,5,0],"height":[0,2,3,7,7,5,0],"texture":[12,63,63,11,63,12],"propeller":true,"angle":0,"laser":{"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"error":0}}},"wings":{"xwing1":{"doubleside":true,"offset":{"x":0,"y":70,"z":0},"length":[80,35],"width":[50,40,30],"angle":[20,20],"position":[0,-10,-20],"texture":[1,10],"bump":{"position":10,"size":20}},"xwing2":{"doubleside":true,"offset":{"x":0,"y":70,"z":0},"length":[80,35],"width":[50,40,30],"angle":[-20,-20],"position":[0,-10,-20],"texture":[1,1],"bump":{"position":10,"size":20}},"winglets2":{"offset":{"x":30,"y":-40,"z":0},"length":[20,10],"width":[30,20,5],"angle":[-10,20],"position":[0,0,0],"texture":63,"bump":{"position":30,"size":10}},"main1":{"doubleside":true,"offset":{"x":2,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[-30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":15,"z":0},"length":[0,15,0,20],"width":[0,80,90,200,30],"angle":[210,210,210,30],"position":[30,30,10,-45,30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":25,"z":-7},"length":[45,35,0],"width":[40,40,40],"angle":[-20,20,-20],"position":[10,30,0],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"StarFighter","level":5,"model":1,"code":501,"specs":{"shield":{"capacity":[1000,1200],"reload":[200,220]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[124,155],"rotation":[115,150],"acceleration":[1225,1255]}},"shape":[7.611,11.197,9.172,8.424,6.563,5.373,5.664,5.813,5.823,2.639,2.56,8.858,9.137,9.214,9.28,9.776,10.218,10.878,10.881,10.903,12.071,11.842,9.283,7.501,7.519,7.6,7.519,7.501,9.283,11.842,12.071,10.903,10.881,10.878,10.218,9.776,9.28,9.214,9.141,8.858,2.56,2.639,5.823,5.813,5.664,5.373,6.563,8.424,9.172,11.197],"lasers":[{"x":6,"y":2,"z":0.8,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-6,"y":2,"z":0.8,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":8,"y":-1.6,"z":-0.8,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-8,"y":-1.6,"z":-0.8,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":4,"y":0.4,"z":-2.4,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-4,"y":0.4,"z":-2.4,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":2.4,"y":-8,"z":0,"angle":0,"damage":[50,80],"rate":3,"type":1,"speed":[120,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-2.4,"y":-8,"z":0,"angle":0,"damage":[50,80],"rate":3,"type":1,"speed":[120,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":3.2,"y":1.44,"z":1.12,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-3.2,"y":1.44,"z":1.12,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":1.318,"y":-11.119,"z":-0.16,"angle":3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.318,"y":-11.119,"z":-0.16,"angle":-3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":8.4,"y":-1.6,"z":-3.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0},{"x":-8.4,"y":-1.6,"z":-3.2,"angle":0,"damage":[3,5],"rate":2.5,"type":1,"speed":[100,160],"number":1,"spread":0,"error":0,"recoil":0}],"radius":12.071}}';
- var Prometheus_801 = '{"name":"Prometheus","level":4,"model":1,"size":4,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"bodies":{"main":{"section_segments":80,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"thrusters":{"section_segments":80,"offset":{"x":40,"y":43,"z":-34},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"laser":{"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"angle":0,"error":0},"propeller":true},"cockpit":{"section_segments":80,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":400,"offset":{"x":5,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"cannon2":{"section_segments":400,"offset":{"x":17,"y":-129,"z":-2},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":3,"laser":{"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1}},"cannons":{"section_segments":120,"offset":{"x":75,"y":20,"z":-10},"position":{"x":[0,0,0,0,0,0,0],"y":[-50,-45,-20,0,20,50,55],"z":[0,0,0,0,0,0,0]},"width":[0,5,10,10,15,10,0],"height":[0,5,15,15,10,5,0],"angle":0,"laser":{"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"angle":0,"error":0},"propeller":true,"texture":[4,4,10,4,63,17]}},"wings":{"main1":{"doubleside":true,"offset":{"x":2,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[-30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":15,"z":0},"length":[0,15,0,20],"width":[0,80,90,200,30],"angle":[210,210,210,30],"position":[30,30,10,-45,30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":25,"z":-7},"length":[45,35,0],"width":[40,40,40],"angle":[-20,20,-20],"position":[10,30,0],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"Prometheus","level":8,"model":1,"code":801,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"shape":[7.611,11.197,9.172,5.966,4.714,3.874,3.404,3.073,2.798,6.471,6.705,6.685,6.796,6.853,7.055,7.632,8.077,8.521,8.809,8.578,7.164,7.67,7.338,6.77,7.299,7.214,7.299,6.77,7.338,7.67,7.164,8.578,8.809,8.521,8.077,7.632,7.055,6.853,6.8,6.685,6.705,6.471,2.798,3.073,3.404,3.874,4.714,5.966,9.172,11.197],"lasers":[{"x":3.2,"y":1.44,"z":-2.72,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":-3.2,"y":1.44,"z":-2.72,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":1.318,"y":-11.119,"z":-0.16,"angle":3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.318,"y":-11.119,"z":-0.16,"angle":-3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":6,"y":-2.4,"z":-0.8,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":-6,"y":-2.4,"z":-0.8,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0}],"radius":11.197}}';
- var Prometheus_802 = '{"name":"Prometheus","level":1,"model":2,"size":4,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"bodies":{"main":{"section_segments":80,"offset":{"x":0,"y":50,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-40,-50,-20,0,20,40,25],"z":[0,0,0,0,0,0,0]},"width":[0,5,22,18,16,15,0],"height":[0,2,12,16,16,15,0],"texture":[10,1,1,10,8,17],"propeller":true},"thrusters":{"section_segments":80,"offset":{"x":40,"y":43,"z":-34},"position":{"x":[0,0,0,0,0,0],"y":[-25,-20,0,20,40,30],"z":[0,0,0,0,0,0]},"width":[0,8,12,8,8,0],"height":[0,12,12,8,8,0],"texture":[63,2,2,2,17],"laser":{"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"angle":0,"error":0},"propeller":true},"cockpit":{"section_segments":80,"offset":{"x":0,"y":30,"z":20},"position":{"x":[0,0,0,0,0,0,0],"y":[-15,-10,0,11,35],"z":[-5,-3,-1,0,0]},"width":[0,5,10,10,0],"height":[0,3,5,7,0],"texture":[9]},"cannon1":{"section_segments":400,"offset":{"x":5,"y":-85,"z":1},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"laser":{"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2}},"cannon2":{"section_segments":400,"offset":{"x":17,"y":-129,"z":-2},"position":{"x":[0,0,0,0,0,0,0],"y":[-10,0,20,30,40],"z":[0,0,0,0,0]},"width":[0,2,4,7,3],"height":[0,1,3,6,0],"texture":[17,4],"angle":3,"laser":{"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1}},"cannons":{"section_segments":120,"offset":{"x":75,"y":20,"z":-10},"position":{"x":[0,0,0,0,0,0,0],"y":[-50,-45,-20,0,20,50,55],"z":[0,0,0,0,0,0,0]},"width":[0,5,10,10,15,10,0],"height":[0,5,15,15,10,5,0],"angle":0,"laser":{"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"angle":0,"error":0},"propeller":true,"texture":[4,4,10,4,63,17]}},"wings":{"main1":{"doubleside":true,"offset":{"x":2,"y":15,"z":0},"length":[0,15,0,7],"width":[0,160,70,30,30],"angle":[0,20,0,-10],"position":[-30,-20,30,30,30],"texture":[13,63,13,8],"bump":{"position":35,"size":5}},"main2":{"doubleside":true,"offset":{"x":30,"y":15,"z":0},"length":[0,15,0,20],"width":[0,80,90,200,30],"angle":[210,210,210,30],"position":[30,30,10,-45,30],"texture":[13,3,13,4],"bump":{"position":35,"size":7}},"main3":{"doubleside":true,"offset":{"x":0,"y":25,"z":-7},"length":[45,35,0],"width":[40,40,40],"angle":[-20,20,-20],"position":[10,30,0],"texture":[0,8,13,63],"bump":{"position":35,"size":20}}},"typespec":{"name":"Prometheus","level":8,"model":1,"code":801,"specs":{"shield":{"capacity":[400,400],"reload":[20,20]},"generator":{"capacity":[8000,10000],"reload":[10000,1000000]},"ship":{"mass":35000,"speed":[114,135],"rotation":[115,120],"acceleration":[125,125]}},"shape":[7.611,11.197,9.172,5.966,4.714,3.874,3.404,3.073,2.798,6.471,6.705,6.685,6.796,6.853,7.055,7.632,8.077,8.521,8.809,8.578,7.164,7.67,7.338,6.77,7.299,7.214,7.299,6.77,7.338,7.67,7.164,8.578,8.809,8.521,8.077,7.632,7.055,6.853,6.8,6.685,6.705,6.471,2.798,3.073,3.404,3.874,4.714,5.966,9.172,11.197],"lasers":[{"x":3.2,"y":1.44,"z":-2.72,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":-3.2,"y":1.44,"z":-2.72,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[1 00,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":-0.4,"y":-7.6,"z":0.08,"angle":0,"damage":[6,9],"rate":5000,"type":3,"speed":[200,200],"number":2,"spread":0,"error":0,"recoil":0},{"x":1.318,"y":-11.119,"z":-0.16,"angle":3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":-1.318,"y":-11.119,"z":-0.16,"angle":-3,"damage":[8,8],"rate":4,"type":1,"speed":[180,180],"number":1,"spread":0,"error":0,"recoil":0},{"x":6,"y":-2.4,"z":-0.8,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0},{"x":-6,"y":-2.4,"z":-0.8,"angle":0,"damage":[4,8],"rate":2500,"type":1,"speed":[100,120],"number":1,"spread":0,"error":0,"recoil":0}],"radius":11.197}}';
- var H_Defender_101 = '{"name":"H-Defender","level":1,"model":1,"size":1.5,"specs":{"shield":{"capacity":[1075,2025],"reload":[40,60]},"generator":{"capacity":[1500,1800],"reload":[180,250]},"ship":{"mass":2000,"speed":[80,100],"rotation":[40,60],"acceleration":[70,80]}},"bodies":{"main":{"section_segments":8,"offset":{"x":0,"y":0,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0],"y":[-100,-95,-50,-40,-20,-10,30,70,65],"z":[0,0,0,0,0,0,0,0,0]},"width":[0,20,25,10,10,20,15,20,0],"height":[0,10,20,15,15,20,25,15,0],"texture":[1,2,2,63,2,10,2,12],"laser":{"damage":[20,40],"rate":2,"type":1,"speed":[130,170],"number":1,"recoil":75,"error":0}},"propulsors":{"section_segments":8,"offset":{"x":50,"y":0,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0],"y":[-30,-25,20,25,40,50,60,100,90],"z":[0,0,0,0,0,0,0,0,0]},"width":[0,20,15,5,25,20,15,15,0],"height":[0,20,15,5,25,20,20,10,0],"texture":[63,63,63,2,2,3,4,12],"propeller":true,"angle":0},"cockpit":{"section_segments":8,"offset":{"x":0,"y":-70,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20],"z":[0,0,0,0,0]},"width":[0,10,10,10,0],"height":[0,10,15,12,0],"texture":[9],"propeller":false},"uwings":{"section_segments":8,"offset":{"x":50,"y":-110,"z":-10},"position":{"x":[0,0,0,0,0,0],"y":[-90,-100,40,80,90,100],"z":[0,0,0,0,0,0]},"width":[0,10,25,20,0],"height":[0,5,25,20,0],"texture":[12,2,3,4]},"cannons":{"section_segments":12,"offset":{"x":70,"y":-110,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-60,-70,-20,0,20,50,45],"z":[0,0,0,0,0,0,0]},"width":[0,5,6,10,15,5,0],"height":[0,5,5,10,10,5,0],"angle":0,"laser":{"damage":[40,60],"rate":2,"type":2,"speed":[190,240],"recoil":200,"number":1,"error":0},"propeller":false,"texture":[4,4,10,4,63,4]},"side_propulsors":{"section_segments":10,"offset":{"x":30,"y":30,"z":5},"position":{"x":[0,0,0,0,0,0,0],"y":[0,10,13,25,30,40,60,50],"z":[0,0,0,0,0,0,0,0]},"width":[0,5,10,10,10,5,5,10,5,0],"height":[0,5,10,10,10,5,5,10,5,0],"propeller":true,"texture":[5,2,11,2,63,11,12]}},"wings":{"join":{"offset":{"x":14,"y":0,"z":0},"length":[25],"width":[20,10],"angle":[0],"position":[0,0,0,50],"texture":[63],"bump":{"position":10,"size":40}},"join2":{"offset":{"x":14,"y":50,"z":0},"length":[25],"width":[20,10],"angle":[0],"position":[0,0,0,50],"texture":[3],"bump":{"position":10,"size":40}},"winglets":{"offset":{"x":5,"y":40,"z":10},"length":[10,20],"width":[15,30,50],"angle":[60,-20],"position":[0,5,60],"texture":[63],"bump":{"position":10,"size":60}}},"typespec":{"name":"H-Defender","level":1,"model":1,"code":101,"specs":{"shield":{"capacity":[1075,2025],"reload":[40,60]},"generator":{"capacity":[1500,1800],"reload":[180,250]},"ship":{"mass":2000,"speed":[80,100],"rotation":[40,60],"acceleration":[70,80]}},"shape":[3,6.414,6.552,6.008,5.306,4.342,3.882,3.29,2.699,2.43,2.23,2.139,2.06,2.016,2.023,2.04,2.551,2.584,2.67,3.055,3.578,3.552,3.315,3.834,2.269,2.104,2.269,3.834,3.315,3.552,3.578,3.055,2.67,2.584,2.551,2.04,2.023,2.016,2.06,2.139,2.23,2.43,2.699,3.29,3.882,4.342,5.306,6.008,6.552,6.414],"lasers":[{"x":0,"y":-3,"z":0,"angle":0,"damage":[20,40],"rate":2,"type":1,"speed":[130,170],"number":1,"spread":0,"error":0,"recoil":75},{"x":2.1,"y":-5.4,"z":0,"angle":0,"damage":[40,60],"rate":2,"type":2,"speed":[190,240],"number":1,"spread":0,"error":0,"recoil":200},{"x":-2.1,"y":-5.4,"z":0,"angle":0,"damage":[40,60],"rate":2,"type":2,"speed":[190,240],"number":1,"spread":0,"error":0,"recoil":200}],"radius":6.552}}';//var Atom_401 = '{"name":"Atom","level":4,"model":2,"size":1.4,"specs":{"shield":{"capacity":[150,200],"reload":[4,5]},"generator":{"capacity":[70,90],"reload":[35,40]},"ship":{"mass":130,"speed":[100,135],"rotation":[60,120],"acceleration":[10,130]}},"bodies":{"cockpit":{"angle":0,"section_segments":8,"offset":{"x":0,"y":-33,"z":15},"position":{"x":[0,0,0,0,0],"y":[-20,-10,0,10,20],"z":[-7,-3,0,5,3]},"width":[3,9,11,11,3],"height":[3,10,11,9,3],"texture":[9]},"cockpit2":{"angle":0,"section_segments":8,"offset":{"x":0,"y":-23,"z":15},"position":{"x":[0,0,0,0],"y":[-10,0,10,40],"z":[0,4,0,0]},"width":[5,14,15,3],"height":[5,12,10,5],"texture":[4,63,4]},"propulsor":{"section_segments":13,"offset":{"x":0,"y":-5,"z":15},"position":{"x":[0,0,0,0,0,0],"y":[0,10,20,30,40,30],"z":[0,0,0,0,0]},"width":[5,15,10,10,10,0],"height":[5,15,15,15,10,0],"texture":[63,63,4,63,12],"propeller":true},"bumps":{"section_segments":8,"offset":{"x":38,"y":25,"z":-2},"position":{"x":[0,0,0,0,0,0],"y":[-40,-10,0,10,40,45],"z":[0,0,0,0,0,0]},"width":[0,5,8,12,5,0],"height":[0,25,28,22,15,0],"texture":[63]},"gunsupport":{"section_segments":9,"offset":{"x":62,"y":-15,"z":5},"position":{"x":[-66,-20,-10,15,15,15],"y":[-72,-7,-3,28,68,47],"z":[-18,-6,-5,1,3,0]},"width":[3,5,8,4,5,0],"height":[3,5,8,12,15,0],"texture":63},"gun":{"section_segments":8,"offset":{"x":0,"y":-50,"z":-15},"position":{"x":[0,0,0,0,0,0],"y":[-40,-50,-20,0,20,50],"z":[0,0,0,0,0,0]},"width":[0,5,10,10,15,0],"height":[0,5,15,15,10,0],"texture":[4,63],"laser":{"damage":[6,8],"rate":3,"type":1,"speed":[160,200],"number":1,"error":0}}},"wings":{"main":{"doubleside":true,"offset":{"x":0,"y":0,"z":1},"length":[35,15,30,25],"width":[100,50,60,30,45],"angle":[-10,0,0,-10],"position":[-40,0,10,35,0],"texture":[4],"bump":{"position":-20,"size":10}}},"typespec":{"name":"Atom","level":4,"model":1,"code":401,"specs":{"shield":{"capacity":[150,200],"reload":[4,5]},"generator":{"capacity":[70,90],"reload":[35,40]},"ship":{"mass":130,"speed":[100,135],"rotation":[60,120],"acceleration":[10,130]}},"shape":[2.803,2.646,1.927,1.742,1.611,1.518,1.465,1.433,1.433,1.558,1.774,2.982,2.937,2.937,2.982,2.918,2.759,2.732,2.525,1.992,2.191,2.23,0.898,1.019,0.998,0.982,0.998,1.019,0.898,2.23,2.191,1.992,2.525,2.732,2.759,2.918,2.982,2.937,2.937,2.982,1.774,1.558,1.433,1.433,1.465,1.518,1.611,1.742,1.927,2.646],"lasers":[{"x":0,"y":-2.8,"z":-0.42,"angle":0,"damage":[6,8],"rate":3,"type":1,"speed":[160,200],"number":1,"spread":0,"error":0,"recoil":0}],"radius":2.982}}';
- ships.push(Intrepid_202);
- ships.push(Delta_201);
- ships.push(D7_101);
- ships.push(Needle_Warrior_301);
- ships.push(H_Defender_101);
- ships.push(USS_Enterprise_302);
- ships.push(A_Interceptor_304);
- ships.push(USS_Vengeance_303);
- ships.push(Prometheus_801);
- ships.push(Prometheus_802);
- ships.push(StarFighter_501);
- var warp_button = {
- id: "warp",
- position: [2,50,8,14],
- clickable: true,
- shortcut: "O",
- visible: true,
- components: [
- { type:"box",position:[0,0,100,100],fill:"#456",stroke:"#CDE",width:2},
- { type: "text",position:[10,35,80,30],value:"WARP",color:"#CDE"},
- { type: "text",position:[20,70,60,20],value:"[O]",color:"#CDE"}
- ]
- };
- var warpShip = function(ship) {
- x = (Math.random()-0.5) * ship.game.options.map_size*10 ;
- y = (Math.random()-0.5) * ship.game.options.map_size*10 ;
- ship.set({x:x,y:y,vx:0,vy:0,invulnerable:180}) ;
- } ;
- this.tick = function(game) {
- if (game.step%60===0) // ensure this is done only once per second
- {
- for (var i=0;i<game.ships.length;i++)
- {
- var ship = game.ships[i] ;
- if (!ship.custom.warp_button_installed)
- {
- ship.custom.warp_button_installed = true; // use ship.custom to store custom values
- ship.setUIComponent(warp_button);
- }
- }
- }
- } ;
- this.event = function(event,game) {
- switch (event.name)
- {
- case "ui_component_clicked":
- var ship = event.ship ;
- var component = event.id ;
- if (component == "warp") // check that this is our component "warp"
- {
- warpShip(ship);
- }
- break ;
- }
- } ;
- this.options = {
- // see documentation for options reference
- ships:ships,
- reset_tree: true,
- root_mode: "survival",
- map_size: 30,
- asteroid_density:0
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement