Advertisement
IOGamer

Untitled

Jul 6th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.65 KB | None | 0 0
  1. //Design: IO Gamer
  2. //Coding: Uranus,IO Gamer
  3. //Testing: IO Gamer
  4. //Deadly arena v1.6.59
  5. //Author of idea by IO Gamer
  6.  
  7. killGameTimer = 0;
  8. killTime = 20*60;
  9.  
  10. var Pulsar_101 = '{"name":"Pulsar","designer":"IO Gamer","level":1,"model":1,"size":3.4,"zoom":0.9,"specs":{"shield":{"capacity":[100,120],"reload":[2.4,3]},"generator":{"capacity":[200,240],"reload":[8,9.6]},"ship":{"mass":160,"speed":[100,120],"rotation":[50,60],"acceleration":[70,90]}},"bodies":{"main":{"section_segments":12,"offset":{"x":40,"y":20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-10,-6,-3,-1,0,0,-1,-3,-6,-10],"z":[-24,-22,-18,-14,8,8,14,18,22,24]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,16,16,3,3,2,2]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"error":0,"recoil":4},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,4]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]}},"typespec":{"name":"Pulsar","level":1,"model":1,"code":101,"specs":{"shield":{"capacity":[100,120],"reload":[2.4,3]},"generator":{"capacity":[200,240],"reload":[8,9.6]},"ship":{"mass":160,"speed":[100,120],"rotation":[50,60],"acceleration":[70,90]}},"shape":[4.08,3.236,1.302,0.916,0.722,0.598,0.517,0.486,0.501,3.041,2.925,2.808,2.741,2.741,2.807,2.925,3.098,3.36,3.724,4.267,4.904,3.101,2.554,2.576,4.177,4.964,4.177,2.576,2.554,3.101,4.904,4.267,3.724,3.36,3.098,2.925,2.807,2.741,2.741,2.808,2.925,3.041,0.501,0.486,0.517,0.598,0.722,0.916,1.302,3.236],"lasers":[{"x":0,"y":-4.08,"z":0,"angle":0,"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"spread":0,"error":0,"recoil":4}],"radius":4.964}}';
  11. var Improved_Weapon_201 = '{"name":"Improved Weapon","level":2,"model":1,"size":3.5,"zoom":0.85,"specs":{"shield":{"capacity":[120,140],"reload":[2.6,3.2]},"generator":{"capacity":[240,300],"reload":[9.6,12]},"ship":{"mass":180,"speed":[90,110],"rotation":[45,55],"acceleration":[60,80]}},"bodies":{"main":{"section_segments":12,"offset":{"x":0,"y":20,"z":40},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-24,-22,-18,-14,-8,8,14,18,22,24],"z":[-10,-6,-3,-1,0,0,-1,-3,-6,-10]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,3,16,3,3,2,2]},"cockpit":{"section_segments":12,"offset":{"x":30,"y":20,"z":-46},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-24,-22,-18,-14,-6,6,12,13,11,9],"z":[11,8,6,5,8,20,28,34,36,36]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,3,16,3,3,2,2]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1.2,1.5],"rate":2,"type":1,"speed":[110,140],"number":100,"error":0,"recoil":4},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,4]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,21],"width":[5,5,5],"angle":[60,60],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[23,22],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[23,22],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[23,22],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[23,22],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing10":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing11":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing12":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing13":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]}},"typespec":{"name":"Improved Weapon","level":2,"model":1,"code":201,"specs":{"shield":{"capacity":[120,140],"reload":[2.6,3.2]},"generator":{"capacity":[240,300],"reload":[9.6,12]},"ship":{"mass":180,"speed":[90,110],"rotation":[45,55],"acceleration":[60,80]}},"shape":[4.2,3.332,1.47,1.508,1.482,1.445,1.436,2.379,2.887,3.06,3.122,3.064,3.031,3.034,3.107,3.237,3.434,3.716,4.129,4.653,4.88,4.898,4.641,4.154,4.3,5.11,4.3,4.154,4.641,4.898,4.88,4.653,4.129,3.716,3.434,3.237,3.107,3.034,3.031,3.064,3.122,3.06,2.887,2.379,1.436,1.445,1.482,1.508,1.47,3.332],"lasers":[{"x":0,"y":-4.2,"z":0,"angle":0,"damage":[1.2,1.5],"rate":2,"type":1,"speed":[110,140],"number":100,"spread":0,"error":0,"recoil":4}],"radius":5.11}}';
  12. var Improved_Weapon_II_301 = '{"name":"Improved Weapon II","level":3,"model":1,"size":3.6,"zoom":0.8,"specs":{"shield":{"capacity":[140,160],"reload":[3.2,4]},"generator":{"capacity":[300,360],"reload":[12,14.4]},"ship":{"mass":220,"speed":[80,100],"rotation":[40,50],"acceleration":[50,70]}},"bodies":{"main":{"section_segments":12,"offset":{"x":40,"y":20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-10,-6,-3,-1,0,0,-1,-3,-6,-10],"z":[-24,-22,-18,-14,8,8,14,18,22,24]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,16,16,3,3,2,2]},"sp2":{"section_segments":12,"offset":{"x":0,"y":20,"z":40},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-24,-22,-18,-14,-8,8,14,18,22,24],"z":[-10,-6,-3,-1,0,0,-1,-3,-6,-10]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,3,16,3,3,2,2]},"sp3":{"section_segments":12,"offset":{"x":0,"y":20,"z":-42},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-24,-22,-18,-14,-8,8,14,18,22,24],"z":[10,6,3,1,0,0,1,3,6,10]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,3,16,3,3,2,2]},"ep":{"section_segments":12,"offset":{"x":2,"y":-25,"z":0},"position":{"x":[0,5,0],"y":[-16,4,10],"z":[0,5,0]},"width":[1,2,1],"height":[1,2,1],"angle":0,"propeller":false,"texture":[17]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"error":0,"recoil":4},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,17]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing10":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing11":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing12":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing13":{"length":[20,20],"width":[5,5,5],"angle":[60,60],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing14":{"length":[20,21],"width":[5,5,5],"angle":[60,60],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing19":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing20":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing21":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing22":{"length":[23,22],"width":[5,5,5],"angle":[-70,-70],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]}},"typespec":{"name":"Improved Weapon II","level":3,"model":1,"code":301,"specs":{"shield":{"capacity":[140,160],"reload":[3.2,4]},"generator":{"capacity":[300,360],"reload":[12,14.4]},"ship":{"mass":220,"speed":[80,100],"rotation":[40,50],"acceleration":[50,70]}},"shape":[4.32,3.427,2.273,1.848,1.524,1.487,1.477,1.435,1.378,3.22,3.097,2.973,2.902,2.902,2.972,3.097,3.28,3.557,3.943,4.518,5.192,3.382,3.756,4.215,4.422,5.256,4.422,4.215,3.756,3.382,5.192,4.518,3.943,3.557,3.28,3.097,2.972,2.902,2.902,2.973,3.097,3.22,1.378,1.435,1.477,1.487,1.524,1.848,2.273,3.427],"lasers":[{"x":0,"y":-4.32,"z":0,"angle":0,"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"spread":0,"error":0,"recoil":4}],"radius":5.256}}';
  13. var Improved_Rate_Of_Fire_302 = '{"name":"Improved Rate Of Fire","level":3,"model":2,"size":3.6,"zoom":0.85,"specs":{"shield":{"capacity":[130,150],"reload":[3.1,3.5]},"generator":{"capacity":[300,400],"reload":[15,18]},"ship":{"mass":200,"speed":[120,140],"rotation":[50,60],"acceleration":[70,90]}},"bodies":{"main":{"section_segments":12,"offset":{"x":40,"y":20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-10,-6,-3,-1,0,0,-1,-3,-6,-10],"z":[-24,-22,-18,-14,8,8,14,18,22,24]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,16,16,3,3,2,2]},"shb":{"section_segments":12,"offset":{"x":12,"y":20,"z":30},"position":{"x":[0,0],"y":[-5,15],"z":[0,-10]},"width":[40,20],"height":[0,0],"angle":90,"propeller":false,"texture":[4]},"np1":{"section_segments":16,"offset":{"x":16,"y":20,"z":26},"position":{"x":[0,0,0,0,0,0,0,0],"y":[-24,-23,-18,-10,10,18,23,24],"z":[0,0,0,0,0,0,0,0]},"width":[0,3,4,4,4,4,3,0],"height":[0,3,4,4,4,4,3,0],"angle":0,"texture":[10,17,11,17,11,17,10]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1,1.25],"rate":3,"type":1,"speed":[100,120],"number":100,"error":0,"recoil":3},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,4]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing10":{"length":[20,10],"width":[5,8,8],"angle":[40,40],"position":[0,10,0],"doubleside":true,"offset":{"x":0,"y":33,"z":2},"bump":{"position":30,"size":10},"texture":[2,11]},"wing11":{"length":[20,10],"width":[5,8,8],"angle":[40,40],"position":[0,-10,0],"doubleside":true,"offset":{"x":0,"y":8,"z":2},"bump":{"position":30,"size":10},"texture":[2,11]}},"typespec":{"name":"Improved Rate Of Fire","level":3,"model":2,"code":302,"specs":{"shield":{"capacity":[130,150],"reload":[3.1,3.5]},"generator":{"capacity":[300,400],"reload":[15,18]},"ship":{"mass":200,"speed":[120,140],"rotation":[50,60],"acceleration":[70,90]}},"shape":[4.32,3.427,1.378,1.526,1.456,1.406,1.379,1.391,1.431,3.22,3.097,2.973,2.902,2.902,2.972,3.097,3.28,3.557,3.943,4.518,5.192,3.62,3.821,4.12,4.422,5.256,4.422,4.12,3.821,3.62,5.192,4.518,3.943,3.557,3.28,3.097,2.972,2.902,2.902,2.973,3.097,3.22,1.431,1.391,1.379,1.406,1.456,1.526,1.378,3.427],"lasers":[{"x":0,"y":-4.32,"z":0,"angle":0,"damage":[1,1.25],"rate":3,"type":1,"speed":[100,120],"number":100,"spread":0,"error":0,"recoil":3}],"radius":5.256}}';
  14. var Speed_Improvement_303 = '{"name":"Speed Improvement","level":3,"model":3,"size":3.6,"zoom":0.8,"specs":{"shield":{"capacity":[130,150],"reload":[3.1,3.5]},"generator":{"capacity":[200,300],"reload":[9,12]},"ship":{"mass":280,"speed":[160,200],"rotation":[50,60],"acceleration":[80,100]}},"bodies":{"main":{"section_segments":12,"offset":{"x":40,"y":20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-10,-6,-3,-1,0,0,-1,-3,-6,-10],"z":[-24,-22,-18,-14,8,8,14,18,22,24]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,16,16,3,3,2,2]},"shb":{"section_segments":12,"offset":{"x":12,"y":20,"z":30},"position":{"x":[0,0],"y":[-5,15],"z":[0,-10]},"width":[40,20],"height":[0,0],"angle":90,"propeller":false,"texture":[4]},"propulsor":{"section_segments":12,"offset":{"x":35,"y":30,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-53,-52,-40,-7,27,30,20],"z":[0,0,0,0,0,0,0]},"width":[0,2,4,4,4,3,0],"height":[0,6,12,12,10,7,0],"propeller":true,"texture":[10,2,10,10,11,17]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"error":0,"recoil":3},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,4]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing10":{"length":[20,10],"width":[5,8,8],"angle":[40,40],"position":[0,10,0],"doubleside":true,"offset":{"x":0,"y":33,"z":2},"bump":{"position":30,"size":10},"texture":[2,11]},"wing11":{"length":[20,10],"width":[5,8,8],"angle":[40,40],"position":[0,-10,0],"doubleside":true,"offset":{"x":0,"y":8,"z":2},"bump":{"position":30,"size":10},"texture":[2,11]}},"typespec":{"name":"Speed Improvement","level":3,"model":3,"code":303,"specs":{"shield":{"capacity":[130,150],"reload":[3.1,3.5]},"generator":{"capacity":[200,300],"reload":[9,12]},"ship":{"mass":280,"speed":[160,200],"rotation":[50,60],"acceleration":[80,100]}},"shape":[4.32,3.427,1.378,1.526,1.456,1.406,1.379,1.391,3.099,3.22,3.097,2.973,2.902,2.902,2.972,3.097,3.28,3.557,3.943,4.518,5.192,5.114,3.821,4.12,4.422,5.256,4.422,4.12,3.821,5.114,5.192,4.518,3.943,3.557,3.28,3.097,2.972,2.902,2.902,2.973,3.097,3.22,3.099,1.391,1.379,1.406,1.456,1.526,1.378,3.427],"lasers":[{"x":0,"y":-4.32,"z":0,"angle":0,"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"spread":0,"error":0,"recoil":3}],"radius":5.256}}';
  15. var Improved_Shield_202 = '{"name":"Improved Shield","level":2,"model":2,"size":3.5,"zoom":0.85,"specs":{"shield":{"capacity":[130,150],"reload":[3.1,3.5]},"generator":{"capacity":[200,240],"reload":[9.6,11]},"ship":{"mass":200,"speed":[140,160],"rotation":[55,65],"acceleration":[80,100]}},"bodies":{"main":{"section_segments":12,"offset":{"x":40,"y":20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-10,-6,-3,-1,0,0,-1,-3,-6,-10],"z":[-24,-22,-18,-14,8,8,14,18,22,24]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,16,16,3,3,2,2]},"sh1":{"section_segments":12,"offset":{"x":20,"y":-30,"z":0},"position":{"x":[0,0,0],"y":[-10,10,-10],"z":[-20,0,20]},"width":[8,16,8],"height":[0,2,0],"angle":135,"propeller":false,"texture":[3]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"error":0,"recoil":4},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,4]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing10":{"length":[20,5],"width":[10,10,10],"angle":[0,0],"position":[0,-20,-20],"doubleside":true,"offset":{"x":0,"y":-10,"z":0},"bump":{"position":30,"size":10},"texture":[2,11]}},"typespec":{"name":"Improved Shield","level":2,"model":2,"code":202,"specs":{"shield":{"capacity":[130,150],"reload":[3.1,3.5]},"generator":{"capacity":[200,240],"reload":[9.6,11]},"ship":{"mass":200,"speed":[140,160],"rotation":[55,65],"acceleration":[80,100]}},"shape":[4.2,3.332,3.532,3.562,3.374,3.253,3.189,3.214,3.236,3.13,3.011,2.89,2.822,2.822,2.89,3.011,3.189,3.458,3.833,4.392,5.048,3.192,2.63,2.651,4.3,5.11,4.3,2.651,2.63,3.192,5.048,4.392,3.833,3.458,3.189,3.011,2.89,2.822,2.822,2.89,3.011,3.13,3.236,3.214,3.189,3.253,3.374,3.562,3.532,3.332],"lasers":[{"x":0,"y":-4.2,"z":0,"angle":0,"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"spread":0,"error":0,"recoil":4}],"radius":5.11}}';
  16. var Improved_Shield_II_303 = '{"name":"Improved Shield II","level":3,"model":4,"size":3.6,"zoom":0.8,"specs":{"shield":{"capacity":[150,180],"reload":[3.5,4.1]},"generator":{"capacity":[200,240],"reload":[11,13]},"ship":{"mass":300,"speed":[160,175],"rotation":[60,75],"acceleration":[100,115]}},"bodies":{"main":{"section_segments":12,"offset":{"x":40,"y":20,"z":0},"position":{"x":[0,0,0,0,0,0,0,0,0,0],"y":[-10,-6,-3,-1,0,0,-1,-3,-6,-10],"z":[-24,-22,-18,-14,8,8,14,18,22,24]},"width":[10,20,25,35,40,40,35,25,20,10],"height":[0,1,2,3,4,4,3,2,1,0],"angle":90,"propeller":false,"texture":[2,2,3,16,16,3,3,2,2]},"sh1":{"section_segments":12,"offset":{"x":20,"y":-30,"z":0},"position":{"x":[0,0,0],"y":[-10,10,-10],"z":[-20,0,20]},"width":[8,16,8],"height":[0,2,0],"angle":135,"propeller":false,"texture":[3]},"sh2":{"section_segments":12,"offset":{"x":20,"y":70,"z":0},"position":{"x":[0,0,0],"y":[-5,10,-5],"z":[-20,0,20]},"width":[8,16,8],"height":[0,2,0],"angle":45,"propeller":false,"texture":[3]},"sh3":{"section_segments":12,"offset":{"x":12,"y":20,"z":30},"position":{"x":[0,0],"y":[-5,15],"z":[0,-10]},"width":[40,20],"height":[0,0],"angle":90,"propeller":false,"texture":[4]},"cannon":{"section_segments":8,"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],"y":[-20,0,-10,-5,15,35,40,45,50,55,60,65,70,85,100,110,113],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"height":[0,1,2,4,3,5,10,4,4,10,4,4,10,4,4,3,0],"angle":0,"laser":{"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"error":0,"recoil":4},"propeller":false,"texture":[17,17,11,10,10,17,17,11,17,17,11,17,17,2,10,4]}},"wings":{"main":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,5,10],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing2":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing3":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing4":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing5":{"length":[20,20],"width":[5,5,5],"angle":[30,30],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing6":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing7":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":23,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing8":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,10,20],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing9":{"length":[20,20],"width":[5,5,5],"angle":[-20,-20],"position":[0,0,0],"doubleside":true,"offset":{"x":0,"y":4,"z":0},"bump":{"position":30,"size":20},"texture":[2,11]},"wing10":{"length":[20,5],"width":[10,10,10],"angle":[0,0],"position":[0,-20,-20],"doubleside":true,"offset":{"x":0,"y":-10,"z":0},"bump":{"position":30,"size":10},"texture":[2,11]},"wing11":{"length":[20,5],"width":[10,10,10],"angle":[0,0],"position":[0,20,20],"doubleside":true,"offset":{"x":0,"y":50,"z":0},"bump":{"position":30,"size":10},"texture":[2,11]},"wing12":{"length":[20,10],"width":[5,8,8],"angle":[40,40],"position":[0,-10,0],"doubleside":true,"offset":{"x":0,"y":8,"z":2},"bump":{"position":30,"size":10},"texture":[2,11]},"wing13":{"length":[20,10],"width":[5,8,8],"angle":[40,40],"position":[0,10,0],"doubleside":true,"offset":{"x":0,"y":33,"z":2},"bump":{"position":30,"size":10},"texture":[2,11]}},"typespec":{"name":"Improved Shield II","level":3,"model":3,"code":303,"specs":{"shield":{"capacity":[150,180],"reload":[3.5,4.1]},"generator":{"capacity":[200,240],"reload":[11,13]},"ship":{"mass":300,"speed":[160,175],"rotation":[60,75],"acceleration":[100,115]}},"shape":[4.32,3.427,3.633,3.664,3.47,3.346,3.28,3.306,3.328,3.22,3.097,2.973,2.902,2.902,2.972,3.097,3.28,3.557,3.943,4.518,5.192,5.634,5.95,6.41,6.464,5.256,6.464,6.41,5.95,5.634,5.192,4.518,3.943,3.557,3.28,3.097,2.972,2.902,2.902,2.973,3.097,3.22,3.328,3.306,3.28,3.346,3.47,3.664,3.633,3.427],"lasers":[{"x":0,"y":-4.32,"z":0,"angle":0,"damage":[1,1.25],"rate":1.5,"type":1,"speed":[100,120],"number":100,"spread":0,"error":0,"recoil":4}],"radius":6.464}}';
  17. var Experimental_Pulsar_402 = '{"name":"Experimental Pulsar","level":4,"model":2,"size":3.8,"zoom":0.75,"specs":{"shield":{"capacity":[160,200],"reload":[3.8,5]},"generator":{"capacity":[240,400],"reload":[10,18]},"ship":{"mass":360,"speed":[80,100],"rotation":[30,40],"acceleration":[60,80]}},"bodies":{"main":{"section_segments":12,"offset":{"x":0.1,"y":-20,"z":0},"position":{"x":[0,1,13,21,27,31,34,36,37,37],"y":[0,0.5,4,8,13,18,22,27,32,38,40],"z":[0,0,0,0,0,0,0,0,0,0,0]},"width":[0,14,12,10,8,7,6,5,5,5],"height":[0,8,8,8,8,8,8,8,8,8],"texture":[63]},"b2":{"section_segments":12,"offset":{"x":0.1,"y":50,"z":0},"position":{"x":[0,1,13,21,27,31,34,36,37,37],"y":[0,0.5,4,8,13,18,22,27,32,38,40],"z":[0,0,0,0,0,0,0,0,0,0,0]},"width":[0,14,12,10,8,7,6,5,5,5],"height":[0,8,8,8,8,8,8,8,8,8],"angle":180,"texture":[63]},"lcc":{"section_segments":8,"offset":{"x":0,"y":15,"z":10},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-27,-26,-18,-16,-14,-8,0,8,14,16,18,26,27],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,15,15,5,25,30,30,30,25,5,15,15,0],"height":[0,6,8,4,8,10,10,10,8,4,8,6,0],"angle":90,"texture":[2,11,63,63,1,10,10,1,63,63,11,2]},"cs":{"section_segments":8,"offset":{"x":0,"y":10,"z":35},"position":{"x":[0,0,0,0,0,0,0,0,0,0,0,0,0],"y":[-50,-35,-35,-10,-10,0,0,30,30,35,35,50,60],"z":[0,0,0,0,0,0,0,0,0,0,0,0,0]},"width":[0,4,2,2,3,3,2,2,3,3,2,2,0],"height":[0,4,2,2,3,3,2,2,3,3,2,2,0],"angle":180,"texture":[63,11,2,11,63,11,2,11,63,11,3,17]},"ds1":{"section_segments":8,"offset":{"x":-6,"y":10,"z":35},"position":{"x":[-4,7,7,5,0,-6,-6],"y":[-55,-15,-15,-10,-5,-3,-3],"z":[0,0,0,0,0,0,0]},"width":[0,3,4,3,3,5,0],"height":[0,3,4,3,2,2,0],"angle":180,"texture":[17,11,2,10,63,11]},"ds2":{"section_segments":8,"offset":{"x":-6,"y":10,"z":35},"position":{"x":[-5,1,1,0,-2,-6,-6],"y":[-55,-15,-15,-10,-5,-3,-3],"z":[2,10,10,9,6,0,0]},"width":[0,3,4,3,3,5,0],"height":[0,3,4,3,2,2,0],"angle":180,"texture":[17,11,2,10,63,11]},"ds3":{"section_segments":8,"offset":{"x":-6,"y":10,"z":35},"position":{"x":[-5,1,1,0,-2,-6,-6],"y":[-55,-15,-15,-10,-5,-3,-3],"z":[-2,-10,-10,-9,-6,0,0]},"width":[0,3,4,3,3,5,0],"height":[0,3,4,3,2,2,0],"angle":180,"texture":[17,11,2,10,63,11]},"ns1":{"section_segments":8,"offset":{"x":6,"y":18,"z":35},"position":{"x":[-5,1,1,0,-2,-6,-6],"y":[-75,-23,-23,-15,-8,-3,-3],"z":[2,10,10,9,6,0,0]},"width":[0,3,4,3,3,5,0],"height":[0,3,4,3,2,2,0],"angle":0,"texture":[17,11,2,11,63,11]},"ns2":{"section_segments":8,"offset":{"x":6,"y":18,"z":35},"position":{"x":[-5,1,1,0,-2,-6,-6],"y":[-75,-23,-23,-15,-8,-3,-3],"z":[-2,-10,-10,-9,-6,0,0]},"width":[0,3,4,3,3,5,0],"height":[0,3,4,3,2,2,0],"angle":0,"texture":[17,11,2,11,63,11]},"ns3":{"section_segments":8,"offset":{"x":6,"y":18,"z":35},"position":{"x":[-4,7,7,5,0,-6,-6],"y":[-75,-23,-23,-15,-8,-3,-3],"z":[0,0,0,0,0,0,0]},"width":[0,3,4,3,3,5,0],"height":[0,3,4,3,2,2,0],"angle":0,"texture":[17,11,2,11,63,11]},"c1":{"section_segments":8,"offset":{"x":14,"y":12,"z":35},"position":{"x":[0,0],"y":[-10,0],"z":[0,-18]},"width":[3,6],"height":[1,1],"angle":90,"texture":[2]},"c2":{"section_segments":8,"offset":{"x":40,"y":15,"z":15},"position":{"x":[0,0],"y":[-20,0],"z":[0,-15]},"width":[2,2],"height":[2,2],"angle":90,"texture":[2]},"c3":{"section_segments":8,"offset":{"x":35,"y":10,"z":10},"position":{"x":[0,5],"y":[-15,0],"z":[0,-5]},"width":[2,2],"height":[2,2],"angle":90,"texture":[2]},"c4":{"section_segments":8,"offset":{"x":35,"y":20,"z":10},"position":{"x":[0,-5],"y":[-15,0],"z":[0,-5]},"width":[2,2],"height":[2,2],"angle":90,"texture":[2]},"c5":{"section_segments":8,"offset":{"x":15,"y":45,"z":10},"position":{"x":[0,0],"y":[-10,0],"z":[0,-15]},"width":[2,2],"height":[0,0],"angle":20,"texture":[1]},"c6":{"section_segments":8,"offset":{"x":-15,"y":-15,"z":10},"position":{"x":[0,0],"y":[10,0],"z":[0,-15]},"width":[2,2],"height":[0,0],"angle":20,"texture":[1]},"ms1":{"section_segments":8,"offset":{"x":43,"y":15,"z":0},"position":{"x":[0,0,0,0],"y":[-7,0,0,-7],"z":[-12,-4,4,12]},"width":[0,8,8,0],"height":[0,1,1,0],"angle":90,"texture":[3,8,3]},"ms2":{"section_segments":8,"offset":{"x":30,"y":43,"z":0},"position":{"x":[0,0,0,0],"y":[-7,0,0,-7],"z":[-12,-4,4,12]},"width":[0,8,8,0],"height":[0,1,1,0],"angle":45,"texture":[3,8,3]},"ms3":{"section_segments":8,"offset":{"x":-30,"y":-13,"z":0},"position":{"x":[0,0,0,0],"y":[7,0,0,7],"z":[-12,-4,4,12]},"width":[0,8,8,0],"height":[0,1,1,0],"angle":45,"texture":[3,8,3]},"ms4":{"section_segments":8,"offset":{"x":0,"y":51,"z":0},"position":{"x":[0,0,0,0],"y":[-7,0,0,-7],"z":[-12,-8,8,12]},"width":[0,8,8,0],"height":[0,1,1,0],"angle":0,"texture":[3,8,3]},"ms5":{"section_segments":8,"offset":{"x":0,"y":-21,"z":0},"position":{"x":[0,0,0,0],"y":[-7,0,0,-7],"z":[-12,-8,8,12]},"width":[0,8,8,0],"height":[0,1,1,0],"angle":180,"texture":[3,8,3]},"lc":{"section_segments":8,"offset":{"x":0,"y":-10,"z":35},"position":{"x":[0,0,0,0,0,0],"y":[-30,-40,-30,0,20,26],"z":[0,0,0,0,0,0]},"width":[0,0,0,0,0,0],"height":[0,0,0,0,0,0],"angle":0,"laser":{"damage":[1,2],"rate":2.5,"type":1,"speed":[120,140],"number":80,"recoil":2,"error":0},"propeller":false,"texture":[17,4,4,4]}},"typespec":{"name":"Experimental Pulsar","level":4,"model":2,"code":402,"specs":{"shield":{"capacity":[160,200],"reload":[3.8,5]},"generator":{"capacity":[240,400],"reload":[10,18]},"ship":{"mass":360,"speed":[80,100],"rotation":[30,40],"acceleration":[60,80]}},"shape":[4.335,3.945,2.884,2.315,1.955,1.896,2.004,2.339,2.406,2.518,2.684,2.797,2.97,3.119,3.374,3.514,3.706,3.714,3.807,3.94,4.019,4.135,3.946,3.929,4.554,4.942,4.554,3.929,3.946,4.135,4.019,3.94,3.807,3.714,3.706,3.514,3.374,3.119,2.972,2.797,2.684,2.518,2.406,2.339,2.004,1.896,1.955,2.315,2.884,3.945],"lasers":[{"x":0,"y":-3.8,"z":2.66,"angle":0,"damage":[1,2],"rate":2.5,"type":1,"speed":[120,140],"number":80,"spread":0,"error":0,"recoil":2}],"radius":4.942}}';
  18. var Cargo_Ship_105 = '{"name":"Cargo Ship","designer":"IO Gamer","level":1,"model":5,"size":2,"zoom":0.9,"specs":{"shield":{"capacity":[160,180],"reload":[4.4,4.8]},"generator":{"capacity":[192,260],"reload":[4,6]},"ship":{"mass":350,"speed":[70,80],"rotation":[10,20],"acceleration":[60,80]}},"bodies":{"main":{"section_segments":11,"offset":{"x":0,"y":0,"z":-12},"position":{"x":[0,0,0,0],"y":[-20,10,40,60],"z":[20,10,0,-10]},"width":[45,40,36,30],"height":[6,4,2,2],"texture":[4,63,3]},"bp1":{"section_segments":11,"offset":{"x":0,"y":-60,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-90,-70,-50,-20,10,40,60],"z":[0,12,20,22,18,10,4]},"width":[25,40,50,55,55,50,35],"height":[0,10,12,13,13,10,0],"texture":[10,10,2,11,3,4]},"bp2":{"section_segments":11,"offset":{"x":0,"y":75,"z":-45},"position":{"x":[0,0,0,0],"y":[-20,10,40,60],"z":[25,10,0,-10]},"width":[30,24,18,10],"height":[3,2,1,0],"texture":[3,63,10]},"cannon":{"section_segments":12,"offset":{"x":70,"y":-100,"z":0},"position":{"x":[0,0,0,0,0,0,-15],"y":[-40,-50,-35,-25,-10,15,30],"z":[0,0,0,0,0,0,0]},"width":[0,8,12,12,10,10,0],"height":[0,8,12,12,10,10,0],"angle":5,"laser":{"damage":[24,30],"rate":2.5,"type":1,"speed":[120,140],"number":1,"error":2},"propeller":false,"texture":[17,2,2,10,8,6]},"s1":{"section_segments":11,"offset":{"x":0,"y":0,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20,20,50],"z":[0,10,20,30,40,40,55]},"width":[20,16,14,12,12,11,3],"height":[10,10,10,10,10,6,0],"texture":[11,3,2,63,11,17]},"s2":{"section_segments":11,"offset":{"x":0,"y":30,"z":-10},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20,20,50],"z":[0,10,20,30,40,40,55]},"width":[20,16,14,12,12,11,3],"height":[10,10,10,10,10,6,0],"texture":[11,3,2,63,11,17]},"s3":{"section_segments":11,"offset":{"x":0,"y":60,"z":-25},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20,20,50],"z":[0,10,20,30,40,40,55]},"width":[20,16,14,12,12,11,3],"height":[10,10,10,10,10,6,0],"texture":[11,3,2,63,11,17]},"propulsor":{"section_segments":15,"offset":{"x":100,"y":-30,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-45,-42,-30,-7,7,22,7],"z":[0,0,0,0,0,0,0]},"width":[0,12,24,24,21,13,0],"height":[0,9,18,18,15,7,0],"propeller":true,"texture":[10,2,63,11,2,17]},"propulsor2":{"section_segments":15,"offset":{"x":70,"y":80,"z":-30},"position":{"x":[0,0,0,0,0,0,0],"y":[-45,-42,-30,-7,7,22,7],"z":[0,0,0,0,0,0,0]},"width":[0,12,24,24,21,13,0],"height":[0,9,18,18,15,7,0],"propeller":true,"texture":[10,2,63,11,2,17]}},"wings":{"join":{"offset":{"x":10,"y":65,"z":-30},"length":[70,0],"width":[20,20],"angle":[10],"position":[-10,0],"texture":[8],"bump":{"position":20,"size":10}},"c2":{"offset":{"x":40,"y":-40,"z":16},"length":[50,0],"width":[20,20],"angle":[-10],"position":[0,-10],"texture":[8],"bump":{"position":20,"size":10}},"c3":{"offset":{"x":30,"y":-90,"z":16},"length":[45,0],"width":[20,20],"angle":[-10],"position":[0,-10],"texture":[8],"bump":{"position":20,"size":10}}},"typespec":{"name":"Cargo Ship","level":1,"model":5,"code":105,"specs":{"shield":{"capacity":[160,180],"reload":[4.4,4.8]},"generator":{"capacity":[192,260],"reload":[4,6]},"ship":{"mass":350,"speed":[70,80],"rotation":[10,20],"acceleration":[60,80]}},"shape":[6.012,6.081,5.938,6.642,6.702,5.953,5.034,5.063,5.416,5.505,5.328,5.065,4.694,1.649,1.633,1.67,4.28,4.64,5.003,5.237,5.258,4.832,3.26,4.244,5.414,5.411,5.414,4.244,3.26,4.832,5.258,5.237,5.003,4.64,4.28,1.67,1.633,1.649,4.694,5.065,5.328,5.505,5.416,5.063,5.034,5.953,6.702,6.642,5.938,6.081],"lasers":[{"x":2.626,"y":-5.992,"z":0,"angle":5,"damage":[24,30],"rate":2.5,"type":1,"speed":[120,140],"number":1,"spread":0,"error":2,"recoil":0},{"x":-2.626,"y":-5.992,"z":0,"angle":-5,"damage":[24,30],"rate":2.5,"type":1,"speed":[120,140],"number":1,"spread":0,"error":2,"recoil":0}],"radius":6.702}}';
  19. var Speed_Improvement_II_205 = '{"name":"Speed Improvement II","level":2,"model":5,"size":2.1,"zoom":0.85,"specs":{"shield":{"capacity":[180,200],"reload":[4.8,5.2]},"generator":{"capacity":[216,270],"reload":[5,7]},"ship":{"mass":350,"speed":[90,110],"rotation":[10,20],"acceleration":[70,90]}},"bodies":{"main":{"section_segments":11,"offset":{"x":0,"y":0,"z":-12},"position":{"x":[0,0,0,0],"y":[-20,10,40,60],"z":[20,10,0,-10]},"width":[45,40,36,30],"height":[6,4,2,2],"texture":[4,63,3]},"bp1":{"section_segments":11,"offset":{"x":0,"y":-60,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-90,-70,-50,-20,10,40,60],"z":[0,12,20,22,18,10,4]},"width":[25,40,50,55,55,50,35],"height":[0,10,12,13,13,10,0],"texture":[10,10,2,11,3,4]},"bp2":{"section_segments":11,"offset":{"x":0,"y":75,"z":-45},"position":{"x":[0,0,0,0],"y":[-20,10,40,60],"z":[25,10,0,-10]},"width":[30,24,18,10],"height":[3,2,1,0],"texture":[3,63,10]},"cannon":{"section_segments":12,"offset":{"x":70,"y":-100,"z":0},"position":{"x":[0,0,0,0,0,0,-15],"y":[-40,-50,-35,-25,-10,15,30],"z":[0,0,0,0,0,0,0]},"width":[0,8,12,12,10,10,0],"height":[0,8,12,12,10,10,0],"angle":5,"laser":{"damage":[24,30],"rate":2.5,"type":1,"speed":[120,140],"number":1,"error":2},"propeller":false,"texture":[17,2,2,10,8,6]},"s1":{"section_segments":11,"offset":{"x":0,"y":0,"z":10},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20,20,50],"z":[0,10,20,30,40,40,55]},"width":[20,16,14,12,12,11,3],"height":[10,10,10,10,10,6,0],"texture":[11,3,2,63,11,17]},"s2":{"section_segments":11,"offset":{"x":0,"y":30,"z":-10},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20,20,50],"z":[0,10,20,30,40,40,55]},"width":[20,16,14,12,12,11,3],"height":[10,10,10,10,10,6,0],"texture":[11,3,2,63,11,17]},"s3":{"section_segments":11,"offset":{"x":0,"y":60,"z":-25},"position":{"x":[0,0,0,0,0,0,0],"y":[-20,-10,0,10,20,20,50],"z":[0,10,20,30,40,40,55]},"width":[20,16,14,12,12,11,3],"height":[10,10,10,10,10,6,0],"texture":[11,3,2,63,11,17]},"propulsor":{"section_segments":15,"offset":{"x":100,"y":0,"z":0},"position":{"x":[0,0,0,0,0,0,0],"y":[-45,-42,-30,-7,7,22,7],"z":[0,0,0,0,0,0,0]},"width":[0,12,24,24,21,13,0],"height":[0,9,18,18,15,7,0],"propeller":true,"texture":[10,2,63,11,2,17]},"propulsor2":{"section_segments":15,"offset":{"x":70,"y":100,"z":-30},"position":{"x":[0,0,0,0,0,0,0],"y":[-45,-42,-30,-7,7,22,7],"z":[0,0,0,0,0,0,0]},"width":[0,12,24,24,21,13,0],"height":[0,9,18,18,15,7,0],"propeller":true,"texture":[10,2,63,11,2,17]},"propulsor3":{"section_segments":15,"offset":{"x":100,"y":-100,"z":-30},"position":{"x":[0,0,0,0,0,0,0],"y":[-45,-42,-30,-7,7,22,7],"z":[0,0,0,0,0,0,0]},"width":[0,12,24,24,21,13,0],"height":[0,9,18,18,15,7,0],"propeller":true,"texture":[10,2,63,11,2,17]}},"wings":{"join":{"offset":{"x":10,"y":85,"z":-40},"length":[70,0],"width":[20,20],"angle":[20],"position":[-10,0],"texture":[8],"bump":{"position":20,"size":10}},"c2":{"offset":{"x":40,"y":-10,"z":6},"length":[50,0],"width":[20,20],"angle":[-10],"position":[0,10],"texture":[8],"bump":{"position":20,"size":10}},"c3":{"offset":{"x":30,"y":-90,"z":16},"length":[45,0],"width":[20,20],"angle":[-10],"position":[0,-10],"texture":[8],"bump":{"position":20,"size":10}},"c4":{"offset":{"x":70,"y":-95,"z":6},"length":[45,0],"width":[20,20],"angle":[-30],"position":[0,-30],"texture":[8],"bump":{"position":20,"size":10}}},"typespec":{"name":"Speed Improvement II","level":2,"model":5,"code":205,"specs":{"shield":{"capacity":[180,200],"reload":[4.8,5.2]},"generator":{"capacity":[216,270],"reload":[5,7]},"ship":{"mass":350,"speed":[90,110],"rotation":[10,20],"acceleration":[70,90]}},"shape":[6.312,6.385,6.234,6.974,7.092,7.594,7.574,7.133,6.038,4.89,5.309,5.353,5.243,5.14,4.943,1.753,1.826,4.532,5.402,5.926,6.196,6.068,5.663,4.456,5.685,5.681,5.685,4.456,5.663,6.068,6.196,5.926,5.402,4.532,1.826,1.753,4.943,5.139,5.243,5.353,5.309,4.89,6.038,7.133,7.574,7.594,7.092,6.974,6.234,6.385],"lasers":[{"x":2.757,"y":-6.292,"z":0,"angle":5,"damage":[24,30],"rate":2.5,"type":1,"speed":[120,140],"number":1,"spread":0,"error":2,"recoil":0},{"x":-2.757,"y":-6.292,"z":0,"angle":-5,"damage":[24,30],"rate":2.5,"type":1,"speed":[120,140],"number":1,"spread":0,"error":2,"recoil":0}],"radius":7.594}}';
  20. var ships = [];
  21. ships.push(Pulsar_101),
  22. ships.push(Improved_Weapon_201),
  23. ships.push(Improved_Shield_202),
  24. ships.push(Improved_Weapon_II_301),
  25. ships.push(Improved_Rate_Of_Fire_302),
  26. ships.push(Speed_Improvement_303),
  27. ships.push(Improved_Shield_II_303),
  28. ships.push(Experimental_Pulsar_402),
  29. ships.push(Cargo_Ship_105),
  30. ships.push(Speed_Improvement_II_205);
  31.  
  32. var incrementScore = function(ship,increment) {
  33. ship.set({score:ship.score+increment});
  34. console.info("incrementing score: "+increment);
  35. };
  36. var ship = game.ship ;
  37. var map =
  38. "242 242 242 242 242 242 242 242 \n"+
  39. "464 464 464 464 464 464 464 464 \n"+
  40. "242 242 242 242 242 242 242 242 \n"+
  41. " 5 56 2 9 4 8 564 5 46 2 \n"+
  42. " 5 56 2 25 7 7 3 5148 5 46 2 \n"+
  43. " 2 4 2 443333 4 2 562 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
  44. " 13 2 2 2 7 7 2226 13 2 2 2 2 \n"+
  45. "242 2 4 232 33 232 4 7 7 7 2226 4 232 33 232 4 242\n"+
  46. "464 232 3 3 232 7 7 7 2226 232 3 3 232 464\n"+
  47. "242 2 232 3 3 232 2 7 7 2226 2226 2 232 3 3 232 2 5242\n"+
  48. " 62 2 3 22 3 2 7 7 7 22262226 2 3 22 3 2 \n"+
  49. " 4 3 22 3 4 7 7 2226 4 3 22 3 4 3 \n"+
  50. " 9 3 662266 3 7 68888862226 3 662266 3 \n"+
  51. " 31 3 6 2 2 6 3 13 7 6885 5886 2226 31 3 6 2 2 6 3 13 5 \n"+
  52. "242 86321 6 6 123 685 586 2226321 6 6 123 7242\n"+
  53. "464 321 6 6 123 7 7 321 6 6 123 464\n"+
  54. "242 6 31 66 66 13 7876 6787 222631 66 66 13 242\n"+
  55. " 12344321 7 787 787 2226 12344321 7 \n"+
  56. " 4 33 2 3 4 787787 4 33 2 3 4 2 \n"+
  57. " 4 5 345 7 7 7 2226 2226 5 4 1 \n"+
  58. " 2 3 6 3 45 2 7 7 7 7 2226 2 4 8 47 2 \n"+
  59. "242 3 2 8 7 7 2226 4 5 6 3 242\n"+
  60. "464 34 3 9 4 4 2 4 7 7 77 2226 4 3 675 7 4 6 464\n"+
  61. "242 4 7 2 7 7 2226 1 4 8 242\n"+
  62. " 2 4 2 4 3333 4 2 4 2 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
  63. " 7 7 7 7 7 2 2 2 2 66 4 \n"+
  64. " 6 7 7 7 7 2 2 2 2 2 2 9 9 6666 9 9 6 \n"+
  65. " 7 7 7 7 2 68 2 86 2 4 66 66 4 \n"+
  66. "242 7 7 7 7 2 68 86 2 4 66 66 4 4 242\n"+
  67. "464 7577 7757 77 268 68 86 86 2 9 66 33 66 9 464\n"+
  68. "242 6 677 77 77 776 2 68 86 2 4 66 33 66 4 242\n"+
  69. " 7 77 77 2 68 86 2 4 66 33 66 4 66 \n"+
  70. " 677 77 77 776 2 2 2 2 2 9 9 \n"+
  71. " 6 7577 7757 7 2 2 2 4 66 66 4 \n"+
  72. " 7 7 7 7 7 7 2 9 9 9 9 9 9 9 4 66 77 66 4 \n"+
  73. "242 8 7 7 7 2 2 2 9 66 66 9 4 242\n"+
  74. "464 77 7 77 7 2 2 2 2 2 2 46 64 464\n"+
  75. "242 7 7 77 2 2 2 2 2 2 2 46 7 7 7 7 64 242\n"+
  76. " 647 7 7 7 7 2 2 2 2 2 466 6 6 664 \n"+
  77. " 55 5 5 5 5 5 5 68 86 68 86 2 55 5 5 5 5 5 5 \n"+
  78. " 5 5 5 5 5 68 86 2 5 5 5 5 5 \n"+
  79. " 6 5 5 5 5 68 86 68 86 5 5 5 5 4 \n"+
  80. "242 5 5 5 5 5 2 2 2 2 2 5 5 5 5 5 242\n"+
  81. "464 5 5 5 5 5 5 2 2 2 2 222 2 5 5 5 5 5 5 464\n"+
  82. "242 555 555 5 5 9 9 9 9 9 9 9 555 555 5 5 8262\n"+
  83. " 5 5 55 55 5 2 2 2 2 5 5 55 55 5 \n"+
  84. " 55 5 5 2 22 2 2 2 2 55 5 5 6 \n"+
  85. " 55 55 55 5 2 68 86 2 55 55 55 5 \n"+
  86. " 45 5 5 555 555 68 86 2 5 5 555 555 \n"+
  87. "242 5 5 5 5 55 5 268 68 86 86 5 5 5 5 55 5 242\n"+
  88. "464 3 5 5 5 5 268 86 2 5 5 5 5 464\n"+
  89. "242 5 5 5 68 86 2 5 5 5 262\n"+
  90. " 5 55 5 5 5 2 2 2 2 2 2 5 55 5 5 5 \n"+
  91. " 5 5 5 5 5 2 2 22 5 5 5 5 5 6 \n"+
  92. " 6 2 4 2 4 3333 4 2 4 2 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
  93. " 13 2 2 2 7 7 2226 13 2 2 2 \n"+
  94. "242 4 4 232 33 232 4 7 7 7 2226 4 232 33 232 4 4242\n"+
  95. "464 232 3 3 232 7 7 7 2226 232 3 3 232 464\n"+
  96. "242 2 232 3 3 232 2 7 7 2226 2226 2 232 3 3 232 2 9242\n"+
  97. " 2 3 22 3 2 7 7 7 22262226 2 3 22 3 2 \n"+
  98. " 4 4 3 22 3 4 7 7 2226 4 3 22 3 4 5 \n"+
  99. " 7 3 662266 3 7 7877872226 3 662266 3 \n"+
  100. " 31 3 6 2 2 6 3 13 7 787 787 2226 31 3 6 2 2 6 3 13 \n"+
  101. "242 321 6 6 123 7876 6787 2226321 6 6 123 242\n"+
  102. "464 7 321 6 6 123 7 7 321 6 6 123 7464\n"+
  103. "242 31 66 66 13 685 586 222631 66 66 13 242\n"+
  104. " 4 12344321 7 6885 58862226 12344321 \n"+
  105. " 4 33 2 3 4 68888886 4 33 2 3 4 4 \n"+
  106. " 5 345 7 7 7 2226 2226 5 4 6 \n"+
  107. " 52 3 6 3 45 2 7 7 7 7 2226 2 4 8 47 2 \n"+
  108. "242 3 2 8 7 7 2226 4 5 6 3 242\n"+
  109. "464 4 3 9 4 4 2 4 7 7 77 2226 4 3 675 7 4 464\n"+
  110. "242 7 4 7 2 7 7 2226 1 4 8 7 242\n"+
  111. " 2 4 2 4 3333 4 2 4 2 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
  112. " 6 4654 6 56 2 6 7 \n"+
  113. " 4 46 7 46 4 4 4 6 \n"+
  114. " 86 6 5 6 4 4 \n"+
  115. "242 242 242 242 46 242 242 242 242 \n"+
  116. "464 464 464 464 464 464 464 464 \n"+
  117. "242 242 242 242 242 242 242 242 \n"+
  118. " ";
  119. var sayOnce = function(ship,text,id) {
  120. if (!ship.custom[id])
  121. {
  122. ship.custom[id] = true;
  123. ship.instructorSays(text,"Zoltar");
  124. ship.custom.last_talked = ship.game.step ;
  125. }
  126. };
  127.  
  128. var checkInstructor = function(ship) {
  129. if (ship.custom.last_talked !== null && ship.game.step>ship.custom.last_talked+600)
  130. {
  131. ship.custom.last_talked = null ;
  132. ship.hideInstructor() ;
  133. }
  134. };
  135.  
  136. this.options = {
  137. custom_map:map,
  138. ships: ships,
  139. asteroids_strength: 1,
  140. crystal_value: 2,
  141. reset_tree: true,
  142. map_size: 80,
  143. friction_ratio: 1,
  144. speed_mod: 1,
  145. rcs_toggle: true,
  146. shield_regen_factor: 1,
  147. power_regen_factor: 1,
  148. weapons_store: false,
  149. radar_zoom: 2,
  150. auto_refill: false,
  151. projectile_speed: 0.7,
  152. max_player: 50,
  153. lives: 2,
  154. max_level: 5,
  155. choose_ship: [101,105],
  156. soundtrack: "crystals.mp3"
  157.  
  158. };
  159.  
  160. game.removeObject();
  161.  
  162. var sp = {
  163. id: "sp",
  164. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  165. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  166. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  167. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  168. emissiveColor: 0x00FFFF,
  169. } ;
  170. var sp2 = {
  171. id: "sp2",
  172. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  173. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  174. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  175. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  176. emissiveColor: 0x00FFFF,
  177. } ;
  178. var sp3 = {
  179. id: "sp3",
  180. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  181. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  182. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  183. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  184. emissiveColor: 0x00FFFF,
  185. } ;
  186. var sp4 = {
  187. id: "sp4",
  188. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  189. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  190. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  191. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  192. emissiveColor: 0x00FFFF,
  193. } ;
  194. var sp5 = {
  195. id: "sp5",
  196. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  197. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  198. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  199. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  200. emissiveColor: 0x00FFFF,
  201. } ;
  202. var sp6 = {
  203. id: "sp6",
  204. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  205. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  206. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  207. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  208. emissiveColor: 0x00FFFF,
  209. } ;
  210. var sp7 = {
  211. id: "sp7",
  212. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  213. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  214. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  215. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  216. emissiveColor: 0x00FFFF,
  217. } ;
  218. var sp8 = {
  219. id: "sp8",
  220. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  221. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  222. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
  223. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  224. emissiveColor: 0x00FFFF,
  225. } ;
  226. var aip = {
  227. id: "aip",
  228. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  229. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  230. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureinvaderp.png",
  231. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  232. emissiveColor: 0xfF0000,
  233. } ;
  234. var ep = {
  235. id: "ep",
  236. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  237. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  238. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  239. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  240. emissiveColor: 0xFFFF00,
  241. } ;
  242. var ep2 = {
  243. id: "ep2",
  244. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  245. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  246. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  247. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  248. emissiveColor: 0xFFFF00,
  249. } ;
  250. var ep3 = {
  251. id: "ep3",
  252. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  253. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  254. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  255. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  256. emissiveColor: 0xFFFF00,
  257. } ;
  258. var ep4 = {
  259. id: "ep4",
  260. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  261. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  262. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  263. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  264. emissiveColor: 0xFFFF00,
  265. } ;
  266. var ep5 = {
  267. id: "ep5",
  268. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  269. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  270. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  271. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  272. emissiveColor: 0xFFFF00,
  273. } ;
  274. var ep6 = {
  275. id: "ep6",
  276. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  277. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  278. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  279. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  280. emissiveColor: 0xFFFF00,
  281. } ;
  282. var ep7 = {
  283. id: "ep7",
  284. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  285. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  286. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  287. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  288. emissiveColor: 0xFFFF00,
  289. } ;
  290. var ep8 = {
  291. id: "ep8",
  292. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  293. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  294. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
  295. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  296. emissiveColor: 0xFFFF00,
  297. } ;
  298. var dp = {
  299. id: "dp",
  300. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  301. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  302. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/texturedronep.png",
  303. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  304. emissiveColor: 0xFF00FF,
  305. } ;
  306. var dp2 = {
  307. id: "dp2",
  308. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  309. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  310. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/texturedronep.png",
  311. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  312. emissiveColor: 0xFF00FF,
  313. } ;
  314. var lmp = {
  315. id: "lmp",
  316. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  317. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  318. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureLMinesp.png",
  319. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  320. emissiveColor: 0xCD853F,
  321. } ;
  322. var lmp2 = {
  323. id: "lmp2",
  324. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  325. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  326. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureLMinesp.png",
  327. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  328. emissiveColor: 0xCD853F,
  329. } ;
  330. var hmp = {
  331. id: "hmp",
  332. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  333. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  334. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureHMinesp.png",
  335. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  336. emissiveColor: 0xA0522D,
  337. } ;
  338. var rp = {
  339. id: "rp",
  340. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  341. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  342. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
  343. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  344. emissiveColor: 0xFFFAFA,
  345. };
  346. var rp2 = {
  347. id: "rp2",
  348. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  349. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  350. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
  351. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  352. emissiveColor: 0xFFFAFA,
  353. };
  354. var rp3 = {
  355. id: "rp3",
  356. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  357. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  358. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
  359. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  360. emissiveColor: 0xFFFAFA,
  361. };
  362. var rp4 = {
  363. id: "rp4",
  364. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  365. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  366. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
  367. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  368. emissiveColor: 0xFFFAFA,
  369. };
  370. var rp5 = {
  371. id: "rp5",
  372. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  373. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  374. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
  375. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  376. emissiveColor: 0xFFFAFA,
  377. };
  378. var rp6 = {
  379. id: "rp6",
  380. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  381. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  382. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
  383. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  384. emissiveColor: 0xFFFAFA,
  385. } ;
  386. var mp = {
  387. id: "mp",
  388. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  389. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  390. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
  391. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  392. emissiveColor: 0xEEE9E9,
  393. } ;
  394. var mp2 = {
  395. id: "mp2",
  396. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  397. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  398. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
  399. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  400. emissiveColor: 0xEEE9E9,
  401. } ;
  402. var mp3 = {
  403. id: "mp3",
  404. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  405. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  406. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
  407. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  408. emissiveColor: 0xEEE9E9,
  409. } ;
  410. var mp4 = {
  411. id: "mp4",
  412. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  413. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  414. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
  415. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  416. emissiveColor: 0xEEE9E9,
  417. } ;
  418. var tp = {
  419. id: "tp",
  420. obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
  421. diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
  422. emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureTorpedosp.png",
  423. bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
  424. emissiveColor: 0xCDC9C9,
  425. } ;
  426. game.setObject({
  427. id: "sp",
  428. type: sp,
  429. position: {x:5,y:-45,z:-4.06},
  430. rotation: {x:-1.6,y:1.565,z:0},
  431. scale: {x:1.2,y:1,z:1.2}
  432. }) ;
  433. game.setObject({
  434. id: "sp2",
  435. type: sp2,
  436. position: {x:230,y:100,z:-4.06},
  437. rotation: {x:-1.6,y:1.565,z:0},
  438. scale: {x:1.2,y:1,z:1.2}
  439. }) ;
  440. game.setObject({
  441. id: "sp3",
  442. type: sp3,
  443. position: {x:260,y:-160,z:-4.06},
  444. rotation: {x:-1.6,y:1.565,z:0},
  445. scale: {x:1.2,y:1,z:1.2}
  446. }) ;
  447. game.setObject({
  448. id: "sp4",
  449. type: sp4,
  450. position: {x:-260,y:-100,z:-4.06},
  451. rotation: {x:-1.6,y:1.565,z:0},
  452. scale: {x:1.2,y:1,z:1.2}
  453. }) ;
  454. game.setObject({
  455. id: "sp5",
  456. type: sp5,
  457. position: {x:-45,y:-280,z:-4.06},
  458. rotation: {x:-1.6,y:1.565,z:0},
  459. scale: {x:1.2,y:1,z:1.2}
  460. }) ;
  461. game.setObject({
  462. id: "sp6",
  463. type: sp6,
  464. position: {x:-280,y:60,z:-4.06},
  465. rotation: {x:-1.6,y:1.565,z:0},
  466. scale: {x:1.2,y:1,z:1.2}
  467. }) ;
  468. game.setObject({
  469. id: "sp7",
  470. type: sp7,
  471. position: {x:-205,y:275,z:-4.06},
  472. rotation: {x:-1.6,y:1.565,z:0},
  473. scale: {x:1.2,y:1,z:1.2}
  474. }) ;
  475. game.setObject({
  476. id: "sp8",
  477. type: sp8,
  478. position: {x:50,y:180,z:-4.06},
  479. rotation: {x:-1.6,y:1.565,z:0},
  480. scale: {x:1.2,y:1,z:1.2}
  481. }) ;
  482. game.setObject({
  483. id: "aip",
  484. type: aip,
  485. position: {x:0,y:0,z:-4.06},
  486. rotation: {x:-1.6,y:1.565,z:0},
  487. scale: {x:3,y:1,z:3}
  488. }) ;
  489. game.setObject({
  490. id: "ep",
  491. type: ep,
  492. position: {x:5,y:75,z:-5},
  493. rotation: {x:-1.6,y:1.565,z:0},
  494. scale: {x:1.2,y:1,z:1.2}
  495. }) ;
  496. game.setObject({
  497. id: "ep2",
  498. type: ep2,
  499. position: {x:230,y:110,z:-5},
  500. rotation: {x:-1.6,y:1.565,z:0},
  501. scale: {x:1.2,y:1,z:1.2}
  502. }) ;
  503. game.setObject({
  504. id: "ep3",
  505. type: ep3,
  506. position: {x:205,y:-70,z:-5},
  507. rotation: {x:-1.6,y:1.565,z:0},
  508. scale: {x:1.2,y:1,z:1.2}
  509. }) ;
  510. game.setObject({
  511. id: "ep4",
  512. type: ep4,
  513. position: {x:-88,y:-295,z:-5},
  514. rotation: {x:-1.6,y:1.565,z:0},
  515. scale: {x:1.2,y:1,z:1.2}
  516. }) ;
  517. game.setObject({
  518. id: "ep5",
  519. type: ep5,
  520. position: {x:-220,y:-280,z:-5},
  521. rotation: {x:-1.6,y:1.565,z:0},
  522. scale: {x:1.2,y:1,z:1.2}
  523. }) ;
  524. game.setObject({
  525. id: "ep6",
  526. type: ep6,
  527. position: {x:-190,y:20,z:-5},
  528. rotation: {x:-1.6,y:1.565,z:0},
  529. scale: {x:1.2,y:1,z:1.2}
  530. }) ;
  531. game.setObject({
  532. id: "ep7",
  533. type: ep7,
  534. position: {x:-205,y:150,z:-5},
  535. rotation: {x:-1.6,y:1.565,z:0},
  536. scale: {x:1.2,y:1,z:1.2}
  537. }) ;
  538. game.setObject({
  539. id: "ep8",
  540. type: ep8,
  541. position: {x:260,y:340,z:-5},
  542. rotation: {x:-1.6,y:1.565,z:0},
  543. scale: {x:1.2,y:1,z:1.2}
  544. }) ;
  545. game.setObject({
  546. id: "dp",
  547. type: dp,
  548. position: {x:0,y:255,z:-4.06},
  549. rotation: {x:-1.6,y:1.565,z:0},
  550. scale: {x:1.8,y:1,z:1.8}
  551. }) ;
  552. game.setObject({
  553. id: "dp2",
  554. type: dp2,
  555. position: {x:0,y:-235,z:-4.06},
  556. rotation: {x:-1.6,y:1.565,z:0},
  557. scale: {x:1.8,y:1,z:1.8}
  558. }) ;
  559. game.setObject({
  560. id: "lmp",
  561. type: lmp,
  562. position: {x:-215,y:-55,z:-4.06},
  563. rotation: {x:-1.6,y:1.565,z:0},
  564. scale: {x:1.2,y:1,z:1.2}
  565. }) ;
  566. game.setObject({
  567. id: "lmp2",
  568. type: lmp2,
  569. position: {x:245,y:-55,z:-4.06},
  570. rotation: {x:-1.6,y:1.565,z:0},
  571. scale: {x:1.2,y:1,z:1.2}
  572. }) ;
  573. game.setObject({
  574. id: "hmp",
  575. type: hmp,
  576. position: {x:-230,y:95,z:-4.06},
  577. rotation: {x:-1.6,y:1.565,z:0},
  578. scale: {x:1.5,y:1,z:1.5}
  579. }) ;
  580. game.setObject({
  581. id: "rp",
  582. type: rp,
  583. position: {x:-55,y:115,z:-4.06},
  584. rotation: {x:-1.6,y:1.565,z:0},
  585. scale: {x:1.2,y:1,z:1.2}
  586. }) ;
  587. game.setObject({
  588. id: "rp2",
  589. type: rp2,
  590. position: {x:55,y:115,z:-4.06},
  591. rotation: {x:-1.6,y:1.565,z:0},
  592. scale: {x:1.2,y:1,z:1.2}
  593. }) ;
  594. game.setObject({
  595. id: "rp3",
  596. type: rp3,
  597. position: {x:-65,y:5,z:-4.06},
  598. rotation: {x:-1.6,y:1.565,z:0},
  599. scale: {x:1.2,y:1,z:1.2}
  600. }) ;
  601. game.setObject({
  602. id: "rp4",
  603. type: rp4,
  604. position: {x:55,y:5,z:-4.06},
  605. rotation: {x:-1.6,y:1.565,z:0},
  606. scale: {x:1.2,y:1,z:1.2}
  607. }) ;
  608. game.setObject({
  609. id: "rp5",
  610. type: rp5,
  611. position: {x:50,y:-85,z:-4.06},
  612. rotation: {x:-1.6,y:1.565,z:0},
  613. scale: {x:1.2,y:1,z:1.2}
  614. }) ;
  615. game.setObject({
  616. id: "rp6",
  617. type: rp6,
  618. position: {x:-55,y:-85,z:-4.06},
  619. rotation: {x:-1.6,y:1.565,z:0},
  620. scale: {x:1.2,y:1,z:1.2}
  621. }) ;
  622. game.setObject({
  623. id: "mp",
  624. type: mp,
  625. position: {x:-230,y:265,z:-4.06},
  626. rotation: {x:-1.6,y:1.565,z:0},
  627. scale: {x:1.4,y:1,z:1.4}
  628. }) ;
  629. game.setObject({
  630. id: "mp2",
  631. type: mp2,
  632. position: {x:230,y:265,z:-4.06},
  633. rotation: {x:-1.6,y:1.565,z:0},
  634. scale: {x:1.4,y:1,z:1.4}
  635. }) ;
  636. game.setObject({
  637. id: "mp3",
  638. type: mp3,
  639. position: {x:230,y:-225,z:-4.06},
  640. rotation: {x:-1.6,y:1.565,z:0},
  641. scale: {x:1.4,y:1,z:1.4}
  642. }) ;
  643. game.setObject({
  644. id: "mp4",
  645. type: mp4,
  646. position: {x:-230,y:-225,z:-4.06},
  647. rotation: {x:-1.6,y:1.565,z:0},
  648. scale: {x:1.4,y:1,z:1.4}
  649. }) ;
  650. game.setObject({
  651. id: "tp",
  652. type: tp,
  653. position: {x:230,y:50,z:-4.06},
  654. rotation: {x:-1.6,y:1.565,z:0},
  655. scale: {x:1.5,y:1,z:1.5}
  656. }) ;
  657. var timer1 = 1;
  658. var timer2 = 2;
  659. var timer3 = 3;
  660. var timer4 = 4;
  661. var timer5 = 5;
  662. var timer6 = 6;
  663. var timer7 = 7;
  664. var timer8 = 8;
  665. var timer9 = 9;
  666. var timer10 = 10;
  667. var timer11 = 11;
  668. var timer12 = 12;
  669. var timer13 = 13;
  670. var timer14 = 14;
  671. var timer15 = 15;
  672. var timer16 = 16;
  673. var timer17 = 17;
  674. var timer18 = 18;
  675. var timer19 = 19;
  676. var timer20 = 20;
  677. var timer21 = 21;
  678. var timer22 = 22;
  679. var timer23 = 23;
  680. var timer24 = 24;
  681. var timer25 = 25;
  682. var timer26 = 26;
  683. var timer27 = 27;
  684. var timer28 = 28;
  685. var timer29 = 29;
  686. var timer30 = 30;
  687. var timer31 = 31;
  688. var timer32 = 32;
  689. var timer33 = 33;
  690. var timer34 = 34;
  691. var timer35 = 35;
  692. var timer36 = 36;
  693. var timer37 = 37;
  694. var timer38 = 38;
  695. var timer39 = 39;
  696. var timer40 = 40;
  697. var bosstimer = 41;
  698. var miniontimer = 42;
  699. var miniontimer2 = 43;
  700. var miniontimer3 = 44;
  701. var miniontimer4 = 45;
  702. this.tick = function(game) {
  703.  
  704. if(game.step%60==0){//каждую секунду
  705. killGameTimer++;//считаем время
  706. if(killGameTimer>killTime){
  707. //время истекло
  708. scores = [];
  709. for(i=0;i<game.ships.length;i++){//итерация по всем игрокам
  710. scores.push({id:i,score:game.ships[i].score});
  711. }
  712. scores.sort(function(a,b){if(a.score>b.score)return -1; return 1});
  713. for(i=0;i<scores.length;i++){//итерация по всем игрокам
  714. game.ships[scores[i].id].gameover({"Rank":i+1,"Score":scores[i].score});
  715. }
  716. }
  717. }
  718. if ( timer1 % 2200 === 0 ) { // 600 is 10 seconds
  719. game.addCollectible({"code":91, "x":5,"y":-45});
  720. }
  721. timer1++;
  722. if ( timer2 % 2200 === 0 ) {
  723. game.addCollectible({"code":91, "x":230,"y":100});
  724. }
  725. timer2++;
  726. if ( timer3 % 2200 === 0 ) {
  727. game.addCollectible({"code":91, "x":260,"y":-160});
  728. }
  729. timer3++;
  730. if ( timer4 % 2200 === 0 ) {
  731. game.addCollectible({"code":91, "x":-260,"y":-100});
  732. }
  733. timer4++;
  734. if ( timer5 % 2200 === 0 ) {
  735. game.addCollectible({"code":91, "x":-45,"y":-280});
  736. }
  737. timer5++;
  738. if ( timer6 % 2200 === 0 ) {
  739. game.addCollectible({"code":91, "x":-280,"y":60});
  740. }
  741. timer6++;
  742. if ( timer7 % 2200 === 0 ) {
  743. game.addCollectible({"code":91, "x":-200,"y":275});
  744. }
  745. timer7++;
  746. if ( timer8 % 2200 === 0 ) {
  747. game.addCollectible({"code":91, "x":50,"y":180});
  748. }
  749. timer8++;
  750. if ( timer9 % 3500 === 0 ) {
  751. game.addAlien({"code":10,"level":1,"crystal_drop":6, "x":5,"y":10});
  752. }
  753. timer9++;
  754. if ( timer10 % 5000 === 0 ) {
  755. game.addAlien({"code":17,"level":2,"crystal_drop":45, "x":5,"y":-10});
  756. }
  757. timer10++;
  758. if ( timer11 % 4000 === 0 ) {
  759. game.addAlien({"code":16,"level":1,"crystal_drop":30, "x":10,"y":5});
  760. }
  761. timer11++;
  762. if ( timer12 % 4000 === 0 ) {
  763. game.addAlien({"code":11,"level":2,"crystal_drop":21, "x":-10,"y":5});
  764. }
  765. timer12++;
  766. if ( bosstimer % 54000 === 0 ) {
  767. game.addAlien({"code":19,"level":1,"crystal_drop":1000, "x":0,"y":0});
  768. }
  769. bosstimer++;
  770. if ( miniontimer % 54000 === 0 ) {
  771. game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":-10,"y":5});
  772. }
  773. miniontimer++;
  774. if ( miniontimer2 % 54000 === 0 ) {
  775. game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":10,"y":5});
  776. }
  777. miniontimer2++;
  778. if ( miniontimer3 % 54000 === 0 ) {
  779. game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":5,"y":10});
  780. }
  781. miniontimer3++;
  782. if ( miniontimer4 % 54000 === 0 ) {
  783. game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":5,"y":-10});
  784. }
  785. miniontimer4++;
  786. if ( timer13 % 2200 === 0 ) {
  787. game.addCollectible({"code":90, "x":5,"y":75});
  788. }
  789. timer13++;
  790. if ( timer14 % 2200 === 0 ) {
  791. game.addCollectible({"code":90, "x":230,"y":110});
  792. }
  793. timer14++;
  794. if ( timer15 % 2200 === 0 ) {
  795. game.addCollectible({"code":90, "x":205,"y":-70});
  796. }
  797. timer15++;
  798. if ( timer16 % 2200 === 0 ) {
  799. game.addCollectible({"code":90, "x":-88,"y":-295});
  800. }
  801. timer16++;
  802. if ( timer17 % 2200 === 0 ) {
  803. game.addCollectible({"code":90, "x":-220,"y":-280});
  804. }
  805. timer17++;
  806. if ( timer18 % 2200 === 0 ) {
  807. game.addCollectible({"code":90, "x":-190,"y":20});
  808. }
  809. timer18++;
  810. if ( timer19 % 2200 === 0 ) {
  811. game.addCollectible({"code":90, "x":-205,"y":150});
  812. }
  813. timer19++;
  814. if ( timer20 % 2200 === 0 ) {
  815. game.addCollectible({"code":90, "x":260,"y":340});
  816. }
  817. timer20++;
  818. if ( timer21 % 4400 === 0 ) {
  819. game.addCollectible({"code":42, "x":0,"y":258});
  820. }
  821. timer21++;
  822. if ( timer22 % 4200 === 0 ) {
  823. game.addCollectible({"code":41, "x":3,"y":255});
  824. }
  825. timer22++;
  826. if ( timer22 % 4000 === 0 ) {
  827. game.addCollectible({"code":40, "x":-3,"y":255});
  828. }
  829. timer23++;
  830. if ( timer24 % 4400 === 0 ) {
  831. game.addCollectible({"code":42, "x":0,"y":-233});
  832. }
  833. timer24++;
  834. if ( timer25 % 4200 === 0 ) {
  835. game.addCollectible({"code":41, "x":3,"y":-235});
  836. }
  837. timer25++;
  838. if ( timer26 % 4000 === 0 ) {
  839. game.addCollectible({"code":40, "x":-3,"y":-235});
  840. }
  841. timer26++;
  842. if ( timer27 % 4500 === 0 ) {
  843. game.addCollectible({"code":20, "x":-215,"y":-55});
  844. }
  845. timer27++;
  846. if ( timer28 % 4500 === 0 ) {
  847. game.addCollectible({"code":20, "x":245,"y":-55});
  848. }
  849. timer28++;
  850. if ( timer29 % 1200 === 0 ) {
  851. game.addCollectible({"code":21, "x":-230,"y":95});
  852. }
  853. timer29++;
  854. if ( timer30 % 2000 === 0 ) {
  855. game.addCollectible({"code":10, "x":-55,"y":115});
  856. }
  857. timer30++;
  858. if ( timer31 % 2500 === 0 ) {
  859. game.addCollectible({"code":10, "x":55,"y":115});
  860. }
  861. timer31++;
  862. if ( timer32 % 2000 === 0 ) {
  863. game.addCollectible({"code":10, "x":-65,"y":5});
  864. }
  865. timer32++;
  866. if ( timer33 % 3000 === 0 ) {
  867. game.addCollectible({"code":10, "x":55,"y":5});
  868. }
  869. timer33++;
  870. if ( timer34 % 2500 === 0 ) {
  871. game.addCollectible({"code":10, "x":50,"y":-85});
  872. }
  873. timer34++;
  874. if ( timer35 % 3000 === 0 ) {
  875. game.addCollectible({"code":10, "x":-55,"y":-85});
  876. }
  877. timer35++;
  878. if ( timer36 % 3000 === 0 ) {
  879. game.addCollectible({"code":11, "x":-230,"y":265});
  880. }
  881. timer36++;
  882. if ( timer37 % 3500 === 0 ) {
  883. game.addCollectible({"code":11, "x":230,"y":265});
  884. }
  885. timer37++;
  886. if ( timer38 % 4000 === 0 ) {
  887. game.addCollectible({"code":11, "x":230,"y":-225});
  888. }
  889. timer38++;
  890. if ( timer39 % 4500 === 0 ) {
  891. game.addCollectible({"code":11, "x":-230,"y":-225});
  892. }
  893. timer39++;
  894. if ( timer40 % 5000 === 0 ) {
  895. game.addCollectible({"code":12, "x":230,"y":50});
  896. }
  897. timer40++;
  898. };
  899.  
  900. this.event = function(event,game) {
  901. switch (event.name)
  902. {
  903.  
  904. case "alien_destroyed":
  905. if (event.killer != null)
  906. {
  907. incrementScore(event.killer,150);
  908. }
  909. break ;
  910. }
  911. } ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement