diff --git a/modules/formic/CREDIT.txt b/modules/formic/CREDIT.txt new file mode 100644 index 000000000..326a2adc1 --- /dev/null +++ b/modules/formic/CREDIT.txt @@ -0,0 +1 @@ +Credit to wubitog and Skorpio (http://opengameart.org/users/skorpio) for making all of the image assets used in the formic module. diff --git a/modules/formic/assets/configs/playerSpawnConfig.json b/modules/formic/assets/configs/playerSpawnConfig.json new file mode 100644 index 000000000..a230765f3 --- /dev/null +++ b/modules/formic/assets/configs/playerSpawnConfig.json @@ -0,0 +1,22 @@ +{ + "Formic Small":{ + "hull":"formic:formicSmall", + "items":"3*rep core:lightArmor-1 core:smallShield-1 core:blaster-1", + "money":200 + }, + "Formic Medium":{ + "hull":"formic:formicMedium", + "items":"6*rep core:mediumArmor-1 core:bigShield-1 formic:gryazevShipunov-1 core:railGun-2 5*core:railClip 5*formic:uraniumClip-1", + "money":400 + }, + "Formic Large":{ + "hull":"formic:formicLarge", + "items":"12*rep core:advancedArmor-1 core:advancedShield-1 formic:gryazevShipunov-1 formic:gryazevShipunov-2 20*formic:uraniumClip-1", + "money":800 + }, + "Formic Capital":{ + "hull":"formic:formicCapital", + "items":"24*rep core:advancedArmor-1 core:advancedShield-1 formic:superShotgun-1 formic:superShotgun-2 200*core:shellClip", + "money":1600 + } +} \ No newline at end of file diff --git a/modules/formic/assets/configs/projectilesConfig.json b/modules/formic/assets/configs/projectilesConfig.json new file mode 100644 index 000000000..8d50f326b --- /dev/null +++ b/modules/formic/assets/configs/projectilesConfig.json @@ -0,0 +1,16 @@ +{ + "uranium": { + "dmg": 5, + "spdLen": 10, + "dmgType": "bullet", + "tex": "uranium", + "texSz": 0.018, + "stretch": true, + "collisionEffect": { + "effectFile": "core:spark", + "size": 0.5, + "tex": "spark", + "tint": "fire" + } + } +} \ No newline at end of file diff --git a/modules/formic/assets/configs/startingStation.json b/modules/formic/assets/configs/startingStation.json new file mode 100644 index 000000000..7ff98a4e6 --- /dev/null +++ b/modules/formic/assets/configs/startingStation.json @@ -0,0 +1,10 @@ +{ + "hull": "formic:formicStation", + "items": "formic:superShotgun formic:superShotgun", + + "guard": { + "hull": "formic:formicLarge", + "items": "formic:gryazevShipunov core:fixedShotGun core:mediumArmor+core:heavyArmor core:shield+core:bigShield", + "density": 3 + } +} diff --git a/modules/formic/assets/configs/systemsConfig.json b/modules/formic/assets/configs/systemsConfig.json new file mode 100644 index 000000000..3f3626070 --- /dev/null +++ b/modules/formic/assets/configs/systemsConfig.json @@ -0,0 +1,176 @@ +{ + "standard": { + "constantAllies": [ + { + "hull": "formic:formicMedium", + "items": "formic:gryazevShipunov 0.5|core:lightArmor 0.75|core:smallShield+core:shield", + "density": 2 + }, + + { + "hull": "formic:formicCapital", + "items": "core:gun+core:blaster core:gun+core:blaster core:advancedArmor core:advancedShield", + "repairer": true, + "density": 1, + + "guard": { + "hull": "formic:formicSmall", + "items": "core:blaster core:mediumArmor core:smallShield", + "density": 4 + } + }, + + { + "hull": "core:bus", + "items": "core:gun core:gun core:lightArmor+core:mediumArmor core:shield+core:bigShield", + "density": 1 + }, + + { + "hull": "formic:formicStation", + "items": "core:cannon core:gun", + "repairer": true, + "density": 1, + + "guard": { + "hull": "formic:formicLarge", + "items": "formic:gryazevShipunov core:fixedShotGun core:mediumArmor+core:heavyArmor core:shield+core:bigShield", + "density": 3 + } + } + ], + + "constantEnemies": [ + { + "hull": "core:pirateSmall", + "items": "core:shotGun 0.86|core:bigShield", + "money": 120, + "density": 2 + }, + + { + "hull": "core:truck", + "items": "core:shotGun 0.74|core:shield+core:bigShield", + "money": 1000, + "density": 1, + + "guard": { + "hull": "core:pirateSmall", + "items": "core:gun 0.5|core:smallShield", + "money": 80, + "density": 3 + } + } + ], + + "temporaryEnemies": [ + { + "hull": "core:pirateSpaceTurret", + "items": "core:plasmaGun", + "money": 40, + "density": 0.0015 + } + ], + + "innerTemporaryEnemies": [ + { + "hull": "core:pirateSpaceTurret", + "items": "core:gun+core:shotGun 0.62|core:shield", + "money": 100, + "density": 0.0003 + }, + + { + "hull": "core:pirateMedium", + "items": "core:gun core:miner 0.25|core:lightArmor core:bigShield", + "money": 200, + "density": 0.0002 + }, + + { + "hull": "core:pirateMedium", + "items": "core:fixedPlasmaGun 0.25|core:lightArmor core:bigShield", + "money": 200, + "density": 0.0004 + } + ], + + "trading": { + "items": "rep formic:gryazevShipunov core:bigShield core:advancedArmor core:teleportCharge formic:superShotgun core:shellClip core:mediumArmor formic:uraniumClip core:fixedGun", + "ships": "formic:formicSmall formic:formicMedium formic:formicLarge formic:formicCapital", + "mercenaries": [ ] + } + }, + + "hard": { + "hard": true, + + "constantAllies": [ + { + "hull": "formic:formicStation", + "items": "core:gun formic:superShotgun", + "repairer": true, + "density": 2, + + "guard": { + "hull": "formic:formicLarge", + "items": "formic:gryazevShipunov core:fixedShotGun core:mediumArmor+core:heavyArmor core:shield+core:bigShield", + "density": 3 + } + } + ], + + "constantEnemies": [ + { + "hull": "core:desertMedium", + "items": "core:railGun+core:fixedCannon 0.8|core:fixedGun+core:railGun core:advancedArmor 0.6|core:shield+core:bigShield", + "money": 300, + "density": 3 + } + ], + + "temporaryEnemies": [ + { + "hull": "core:desertSpaceTurret", + "items": "core:cannon core:mediumArmor+core:heavyArmor 0.25|core:smallShield", + "money": 50, + "density": 0.001 + }, + { + "hull": "core:desertSmall", + "items": "core:fixedGun+core:railGun 0.8|core:fixedGun core:heavyArmor 0.5|core:smallShield", + "money": 150, + "density": 0.0003 + } + ], + + "innerTemporaryEnemies": [ + { + "hull": "core:desertSpaceTurret", + "items": "core:cannon 0.8|core:gun+core:cannon core:heavyArmor+core:advancedArmor 0.75|core:shield", + "money": 100, + "density": 0.001 + }, + + { + "hull": "core:desertBoss", + "items": "core:fixedCannon core:cannon core:advancedArmor core:bigShield", + "money": 1000, + "density": 0.0005 + } + ], + + "trading": { + "items": "rep formic:gryazevShipunov core:advancedArmor core:teleportCharge formic:superShotgun core:shellClip core:mediumArmor formic:uraniumClip core:fixedGun", + "ships": "formic:formicMedium formic:formicLarge", + + "mercenaries": [ + { + "hull": "formic:formicMedium", + "items": "3*rep core:smallShield", + "money": 200 + } + ] + } + } +} diff --git a/modules/formic/assets/items/clips/uraniumClip/uraniumClip.json b/modules/formic/assets/items/clips/uraniumClip/uraniumClip.json new file mode 100644 index 000000000..d9f12ff32 --- /dev/null +++ b/modules/formic/assets/items/clips/uraniumClip/uraniumClip.json @@ -0,0 +1,8 @@ +{ + "projectile": "uranium", + "size": 200, + "price": 40, + "displayName": "Uranium Rounds", + "plural": "Uranium Rounds", + "iconName": "uraniumClip" +} \ No newline at end of file diff --git a/modules/formic/assets/items/clips/uraniumClip/uraniumClipIcon.png b/modules/formic/assets/items/clips/uraniumClip/uraniumClipIcon.png new file mode 100644 index 000000000..57ecd45c1 Binary files /dev/null and b/modules/formic/assets/items/clips/uraniumClip/uraniumClipIcon.png differ diff --git a/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunov.json b/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunov.json new file mode 100644 index 000000000..72aeb96ed --- /dev/null +++ b/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunov.json @@ -0,0 +1,20 @@ +{ + "fixed": true, + "maxAngleVar": 2, + "angleVarDamp": 10, + "angleVarPerShot": 1, + "timeBetweenShots": 0.02, + "reloadTime": 1, + "price": 500, + "clipName": "formic:uraniumClip", + "gunLength": 0.25, + "displayName": "Gryazev Shipunov", + "lightOnShot": true, + "shootSounds": [ + "core:fixedGunShoot0", + "core:fixedGunShoot1" + ], + "reloadSounds": [ + "core:fixedGunReload" + ] +} \ No newline at end of file diff --git a/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunov.png b/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunov.png new file mode 100644 index 000000000..67a955207 Binary files /dev/null and b/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunov.png differ diff --git a/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunovIcon.png b/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunovIcon.png new file mode 100644 index 000000000..54760d174 Binary files /dev/null and b/modules/formic/assets/items/guns/gryazevShipunov/gryazevShipunovIcon.png differ diff --git a/modules/formic/assets/items/guns/superShotgun/superShotgun.json b/modules/formic/assets/items/guns/superShotgun/superShotgun.json new file mode 100644 index 000000000..ca993e38e --- /dev/null +++ b/modules/formic/assets/items/guns/superShotgun/superShotgun.json @@ -0,0 +1,19 @@ +{ + "fixed": false, + "maxAngleVar": 10, + "angleVarDamp": 0, + "angleVarPerShot": 10, + "timeBetweenShots": 0.05, + "reloadTime": 3, + "price": 425, + "clipName": "core:shellClip", + "gunLength": 0.25, + "displayName": "Super Shotgun", + "lightOnShot": true, + "shootSounds": [ + "core:shotGunShoot" + ], + "reloadSounds": [ + "core:gunReload" + ] +} \ No newline at end of file diff --git a/modules/formic/assets/items/guns/superShotgun/superShotgun.png b/modules/formic/assets/items/guns/superShotgun/superShotgun.png new file mode 100644 index 000000000..cdabcf6c6 Binary files /dev/null and b/modules/formic/assets/items/guns/superShotgun/superShotgun.png differ diff --git a/modules/formic/assets/items/guns/superShotgun/superShotgunIcon.png b/modules/formic/assets/items/guns/superShotgun/superShotgunIcon.png new file mode 100644 index 000000000..cbc4aeb86 Binary files /dev/null and b/modules/formic/assets/items/guns/superShotgun/superShotgunIcon.png differ diff --git a/modules/formic/assets/ships/formicCapital/formicCapital.json b/modules/formic/assets/ships/formicCapital/formicCapital.json new file mode 100644 index 000000000..ba917da2c --- /dev/null +++ b/modules/formic/assets/ships/formicCapital/formicCapital.json @@ -0,0 +1,1317 @@ +{ + "size": 3.5, + "maxLife": 800, + "type": "big", + "price": 10000, + "e1Pos": "0.08 0.37", + "e2Pos": "0.08 0.63", + "displayName": "Formic Capital", + "engine": "core:imperialBigEngine", + "gunSlots": [ + { + "position": "0.276 0.2935", + "isUnderneathHull": false, + "allowsRotation": true + }, + { + "position": "0.276 0.7075", + "isUnderneathHull": false, + "allowsRotation": true + } + ], + "rigidBody":{ + "name":"formicCapital", + "imagePath":"formicCapital.png", + "origin":{ + "x":0.5, + "y":0.5 + }, + "polygons":[ + [ + { + "x":0.1088709682226181, + "y":0.5604838728904724 + }, + { + "x":0.09677419066429138, + "y":0.5403225421905518 + }, + { + "x":0.2177419364452362, + "y":0.6088709831237793 + }, + { + "x":0.16935484111309052, + "y":0.6169354915618896 + } + ], + [ + { + "x":0.16935484111309052, + "y":0.6169354915618896 + }, + { + "x":0.10483870655298233, + "y":0.5846773982048035 + }, + { + "x":0.1088709682226181, + "y":0.5604838728904724 + } + ], + [ + { + "x":0.052419353276491165, + "y":0.524193525314331 + }, + { + "x":0.03629032149910927, + "y":0.5161290168762207 + }, + { + "x":0.03629032149910927, + "y":0.4838709533214569 + }, + { + "x":0.052419353276491165, + "y":0.47983869910240173 + }, + { + "x":0.09677419066429138, + "y":0.5403225421905518 + } + ], + [ + { + "x":0.09677419066429138, + "y":0.5403225421905518 + }, + { + "x":0.04435483738780022, + "y":0.5362902879714966 + }, + { + "x":0.052419353276491165, + "y":0.524193525314331 + } + ], + [ + { + "x":0.052419353276491165, + "y":0.41129031777381897 + }, + { + "x":0.03629032149910927, + "y":0.4032258093357086 + }, + { + "x":0.03629032149910927, + "y":0.3709677457809448 + }, + { + "x":0.052419353276491165, + "y":0.36693549156188965 + }, + { + "x":0.09677419066429138, + "y":0.4274193346500397 + } + ], + [ + { + "x":0.09677419066429138, + "y":0.4274193346500397 + }, + { + "x":0.04435483738780022, + "y":0.4233870804309845 + }, + { + "x":0.052419353276491165, + "y":0.41129031777381897 + } + ], + [ + { + "x":0.13709677755832672, + "y":0.2983871102333069 + }, + { + "x":0.1895161271095276, + "y":0.27419352531433105 + }, + { + "x":0.22177419066429138, + "y":0.2822580337524414 + }, + { + "x":0.1088709682226181, + "y":0.3306451439857483 + } + ], + [ + { + "x":0.1088709682226181, + "y":0.3306451439857483 + }, + { + "x":0.1088709682226181, + "y":0.2983871102333069 + }, + { + "x":0.13709677755832672, + "y":0.2983871102333069 + } + ], + [ + { + "x":0.25806450843811035, + "y":0.13306450843811035 + }, + { + "x":0.16129031777381897, + "y":0.16129028797149658 + }, + { + "x":0, + "y":0.13709676265716553 + }, + { + "x":0.2661290466785431, + "y":0.04435485601425171 + } + ], + [ + { + "x":0.5685483813285828, + "y":0.04435485601425171 + }, + { + "x":0.31854838132858276, + "y":0.13306450843811035 + }, + { + "x":0.25806450843811035, + "y":0.13306450843811035 + } + ], + [ + { + "x":0.25806450843811035, + "y":0.13306450843811035 + }, + { + "x":0.2661290466785431, + "y":0.04435485601425171 + }, + { + "x":0.4838709533214569, + "y":0.008064508438110352 + }, + { + "x":0.5725806355476379, + "y":0.008064508438110352 + }, + { + "x":0.6290322542190552, + "y":0.024193525314331055 + }, + { + "x":0.5685483813285828, + "y":0.04435485601425171 + } + ], + [ + { + "x":0.5685483813285828, + "y":0.04435485601425171 + }, + { + "x":0.5040322542190552, + "y":0.09274190664291382 + }, + { + "x":0.35080644488334656, + "y":0.15322577953338623 + }, + { + "x":0.31854838132858276, + "y":0.13306450843811035 + } + ], + [ + { + "x":0.5040322542190552, + "y":0.09274190664291382 + }, + { + "x":0.4879032373428345, + "y":0.1572580337524414 + }, + { + "x":0.35080644488334656, + "y":0.18145161867141724 + }, + { + "x":0.35080644488334656, + "y":0.15322577953338623 + } + ], + [ + { + "x":0.5080645084381104, + "y":0.1693548560142517 + }, + { + "x":0.6451612710952759, + "y":0.1411290168762207 + }, + { + "x":0.6774193644523621, + "y":0.14919352531433105 + }, + { + "x":0.5766128897666931, + "y":0.22983866930007935 + } + ], + [ + { + "x":0.5806451439857483, + "y":0.24596774578094482 + }, + { + "x":0.649193525314331, + "y":0.25 + }, + { + "x":0.6169354915618896, + "y":0.2701612710952759 + }, + { + "x":0.5604838728904724, + "y":0.2701612710952759 + } + ], + [ + { + "x":0.5604838728904724, + "y":0.2701612710952759 + }, + { + "x":0.4838709533214569, + "y":0.2983871102333069 + }, + { + "x":0.3306451737880707, + "y":0.22580641508102417 + }, + { + "x":0.3306451737880707, + "y":0.19354838132858276 + }, + { + "x":0.35080644488334656, + "y":0.18145161867141724 + } + ], + [ + { + "x":0.35080644488334656, + "y":0.18145161867141724 + }, + { + "x":0.4879032373428345, + "y":0.1572580337524414 + }, + { + "x":0.5080645084381104, + "y":0.1693548560142517 + }, + { + "x":0.5766128897666931, + "y":0.22983866930007935 + }, + { + "x":0.5806451439857483, + "y":0.24596774578094482 + }, + { + "x":0.5604838728904724, + "y":0.2701612710952759 + } + ], + [ + { + "x":0.4838709533214569, + "y":0.2983871102333069 + }, + { + "x":0.4556451737880707, + "y":0.3266128897666931 + }, + { + "x":0.22177419066429138, + "y":0.2822580337524414 + }, + { + "x":0.3306451737880707, + "y":0.22580641508102417 + } + ], + [ + { + "x":0.4556451737880707, + "y":0.3266128897666931 + }, + { + "x":0.4677419364452362, + "y":0.346774160861969 + }, + { + "x":0.4516128897666931, + "y":0.36693549156188965 + }, + { + "x":0.08870967477560043, + "y":0.346774160861969 + }, + { + "x":0.1088709682226181, + "y":0.3306451439857483 + }, + { + "x":0.22177419066429138, + "y":0.2822580337524414 + } + ], + [ + { + "x":0.9354838728904724, + "y":0.39919352531433105 + }, + { + "x":0.9596773982048035, + "y":0.39919352531433105 + }, + { + "x":0.9596773982048035, + "y":0.41129031777381897 + }, + { + "x":0.9193548560142517, + "y":0.41129031777381897 + }, + { + "x":0.9059110879898071, + "y":0.4049638509750366 + } + ], + [ + { + "x":0.850806474685669, + "y":0.3790322542190552 + }, + { + "x":0.9475806355476379, + "y":0.3911290168762207 + }, + { + "x":0.9354838728904724, + "y":0.39919352531433105 + }, + { + "x":0.9059110879898071, + "y":0.4049638509750366 + } + ], + [ + { + "x":0.9637096524238586, + "y":0.4395161271095276 + }, + { + "x":0.9596773982048035, + "y":0.4516128897666931 + }, + { + "x":0.9435483813285828, + "y":0.43145158886909485 + } + ], + [ + { + "x":0.9435483813285828, + "y":0.43145158886909485 + }, + { + "x":0.9959677457809448, + "y":0.4354838728904724 + }, + { + "x":0.9637096524238586, + "y":0.4395161271095276 + } + ], + [ + { + "x":0.9596773982048035, + "y":0.4516128897666931 + }, + { + "x":0.9959677457809448, + "y":0.4556451439857483 + }, + { + "x":0.9274193644523621, + "y":0.46370965242385864 + } + ], + [ + { + "x":0.9314516186714172, + "y":0.49596771597862244 + }, + { + "x":0.9475806355476379, + "y":0.5040322542190552 + }, + { + "x":0.8427419066429138, + "y":0.5120967626571655 + }, + { + "x":0.8884408473968506, + "y":0.49381721019744873 + } + ], + [ + { + "x":0.9233871102333069, + "y":0.47983869910240173 + }, + { + "x":0.9717742204666138, + "y":0.49193546175956726 + }, + { + "x":0.9314516186714172, + "y":0.49596771597862244 + }, + { + "x":0.8884408473968506, + "y":0.49381721019744873 + } + ], + [ + { + "x":0.8427419066429138, + "y":0.5120967626571655 + }, + { + "x":0.75, + "y":0.5403225421905518 + }, + { + "x":0.5604838728904724, + "y":0.38306450843811035 + }, + { + "x":0.7620967626571655, + "y":0.346774160861969 + }, + { + "x":0.850806474685669, + "y":0.3790322542190552 + }, + { + "x":0.9193548560142517, + "y":0.41129031777381897 + }, + { + "x":0.9274193644523621, + "y":0.46370965242385864 + }, + { + "x":0.9233871102333069, + "y":0.47983869910240173 + } + ], + [ + { + "x":0.9193548560142517, + "y":0.41129031777381897 + }, + { + "x":0.9435483813285828, + "y":0.43145158886909485 + }, + { + "x":0.9596773982048035, + "y":0.4516128897666931 + }, + { + "x":0.9274193644523621, + "y":0.46370965242385864 + } + ], + [ + { + "x":0.5604838728904724, + "y":0.38306450843811035 + }, + { + "x":0.7983871102333069, + "y":0.3104838728904724 + }, + { + "x":0.8064516186714172, + "y":0.32258063554763794 + }, + { + "x":0.7620967626571655, + "y":0.346774160861969 + } + ], + [ + { + "x":0.75, + "y":0.5403225421905518 + }, + { + "x":0.8064516186714172, + "y":0.5685483813285828 + }, + { + "x":0.7983871102333069, + "y":0.5806451439857483 + } + ], + [ + { + "x":0.7983871102333069, + "y":0.5806451439857483 + }, + { + "x":0.5201612710952759, + "y":0.5080645084381104 + }, + { + "x":0.46370968222618103, + "y":0.38306450843811035 + }, + { + "x":0.5604838728904724, + "y":0.38306450843811035 + }, + { + "x":0.75, + "y":0.5403225421905518 + } + ], + [ + { + "x":0.5201612710952759, + "y":0.5080645084381104 + }, + { + "x":0.44354838132858276, + "y":0.5161290168762207 + }, + { + "x":0.11693548411130905, + "y":0.4516128897666931 + }, + { + "x":0.09677419066429138, + "y":0.4274193346500397 + }, + { + "x":0.052419353276491165, + "y":0.36693549156188965 + } + ], + [ + { + "x":0.052419353276491165, + "y":0.36693549156188965 + }, + { + "x":0.04435483738780022, + "y":0.346774160861969 + }, + { + "x":0.08870967477560043, + "y":0.346774160861969 + }, + { + "x":0.4516128897666931, + "y":0.36693549156188965 + }, + { + "x":0.46370968222618103, + "y":0.38306450843811035 + }, + { + "x":0.5201612710952759, + "y":0.5080645084381104 + } + ], + [ + { + "x":0.44354838132858276, + "y":0.5161290168762207 + }, + { + "x":0.4677419364452362, + "y":0.5443547964096069 + }, + { + "x":0.45967742800712585, + "y":0.5604838728904724 + }, + { + "x":0.3266128897666931, + "y":0.6612902879714966 + }, + { + "x":0.2177419364452362, + "y":0.6088709831237793 + } + ], + [ + { + "x":0.2177419364452362, + "y":0.6088709831237793 + }, + { + "x":0.09677419066429138, + "y":0.5403225421905518 + }, + { + "x":0.052419353276491165, + "y":0.47983869910240173 + }, + { + "x":0.04838709533214569, + "y":0.45967739820480347 + }, + { + "x":0.11693548411130905, + "y":0.4516128897666931 + }, + { + "x":0.44354838132858276, + "y":0.5161290168762207 + } + ], + [ + { + "x":0.5604838728904724, + "y":0.6209677457809448 + }, + { + "x":0.649193525314331, + "y":0.625 + }, + { + "x":0.6451612710952759, + "y":0.6411290168762207 + }, + { + "x":0.5645161271095276, + "y":0.6532257795333862 + } + ], + [ + { + "x":0.5645161271095276, + "y":0.6532257795333862 + }, + { + "x":0.6774193644523621, + "y":0.7419354915618896 + }, + { + "x":0.5967742204666138, + "y":0.7459677457809448 + }, + { + "x":0.5, + "y":0.721774160861969 + } + ], + [ + { + "x":0.5, + "y":0.721774160861969 + }, + { + "x":0.4838709533214569, + "y":0.5927419662475586 + }, + { + "x":0.5604838728904724, + "y":0.6209677457809448 + }, + { + "x":0.5645161271095276, + "y":0.6532257795333862 + } + ], + [ + { + "x":0.5, + "y":0.721774160861969 + }, + { + "x":0.35080644488334656, + "y":0.7096773982048035 + }, + { + "x":0.3306451737880707, + "y":0.6975806355476379 + }, + { + "x":0.3266128897666931, + "y":0.6612902879714966 + }, + { + "x":0.45967742800712585, + "y":0.5604838728904724 + }, + { + "x":0.4838709533214569, + "y":0.5927419662475586 + } + ], + [ + { + "x":0.5, + "y":0.721774160861969 + }, + { + "x":0.4879032373428345, + "y":0.75 + }, + { + "x":0.35080644488334656, + "y":0.75 + }, + { + "x":0.35080644488334656, + "y":0.7096773982048035 + } + ], + [ + { + "x":0.5040322542190552, + "y":0.7903225421905518 + }, + { + "x":0.5766128897666931, + "y":0.8508064150810242 + }, + { + "x":0.30645161867141724, + "y":0.7620967626571655 + }, + { + "x":0.35080644488334656, + "y":0.75 + } + ], + [ + { + "x":0.35080644488334656, + "y":0.75 + }, + { + "x":0.4879032373428345, + "y":0.75 + }, + { + "x":0.5040322542190552, + "y":0.7903225421905518 + } + ], + [ + { + "x":0.5766128897666931, + "y":0.8508064150810242 + }, + { + "x":0.6169354915618896, + "y":0.8629032373428345 + }, + { + "x":0.5564516186714172, + "y":0.8830645084381104 + } + ], + [ + { + "x":0.5564516186714172, + "y":0.8830645084381104 + }, + { + "x":0.4838709533214569, + "y":0.8830645084381104 + }, + { + "x":0.41129031777381897, + "y":0.875 + }, + { + "x":0.2661290466785431, + "y":0.846774160861969 + }, + { + "x":0, + "y":0.7540322542190552 + }, + { + "x":0.19758065044879913, + "y":0.7338709831237793 + }, + { + "x":0.30645161867141724, + "y":0.7620967626571655 + }, + { + "x":0.5766128897666931, + "y":0.8508064150810242 + } + ] + ], + "circles":[ + + ], + "shapes":[ + { + "type":"POLYGON", + "vertices":[ + { + "x":0.4838709533214569, + "y":0.8830645084381104 + }, + { + "x":0.5564516186714172, + "y":0.8830645084381104 + }, + { + "x":0.6169354915618896, + "y":0.8629032373428345 + }, + { + "x":0.5766128897666931, + "y":0.8508064150810242 + }, + { + "x":0.5040322542190552, + "y":0.7903225421905518 + }, + { + "x":0.4879032373428345, + "y":0.75 + }, + { + "x":0.5, + "y":0.721774160861969 + }, + { + "x":0.5967742204666138, + "y":0.7459677457809448 + }, + { + "x":0.6774193644523621, + "y":0.7419354915618896 + }, + { + "x":0.5645161271095276, + "y":0.6532257795333862 + }, + { + "x":0.6451612710952759, + "y":0.6411290168762207 + }, + { + "x":0.649193525314331, + "y":0.625 + }, + { + "x":0.5604838728904724, + "y":0.6209677457809448 + }, + { + "x":0.4838709533214569, + "y":0.5927419662475586 + }, + { + "x":0.45967742800712585, + "y":0.5604838728904724 + }, + { + "x":0.4677419364452362, + "y":0.5443547964096069 + }, + { + "x":0.44354838132858276, + "y":0.5161290168762207 + }, + { + "x":0.5201612710952759, + "y":0.5080645084381104 + }, + { + "x":0.7983871102333069, + "y":0.5806451439857483 + }, + { + "x":0.8064516186714172, + "y":0.5685483813285828 + }, + { + "x":0.75, + "y":0.5403225421905518 + }, + { + "x":0.8427419066429138, + "y":0.5120967626571655 + }, + { + "x":0.9475806355476379, + "y":0.5040322542190552 + }, + { + "x":0.9314516186714172, + "y":0.49596771597862244 + }, + { + "x":0.9717742204666138, + "y":0.49193546175956726 + }, + { + "x":0.9233871102333069, + "y":0.47983869910240173 + }, + { + "x":0.9274193644523621, + "y":0.46370965242385864 + }, + { + "x":0.9959677457809448, + "y":0.4556451439857483 + }, + { + "x":0.9596773982048035, + "y":0.4516128897666931 + }, + { + "x":0.9637096524238586, + "y":0.4395161271095276 + }, + { + "x":0.9959677457809448, + "y":0.4354838728904724 + }, + { + "x":0.9435483813285828, + "y":0.43145158886909485 + }, + { + "x":0.9193548560142517, + "y":0.41129031777381897 + }, + { + "x":0.9596773982048035, + "y":0.41129031777381897 + }, + { + "x":0.9596773982048035, + "y":0.39919352531433105 + }, + { + "x":0.9354838728904724, + "y":0.39919352531433105 + }, + { + "x":0.9475806355476379, + "y":0.3911290168762207 + }, + { + "x":0.850806474685669, + "y":0.3790322542190552 + }, + { + "x":0.7620967626571655, + "y":0.346774160861969 + }, + { + "x":0.8064516186714172, + "y":0.32258063554763794 + }, + { + "x":0.7983871102333069, + "y":0.3104838728904724 + }, + { + "x":0.5604838728904724, + "y":0.38306450843811035 + }, + { + "x":0.46370968222618103, + "y":0.38306450843811035 + }, + { + "x":0.4516128897666931, + "y":0.36693549156188965 + }, + { + "x":0.4677419364452362, + "y":0.346774160861969 + }, + { + "x":0.4556451737880707, + "y":0.3266128897666931 + }, + { + "x":0.4838709533214569, + "y":0.2983871102333069 + }, + { + "x":0.5604838728904724, + "y":0.2701612710952759 + }, + { + "x":0.6169354915618896, + "y":0.2701612710952759 + }, + { + "x":0.649193525314331, + "y":0.25 + }, + { + "x":0.5806451439857483, + "y":0.24596774578094482 + }, + { + "x":0.5766128897666931, + "y":0.22983866930007935 + }, + { + "x":0.6774193644523621, + "y":0.14919352531433105 + }, + { + "x":0.6451612710952759, + "y":0.1411290168762207 + }, + { + "x":0.5080645084381104, + "y":0.1693548560142517 + }, + { + "x":0.4879032373428345, + "y":0.1572580337524414 + }, + { + "x":0.5040322542190552, + "y":0.09274190664291382 + }, + { + "x":0.5685483813285828, + "y":0.04435485601425171 + }, + { + "x":0.6290322542190552, + "y":0.024193525314331055 + }, + { + "x":0.5725806355476379, + "y":0.008064508438110352 + }, + { + "x":0.4838709533214569, + "y":0.008064508438110352 + }, + { + "x":0.2661290466785431, + "y":0.04435485601425171 + }, + { + "x":0, + "y":0.13709676265716553 + }, + { + "x":0.16129031777381897, + "y":0.16129028797149658 + }, + { + "x":0.25806450843811035, + "y":0.13306450843811035 + }, + { + "x":0.31854838132858276, + "y":0.13306450843811035 + }, + { + "x":0.35080644488334656, + "y":0.15322577953338623 + }, + { + "x":0.35080644488334656, + "y":0.18145161867141724 + }, + { + "x":0.3306451737880707, + "y":0.19354838132858276 + }, + { + "x":0.3306451737880707, + "y":0.22580641508102417 + }, + { + "x":0.22177419066429138, + "y":0.2822580337524414 + }, + { + "x":0.1895161271095276, + "y":0.27419352531433105 + }, + { + "x":0.13709677755832672, + "y":0.2983871102333069 + }, + { + "x":0.1088709682226181, + "y":0.2983871102333069 + }, + { + "x":0.1088709682226181, + "y":0.3306451439857483 + }, + { + "x":0.08870967477560043, + "y":0.346774160861969 + }, + { + "x":0.04435483738780022, + "y":0.346774160861969 + }, + { + "x":0.052419353276491165, + "y":0.36693549156188965 + }, + { + "x":0.03629032149910927, + "y":0.3709677457809448 + }, + { + "x":0.03629032149910927, + "y":0.4032258093357086 + }, + { + "x":0.052419353276491165, + "y":0.41129031777381897 + }, + { + "x":0.04435483738780022, + "y":0.4233870804309845 + }, + { + "x":0.09677419066429138, + "y":0.4274193346500397 + }, + { + "x":0.11693548411130905, + "y":0.4516128897666931 + }, + { + "x":0.04838709533214569, + "y":0.45967739820480347 + }, + { + "x":0.052419353276491165, + "y":0.47983869910240173 + }, + { + "x":0.03629032149910927, + "y":0.4838709533214569 + }, + { + "x":0.03629032149910927, + "y":0.5161290168762207 + }, + { + "x":0.052419353276491165, + "y":0.524193525314331 + }, + { + "x":0.04435483738780022, + "y":0.5362902879714966 + }, + { + "x":0.09677419066429138, + "y":0.5403225421905518 + }, + { + "x":0.1088709682226181, + "y":0.5604838728904724 + }, + { + "x":0.10483870655298233, + "y":0.5846773982048035 + }, + { + "x":0.16935484111309052, + "y":0.6169354915618896 + }, + { + "x":0.2177419364452362, + "y":0.6088709831237793 + }, + { + "x":0.3266128897666931, + "y":0.6612902879714966 + }, + { + "x":0.3306451737880707, + "y":0.6975806355476379 + }, + { + "x":0.35080644488334656, + "y":0.7096773982048035 + }, + { + "x":0.35080644488334656, + "y":0.75 + }, + { + "x":0.30645161867141724, + "y":0.7620967626571655 + }, + { + "x":0.19758065044879913, + "y":0.7338709831237793 + }, + { + "x":0, + "y":0.7540322542190552 + }, + { + "x":0.2661290466785431, + "y":0.846774160861969 + }, + { + "x":0.41129031777381897, + "y":0.875 + } + ] + } + ] + }, + "dynamicObjects":[ + + ] +} \ No newline at end of file diff --git a/modules/formic/assets/ships/formicCapital/formicCapital.png b/modules/formic/assets/ships/formicCapital/formicCapital.png new file mode 100644 index 000000000..092d0f332 Binary files /dev/null and b/modules/formic/assets/ships/formicCapital/formicCapital.png differ diff --git a/modules/formic/assets/ships/formicCapital/formicCapitalIcon.png b/modules/formic/assets/ships/formicCapital/formicCapitalIcon.png new file mode 100644 index 000000000..b2bcae1b6 Binary files /dev/null and b/modules/formic/assets/ships/formicCapital/formicCapitalIcon.png differ diff --git a/modules/formic/assets/ships/formicLarge/formicLarge.json b/modules/formic/assets/ships/formicLarge/formicLarge.json new file mode 100644 index 000000000..32cb848d5 --- /dev/null +++ b/modules/formic/assets/ships/formicLarge/formicLarge.json @@ -0,0 +1,784 @@ +{ + "size":0.75, + "maxLife":100, + "type":"std", + "price":1200, + "ability":{ + "type":"teleport", + "angle":120, + "rechargeTime":1 + }, + "gunSlots":[ + { + "position":"0.774545455 0.365248227", + "isUnderneathHull":false, + "allowsRotation":false + }, + { + "position":"0.774545455 0.631205674", + "isUnderneathHull":false, + "allowsRotation":false + } + ], + "engine":"core:imperialEngine", + "e1Pos":"0 0.326241135", + "e2Pos":"0 0.666666667", + "lightSrcPoss":[ + + ], + "rigidBody":{ + "name":"formicLarge", + "imagePath":"formicLarge.png", + "origin":{ + "x":0.5, + "y":0.5 + }, + "polygons":[ + [ + { + "x":0.10181818157434464, + "y":0.7490909099578857 + }, + { + "x":0.0181818176060915, + "y":0.7490909099578857 + }, + { + "x":0, + "y":0.7309091091156006 + }, + { + "x":0, + "y":0.6472727060317993 + }, + { + "x":0.03272727131843567, + "y":0.6290909051895142 + }, + { + "x":0.11636363714933395, + "y":0.6254545450210571 + } + ], + [ + { + "x":0.16727273166179657, + "y":0.5381817817687988 + }, + { + "x":0.13090908527374268, + "y":0.5236363410949707 + }, + { + "x":0.1345454603433609, + "y":0.5018181800842285 + }, + { + "x":0.16727273166179657, + "y":0.49090903997421265 + } + ], + [ + { + "x":0.16727273166179657, + "y":0.49090903997421265 + }, + { + "x":0.2181818187236786, + "y":0.4399999976158142 + }, + { + "x":0.21090908348560333, + "y":0.578181803226471 + }, + { + "x":0.19272726774215698, + "y":0.5745454430580139 + }, + { + "x":0.16727273166179657, + "y":0.5381817817687988 + } + ], + [ + { + "x":0.10181818157434464, + "y":0.3999999761581421 + }, + { + "x":0.0181818176060915, + "y":0.3999999761581421 + }, + { + "x":0, + "y":0.38181817531585693 + }, + { + "x":0, + "y":0.29818177223205566 + }, + { + "x":0.03999999910593033, + "y":0.2799999713897705 + }, + { + "x":0.1090909093618393, + "y":0.2799999713897705 + } + ], + [ + { + "x":0.1090909093618393, + "y":0.2799999713897705 + }, + { + "x":0.2072727233171463, + "y":0.4254544973373413 + }, + { + "x":0.11636363714933395, + "y":0.4254544973373413 + }, + { + "x":0.10181818157434464, + "y":0.3999999761581421 + } + ], + [ + { + "x":0.10545454174280167, + "y":0.23272722959518433 + }, + { + "x":0.010909090749919415, + "y":0.0036363601684570312 + }, + { + "x":0.04727272689342499, + "y":0.0036363601684570312 + }, + { + "x":0.08727272599935532, + "y":0.02545452117919922 + }, + { + "x":0.2836363613605499, + "y":0.24727272987365723 + } + ], + [ + { + "x":0.2836363613605499, + "y":0.24727272987365723 + }, + { + "x":0.31272727251052856, + "y":0.26181817054748535 + }, + { + "x":0.2181818187236786, + "y":0.4399999976158142 + }, + { + "x":0.2072727233171463, + "y":0.4254544973373413 + }, + { + "x":0.1090909093618393, + "y":0.2799999713897705 + }, + { + "x":0.10545454174280167, + "y":0.23272722959518433 + } + ], + [ + { + "x":0.9490908980369568, + "y":0.4836363196372986 + }, + { + "x":0.996363639831543, + "y":0.5090909004211426 + }, + { + "x":0.9818181991577148, + "y":0.5345454216003418 + }, + { + "x":0.9454545378684998, + "y":0.5490908622741699 + } + ], + [ + { + "x":0.9454545378684998, + "y":0.5490908622741699 + }, + { + "x":0.8909090757369995, + "y":0.44727271795272827 + }, + { + "x":0.9490908980369568, + "y":0.4618181586265564 + }, + { + "x":0.9490908980369568, + "y":0.4836363196372986 + } + ], + [ + { + "x":0.8254545331001282, + "y":0.6327272653579712 + }, + { + "x":0.8945454359054565, + "y":0.6472727060317993 + }, + { + "x":0.8218181729316711, + "y":0.6690908670425415 + } + ], + [ + { + "x":0.8218181729316711, + "y":0.6690908670425415 + }, + { + "x":0.6727272868156433, + "y":0.6763635873794556 + }, + { + "x":0.5963636636734009, + "y":0.6654545068740845 + }, + { + "x":0.5963636636734009, + "y":0.6509090662002563 + }, + { + "x":0.8254545331001282, + "y":0.6181818246841431 + }, + { + "x":0.8254545331001282, + "y":0.6327272653579712 + } + ], + [ + { + "x":0.5963636636734009, + "y":0.6509090662002563 + }, + { + "x":0.589090883731842, + "y":0.38545453548431396 + }, + { + "x":0.5963636636734009, + "y":0.37454545497894287 + }, + { + "x":0.6909090876579285, + "y":0.3527272343635559 + }, + { + "x":0.8218181729316711, + "y":0.4036363363265991 + }, + { + "x":0.8909090757369995, + "y":0.44727271795272827 + }, + { + "x":0.8909090757369995, + "y":0.581818163394928 + }, + { + "x":0.8254545331001282, + "y":0.6181818246841431 + } + ], + [ + { + "x":0.8909090757369995, + "y":0.44727271795272827 + }, + { + "x":0.9454545378684998, + "y":0.5490908622741699 + }, + { + "x":0.9272727370262146, + "y":0.578181803226471 + }, + { + "x":0.8909090757369995, + "y":0.581818163394928 + } + ], + [ + { + "x":0.6909090876579285, + "y":0.3527272343635559 + }, + { + "x":0.7890909314155579, + "y":0.3527272343635559 + }, + { + "x":0.8945454359054565, + "y":0.37454545497894287 + }, + { + "x":0.8909090757369995, + "y":0.389090895652771 + }, + { + "x":0.8218181729316711, + "y":0.4036363363265991 + } + ], + [ + { + "x":0.5963636636734009, + "y":0.6509090662002563 + }, + { + "x":0.5490909218788147, + "y":0.3781818151473999 + }, + { + "x":0.589090883731842, + "y":0.38545453548431396 + } + ], + [ + { + "x":0.5963636636734009, + "y":0.6509090662002563 + }, + { + "x":0.5636363625526428, + "y":0.6472727060317993 + }, + { + "x":0.47999998927116394, + "y":0.33454543352127075 + }, + { + "x":0.5490909218788147, + "y":0.3781818151473999 + } + ], + [ + { + "x":0.49454545974731445, + "y":0.6836363077163696 + }, + { + "x":0.4545454680919647, + "y":0.7236363291740417 + }, + { + "x":0.4545454680919647, + "y":0.29818177223205566 + }, + { + "x":0.47999998927116394, + "y":0.33454543352127075 + } + ], + [ + { + "x":0.47999998927116394, + "y":0.33454543352127075 + }, + { + "x":0.5636363625526428, + "y":0.6472727060317993 + }, + { + "x":0.49454545974731445, + "y":0.6836363077163696 + } + ], + [ + { + "x":0.4545454680919647, + "y":0.7236363291740417 + }, + { + "x":0.4509090781211853, + "y":0.7709090709686279 + }, + { + "x":0.3163636326789856, + "y":0.7672727108001709 + }, + { + "x":0.2181818187236786, + "y":0.6036363840103149 + }, + { + "x":0.21090908348560333, + "y":0.578181803226471 + } + ], + [ + { + "x":0.21090908348560333, + "y":0.578181803226471 + }, + { + "x":0.2181818187236786, + "y":0.4399999976158142 + }, + { + "x":0.31272727251052856, + "y":0.26181817054748535 + }, + { + "x":0.4509090781211853, + "y":0.26181817054748535 + }, + { + "x":0.4545454680919647, + "y":0.29818177223205566 + }, + { + "x":0.4545454680919647, + "y":0.7236363291740417 + } + ], + [ + { + "x":0.3163636326789856, + "y":0.7672727108001709 + }, + { + "x":0.27636364102363586, + "y":0.7890908718109131 + }, + { + "x":0.11636363714933395, + "y":0.7636363506317139 + }, + { + "x":0.10181818157434464, + "y":0.7490909099578857 + }, + { + "x":0.11636363714933395, + "y":0.6254545450210571 + }, + { + "x":0.13090908527374268, + "y":0.6036363840103149 + }, + { + "x":0.2181818187236786, + "y":0.6036363840103149 + } + ], + [ + { + "x":0.27636364102363586, + "y":0.7890908718109131 + }, + { + "x":0.05454545468091965, + "y":1.0254545211791992 + }, + { + "x":0.007272727321833372, + "y":1.0254545211791992 + }, + { + "x":0.04363636299967766, + "y":0.9309090375900269 + }, + { + "x":0.11636363714933395, + "y":0.7636363506317139 + } + ] + ], + "circles":[ + + ], + "shapes":[ + { + "type":"POLYGON", + "vertices":[ + { + "x":0.007272727321833372, + "y":1.0254545211791992 + }, + { + "x":0.05454545468091965, + "y":1.0254545211791992 + }, + { + "x":0.27636364102363586, + "y":0.7890908718109131 + }, + { + "x":0.3163636326789856, + "y":0.7672727108001709 + }, + { + "x":0.4509090781211853, + "y":0.7709090709686279 + }, + { + "x":0.4545454680919647, + "y":0.7236363291740417 + }, + { + "x":0.49454545974731445, + "y":0.6836363077163696 + }, + { + "x":0.5636363625526428, + "y":0.6472727060317993 + }, + { + "x":0.5963636636734009, + "y":0.6509090662002563 + }, + { + "x":0.5963636636734009, + "y":0.6654545068740845 + }, + { + "x":0.6727272868156433, + "y":0.6763635873794556 + }, + { + "x":0.8218181729316711, + "y":0.6690908670425415 + }, + { + "x":0.8945454359054565, + "y":0.6472727060317993 + }, + { + "x":0.8254545331001282, + "y":0.6327272653579712 + }, + { + "x":0.8254545331001282, + "y":0.6181818246841431 + }, + { + "x":0.8909090757369995, + "y":0.581818163394928 + }, + { + "x":0.9272727370262146, + "y":0.578181803226471 + }, + { + "x":0.9454545378684998, + "y":0.5490908622741699 + }, + { + "x":0.9818181991577148, + "y":0.5345454216003418 + }, + { + "x":0.996363639831543, + "y":0.5090909004211426 + }, + { + "x":0.9490908980369568, + "y":0.4836363196372986 + }, + { + "x":0.9490908980369568, + "y":0.4618181586265564 + }, + { + "x":0.8909090757369995, + "y":0.44727271795272827 + }, + { + "x":0.8218181729316711, + "y":0.4036363363265991 + }, + { + "x":0.8909090757369995, + "y":0.389090895652771 + }, + { + "x":0.8945454359054565, + "y":0.37454545497894287 + }, + { + "x":0.7890909314155579, + "y":0.3527272343635559 + }, + { + "x":0.6909090876579285, + "y":0.3527272343635559 + }, + { + "x":0.5963636636734009, + "y":0.37454545497894287 + }, + { + "x":0.589090883731842, + "y":0.38545453548431396 + }, + { + "x":0.5490909218788147, + "y":0.3781818151473999 + }, + { + "x":0.47999998927116394, + "y":0.33454543352127075 + }, + { + "x":0.4545454680919647, + "y":0.29818177223205566 + }, + { + "x":0.4509090781211853, + "y":0.26181817054748535 + }, + { + "x":0.31272727251052856, + "y":0.26181817054748535 + }, + { + "x":0.2836363613605499, + "y":0.24727272987365723 + }, + { + "x":0.08727272599935532, + "y":0.02545452117919922 + }, + { + "x":0.04727272689342499, + "y":0.0036363601684570312 + }, + { + "x":0.010909090749919415, + "y":0.0036363601684570312 + }, + { + "x":0.10545454174280167, + "y":0.23272722959518433 + }, + { + "x":0.1090909093618393, + "y":0.2799999713897705 + }, + { + "x":0.03999999910593033, + "y":0.2799999713897705 + }, + { + "x":0, + "y":0.29818177223205566 + }, + { + "x":0, + "y":0.38181817531585693 + }, + { + "x":0.0181818176060915, + "y":0.3999999761581421 + }, + { + "x":0.10181818157434464, + "y":0.3999999761581421 + }, + { + "x":0.11636363714933395, + "y":0.4254544973373413 + }, + { + "x":0.2072727233171463, + "y":0.4254544973373413 + }, + { + "x":0.2181818187236786, + "y":0.4399999976158142 + }, + { + "x":0.16727273166179657, + "y":0.49090903997421265 + }, + { + "x":0.1345454603433609, + "y":0.5018181800842285 + }, + { + "x":0.13090908527374268, + "y":0.5236363410949707 + }, + { + "x":0.16727273166179657, + "y":0.5381817817687988 + }, + { + "x":0.19272726774215698, + "y":0.5745454430580139 + }, + { + "x":0.21090908348560333, + "y":0.578181803226471 + }, + { + "x":0.2181818187236786, + "y":0.6036363840103149 + }, + { + "x":0.13090908527374268, + "y":0.6036363840103149 + }, + { + "x":0.11636363714933395, + "y":0.6254545450210571 + }, + { + "x":0.03272727131843567, + "y":0.6290909051895142 + }, + { + "x":0, + "y":0.6472727060317993 + }, + { + "x":0, + "y":0.7309091091156006 + }, + { + "x":0.0181818176060915, + "y":0.7490909099578857 + }, + { + "x":0.10181818157434464, + "y":0.7490909099578857 + }, + { + "x":0.11636363714933395, + "y":0.7636363506317139 + }, + { + "x":0.04363636299967766, + "y":0.9309090375900269 + } + ] + } + ] + }, + "dynamicObjects":[ + + ] +} \ No newline at end of file diff --git a/modules/formic/assets/ships/formicLarge/formicLarge.png b/modules/formic/assets/ships/formicLarge/formicLarge.png new file mode 100644 index 000000000..1f93e6afe Binary files /dev/null and b/modules/formic/assets/ships/formicLarge/formicLarge.png differ diff --git a/modules/formic/assets/ships/formicLarge/formicLargeIcon.png b/modules/formic/assets/ships/formicLarge/formicLargeIcon.png new file mode 100644 index 000000000..e2e23fac0 Binary files /dev/null and b/modules/formic/assets/ships/formicLarge/formicLargeIcon.png differ diff --git a/modules/formic/assets/ships/formicMedium/formicMedium.json b/modules/formic/assets/ships/formicMedium/formicMedium.json new file mode 100644 index 000000000..3cb1f3c90 --- /dev/null +++ b/modules/formic/assets/ships/formicMedium/formicMedium.json @@ -0,0 +1,1392 @@ +{ + "size":0.55, + "maxLife":50, + "type":"std", + "price":500, + "ability":{ + "type":"teleport", + "angle":120, + "rechargeTime":2 + }, + "gunSlots":[ + { + "position":"0.728888889 0.397849462", + "isUnderneathHull":false, + "allowsRotation":false + }, + { + "position":"0.728888889 0.599462366", + "isUnderneathHull":false, + "allowsRotation":false + } + ], + "engine":"core:imperialEngine", + "e1Pos":"0 0.454301075", + "e2Pos":"0 0.540322581", + "lightSrcPoss":[ + + ], + "rigidBody":{ + "name":"formicMedium", + "imagePath":"formicMedium.png", + "origin":{ + "x":0.5, + "y":0.5 + }, + "polygons":[ + [ + { + "x":0.14453125, + "y":0.58203125 + }, + { + "x":0.1484375, + "y":0.60546875 + }, + { + "x":0.1015625, + "y":0.640625 + }, + { + "x":0.015625, + "y":0.640625 + }, + { + "x":0, + "y":0.6171875 + }, + { + "x":0.0078125, + "y":0.5859375 + }, + { + "x":0.09375, + "y":0.578125 + } + ], + [ + { + "x":0.09375, + "y":0.578125 + }, + { + "x":0.12890625, + "y":0.5390625 + }, + { + "x":0.16796875, + "y":0.5390625 + }, + { + "x":0.14453125, + "y":0.58203125 + } + ], + [ + { + "x":0.12890625, + "y":0.5390625 + }, + { + "x":0.125, + "y":0.5234375 + }, + { + "x":0.19921875, + "y":0.5234375 + }, + { + "x":0.16796875, + "y":0.5390625 + } + ], + [ + { + "x":0.078125, + "y":0.3359375 + }, + { + "x":0, + "y":0.33203125 + }, + { + "x":0, + "y":0.29296875 + }, + { + "x":0.015625, + "y":0.27734375 + }, + { + "x":0.11328125, + "y":0.27734375 + }, + { + "x":0.1171875, + "y":0.29296875 + } + ], + [ + { + "x":0.1171875, + "y":0.29296875 + }, + { + "x":0.15625, + "y":0.32421875 + }, + { + "x":0.14453125, + "y":0.33984375 + }, + { + "x":0.109375, + "y":0.35546875 + }, + { + "x":0.078125, + "y":0.3359375 + } + ], + [ + { + "x":0.1640625, + "y":0.375 + }, + { + "x":0.19921875, + "y":0.39453125 + }, + { + "x":0.16745847463607788, + "y":0.4079039990901947 + } + ], + [ + { + "x":0.16745847463607788, + "y":0.4079039990901947 + }, + { + "x":0.125, + "y":0.39453125 + }, + { + "x":0.109375, + "y":0.35546875 + }, + { + "x":0.14453125, + "y":0.33984375 + }, + { + "x":0.1640625, + "y":0.375 + } + ], + [ + { + "x":0.05078125, + "y":0.45703125 + }, + { + "x":0.03125, + "y":0.4453125 + }, + { + "x":0.03125, + "y":0.421875 + }, + { + "x":0.08203125, + "y":0.39453125 + }, + { + "x":0.125, + "y":0.39453125 + }, + { + "x":0.16745847463607788, + "y":0.4079039990901947 + } + ], + [ + { + "x":0.19921875, + "y":0.39453125 + }, + { + "x":0.2734375, + "y":0.51953125 + }, + { + "x":0.19921875, + "y":0.5234375 + }, + { + "x":0.125, + "y":0.5234375 + }, + { + "x":0.03125, + "y":0.50390625 + }, + { + "x":0.03125, + "y":0.46875 + }, + { + "x":0.05078125, + "y":0.45703125 + } + ], + [ + { + "x":0.19921875, + "y":0.39453125 + }, + { + "x":0.27734375, + "y":0.3984375 + }, + { + "x":0.30078125, + "y":0.53515625 + }, + { + "x":0.2734375, + "y":0.51953125 + } + ], + [ + { + "x":0.265625, + "y":0.14453125 + }, + { + "x":0.0859375, + "y":0.1484375 + }, + { + "x":0.09375, + "y":0.12890625 + }, + { + "x":0.2109375, + "y":0.0703125 + }, + { + "x":0.33984375, + "y":0.02734375 + }, + { + "x":0.44921875, + "y":0.0078125 + }, + { + "x":0.60546875, + "y":0.02734375 + }, + { + "x":0.83203125, + "y":0.08203125 + } + ], + [ + { + "x":0.83203125, + "y":0.08203125 + }, + { + "x":0.9375, + "y":0.05859375 + }, + { + "x":0.99609375, + "y":0.0625 + }, + { + "x":0.87890625, + "y":0.10546875 + } + ], + [ + { + "x":0.87890625, + "y":0.12109375 + }, + { + "x":0.9921875, + "y":0.19140625 + }, + { + "x":0.875, + "y":0.17578125 + } + ], + [ + { + "x":0.875, + "y":0.17578125 + }, + { + "x":0.890625, + "y":0.20703125 + }, + { + "x":0.82421875, + "y":0.16015625 + } + ], + [ + { + "x":0.8125, + "y":0.171875 + }, + { + "x":0.83984375, + "y":0.2265625 + }, + { + "x":0.7578125, + "y":0.16015625 + } + ], + [ + { + "x":0.73828125, + "y":0.1640625 + }, + { + "x":0.7578125, + "y":0.1875 + }, + { + "x":0.70703125, + "y":0.16015625 + } + ], + [ + { + "x":0.66796875, + "y":0.16015625 + }, + { + "x":0.62890625, + "y":0.18359375 + }, + { + "x":0.515625, + "y":0.19140625 + }, + { + "x":0.34765625, + "y":0.17578125 + }, + { + "x":0.265625, + "y":0.14453125 + } + ], + [ + { + "x":0.265625, + "y":0.14453125 + }, + { + "x":0.83203125, + "y":0.08203125 + }, + { + "x":0.7578125, + "y":0.16015625 + }, + { + "x":0.66796875, + "y":0.16015625 + } + ], + [ + { + "x":0.7578125, + "y":0.16015625 + }, + { + "x":0.73828125, + "y":0.1640625 + }, + { + "x":0.70703125, + "y":0.16015625 + } + ], + [ + { + "x":0.83203125, + "y":0.08203125 + }, + { + "x":0.87890625, + "y":0.10546875 + }, + { + "x":0.8125, + "y":0.171875 + }, + { + "x":0.7578125, + "y":0.16015625 + } + ], + [ + { + "x":0.87890625, + "y":0.10546875 + }, + { + "x":0.87890625, + "y":0.12109375 + }, + { + "x":0.875, + "y":0.17578125 + }, + { + "x":0.82421875, + "y":0.16015625 + } + ], + [ + { + "x":0.515625, + "y":0.19140625 + }, + { + "x":0.484375, + "y":0.22265625 + }, + { + "x":0.38671875, + "y":0.2109375 + }, + { + "x":0.34765625, + "y":0.17578125 + } + ], + [ + { + "x":0.484375, + "y":0.22265625 + }, + { + "x":0.44140625, + "y":0.31640625 + }, + { + "x":0.3671875, + "y":0.28125 + }, + { + "x":0.36328125, + "y":0.26171875 + }, + { + "x":0.38671875, + "y":0.2109375 + } + ], + [ + { + "x":0.44140625, + "y":0.31640625 + }, + { + "x":0.43359375, + "y":0.3671875 + }, + { + "x":0.328125, + "y":0.3515625 + }, + { + "x":0.3671875, + "y":0.28125 + } + ], + [ + { + "x":0.65625, + "y":0.48828125 + }, + { + "x":0.65234375, + "y":0.50390625 + }, + { + "x":0.58984375, + "y":0.5 + } + ], + [ + { + "x":0.58984375, + "y":0.5 + }, + { + "x":0.6015625, + "y":0.42578125 + }, + { + "x":0.66015625, + "y":0.43359375 + }, + { + "x":0.6875, + "y":0.4453125 + }, + { + "x":0.6953125, + "y":0.46875 + }, + { + "x":0.65625, + "y":0.48828125 + } + ], + [ + { + "x":0.6015625, + "y":0.42578125 + }, + { + "x":0.67578125, + "y":0.421875 + }, + { + "x":0.66015625, + "y":0.43359375 + } + ], + [ + { + "x":0.58984375, + "y":0.5 + }, + { + "x":0.4921875, + "y":0.53515625 + }, + { + "x":0.46484375, + "y":0.37890625 + }, + { + "x":0.49609375, + "y":0.38671875 + }, + { + "x":0.6015625, + "y":0.42578125 + } + ], + [ + { + "x":0.46484375, + "y":0.37890625 + }, + { + "x":0.5078125, + "y":0.37890625 + }, + { + "x":0.49609375, + "y":0.38671875 + } + ], + [ + { + "x":0.4921875, + "y":0.53515625 + }, + { + "x":0.5078125, + "y":0.54296875 + }, + { + "x":0.46484375, + "y":0.54296875 + } + ], + [ + { + "x":0.46484375, + "y":0.54296875 + }, + { + "x":0.4296875, + "y":0.5625 + }, + { + "x":0.3515625, + "y":0.60546875 + }, + { + "x":0.30078125, + "y":0.53515625 + }, + { + "x":0.27734375, + "y":0.3984375 + }, + { + "x":0.328125, + "y":0.3515625 + }, + { + "x":0.43359375, + "y":0.3671875 + }, + { + "x":0.46484375, + "y":0.37890625 + } + ], + [ + { + "x":0.46484375, + "y":0.37890625 + }, + { + "x":0.4921875, + "y":0.53515625 + }, + { + "x":0.46484375, + "y":0.54296875 + } + ], + [ + { + "x":0.4296875, + "y":0.5625 + }, + { + "x":0.375, + "y":0.66015625 + }, + { + "x":0.359375, + "y":0.66015625 + }, + { + "x":0.3515625, + "y":0.60546875 + } + ], + [ + { + "x":0.4296875, + "y":0.5625 + }, + { + "x":0.45703125, + "y":0.6484375 + }, + { + "x":0.38671875, + "y":0.703125 + }, + { + "x":0.375, + "y":0.66015625 + } + ], + [ + { + "x":0.45703125, + "y":0.6484375 + }, + { + "x":0.49609375, + "y":0.71484375 + }, + { + "x":0.37109375, + "y":0.73046875 + }, + { + "x":0.38671875, + "y":0.703125 + } + ], + [ + { + "x":0.84375, + "y":0.75390625 + }, + { + "x":0.890625, + "y":0.71484375 + }, + { + "x":0.87890625, + "y":0.75 + } + ], + [ + { + "x":0.87890625, + "y":0.75 + }, + { + "x":0.9921875, + "y":0.73046875 + }, + { + "x":0.87109375, + "y":0.8046875 + } + ], + [ + { + "x":0.87109375, + "y":0.8046875 + }, + { + "x":0.788581371307373, + "y":0.7693250775337219 + }, + { + "x":0.8125, + "y":0.7578125 + }, + { + "x":0.84375, + "y":0.75390625 + }, + { + "x":0.87890625, + "y":0.75 + } + ], + [ + { + "x":0.76171875, + "y":0.7578125 + }, + { + "x":0.84375, + "y":0.69140625 + }, + { + "x":0.8125, + "y":0.7578125 + }, + { + "x":0.788581371307373, + "y":0.7693250775337219 + } + ], + [ + { + "x":0.87109375, + "y":0.8046875 + }, + { + "x":0.7109375, + "y":0.7578125 + }, + { + "x":0.73828125, + "y":0.75390625 + }, + { + "x":0.76171875, + "y":0.7578125 + } + ], + [ + { + "x":0.7109375, + "y":0.7578125 + }, + { + "x":0.7578125, + "y":0.73046875 + }, + { + "x":0.73828125, + "y":0.75390625 + } + ], + [ + { + "x":0.9140625, + "y":0.8359375 + }, + { + "x":0.9921875, + "y":0.859375 + }, + { + "x":0.78125, + "y":0.83984375 + } + ], + [ + { + "x":0.78125, + "y":0.83984375 + }, + { + "x":0.28515625, + "y":0.77734375 + }, + { + "x":0.671875, + "y":0.7578125 + }, + { + "x":0.7109375, + "y":0.7578125 + }, + { + "x":0.87109375, + "y":0.8046875 + }, + { + "x":0.9140625, + "y":0.8359375 + } + ], + [ + { + "x":0.28515625, + "y":0.77734375 + }, + { + "x":0.30078125, + "y":0.75390625 + }, + { + "x":0.52734375, + "y":0.734375 + }, + { + "x":0.640625, + "y":0.734375 + }, + { + "x":0.671875, + "y":0.7578125 + } + ], + [ + { + "x":0.30078125, + "y":0.75390625 + }, + { + "x":0.37109375, + "y":0.73046875 + }, + { + "x":0.49609375, + "y":0.71484375 + }, + { + "x":0.52734375, + "y":0.734375 + } + ], + [ + { + "x":0.78125, + "y":0.83984375 + }, + { + "x":0.61328125, + "y":0.890625 + }, + { + "x":0.43359375, + "y":0.91796875 + }, + { + "x":0.2890625, + "y":0.87890625 + }, + { + "x":0.1328125, + "y":0.8125 + }, + { + "x":0.07421875, + "y":0.7734375 + }, + { + "x":0.28515625, + "y":0.77734375 + } + ] + ], + "circles":[ + + ], + "shapes":[ + { + "type":"POLYGON", + "vertices":[ + { + "x":0.43359375, + "y":0.91796875 + }, + { + "x":0.61328125, + "y":0.890625 + }, + { + "x":0.78125, + "y":0.83984375 + }, + { + "x":0.9921875, + "y":0.859375 + }, + { + "x":0.9140625, + "y":0.8359375 + }, + { + "x":0.87109375, + "y":0.8046875 + }, + { + "x":0.9921875, + "y":0.73046875 + }, + { + "x":0.87890625, + "y":0.75 + }, + { + "x":0.890625, + "y":0.71484375 + }, + { + "x":0.84375, + "y":0.75390625 + }, + { + "x":0.8125, + "y":0.7578125 + }, + { + "x":0.84375, + "y":0.69140625 + }, + { + "x":0.76171875, + "y":0.7578125 + }, + { + "x":0.73828125, + "y":0.75390625 + }, + { + "x":0.7578125, + "y":0.73046875 + }, + { + "x":0.7109375, + "y":0.7578125 + }, + { + "x":0.671875, + "y":0.7578125 + }, + { + "x":0.640625, + "y":0.734375 + }, + { + "x":0.52734375, + "y":0.734375 + }, + { + "x":0.49609375, + "y":0.71484375 + }, + { + "x":0.45703125, + "y":0.6484375 + }, + { + "x":0.4296875, + "y":0.5625 + }, + { + "x":0.46484375, + "y":0.54296875 + }, + { + "x":0.5078125, + "y":0.54296875 + }, + { + "x":0.4921875, + "y":0.53515625 + }, + { + "x":0.58984375, + "y":0.5 + }, + { + "x":0.65234375, + "y":0.50390625 + }, + { + "x":0.65625, + "y":0.48828125 + }, + { + "x":0.6953125, + "y":0.46875 + }, + { + "x":0.6875, + "y":0.4453125 + }, + { + "x":0.66015625, + "y":0.43359375 + }, + { + "x":0.67578125, + "y":0.421875 + }, + { + "x":0.6015625, + "y":0.42578125 + }, + { + "x":0.49609375, + "y":0.38671875 + }, + { + "x":0.5078125, + "y":0.37890625 + }, + { + "x":0.46484375, + "y":0.37890625 + }, + { + "x":0.43359375, + "y":0.3671875 + }, + { + "x":0.44140625, + "y":0.31640625 + }, + { + "x":0.484375, + "y":0.22265625 + }, + { + "x":0.515625, + "y":0.19140625 + }, + { + "x":0.62890625, + "y":0.18359375 + }, + { + "x":0.66796875, + "y":0.16015625 + }, + { + "x":0.70703125, + "y":0.16015625 + }, + { + "x":0.7578125, + "y":0.1875 + }, + { + "x":0.73828125, + "y":0.1640625 + }, + { + "x":0.7578125, + "y":0.16015625 + }, + { + "x":0.83984375, + "y":0.2265625 + }, + { + "x":0.8125, + "y":0.171875 + }, + { + "x":0.82421875, + "y":0.16015625 + }, + { + "x":0.890625, + "y":0.20703125 + }, + { + "x":0.875, + "y":0.17578125 + }, + { + "x":0.9921875, + "y":0.19140625 + }, + { + "x":0.87890625, + "y":0.12109375 + }, + { + "x":0.87890625, + "y":0.10546875 + }, + { + "x":0.99609375, + "y":0.0625 + }, + { + "x":0.9375, + "y":0.05859375 + }, + { + "x":0.83203125, + "y":0.08203125 + }, + { + "x":0.60546875, + "y":0.02734375 + }, + { + "x":0.44921875, + "y":0.0078125 + }, + { + "x":0.33984375, + "y":0.02734375 + }, + { + "x":0.2109375, + "y":0.0703125 + }, + { + "x":0.09375, + "y":0.12890625 + }, + { + "x":0.0859375, + "y":0.1484375 + }, + { + "x":0.265625, + "y":0.14453125 + }, + { + "x":0.34765625, + "y":0.17578125 + }, + { + "x":0.38671875, + "y":0.2109375 + }, + { + "x":0.36328125, + "y":0.26171875 + }, + { + "x":0.3671875, + "y":0.28125 + }, + { + "x":0.328125, + "y":0.3515625 + }, + { + "x":0.27734375, + "y":0.3984375 + }, + { + "x":0.19921875, + "y":0.39453125 + }, + { + "x":0.1640625, + "y":0.375 + }, + { + "x":0.14453125, + "y":0.33984375 + }, + { + "x":0.15625, + "y":0.32421875 + }, + { + "x":0.1171875, + "y":0.29296875 + }, + { + "x":0.11328125, + "y":0.27734375 + }, + { + "x":0.015625, + "y":0.27734375 + }, + { + "x":0, + "y":0.29296875 + }, + { + "x":0, + "y":0.33203125 + }, + { + "x":0.078125, + "y":0.3359375 + }, + { + "x":0.109375, + "y":0.35546875 + }, + { + "x":0.125, + "y":0.39453125 + }, + { + "x":0.08203125, + "y":0.39453125 + }, + { + "x":0.03125, + "y":0.421875 + }, + { + "x":0.03125, + "y":0.4453125 + }, + { + "x":0.05078125, + "y":0.45703125 + }, + { + "x":0.03125, + "y":0.46875 + }, + { + "x":0.03125, + "y":0.50390625 + }, + { + "x":0.125, + "y":0.5234375 + }, + { + "x":0.12890625, + "y":0.5390625 + }, + { + "x":0.09375, + "y":0.578125 + }, + { + "x":0.0078125, + "y":0.5859375 + }, + { + "x":0, + "y":0.6171875 + }, + { + "x":0.015625, + "y":0.640625 + }, + { + "x":0.1015625, + "y":0.640625 + }, + { + "x":0.1484375, + "y":0.60546875 + }, + { + "x":0.14453125, + "y":0.58203125 + }, + { + "x":0.16796875, + "y":0.5390625 + }, + { + "x":0.19921875, + "y":0.5234375 + }, + { + "x":0.2734375, + "y":0.51953125 + }, + { + "x":0.30078125, + "y":0.53515625 + }, + { + "x":0.3515625, + "y":0.60546875 + }, + { + "x":0.359375, + "y":0.66015625 + }, + { + "x":0.375, + "y":0.66015625 + }, + { + "x":0.38671875, + "y":0.703125 + }, + { + "x":0.37109375, + "y":0.73046875 + }, + { + "x":0.30078125, + "y":0.75390625 + }, + { + "x":0.28515625, + "y":0.77734375 + }, + { + "x":0.07421875, + "y":0.7734375 + }, + { + "x":0.1328125, + "y":0.8125 + }, + { + "x":0.2890625, + "y":0.87890625 + } + ] + } + ] + }, + "dynamicObjects":[ + + ] +} \ No newline at end of file diff --git a/modules/formic/assets/ships/formicMedium/formicMedium.png b/modules/formic/assets/ships/formicMedium/formicMedium.png new file mode 100644 index 000000000..43350e64a Binary files /dev/null and b/modules/formic/assets/ships/formicMedium/formicMedium.png differ diff --git a/modules/formic/assets/ships/formicMedium/formicMediumIcon.png b/modules/formic/assets/ships/formicMedium/formicMediumIcon.png new file mode 100644 index 000000000..353aac739 Binary files /dev/null and b/modules/formic/assets/ships/formicMedium/formicMediumIcon.png differ diff --git a/modules/formic/assets/ships/formicSmall/formicSmall.json b/modules/formic/assets/ships/formicSmall/formicSmall.json new file mode 100644 index 000000000..75272814b --- /dev/null +++ b/modules/formic/assets/ships/formicSmall/formicSmall.json @@ -0,0 +1,1169 @@ +{ + "size":0.45, + "maxLife":20, + "type":"std", + "price":200, + "ability":{ + "type":"teleport", + "angle":120, + "rechargeTime":4 + }, + "gunSlots":[ + { + "position":"0.673076923 0.494117647", + "isUnderneathHull":false, + "allowsRotation":true + } + ], + "engine":"core:imperialEngine", + "e1Pos":"0.019230769 0.458823529", + "e2Pos":"0.019230769 0.535294118", + "lightSrcPoss":[ + + ], + "rigidBody":{ + "circles":[ + + ], + "imagePath":"formicSmall.png", + "name":"formicSmall", + "origin":{ + "x":0.5, + "y":0.5 + }, + "polygons":[ + [ + { + "x":0.06538461893796921, + "y":0.41538459062576294 + }, + { + "x":0.023076923564076424, + "y":0.4076923131942749 + }, + { + "x":0.05384615436196327, + "y":0.39230766892433167 + }, + { + "x":0.12591595947742462, + "y":0.4075952172279358 + } + ], + [ + { + "x":0.12591595947742462, + "y":0.4075952172279358 + }, + { + "x":0.11923076957464218, + "y":0.41923075914382935 + }, + { + "x":0, + "y":0.4692307710647583 + }, + { + "x":0.06538461893796921, + "y":0.41538459062576294 + } + ], + [ + { + "x":0.18076923489570618, + "y":0.41923075914382935 + }, + { + "x":0.13076923787593842, + "y":0.4423076808452606 + }, + { + "x":0.11923076957464218, + "y":0.41923075914382935 + }, + { + "x":0.12591595947742462, + "y":0.4075952172279358 + } + ], + [ + { + "x":0.05000000074505806, + "y":0.2846153676509857 + }, + { + "x":0.057692307978868484, + "y":0.26923075318336487 + }, + { + "x":0.05384615436196327, + "y":0.3730769157409668 + }, + { + "x":0.01923076994717121, + "y":0.36153843998908997 + } + ], + [ + { + "x":0.01923076994717121, + "y":0.36153843998908997 + }, + { + "x":0.01923076994717121, + "y":0.2846153676509857 + }, + { + "x":0.05000000074505806, + "y":0.2846153676509857 + } + ], + [ + { + "x":0.057692307978868484, + "y":0.24230769276618958 + }, + { + "x":0.0615384615957737, + "y":0.22692307829856873 + }, + { + "x":0.057692307978868484, + "y":0.26923075318336487 + } + ], + [ + { + "x":0.057692307978868484, + "y":0.26923075318336487 + }, + { + "x":0.03076923079788685, + "y":0.24230769276618958 + }, + { + "x":0.057692307978868484, + "y":0.24230769276618958 + } + ], + [ + { + "x":0.0615384615957737, + "y":0.22692307829856873 + }, + { + "x":0.003846153849735856, + "y":0.1884615421295166 + }, + { + "x":0.13076923787593842, + "y":0.23846152424812317 + } + ], + [ + { + "x":0.23846153914928436, + "y":0.23846152424812317 + }, + { + "x":0.33076924085617065, + "y":0.2153846025466919 + }, + { + "x":0.3192307651042938, + "y":0.4307692050933838 + }, + { + "x":0.18076923489570618, + "y":0.41923075914382935 + } + ], + [ + { + "x":0.18076923489570618, + "y":0.41923075914382935 + }, + { + "x":0.17307692766189575, + "y":0.23461538553237915 + }, + { + "x":0.23846153914928436, + "y":0.23846152424812317 + } + ], + [ + { + "x":0.18076923489570618, + "y":0.41923075914382935 + }, + { + "x":0.13076923787593842, + "y":0.23846152424812317 + }, + { + "x":0.13076923787593842, + "y":0.2192307710647583 + }, + { + "x":0.17307692766189575, + "y":0.23461538553237915 + } + ], + [ + { + "x":0.18076923489570618, + "y":0.41923075914382935 + }, + { + "x":0.05384615436196327, + "y":0.39230766892433167 + }, + { + "x":0.05384615436196327, + "y":0.3730769157409668 + }, + { + "x":0.057692307978868484, + "y":0.26923075318336487 + }, + { + "x":0.0615384615957737, + "y":0.22692307829856873 + }, + { + "x":0.13076923787593842, + "y":0.23846152424812317 + } + ], + [ + { + "x":0.75, + "y":0.08461534976959229 + }, + { + "x":0.6807692050933838, + "y":0.09999996423721313 + }, + { + "x":0.3153846263885498, + "y":0.04615384340286255 + }, + { + "x":0.26153847575187683, + "y":0.034615397453308105 + }, + { + "x":0.29615384340286255, + "y":0.019230782985687256 + }, + { + "x":0.6384615302085876, + "y":0.011538445949554443 + }, + { + "x":0.8346154093742371, + "y":0.026923060417175293 + } + ], + [ + { + "x":0.8346154093742371, + "y":0.026923060417175293 + }, + { + "x":0.9692307710647583, + "y":0.0615384578704834 + }, + { + "x":0.9961538314819336, + "y":0.08076924085617065 + }, + { + "x":0.75, + "y":0.08461534976959229 + } + ], + [ + { + "x":0.6538461446762085, + "y":0.13461536169052124 + }, + { + "x":0.6692307591438293, + "y":0.14230769872665405 + }, + { + "x":0.6153846383094788, + "y":0.14615380764007568 + }, + { + "x":0.6321178674697876, + "y":0.13611391186714172 + } + ], + [ + { + "x":0.6538461446762085, + "y":0.1230769157409668 + }, + { + "x":0.6692307591438293, + "y":0.13076919317245483 + }, + { + "x":0.6538461446762085, + "y":0.13461536169052124 + }, + { + "x":0.6321178674697876, + "y":0.13611391186714172 + } + ], + [ + { + "x":0.607692301273346, + "y":0.18076923489570618 + }, + { + "x":0.6230769157409668, + "y":0.1884615421295166 + }, + { + "x":0.5807692408561707, + "y":0.19230768084526062 + }, + { + "x":0.5225679874420166, + "y":0.16161976754665375 + } + ], + [ + { + "x":0.5225679874420166, + "y":0.16161976754665375 + }, + { + "x":0.5961538553237915, + "y":0.16923075914382935 + }, + { + "x":0.6230769157409668, + "y":0.17692306637763977 + }, + { + "x":0.607692301273346, + "y":0.18076923489570618 + } + ], + [ + { + "x":0.3692307770252228, + "y":0.08076924085617065 + }, + { + "x":0.6153846383094788, + "y":0.14615380764007568 + }, + { + "x":0.5961538553237915, + "y":0.16923075914382935 + }, + { + "x":0.5225679874420166, + "y":0.16161976754665375 + } + ], + [ + { + "x":0.3692307770252228, + "y":0.08076924085617065 + }, + { + "x":0.3153846263885498, + "y":0.04615384340286255 + }, + { + "x":0.6807692050933838, + "y":0.09999996423721313 + }, + { + "x":0.6538461446762085, + "y":0.1230769157409668 + }, + { + "x":0.6153846383094788, + "y":0.14615380764007568 + } + ], + [ + { + "x":0.5807692408561707, + "y":0.19230768084526062 + }, + { + "x":0.5730769038200378, + "y":0.21153846383094788 + }, + { + "x":0.36153846979141235, + "y":0.13846153020858765 + }, + { + "x":0.3153846263885498, + "y":0.11153846979141235 + }, + { + "x":0.32307693362236023, + "y":0.08846151828765869 + }, + { + "x":0.3692307770252228, + "y":0.08076924085617065 + } + ], + [ + { + "x":0.5730769038200378, + "y":0.21153846383094788 + }, + { + "x":0.6038461327552795, + "y":0.2192307710647583 + }, + { + "x":0.5884615182876587, + "y":0.22307690978050232 + } + ], + [ + { + "x":0.5884615182876587, + "y":0.22307690978050232 + }, + { + "x":0.6038461327552795, + "y":0.23076921701431274 + }, + { + "x":0.5846154093742371, + "y":0.23076921701431274 + } + ], + [ + { + "x":0.6692307591438293, + "y":0.29615384340286255 + }, + { + "x":0.7153846025466919, + "y":0.32307690382003784 + }, + { + "x":0.7038461565971375, + "y":0.3499999940395355 + }, + { + "x":0.6653845906257629, + "y":0.36538460850715637 + } + ], + [ + { + "x":0.6653845906257629, + "y":0.36538460850715637 + }, + { + "x":0.607692301273346, + "y":0.2576923072338104 + }, + { + "x":0.6692307591438293, + "y":0.2730769217014313 + }, + { + "x":0.6692307591438293, + "y":0.29615384340286255 + } + ], + [ + { + "x":0.5884615182876587, + "y":0.4346153736114502 + }, + { + "x":0.6038461327552795, + "y":0.4423076808452606 + }, + { + "x":0.5769230723381042, + "y":0.44615381956100464 + }, + { + "x":0.5817307829856873, + "y":0.4341346025466919 + } + ], + [ + { + "x":0.5846154093742371, + "y":0.42692306637763977 + }, + { + "x":0.6038461327552795, + "y":0.4307692050933838 + }, + { + "x":0.5884615182876587, + "y":0.4346153736114502 + }, + { + "x":0.5817307829856873, + "y":0.4341346025466919 + } + ], + [ + { + "x":0.5769230723381042, + "y":0.44615381956100464 + }, + { + "x":0.36153846979141235, + "y":0.5115384459495544 + }, + { + "x":0.33076924085617065, + "y":0.47692304849624634 + }, + { + "x":0.3192307651042938, + "y":0.4307692050933838 + }, + { + "x":0.33076924085617065, + "y":0.2153846025466919 + }, + { + "x":0.3346153795719147, + "y":0.17307692766189575 + } + ], + [ + { + "x":0.3346153795719147, + "y":0.17307692766189575 + }, + { + "x":0.36153846979141235, + "y":0.13846153020858765 + }, + { + "x":0.5846154093742371, + "y":0.23076921701431274 + }, + { + "x":0.607692301273346, + "y":0.2576923072338104 + }, + { + "x":0.5884615182876587, + "y":0.4115384519100189 + }, + { + "x":0.5846154093742371, + "y":0.42692306637763977 + }, + { + "x":0.5769230723381042, + "y":0.44615381956100464 + } + ], + [ + { + "x":0.607692301273346, + "y":0.2576923072338104 + }, + { + "x":0.6653845906257629, + "y":0.36538460850715637 + }, + { + "x":0.6461538672447205, + "y":0.39615383744239807 + }, + { + "x":0.5884615182876587, + "y":0.4115384519100189 + } + ], + [ + { + "x":0.36153846979141235, + "y":0.13846153020858765 + }, + { + "x":0.5730769038200378, + "y":0.21153846383094788 + }, + { + "x":0.5884615182876587, + "y":0.22307690978050232 + }, + { + "x":0.5846154093742371, + "y":0.23076921701431274 + } + ], + [ + { + "x":0.607692301273346, + "y":0.47692304849624634 + }, + { + "x":0.6230769157409668, + "y":0.48461538553237915 + }, + { + "x":0.5961538553237915, + "y":0.48846152424812317 + }, + { + "x":0.5913609266281128, + "y":0.4740827679634094 + } + ], + [ + { + "x":0.5884615182876587, + "y":0.4653846025466919 + }, + { + "x":0.6230769157409668, + "y":0.4730769097805023 + }, + { + "x":0.607692301273346, + "y":0.47692304849624634 + }, + { + "x":0.5913609266281128, + "y":0.4740827679634094 + } + ], + [ + { + "x":0.5961538553237915, + "y":0.48846152424812317 + }, + { + "x":0.3692307770252228, + "y":0.5769230723381042 + }, + { + "x":0.3153846263885498, + "y":0.550000011920929 + }, + { + "x":0.3192307651042938, + "y":0.5269230604171753 + }, + { + "x":0.36153846979141235, + "y":0.5115384459495544 + }, + { + "x":0.5769230723381042, + "y":0.44615381956100464 + }, + { + "x":0.5884615182876587, + "y":0.4653846025466919 + } + ], + [ + { + "x":0.6538461446762085, + "y":0.5230768918991089 + }, + { + "x":0.6692307591438293, + "y":0.5307692289352417 + }, + { + "x":0.6538461446762085, + "y":0.5346153974533081 + }, + { + "x":0.3692307770252228, + "y":0.5923076868057251 + }, + { + "x":0.3692307770252228, + "y":0.5769230723381042 + } + ], + [ + { + "x":0.3692307770252228, + "y":0.5769230723381042 + }, + { + "x":0.6153846383094788, + "y":0.5115384459495544 + }, + { + "x":0.6692307591438293, + "y":0.5192307233810425 + }, + { + "x":0.6538461446762085, + "y":0.5230768918991089 + } + ], + [ + { + "x":0.3692307770252228, + "y":0.5769230723381042 + }, + { + "x":0.5961538553237915, + "y":0.48846152424812317 + }, + { + "x":0.6153846383094788, + "y":0.5115384459495544 + } + ], + [ + { + "x":0.7769230604171753, + "y":0.5730769038200378 + }, + { + "x":0.9884615540504456, + "y":0.5769230723381042 + }, + { + "x":0.9692307710647583, + "y":0.5961538553237915 + }, + { + "x":0.8692307472229004, + "y":0.6230769157409668 + }, + { + "x":0.7038461565971375, + "y":0.642307698726654 + } + ], + [ + { + "x":0.7038461565971375, + "y":0.642307698726654 + }, + { + "x":0.6807692050933838, + "y":0.557692289352417 + }, + { + "x":0.7769230604171753, + "y":0.5730769038200378 + } + ], + [ + { + "x":0.7038461565971375, + "y":0.642307698726654 + }, + { + "x":0.48461538553237915, + "y":0.6461538076400757 + }, + { + "x":0.2730769217014313, + "y":0.6346153616905212 + }, + { + "x":0.2807692289352417, + "y":0.6192307472229004 + }, + { + "x":0.3692307770252228, + "y":0.5923076868057251 + }, + { + "x":0.6538461446762085, + "y":0.5346153974533081 + }, + { + "x":0.6807692050933838, + "y":0.557692289352417 + } + ] + ], + "shapes":[ + { + "type":"POLYGON", + "vertices":[ + { + "x":0.48461538553237915, + "y":0.6461538076400757 + }, + { + "x":0.7038461565971375, + "y":0.642307698726654 + }, + { + "x":0.8692307472229004, + "y":0.6230769157409668 + }, + { + "x":0.9692307710647583, + "y":0.5961538553237915 + }, + { + "x":0.9884615540504456, + "y":0.5769230723381042 + }, + { + "x":0.7769230604171753, + "y":0.5730769038200378 + }, + { + "x":0.6807692050933838, + "y":0.557692289352417 + }, + { + "x":0.6538461446762085, + "y":0.5346153974533081 + }, + { + "x":0.6692307591438293, + "y":0.5307692289352417 + }, + { + "x":0.6538461446762085, + "y":0.5230768918991089 + }, + { + "x":0.6692307591438293, + "y":0.5192307233810425 + }, + { + "x":0.6153846383094788, + "y":0.5115384459495544 + }, + { + "x":0.5961538553237915, + "y":0.48846152424812317 + }, + { + "x":0.6230769157409668, + "y":0.48461538553237915 + }, + { + "x":0.607692301273346, + "y":0.47692304849624634 + }, + { + "x":0.6230769157409668, + "y":0.4730769097805023 + }, + { + "x":0.5884615182876587, + "y":0.4653846025466919 + }, + { + "x":0.5769230723381042, + "y":0.44615381956100464 + }, + { + "x":0.6038461327552795, + "y":0.4423076808452606 + }, + { + "x":0.5884615182876587, + "y":0.4346153736114502 + }, + { + "x":0.6038461327552795, + "y":0.4307692050933838 + }, + { + "x":0.5846154093742371, + "y":0.42692306637763977 + }, + { + "x":0.5884615182876587, + "y":0.4115384519100189 + }, + { + "x":0.6461538672447205, + "y":0.39615383744239807 + }, + { + "x":0.6653845906257629, + "y":0.36538460850715637 + }, + { + "x":0.7038461565971375, + "y":0.3499999940395355 + }, + { + "x":0.7153846025466919, + "y":0.32307690382003784 + }, + { + "x":0.6692307591438293, + "y":0.29615384340286255 + }, + { + "x":0.6692307591438293, + "y":0.2730769217014313 + }, + { + "x":0.607692301273346, + "y":0.2576923072338104 + }, + { + "x":0.5846154093742371, + "y":0.23076921701431274 + }, + { + "x":0.6038461327552795, + "y":0.23076921701431274 + }, + { + "x":0.5884615182876587, + "y":0.22307690978050232 + }, + { + "x":0.6038461327552795, + "y":0.2192307710647583 + }, + { + "x":0.5730769038200378, + "y":0.21153846383094788 + }, + { + "x":0.5807692408561707, + "y":0.19230768084526062 + }, + { + "x":0.6230769157409668, + "y":0.1884615421295166 + }, + { + "x":0.607692301273346, + "y":0.18076923489570618 + }, + { + "x":0.6230769157409668, + "y":0.17692306637763977 + }, + { + "x":0.5961538553237915, + "y":0.16923075914382935 + }, + { + "x":0.6153846383094788, + "y":0.14615380764007568 + }, + { + "x":0.6692307591438293, + "y":0.14230769872665405 + }, + { + "x":0.6538461446762085, + "y":0.13461536169052124 + }, + { + "x":0.6692307591438293, + "y":0.13076919317245483 + }, + { + "x":0.6538461446762085, + "y":0.1230769157409668 + }, + { + "x":0.6807692050933838, + "y":0.09999996423721313 + }, + { + "x":0.75, + "y":0.08461534976959229 + }, + { + "x":0.9961538314819336, + "y":0.08076924085617065 + }, + { + "x":0.9692307710647583, + "y":0.0615384578704834 + }, + { + "x":0.8346154093742371, + "y":0.026923060417175293 + }, + { + "x":0.6384615302085876, + "y":0.011538445949554443 + }, + { + "x":0.29615384340286255, + "y":0.019230782985687256 + }, + { + "x":0.26153847575187683, + "y":0.034615397453308105 + }, + { + "x":0.3153846263885498, + "y":0.04615384340286255 + }, + { + "x":0.3692307770252228, + "y":0.08076924085617065 + }, + { + "x":0.32307693362236023, + "y":0.08846151828765869 + }, + { + "x":0.3153846263885498, + "y":0.11153846979141235 + }, + { + "x":0.36153846979141235, + "y":0.13846153020858765 + }, + { + "x":0.3346153795719147, + "y":0.17307692766189575 + }, + { + "x":0.33076924085617065, + "y":0.2153846025466919 + }, + { + "x":0.23846153914928436, + "y":0.23846152424812317 + }, + { + "x":0.17307692766189575, + "y":0.23461538553237915 + }, + { + "x":0.13076923787593842, + "y":0.2192307710647583 + }, + { + "x":0.13076923787593842, + "y":0.23846152424812317 + }, + { + "x":0.003846153849735856, + "y":0.1884615421295166 + }, + { + "x":0.0615384615957737, + "y":0.22692307829856873 + }, + { + "x":0.057692307978868484, + "y":0.24230769276618958 + }, + { + "x":0.03076923079788685, + "y":0.24230769276618958 + }, + { + "x":0.057692307978868484, + "y":0.26923075318336487 + }, + { + "x":0.05000000074505806, + "y":0.2846153676509857 + }, + { + "x":0.01923076994717121, + "y":0.2846153676509857 + }, + { + "x":0.01923076994717121, + "y":0.36153843998908997 + }, + { + "x":0.05384615436196327, + "y":0.3730769157409668 + }, + { + "x":0.05384615436196327, + "y":0.39230766892433167 + }, + { + "x":0.023076923564076424, + "y":0.4076923131942749 + }, + { + "x":0.06538461893796921, + "y":0.41538459062576294 + }, + { + "x":0, + "y":0.4692307710647583 + }, + { + "x":0.11923076957464218, + "y":0.41923075914382935 + }, + { + "x":0.13076923787593842, + "y":0.4423076808452606 + }, + { + "x":0.18076923489570618, + "y":0.41923075914382935 + }, + { + "x":0.3192307651042938, + "y":0.4307692050933838 + }, + { + "x":0.33076924085617065, + "y":0.47692304849624634 + }, + { + "x":0.36153846979141235, + "y":0.5115384459495544 + }, + { + "x":0.3192307651042938, + "y":0.5269230604171753 + }, + { + "x":0.3153846263885498, + "y":0.550000011920929 + }, + { + "x":0.3692307770252228, + "y":0.5769230723381042 + }, + { + "x":0.3692307770252228, + "y":0.5923076868057251 + }, + { + "x":0.2807692289352417, + "y":0.6192307472229004 + }, + { + "x":0.2730769217014313, + "y":0.6346153616905212 + } + ] + } + ] + } +} + diff --git a/modules/formic/assets/ships/formicSmall/formicSmall.png b/modules/formic/assets/ships/formicSmall/formicSmall.png new file mode 100644 index 000000000..9ddccca2a Binary files /dev/null and b/modules/formic/assets/ships/formicSmall/formicSmall.png differ diff --git a/modules/formic/assets/ships/formicSmall/formicSmallIcon.png b/modules/formic/assets/ships/formicSmall/formicSmallIcon.png new file mode 100644 index 000000000..34bff0d42 Binary files /dev/null and b/modules/formic/assets/ships/formicSmall/formicSmallIcon.png differ diff --git a/modules/formic/assets/ships/formicStation/formicStation.json b/modules/formic/assets/ships/formicStation/formicStation.json new file mode 100644 index 000000000..ff0f05bb8 --- /dev/null +++ b/modules/formic/assets/ships/formicStation/formicStation.json @@ -0,0 +1,1890 @@ +{ + "size": 8, + "maxLife": 1000, + "type": "station", + "gunSlots": [ + { + "position": "0.080078125 0.5234375", + "isUnderneathHull": false, + "allowsRotation": true + }, + { + "position": "0.91796875 0.5234375", + "isUnderneathHull": false, + "allowsRotation": true + } + ], + "lightSrcPoss": [ + "0.080078125 0.5234375", + "0.91796875 0.5234375" + ], + "forceBeaconPoss": [ + "0.26171875 0.498046875", + "0.759765625 0.498046875" + ], + "rigidBody":{ + "name":"formicStation", + "imagePath":"formicStation.png", + "origin":{ + "x":0.5, + "y":0.5 + }, + "polygons":[ + [ + { + "x":0.33203125, + "y":0.873046875 + }, + { + "x":0.306640625, + "y":0.873046875 + }, + { + "x":0.298828125, + "y":0.865234375 + }, + { + "x":0.294921875, + "y":0.779296875 + } + ], + [ + { + "x":0.2578125, + "y":0.779296875 + }, + { + "x":0.23828125, + "y":0.830078125 + }, + { + "x":0.236328125, + "y":0.798828125 + }, + { + "x":0.25390625, + "y":0.73046875 + } + ], + [ + { + "x":0.17578125, + "y":0.71875 + }, + { + "x":0.140625, + "y":0.783203125 + }, + { + "x":0.14453125, + "y":0.74609375 + }, + { + "x":0.1796875, + "y":0.662109375 + } + ], + [ + { + "x":0.150390625, + "y":0.65625 + }, + { + "x":0.150390625, + "y":0.68359375 + }, + { + "x":0.138671875, + "y":0.69140625 + }, + { + "x":0.1015625, + "y":0.689453125 + }, + { + "x":0.09765625, + "y":0.66015625 + } + ], + [ + { + "x":0.09765625, + "y":0.66015625 + }, + { + "x":0.08984375, + "y":0.685546875 + }, + { + "x":0.095703125, + "y":0.5859375 + } + ], + [ + { + "x":0.095703125, + "y":0.5859375 + }, + { + "x":0.158203125, + "y":0.65234375 + }, + { + "x":0.150390625, + "y":0.65625 + }, + { + "x":0.09765625, + "y":0.66015625 + } + ], + [ + { + "x":0.0546875, + "y":0.55078125 + }, + { + "x":0.0078125, + "y":0.55078125 + }, + { + "x":0, + "y":0.537109375 + }, + { + "x":0.009765625, + "y":0.4375 + }, + { + "x":0.033203125, + "y":0.310546875 + }, + { + "x":0.064453125, + "y":0.19921875 + } + ], + [ + { + "x":0.064453125, + "y":0.19921875 + }, + { + "x":0.1015625, + "y":0.099609375 + }, + { + "x":0.150390625, + "y":0.0078125 + }, + { + "x":0.15625, + "y":0.015625 + }, + { + "x":0.1328125, + "y":0.169921875 + }, + { + "x":0.0546875, + "y":0.55078125 + } + ], + [ + { + "x":0.1328125, + "y":0.169921875 + }, + { + "x":0.1328125, + "y":0.31640625 + }, + { + "x":0.06640625, + "y":0.5625 + }, + { + "x":0.0546875, + "y":0.55078125 + } + ], + [ + { + "x":0.1328125, + "y":0.31640625 + }, + { + "x":0.140625, + "y":0.318359375 + }, + { + "x":0.150390625, + "y":0.34765625 + }, + { + "x":0.15234375, + "y":0.474609375 + }, + { + "x":0.095703125, + "y":0.5859375 + }, + { + "x":0.06640625, + "y":0.583984375 + }, + { + "x":0.06640625, + "y":0.5625 + } + ], + [ + { + "x":0.15234375, + "y":0.474609375 + }, + { + "x":0.1640625, + "y":0.505859375 + }, + { + "x":0.19781501591205597, + "y":0.6296185851097107 + }, + { + "x":0.1796875, + "y":0.662109375 + }, + { + "x":0.158203125, + "y":0.65234375 + }, + { + "x":0.095703125, + "y":0.5859375 + } + ], + [ + { + "x":0.2109375, + "y":0.677734375 + }, + { + "x":0.17578125, + "y":0.71875 + }, + { + "x":0.1796875, + "y":0.662109375 + }, + { + "x":0.19781501591205597, + "y":0.6296185851097107 + } + ], + [ + { + "x":0.1640625, + "y":0.505859375 + }, + { + "x":0.1953125, + "y":0.54296875 + }, + { + "x":0.2421875, + "y":0.70703125 + }, + { + "x":0.2109375, + "y":0.677734375 + } + ], + [ + { + "x":0.1953125, + "y":0.54296875 + }, + { + "x":0.248046875, + "y":0.58203125 + }, + { + "x":0.27734375, + "y":0.75390625 + }, + { + "x":0.25390625, + "y":0.73046875 + }, + { + "x":0.2421875, + "y":0.70703125 + } + ], + [ + { + "x":0.27734375, + "y":0.75390625 + }, + { + "x":0.2578125, + "y":0.779296875 + }, + { + "x":0.25390625, + "y":0.73046875 + } + ], + [ + { + "x":0.248046875, + "y":0.58203125 + }, + { + "x":0.2890625, + "y":0.599609375 + }, + { + "x":0.294921875, + "y":0.779296875 + }, + { + "x":0.27734375, + "y":0.75390625 + } + ], + [ + { + "x":0.357421875, + "y":0.27734375 + }, + { + "x":0.357421875, + "y":0.25390625 + }, + { + "x":0.369140625, + "y":0.248046875 + }, + { + "x":0.37890625, + "y":0.255859375 + }, + { + "x":0.384765625, + "y":0.2890625 + } + ], + [ + { + "x":0.384765625, + "y":0.2890625 + }, + { + "x":0.3828125, + "y":0.326171875 + }, + { + "x":0.353515625, + "y":0.328125 + }, + { + "x":0.349609375, + "y":0.283203125 + }, + { + "x":0.357421875, + "y":0.27734375 + } + ], + [ + { + "x":0.3828125, + "y":0.326171875 + }, + { + "x":0.34765625, + "y":0.51171875 + }, + { + "x":0.33984375, + "y":0.42578125 + }, + { + "x":0.34375, + "y":0.33984375 + }, + { + "x":0.353515625, + "y":0.328125 + } + ], + [ + { + "x":0.392578125, + "y":0.328125 + }, + { + "x":0.41015625, + "y":0.306640625 + }, + { + "x":0.341796875, + "y":0.548828125 + }, + { + "x":0.34765625, + "y":0.51171875 + } + ], + [ + { + "x":0.34765625, + "y":0.51171875 + }, + { + "x":0.3828125, + "y":0.326171875 + }, + { + "x":0.392578125, + "y":0.328125 + } + ], + [ + { + "x":0.431640625, + "y":0.25390625 + }, + { + "x":0.44140625, + "y":0.1953125 + }, + { + "x":0.453125, + "y":0.185546875 + }, + { + "x":0.466796875, + "y":0.189453125 + } + ], + [ + { + "x":0.466796875, + "y":0.189453125 + }, + { + "x":0.478515625, + "y":0.150390625 + }, + { + "x":0.4921875, + "y":0.134765625 + }, + { + "x":0.50390625, + "y":0.134765625 + }, + { + "x":0.51953125, + "y":0.150390625 + }, + { + "x":0.53515625, + "y":0.19140625 + } + ], + [ + { + "x":0.53515625, + "y":0.19140625 + }, + { + "x":0.54296875, + "y":0.185546875 + }, + { + "x":0.55859375, + "y":0.19921875 + }, + { + "x":0.56640625, + "y":0.224609375 + }, + { + "x":0.56640625, + "y":0.25390625 + } + ], + [ + { + "x":0.619140625, + "y":0.279296875 + }, + { + "x":0.62109375, + "y":0.251953125 + }, + { + "x":0.630859375, + "y":0.248046875 + }, + { + "x":0.640625, + "y":0.2578125 + }, + { + "x":0.640625, + "y":0.279296875 + } + ], + [ + { + "x":0.640625, + "y":0.279296875 + }, + { + "x":0.6484375, + "y":0.287109375 + }, + { + "x":0.650390625, + "y":0.33203125 + }, + { + "x":0.615234375, + "y":0.326171875 + }, + { + "x":0.61328125, + "y":0.283203125 + }, + { + "x":0.619140625, + "y":0.279296875 + } + ], + [ + { + "x":0.650390625, + "y":0.33203125 + }, + { + "x":0.658203125, + "y":0.396484375 + }, + { + "x":0.607421875, + "y":0.330078125 + }, + { + "x":0.615234375, + "y":0.326171875 + } + ], + [ + { + "x":0.658203125, + "y":0.396484375 + }, + { + "x":0.658203125, + "y":0.501953125 + }, + { + "x":0.650390625, + "y":0.513671875 + }, + { + "x":0.3359375, + "y":0.5703125 + }, + { + "x":0.341796875, + "y":0.548828125 + } + ], + [ + { + "x":0.341796875, + "y":0.548828125 + }, + { + "x":0.41015625, + "y":0.306640625 + }, + { + "x":0.431640625, + "y":0.25390625 + }, + { + "x":0.591796875, + "y":0.31640625 + }, + { + "x":0.607421875, + "y":0.330078125 + }, + { + "x":0.658203125, + "y":0.396484375 + } + ], + [ + { + "x":0.431640625, + "y":0.25390625 + }, + { + "x":0.466796875, + "y":0.189453125 + }, + { + "x":0.53515625, + "y":0.19140625 + }, + { + "x":0.56640625, + "y":0.25390625 + }, + { + "x":0.591796875, + "y":0.31640625 + } + ], + [ + { + "x":0.650390625, + "y":0.513671875 + }, + { + "x":0.65234375, + "y":0.548828125 + }, + { + "x":0.32421875, + "y":0.5859375 + }, + { + "x":0.326171875, + "y":0.572265625 + }, + { + "x":0.3359375, + "y":0.5703125 + } + ], + [ + { + "x":0.865234375, + "y":0.166015625 + }, + { + "x":0.841796875, + "y":0.0078125 + }, + { + "x":0.861328125, + "y":0.029296875 + }, + { + "x":0.896484375, + "y":0.099609375 + } + ], + [ + { + "x":0.896484375, + "y":0.099609375 + }, + { + "x":0.9375, + "y":0.2109375 + }, + { + "x":0.96484375, + "y":0.310546875 + }, + { + "x":0.865234375, + "y":0.294921875 + }, + { + "x":0.865234375, + "y":0.166015625 + } + ], + [ + { + "x":0.96484375, + "y":0.310546875 + }, + { + "x":0.98828125, + "y":0.4375 + }, + { + "x":0.998046875, + "y":0.54296875 + }, + { + "x":0.990234375, + "y":0.55078125 + }, + { + "x":0.943359375, + "y":0.55078125 + }, + { + "x":0.84765625, + "y":0.458984375 + }, + { + "x":0.84765625, + "y":0.341796875 + }, + { + "x":0.865234375, + "y":0.294921875 + } + ], + [ + { + "x":0.943359375, + "y":0.55078125 + }, + { + "x":0.931640625, + "y":0.564453125 + }, + { + "x":0.841796875, + "y":0.48828125 + }, + { + "x":0.84765625, + "y":0.458984375 + } + ], + [ + { + "x":0.931640625, + "y":0.564453125 + }, + { + "x":0.9296875, + "y":0.5859375 + }, + { + "x":0.8984375, + "y":0.58984375 + }, + { + "x":0.82421875, + "y":0.517578125 + }, + { + "x":0.841796875, + "y":0.48828125 + } + ], + [ + { + "x":0.837890625, + "y":0.65234375 + }, + { + "x":0.82421875, + "y":0.658203125 + }, + { + "x":0.78125, + "y":0.560546875 + }, + { + "x":0.82421875, + "y":0.517578125 + }, + { + "x":0.8786652684211731, + "y":0.5705918073654175 + } + ], + [ + { + "x":0.8786652684211731, + "y":0.5705918073654175 + }, + { + "x":0.84765625, + "y":0.66015625 + }, + { + "x":0.837890625, + "y":0.65234375 + } + ], + [ + { + "x":0.8786652684211731, + "y":0.5705918073654175 + }, + { + "x":0.896484375, + "y":0.66015625 + }, + { + "x":0.896484375, + "y":0.68359375 + }, + { + "x":0.873046875, + "y":0.69140625 + }, + { + "x":0.84765625, + "y":0.6875 + }, + { + "x":0.84765625, + "y":0.66015625 + } + ], + [ + { + "x":0.8984375, + "y":0.58984375 + }, + { + "x":0.908203125, + "y":0.642578125 + }, + { + "x":0.904296875, + "y":0.68359375 + }, + { + "x":0.896484375, + "y":0.66015625 + }, + { + "x":0.8786652684211731, + "y":0.5705918073654175 + } + ], + [ + { + "x":0.822265625, + "y":0.673828125 + }, + { + "x":0.857421875, + "y":0.7578125 + }, + { + "x":0.857421875, + "y":0.783203125 + }, + { + "x":0.798828125, + "y":0.677734375 + } + ], + [ + { + "x":0.798828125, + "y":0.677734375 + }, + { + "x":0.74609375, + "y":0.583984375 + }, + { + "x":0.78125, + "y":0.560546875 + }, + { + "x":0.82421875, + "y":0.658203125 + }, + { + "x":0.822265625, + "y":0.673828125 + } + ], + [ + { + "x":0.798828125, + "y":0.677734375 + }, + { + "x":0.75390625, + "y":0.708984375 + }, + { + "x":0.701171875, + "y":0.599609375 + }, + { + "x":0.74609375, + "y":0.583984375 + } + ], + [ + { + "x":0.7421875, + "y":0.7265625 + }, + { + "x":0.765625, + "y":0.828125 + }, + { + "x":0.759765625, + "y":0.830078125 + }, + { + "x":0.7265625, + "y":0.751953125 + }, + { + "x":0.681640625, + "y":0.595703125 + }, + { + "x":0.701171875, + "y":0.599609375 + } + ], + [ + { + "x":0.701171875, + "y":0.599609375 + }, + { + "x":0.75390625, + "y":0.708984375 + }, + { + "x":0.7421875, + "y":0.7265625 + } + ], + [ + { + "x":0.69921875, + "y":0.798828125 + }, + { + "x":0.6953125, + "y":0.873046875 + }, + { + "x":0.6640625, + "y":0.873046875 + } + ], + [ + { + "x":0.6640625, + "y":0.873046875 + }, + { + "x":0.6484375, + "y":0.880859375 + }, + { + "x":0.662109375, + "y":0.5703125 + }, + { + "x":0.671875, + "y":0.57421875 + }, + { + "x":0.681640625, + "y":0.595703125 + }, + { + "x":0.70703125, + "y":0.7734375 + }, + { + "x":0.69921875, + "y":0.798828125 + } + ], + [ + { + "x":0.681640625, + "y":0.595703125 + }, + { + "x":0.7265625, + "y":0.751953125 + }, + { + "x":0.70703125, + "y":0.7734375 + } + ], + [ + { + "x":0.62109375, + "y":0.966796875 + }, + { + "x":0.62109375, + "y":0.9921875 + }, + { + "x":0.578125, + "y":1 + } + ], + [ + { + "x":0.578125, + "y":1 + }, + { + "x":0.53125, + "y":0.99609375 + }, + { + "x":0.52734375, + "y":0.955078125 + }, + { + "x":0.630859375, + "y":0.953125 + }, + { + "x":0.62109375, + "y":0.966796875 + } + ], + [ + { + "x":0.52734375, + "y":0.955078125 + }, + { + "x":0.513671875, + "y":0.943359375 + }, + { + "x":0.513671875, + "y":0.890625 + }, + { + "x":0.640625, + "y":0.890625 + }, + { + "x":0.640625, + "y":0.951171875 + }, + { + "x":0.630859375, + "y":0.953125 + } + ], + [ + { + "x":0.5078125, + "y":0.880859375 + }, + { + "x":0.30859375, + "y":0.599609375 + }, + { + "x":0.32421875, + "y":0.5859375 + }, + { + "x":0.65234375, + "y":0.548828125 + }, + { + "x":0.662109375, + "y":0.55078125 + }, + { + "x":0.662109375, + "y":0.5703125 + }, + { + "x":0.6484375, + "y":0.880859375 + }, + { + "x":0.640625, + "y":0.890625 + } + ], + [ + { + "x":0.640625, + "y":0.890625 + }, + { + "x":0.513671875, + "y":0.890625 + }, + { + "x":0.5078125, + "y":0.880859375 + } + ], + [ + { + "x":0.5078125, + "y":0.880859375 + }, + { + "x":0.337890625, + "y":0.880859375 + }, + { + "x":0.33203125, + "y":0.873046875 + }, + { + "x":0.294921875, + "y":0.779296875 + }, + { + "x":0.2890625, + "y":0.599609375 + }, + { + "x":0.30859375, + "y":0.599609375 + } + ], + [ + { + "x":0.4921875, + "y":0.880859375 + }, + { + "x":0.484375, + "y":0.892578125 + }, + { + "x":0.373046875, + "y":0.953125 + }, + { + "x":0.359375, + "y":0.9453125 + }, + { + "x":0.357421875, + "y":0.880859375 + } + ], + [ + { + "x":0.484375, + "y":0.892578125 + }, + { + "x":0.484375, + "y":0.953125 + }, + { + "x":0.466796875, + "y":0.966796875 + }, + { + "x":0.376953125, + "y":0.99609375 + }, + { + "x":0.373046875, + "y":0.953125 + } + ], + [ + { + "x":0.466796875, + "y":0.966796875 + }, + { + "x":0.466796875, + "y":0.9921875 + }, + { + "x":0.453125, + "y":1 + }, + { + "x":0.376953125, + "y":1 + }, + { + "x":0.376953125, + "y":0.99609375 + } + ] + ], + "circles":[ + + ], + "shapes":[ + { + "type":"POLYGON", + "vertices":[ + { + "x":0.376953125, + "y":1 + }, + { + "x":0.453125, + "y":1 + }, + { + "x":0.466796875, + "y":0.9921875 + }, + { + "x":0.466796875, + "y":0.966796875 + }, + { + "x":0.484375, + "y":0.953125 + }, + { + "x":0.484375, + "y":0.892578125 + }, + { + "x":0.4921875, + "y":0.880859375 + }, + { + "x":0.5078125, + "y":0.880859375 + }, + { + "x":0.513671875, + "y":0.890625 + }, + { + "x":0.513671875, + "y":0.943359375 + }, + { + "x":0.52734375, + "y":0.955078125 + }, + { + "x":0.53125, + "y":0.99609375 + }, + { + "x":0.578125, + "y":1 + }, + { + "x":0.62109375, + "y":0.9921875 + }, + { + "x":0.62109375, + "y":0.966796875 + }, + { + "x":0.630859375, + "y":0.953125 + }, + { + "x":0.640625, + "y":0.951171875 + }, + { + "x":0.640625, + "y":0.890625 + }, + { + "x":0.6484375, + "y":0.880859375 + }, + { + "x":0.6640625, + "y":0.873046875 + }, + { + "x":0.6953125, + "y":0.873046875 + }, + { + "x":0.69921875, + "y":0.798828125 + }, + { + "x":0.70703125, + "y":0.7734375 + }, + { + "x":0.7265625, + "y":0.751953125 + }, + { + "x":0.759765625, + "y":0.830078125 + }, + { + "x":0.765625, + "y":0.828125 + }, + { + "x":0.7421875, + "y":0.7265625 + }, + { + "x":0.75390625, + "y":0.708984375 + }, + { + "x":0.798828125, + "y":0.677734375 + }, + { + "x":0.857421875, + "y":0.783203125 + }, + { + "x":0.857421875, + "y":0.7578125 + }, + { + "x":0.822265625, + "y":0.673828125 + }, + { + "x":0.82421875, + "y":0.658203125 + }, + { + "x":0.837890625, + "y":0.65234375 + }, + { + "x":0.84765625, + "y":0.66015625 + }, + { + "x":0.84765625, + "y":0.6875 + }, + { + "x":0.873046875, + "y":0.69140625 + }, + { + "x":0.896484375, + "y":0.68359375 + }, + { + "x":0.896484375, + "y":0.66015625 + }, + { + "x":0.904296875, + "y":0.68359375 + }, + { + "x":0.908203125, + "y":0.642578125 + }, + { + "x":0.8984375, + "y":0.58984375 + }, + { + "x":0.9296875, + "y":0.5859375 + }, + { + "x":0.931640625, + "y":0.564453125 + }, + { + "x":0.943359375, + "y":0.55078125 + }, + { + "x":0.990234375, + "y":0.55078125 + }, + { + "x":0.998046875, + "y":0.54296875 + }, + { + "x":0.98828125, + "y":0.4375 + }, + { + "x":0.96484375, + "y":0.310546875 + }, + { + "x":0.9375, + "y":0.2109375 + }, + { + "x":0.896484375, + "y":0.099609375 + }, + { + "x":0.861328125, + "y":0.029296875 + }, + { + "x":0.841796875, + "y":0.0078125 + }, + { + "x":0.865234375, + "y":0.166015625 + }, + { + "x":0.865234375, + "y":0.294921875 + }, + { + "x":0.84765625, + "y":0.341796875 + }, + { + "x":0.84765625, + "y":0.458984375 + }, + { + "x":0.841796875, + "y":0.48828125 + }, + { + "x":0.82421875, + "y":0.517578125 + }, + { + "x":0.78125, + "y":0.560546875 + }, + { + "x":0.74609375, + "y":0.583984375 + }, + { + "x":0.701171875, + "y":0.599609375 + }, + { + "x":0.681640625, + "y":0.595703125 + }, + { + "x":0.671875, + "y":0.57421875 + }, + { + "x":0.662109375, + "y":0.5703125 + }, + { + "x":0.662109375, + "y":0.55078125 + }, + { + "x":0.65234375, + "y":0.548828125 + }, + { + "x":0.650390625, + "y":0.513671875 + }, + { + "x":0.658203125, + "y":0.501953125 + }, + { + "x":0.658203125, + "y":0.396484375 + }, + { + "x":0.650390625, + "y":0.33203125 + }, + { + "x":0.6484375, + "y":0.287109375 + }, + { + "x":0.640625, + "y":0.279296875 + }, + { + "x":0.640625, + "y":0.2578125 + }, + { + "x":0.630859375, + "y":0.248046875 + }, + { + "x":0.62109375, + "y":0.251953125 + }, + { + "x":0.619140625, + "y":0.279296875 + }, + { + "x":0.61328125, + "y":0.283203125 + }, + { + "x":0.615234375, + "y":0.326171875 + }, + { + "x":0.607421875, + "y":0.330078125 + }, + { + "x":0.591796875, + "y":0.31640625 + }, + { + "x":0.56640625, + "y":0.25390625 + }, + { + "x":0.56640625, + "y":0.224609375 + }, + { + "x":0.55859375, + "y":0.19921875 + }, + { + "x":0.54296875, + "y":0.185546875 + }, + { + "x":0.53515625, + "y":0.19140625 + }, + { + "x":0.51953125, + "y":0.150390625 + }, + { + "x":0.50390625, + "y":0.134765625 + }, + { + "x":0.4921875, + "y":0.134765625 + }, + { + "x":0.478515625, + "y":0.150390625 + }, + { + "x":0.466796875, + "y":0.189453125 + }, + { + "x":0.453125, + "y":0.185546875 + }, + { + "x":0.44140625, + "y":0.1953125 + }, + { + "x":0.431640625, + "y":0.25390625 + }, + { + "x":0.41015625, + "y":0.306640625 + }, + { + "x":0.392578125, + "y":0.328125 + }, + { + "x":0.3828125, + "y":0.326171875 + }, + { + "x":0.384765625, + "y":0.2890625 + }, + { + "x":0.37890625, + "y":0.255859375 + }, + { + "x":0.369140625, + "y":0.248046875 + }, + { + "x":0.357421875, + "y":0.25390625 + }, + { + "x":0.357421875, + "y":0.27734375 + }, + { + "x":0.349609375, + "y":0.283203125 + }, + { + "x":0.353515625, + "y":0.328125 + }, + { + "x":0.34375, + "y":0.33984375 + }, + { + "x":0.33984375, + "y":0.42578125 + }, + { + "x":0.34765625, + "y":0.51171875 + }, + { + "x":0.341796875, + "y":0.548828125 + }, + { + "x":0.3359375, + "y":0.5703125 + }, + { + "x":0.326171875, + "y":0.572265625 + }, + { + "x":0.32421875, + "y":0.5859375 + }, + { + "x":0.30859375, + "y":0.599609375 + }, + { + "x":0.2890625, + "y":0.599609375 + }, + { + "x":0.248046875, + "y":0.58203125 + }, + { + "x":0.1953125, + "y":0.54296875 + }, + { + "x":0.1640625, + "y":0.505859375 + }, + { + "x":0.15234375, + "y":0.474609375 + }, + { + "x":0.150390625, + "y":0.34765625 + }, + { + "x":0.140625, + "y":0.318359375 + }, + { + "x":0.1328125, + "y":0.31640625 + }, + { + "x":0.1328125, + "y":0.169921875 + }, + { + "x":0.15625, + "y":0.015625 + }, + { + "x":0.150390625, + "y":0.0078125 + }, + { + "x":0.1015625, + "y":0.099609375 + }, + { + "x":0.064453125, + "y":0.19921875 + }, + { + "x":0.033203125, + "y":0.310546875 + }, + { + "x":0.009765625, + "y":0.4375 + }, + { + "x":0, + "y":0.537109375 + }, + { + "x":0.0078125, + "y":0.55078125 + }, + { + "x":0.0546875, + "y":0.55078125 + }, + { + "x":0.06640625, + "y":0.5625 + }, + { + "x":0.06640625, + "y":0.583984375 + }, + { + "x":0.095703125, + "y":0.5859375 + }, + { + "x":0.08984375, + "y":0.685546875 + }, + { + "x":0.09765625, + "y":0.66015625 + }, + { + "x":0.1015625, + "y":0.689453125 + }, + { + "x":0.138671875, + "y":0.69140625 + }, + { + "x":0.150390625, + "y":0.68359375 + }, + { + "x":0.150390625, + "y":0.65625 + }, + { + "x":0.158203125, + "y":0.65234375 + }, + { + "x":0.1796875, + "y":0.662109375 + }, + { + "x":0.14453125, + "y":0.74609375 + }, + { + "x":0.140625, + "y":0.783203125 + }, + { + "x":0.17578125, + "y":0.71875 + }, + { + "x":0.2109375, + "y":0.677734375 + }, + { + "x":0.2421875, + "y":0.70703125 + }, + { + "x":0.25390625, + "y":0.73046875 + }, + { + "x":0.236328125, + "y":0.798828125 + }, + { + "x":0.23828125, + "y":0.830078125 + }, + { + "x":0.2578125, + "y":0.779296875 + }, + { + "x":0.27734375, + "y":0.75390625 + }, + { + "x":0.294921875, + "y":0.779296875 + }, + { + "x":0.298828125, + "y":0.865234375 + }, + { + "x":0.306640625, + "y":0.873046875 + }, + { + "x":0.33203125, + "y":0.873046875 + }, + { + "x":0.337890625, + "y":0.880859375 + }, + { + "x":0.357421875, + "y":0.880859375 + }, + { + "x":0.359375, + "y":0.9453125 + }, + { + "x":0.373046875, + "y":0.953125 + }, + { + "x":0.376953125, + "y":0.99609375 + } + ] + } + ] + }, + "dynamicObjects":[ + + ] +} \ No newline at end of file diff --git a/modules/formic/assets/ships/formicStation/formicStation.png b/modules/formic/assets/ships/formicStation/formicStation.png new file mode 100644 index 000000000..7a236dcde Binary files /dev/null and b/modules/formic/assets/ships/formicStation/formicStation.png differ diff --git a/modules/formic/assets/ships/formicStation/formicStationIcon.png b/modules/formic/assets/ships/formicStation/formicStationIcon.png new file mode 100644 index 000000000..045778eb1 Binary files /dev/null and b/modules/formic/assets/ships/formicStation/formicStationIcon.png differ diff --git a/modules/formic/assets/textures/projectiles/uraniumProjectile.png b/modules/formic/assets/textures/projectiles/uraniumProjectile.png new file mode 100644 index 000000000..d15df9cc0 Binary files /dev/null and b/modules/formic/assets/textures/projectiles/uraniumProjectile.png differ diff --git a/modules/formic/module.info b/modules/formic/module.info new file mode 100644 index 000000000..18f9f75eb --- /dev/null +++ b/modules/formic/module.info @@ -0,0 +1,6 @@ +{ + "id" : "formic", + "version" : "0.0.1", + "displayName" : "Formic Faction", + "description" : "Ships and other content to enable the formic faction in-game." +}