Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Design: IO Gamer
- //Coding: Uranus,IO Gamer
- //Testing: IO Gamer
- //Deadly arena v1.6.59
- //Author of idea by IO Gamer
- killGameTimer = 0;
- killTime = 20*60;
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- 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}}';
- var ships = [];
- ships.push(Pulsar_101),
- ships.push(Improved_Weapon_201),
- ships.push(Improved_Shield_202),
- ships.push(Improved_Weapon_II_301),
- ships.push(Improved_Rate_Of_Fire_302),
- ships.push(Speed_Improvement_303),
- ships.push(Improved_Shield_II_303),
- ships.push(Experimental_Pulsar_402),
- ships.push(Cargo_Ship_105),
- ships.push(Speed_Improvement_II_205);
- var incrementScore = function(ship,increment) {
- ship.set({score:ship.score+increment});
- console.info("incrementing score: "+increment);
- };
- var ship = game.ship ;
- var map =
- "242 242 242 242 242 242 242 242 \n"+
- "464 464 464 464 464 464 464 464 \n"+
- "242 242 242 242 242 242 242 242 \n"+
- " 5 56 2 9 4 8 564 5 46 2 \n"+
- " 5 56 2 25 7 7 3 5148 5 46 2 \n"+
- " 2 4 2 443333 4 2 562 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
- " 13 2 2 2 7 7 2226 13 2 2 2 2 \n"+
- "242 2 4 232 33 232 4 7 7 7 2226 4 232 33 232 4 242\n"+
- "464 232 3 3 232 7 7 7 2226 232 3 3 232 464\n"+
- "242 2 232 3 3 232 2 7 7 2226 2226 2 232 3 3 232 2 5242\n"+
- " 62 2 3 22 3 2 7 7 7 22262226 2 3 22 3 2 \n"+
- " 4 3 22 3 4 7 7 2226 4 3 22 3 4 3 \n"+
- " 9 3 662266 3 7 68888862226 3 662266 3 \n"+
- " 31 3 6 2 2 6 3 13 7 6885 5886 2226 31 3 6 2 2 6 3 13 5 \n"+
- "242 86321 6 6 123 685 586 2226321 6 6 123 7242\n"+
- "464 321 6 6 123 7 7 321 6 6 123 464\n"+
- "242 6 31 66 66 13 7876 6787 222631 66 66 13 242\n"+
- " 12344321 7 787 787 2226 12344321 7 \n"+
- " 4 33 2 3 4 787787 4 33 2 3 4 2 \n"+
- " 4 5 345 7 7 7 2226 2226 5 4 1 \n"+
- " 2 3 6 3 45 2 7 7 7 7 2226 2 4 8 47 2 \n"+
- "242 3 2 8 7 7 2226 4 5 6 3 242\n"+
- "464 34 3 9 4 4 2 4 7 7 77 2226 4 3 675 7 4 6 464\n"+
- "242 4 7 2 7 7 2226 1 4 8 242\n"+
- " 2 4 2 4 3333 4 2 4 2 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
- " 7 7 7 7 7 2 2 2 2 66 4 \n"+
- " 6 7 7 7 7 2 2 2 2 2 2 9 9 6666 9 9 6 \n"+
- " 7 7 7 7 2 68 2 86 2 4 66 66 4 \n"+
- "242 7 7 7 7 2 68 86 2 4 66 66 4 4 242\n"+
- "464 7577 7757 77 268 68 86 86 2 9 66 33 66 9 464\n"+
- "242 6 677 77 77 776 2 68 86 2 4 66 33 66 4 242\n"+
- " 7 77 77 2 68 86 2 4 66 33 66 4 66 \n"+
- " 677 77 77 776 2 2 2 2 2 9 9 \n"+
- " 6 7577 7757 7 2 2 2 4 66 66 4 \n"+
- " 7 7 7 7 7 7 2 9 9 9 9 9 9 9 4 66 77 66 4 \n"+
- "242 8 7 7 7 2 2 2 9 66 66 9 4 242\n"+
- "464 77 7 77 7 2 2 2 2 2 2 46 64 464\n"+
- "242 7 7 77 2 2 2 2 2 2 2 46 7 7 7 7 64 242\n"+
- " 647 7 7 7 7 2 2 2 2 2 466 6 6 664 \n"+
- " 55 5 5 5 5 5 5 68 86 68 86 2 55 5 5 5 5 5 5 \n"+
- " 5 5 5 5 5 68 86 2 5 5 5 5 5 \n"+
- " 6 5 5 5 5 68 86 68 86 5 5 5 5 4 \n"+
- "242 5 5 5 5 5 2 2 2 2 2 5 5 5 5 5 242\n"+
- "464 5 5 5 5 5 5 2 2 2 2 222 2 5 5 5 5 5 5 464\n"+
- "242 555 555 5 5 9 9 9 9 9 9 9 555 555 5 5 8262\n"+
- " 5 5 55 55 5 2 2 2 2 5 5 55 55 5 \n"+
- " 55 5 5 2 22 2 2 2 2 55 5 5 6 \n"+
- " 55 55 55 5 2 68 86 2 55 55 55 5 \n"+
- " 45 5 5 555 555 68 86 2 5 5 555 555 \n"+
- "242 5 5 5 5 55 5 268 68 86 86 5 5 5 5 55 5 242\n"+
- "464 3 5 5 5 5 268 86 2 5 5 5 5 464\n"+
- "242 5 5 5 68 86 2 5 5 5 262\n"+
- " 5 55 5 5 5 2 2 2 2 2 2 5 55 5 5 5 \n"+
- " 5 5 5 5 5 2 2 22 5 5 5 5 5 6 \n"+
- " 6 2 4 2 4 3333 4 2 4 2 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
- " 13 2 2 2 7 7 2226 13 2 2 2 \n"+
- "242 4 4 232 33 232 4 7 7 7 2226 4 232 33 232 4 4242\n"+
- "464 232 3 3 232 7 7 7 2226 232 3 3 232 464\n"+
- "242 2 232 3 3 232 2 7 7 2226 2226 2 232 3 3 232 2 9242\n"+
- " 2 3 22 3 2 7 7 7 22262226 2 3 22 3 2 \n"+
- " 4 4 3 22 3 4 7 7 2226 4 3 22 3 4 5 \n"+
- " 7 3 662266 3 7 7877872226 3 662266 3 \n"+
- " 31 3 6 2 2 6 3 13 7 787 787 2226 31 3 6 2 2 6 3 13 \n"+
- "242 321 6 6 123 7876 6787 2226321 6 6 123 242\n"+
- "464 7 321 6 6 123 7 7 321 6 6 123 7464\n"+
- "242 31 66 66 13 685 586 222631 66 66 13 242\n"+
- " 4 12344321 7 6885 58862226 12344321 \n"+
- " 4 33 2 3 4 68888886 4 33 2 3 4 4 \n"+
- " 5 345 7 7 7 2226 2226 5 4 6 \n"+
- " 52 3 6 3 45 2 7 7 7 7 2226 2 4 8 47 2 \n"+
- "242 3 2 8 7 7 2226 4 5 6 3 242\n"+
- "464 4 3 9 4 4 2 4 7 7 77 2226 4 3 675 7 4 464\n"+
- "242 7 4 7 2 7 7 2226 1 4 8 7 242\n"+
- " 2 4 2 4 3333 4 2 4 2 7 7 7 2226 2 4 2 4 3333 4 2 4 2 \n"+
- " 6 4654 6 56 2 6 7 \n"+
- " 4 46 7 46 4 4 4 6 \n"+
- " 86 6 5 6 4 4 \n"+
- "242 242 242 242 46 242 242 242 242 \n"+
- "464 464 464 464 464 464 464 464 \n"+
- "242 242 242 242 242 242 242 242 \n"+
- " ";
- var sayOnce = function(ship,text,id) {
- if (!ship.custom[id])
- {
- ship.custom[id] = true;
- ship.instructorSays(text,"Zoltar");
- ship.custom.last_talked = ship.game.step ;
- }
- };
- var checkInstructor = function(ship) {
- if (ship.custom.last_talked !== null && ship.game.step>ship.custom.last_talked+600)
- {
- ship.custom.last_talked = null ;
- ship.hideInstructor() ;
- }
- };
- this.options = {
- custom_map:map,
- ships: ships,
- asteroids_strength: 1,
- crystal_value: 2,
- reset_tree: true,
- map_size: 80,
- friction_ratio: 1,
- speed_mod: 1,
- rcs_toggle: true,
- shield_regen_factor: 1,
- power_regen_factor: 1,
- weapons_store: false,
- radar_zoom: 2,
- auto_refill: false,
- projectile_speed: 0.7,
- max_player: 50,
- lives: 2,
- max_level: 5,
- choose_ship: [101,105],
- soundtrack: "crystals.mp3"
- };
- game.removeObject();
- var sp = {
- id: "sp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp2 = {
- id: "sp2",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp3 = {
- id: "sp3",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp4 = {
- id: "sp4",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp5 = {
- id: "sp5",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp6 = {
- id: "sp6",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp7 = {
- id: "sp7",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var sp8 = {
- id: "sp8",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/shil.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0x00FFFF,
- } ;
- var aip = {
- id: "aip",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureinvaderp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xfF0000,
- } ;
- var ep = {
- id: "ep",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep2 = {
- id: "ep2",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep3 = {
- id: "ep3",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep4 = {
- id: "ep4",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep5 = {
- id: "ep5",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep6 = {
- id: "ep6",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep7 = {
- id: "ep7",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var ep8 = {
- id: "ep8",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureenergyp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFF00,
- } ;
- var dp = {
- id: "dp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/texturedronep.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFF00FF,
- } ;
- var dp2 = {
- id: "dp2",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/texturedronep.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFF00FF,
- } ;
- var lmp = {
- id: "lmp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureLMinesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xCD853F,
- } ;
- var lmp2 = {
- id: "lmp2",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureLMinesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xCD853F,
- } ;
- var hmp = {
- id: "hmp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureHMinesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xA0522D,
- } ;
- var rp = {
- id: "rp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFAFA,
- };
- var rp2 = {
- id: "rp2",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFAFA,
- };
- var rp3 = {
- id: "rp3",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFAFA,
- };
- var rp4 = {
- id: "rp4",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFAFA,
- };
- var rp5 = {
- id: "rp5",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFAFA,
- };
- var rp6 = {
- id: "rp6",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureRocketsp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xFFFAFA,
- } ;
- var mp = {
- id: "mp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xEEE9E9,
- } ;
- var mp2 = {
- id: "mp2",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xEEE9E9,
- } ;
- var mp3 = {
- id: "mp3",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xEEE9E9,
- } ;
- var mp4 = {
- id: "mp4",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureMissilesp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xEEE9E9,
- } ;
- var tp = {
- id: "tp",
- obj: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/cube.obj",
- diffuse: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/diffuse.jpg",
- emissive: "https://raw.githubusercontent.com/IOGamerr/jhhj/master/textureTorpedosp.png",
- bump: "https://raw.githubusercontent.com/pmgl/starblast-modding/master/objects/cube/bump.jpg",
- emissiveColor: 0xCDC9C9,
- } ;
- game.setObject({
- id: "sp",
- type: sp,
- position: {x:5,y:-45,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp2",
- type: sp2,
- position: {x:230,y:100,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp3",
- type: sp3,
- position: {x:260,y:-160,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp4",
- type: sp4,
- position: {x:-260,y:-100,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp5",
- type: sp5,
- position: {x:-45,y:-280,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp6",
- type: sp6,
- position: {x:-280,y:60,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp7",
- type: sp7,
- position: {x:-205,y:275,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "sp8",
- type: sp8,
- position: {x:50,y:180,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "aip",
- type: aip,
- position: {x:0,y:0,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:3,y:1,z:3}
- }) ;
- game.setObject({
- id: "ep",
- type: ep,
- position: {x:5,y:75,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep2",
- type: ep2,
- position: {x:230,y:110,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep3",
- type: ep3,
- position: {x:205,y:-70,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep4",
- type: ep4,
- position: {x:-88,y:-295,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep5",
- type: ep5,
- position: {x:-220,y:-280,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep6",
- type: ep6,
- position: {x:-190,y:20,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep7",
- type: ep7,
- position: {x:-205,y:150,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "ep8",
- type: ep8,
- position: {x:260,y:340,z:-5},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "dp",
- type: dp,
- position: {x:0,y:255,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.8,y:1,z:1.8}
- }) ;
- game.setObject({
- id: "dp2",
- type: dp2,
- position: {x:0,y:-235,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.8,y:1,z:1.8}
- }) ;
- game.setObject({
- id: "lmp",
- type: lmp,
- position: {x:-215,y:-55,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "lmp2",
- type: lmp2,
- position: {x:245,y:-55,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "hmp",
- type: hmp,
- position: {x:-230,y:95,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.5,y:1,z:1.5}
- }) ;
- game.setObject({
- id: "rp",
- type: rp,
- position: {x:-55,y:115,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "rp2",
- type: rp2,
- position: {x:55,y:115,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "rp3",
- type: rp3,
- position: {x:-65,y:5,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "rp4",
- type: rp4,
- position: {x:55,y:5,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "rp5",
- type: rp5,
- position: {x:50,y:-85,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "rp6",
- type: rp6,
- position: {x:-55,y:-85,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.2,y:1,z:1.2}
- }) ;
- game.setObject({
- id: "mp",
- type: mp,
- position: {x:-230,y:265,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.4,y:1,z:1.4}
- }) ;
- game.setObject({
- id: "mp2",
- type: mp2,
- position: {x:230,y:265,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.4,y:1,z:1.4}
- }) ;
- game.setObject({
- id: "mp3",
- type: mp3,
- position: {x:230,y:-225,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.4,y:1,z:1.4}
- }) ;
- game.setObject({
- id: "mp4",
- type: mp4,
- position: {x:-230,y:-225,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.4,y:1,z:1.4}
- }) ;
- game.setObject({
- id: "tp",
- type: tp,
- position: {x:230,y:50,z:-4.06},
- rotation: {x:-1.6,y:1.565,z:0},
- scale: {x:1.5,y:1,z:1.5}
- }) ;
- var timer1 = 1;
- var timer2 = 2;
- var timer3 = 3;
- var timer4 = 4;
- var timer5 = 5;
- var timer6 = 6;
- var timer7 = 7;
- var timer8 = 8;
- var timer9 = 9;
- var timer10 = 10;
- var timer11 = 11;
- var timer12 = 12;
- var timer13 = 13;
- var timer14 = 14;
- var timer15 = 15;
- var timer16 = 16;
- var timer17 = 17;
- var timer18 = 18;
- var timer19 = 19;
- var timer20 = 20;
- var timer21 = 21;
- var timer22 = 22;
- var timer23 = 23;
- var timer24 = 24;
- var timer25 = 25;
- var timer26 = 26;
- var timer27 = 27;
- var timer28 = 28;
- var timer29 = 29;
- var timer30 = 30;
- var timer31 = 31;
- var timer32 = 32;
- var timer33 = 33;
- var timer34 = 34;
- var timer35 = 35;
- var timer36 = 36;
- var timer37 = 37;
- var timer38 = 38;
- var timer39 = 39;
- var timer40 = 40;
- var bosstimer = 41;
- var miniontimer = 42;
- var miniontimer2 = 43;
- var miniontimer3 = 44;
- var miniontimer4 = 45;
- this.tick = function(game) {
- if(game.step%60==0){//каждую секунду
- killGameTimer++;//считаем время
- if(killGameTimer>killTime){
- //время истекло
- scores = [];
- for(i=0;i<game.ships.length;i++){//итерация по всем игрокам
- scores.push({id:i,score:game.ships[i].score});
- }
- scores.sort(function(a,b){if(a.score>b.score)return -1; return 1});
- for(i=0;i<scores.length;i++){//итерация по всем игрокам
- game.ships[scores[i].id].gameover({"Rank":i+1,"Score":scores[i].score});
- }
- }
- }
- if ( timer1 % 2200 === 0 ) { // 600 is 10 seconds
- game.addCollectible({"code":91, "x":5,"y":-45});
- }
- timer1++;
- if ( timer2 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":230,"y":100});
- }
- timer2++;
- if ( timer3 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":260,"y":-160});
- }
- timer3++;
- if ( timer4 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":-260,"y":-100});
- }
- timer4++;
- if ( timer5 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":-45,"y":-280});
- }
- timer5++;
- if ( timer6 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":-280,"y":60});
- }
- timer6++;
- if ( timer7 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":-200,"y":275});
- }
- timer7++;
- if ( timer8 % 2200 === 0 ) {
- game.addCollectible({"code":91, "x":50,"y":180});
- }
- timer8++;
- if ( timer9 % 3500 === 0 ) {
- game.addAlien({"code":10,"level":1,"crystal_drop":6, "x":5,"y":10});
- }
- timer9++;
- if ( timer10 % 5000 === 0 ) {
- game.addAlien({"code":17,"level":2,"crystal_drop":45, "x":5,"y":-10});
- }
- timer10++;
- if ( timer11 % 4000 === 0 ) {
- game.addAlien({"code":16,"level":1,"crystal_drop":30, "x":10,"y":5});
- }
- timer11++;
- if ( timer12 % 4000 === 0 ) {
- game.addAlien({"code":11,"level":2,"crystal_drop":21, "x":-10,"y":5});
- }
- timer12++;
- if ( bosstimer % 54000 === 0 ) {
- game.addAlien({"code":19,"level":1,"crystal_drop":1000, "x":0,"y":0});
- }
- bosstimer++;
- if ( miniontimer % 54000 === 0 ) {
- game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":-10,"y":5});
- }
- miniontimer++;
- if ( miniontimer2 % 54000 === 0 ) {
- game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":10,"y":5});
- }
- miniontimer2++;
- if ( miniontimer3 % 54000 === 0 ) {
- game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":5,"y":10});
- }
- miniontimer3++;
- if ( miniontimer4 % 54000 === 0 ) {
- game.addAlien({"code":19,"level":0,"crystal_drop":250, "x":5,"y":-10});
- }
- miniontimer4++;
- if ( timer13 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":5,"y":75});
- }
- timer13++;
- if ( timer14 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":230,"y":110});
- }
- timer14++;
- if ( timer15 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":205,"y":-70});
- }
- timer15++;
- if ( timer16 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":-88,"y":-295});
- }
- timer16++;
- if ( timer17 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":-220,"y":-280});
- }
- timer17++;
- if ( timer18 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":-190,"y":20});
- }
- timer18++;
- if ( timer19 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":-205,"y":150});
- }
- timer19++;
- if ( timer20 % 2200 === 0 ) {
- game.addCollectible({"code":90, "x":260,"y":340});
- }
- timer20++;
- if ( timer21 % 4400 === 0 ) {
- game.addCollectible({"code":42, "x":0,"y":258});
- }
- timer21++;
- if ( timer22 % 4200 === 0 ) {
- game.addCollectible({"code":41, "x":3,"y":255});
- }
- timer22++;
- if ( timer22 % 4000 === 0 ) {
- game.addCollectible({"code":40, "x":-3,"y":255});
- }
- timer23++;
- if ( timer24 % 4400 === 0 ) {
- game.addCollectible({"code":42, "x":0,"y":-233});
- }
- timer24++;
- if ( timer25 % 4200 === 0 ) {
- game.addCollectible({"code":41, "x":3,"y":-235});
- }
- timer25++;
- if ( timer26 % 4000 === 0 ) {
- game.addCollectible({"code":40, "x":-3,"y":-235});
- }
- timer26++;
- if ( timer27 % 4500 === 0 ) {
- game.addCollectible({"code":20, "x":-215,"y":-55});
- }
- timer27++;
- if ( timer28 % 4500 === 0 ) {
- game.addCollectible({"code":20, "x":245,"y":-55});
- }
- timer28++;
- if ( timer29 % 1200 === 0 ) {
- game.addCollectible({"code":21, "x":-230,"y":95});
- }
- timer29++;
- if ( timer30 % 2000 === 0 ) {
- game.addCollectible({"code":10, "x":-55,"y":115});
- }
- timer30++;
- if ( timer31 % 2500 === 0 ) {
- game.addCollectible({"code":10, "x":55,"y":115});
- }
- timer31++;
- if ( timer32 % 2000 === 0 ) {
- game.addCollectible({"code":10, "x":-65,"y":5});
- }
- timer32++;
- if ( timer33 % 3000 === 0 ) {
- game.addCollectible({"code":10, "x":55,"y":5});
- }
- timer33++;
- if ( timer34 % 2500 === 0 ) {
- game.addCollectible({"code":10, "x":50,"y":-85});
- }
- timer34++;
- if ( timer35 % 3000 === 0 ) {
- game.addCollectible({"code":10, "x":-55,"y":-85});
- }
- timer35++;
- if ( timer36 % 3000 === 0 ) {
- game.addCollectible({"code":11, "x":-230,"y":265});
- }
- timer36++;
- if ( timer37 % 3500 === 0 ) {
- game.addCollectible({"code":11, "x":230,"y":265});
- }
- timer37++;
- if ( timer38 % 4000 === 0 ) {
- game.addCollectible({"code":11, "x":230,"y":-225});
- }
- timer38++;
- if ( timer39 % 4500 === 0 ) {
- game.addCollectible({"code":11, "x":-230,"y":-225});
- }
- timer39++;
- if ( timer40 % 5000 === 0 ) {
- game.addCollectible({"code":12, "x":230,"y":50});
- }
- timer40++;
- };
- this.event = function(event,game) {
- switch (event.name)
- {
- case "alien_destroyed":
- if (event.killer != null)
- {
- incrementScore(event.killer,150);
- }
- break ;
- }
- } ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement