From d3cf9858d5af64350e33015cf33f46c9c2d48e91 Mon Sep 17 00:00:00 2001 From: ManuWar73 <111298180+ManuWar73@users.noreply.github.com> Date: Mon, 24 Oct 2022 17:35:30 +0200 Subject: [PATCH] Added a new player --- content/units/boss2.json | 2 +- content/units/boss2nd.json | 2 +- content/units/boss2rd.json | 2 +- content/units/player2.json | 215 +++++++++++++++++++++++++++++++++++++ 4 files changed, 218 insertions(+), 3 deletions(-) create mode 100644 content/units/player2.json diff --git a/content/units/boss2.json b/content/units/boss2.json index 1d74226..f4ec2c9 100644 --- a/content/units/boss2.json +++ b/content/units/boss2.json @@ -10,7 +10,7 @@ "speed": 0.80, "lowAltitude": true, "hitSize": 144, - "health": 36000, + "health": 46000, "accel": 0.1, "createWreck" : true, "createScorch" : false, diff --git a/content/units/boss2nd.json b/content/units/boss2nd.json index 08145b8..bda90a6 100644 --- a/content/units/boss2nd.json +++ b/content/units/boss2nd.json @@ -10,7 +10,7 @@ "speed": 0.80, "lowAltitude": true, "hitSize": 144, - "health": 36000, + "health": 46000, "accel": 0.1, "createWreck" : true, "createScorch" : false, diff --git a/content/units/boss2rd.json b/content/units/boss2rd.json index 8977e5f..67cd5a9 100644 --- a/content/units/boss2rd.json +++ b/content/units/boss2rd.json @@ -10,7 +10,7 @@ "speed": 1.5, "lowAltitude": true, "hitSize": 144, - "health": 36000, + "health": 56000, "accel": 0.1, "circleTarget": true, "createWreck" : true, diff --git a/content/units/player2.json b/content/units/player2.json new file mode 100644 index 0000000..df5a43c --- /dev/null +++ b/content/units/player2.json @@ -0,0 +1,215 @@ +{ + "localizedName": "Player 2.0", + "description": "Faster shooter? Aright. we met our even more destructive weapon.", + "research": { + "requirements": [ + "silicon/20000" + ] + }, + "type": "flying", + "speed": 6.2, + "lowAltitude": true, + "hitSize": 1, + "health": 750, + "accel": 0.07, + "faceTarget": true, + "drag": 0.04, + "engineOffset": 0, + "engineSize": 0, + "aimDst": 240, + "range": 320, + "targetAir": true, + "targetGround": false, + "outlineColor": "00000000", + "rotateSpeed": 15, + "flying": true, + "parts":[ + { + "type": "shapePart", + "hollow": true, + "circle": false, + "sides": 6, + "rotateSpeed": -3, + "layer": 110, + "color": "ffe657", + "stroke": 3, + "strokeTo": 3, + "radiusTo": 24, + "radius": 24 + }, + { + "type": "shapePart", + "hollow": true, + "circle": false, + "sides": 6, + "rotateSpeed": 3, + "layer": 110, + "color": "ffe657", + "stroke": 3, + "strokeTo": 3, + "radiusTo": 24, + "radius": 24 + }], + "weapons": [ + { + "name": "shooter", + "reload": 1, + "mirror": false, + "x": 0, + "y": 3, + "shootY": 3, + "recoil": 2, + "shake": 1, + "rotate": false, + "shootSound": "lasershoot", + "shootCone": 45, + "shoot": { + "shots" : 1 + }, + "bullet": { + "name": "laser", + "type": "BasicBulletType", + "width": 24, + "height": 30, + "sprite": "sharded-triarrow", + "frontColor": "ffe657", + "backColor": "ffe657", + "lifetime": 80, + "speed": 12, + "damage": 40, + "collidesGround": true, + "shrinkY": 0, + "shrinkX": 0, + "powerDamageScl": 0.3, + "powerSclDecrease": 0.1, + "unitDamageScl": 0.3, + "statusDuration": 100, + "shootEffect": "none" + }, + "hitEffect": { + "type": "ParticleEffect", + "line": true, + "particles": 7, + "lifetime": 20, + "offset": 50, + "length": 55, + "cone": -360, + "lenFrom": 6, + "lenTo": 0, + "colorFrom": "ffe657", + "colorTo": "ffffff" + }, + "trailColor": "ffe657", + "trailParam": 6, + "trailLength": 0, + "trailWidth": 3 + }, + { + "name": "shooter", + "reload": 0.5, + "mirror": true, + "x": 4, + "y": 1, + "shootY": 3, + "recoil": 2, + "shake": 1, + "rotate": false, + "alternate": false, + "shootSound": "lasershoot", + "shootCone": 45, + "shoot": { + "shots": 3, + "spread": 22.5 + }, + "bullet": { + "name": "laser", + "type": "BasicBulletType", + "width": 24, + "height": 30, + "sprite": "sharded-triarrow", + "frontColor": "ffe657", + "backColor": "ffe657", + "lifetime": 80, + "speed": 12, + "damage": 40, + "collidesGround": true, + "shrinkY": 0, + "shrinkX": 0, + "powerDamageScl": 0.3, + "powerSclDecrease": 0.1, + "unitDamageScl": 0.3, + "statusDuration": 100, + "shootEffect": "none" + } + + }, + { + "name": "homing", + "reload": 90, + "mirror": true, + "baseRotation": 135, + "x": 10, + "y": -7, + "shootY": 3, + "recoil": 2, + "shake": 1, + "rotate": false, + "alternate": false, + "shootSound": "laser", + "shootCone": 360, + "shoot": { + "type" : "ShootSpread", + "spread" : 5, + "shots" : 10 + }, + "bullet": { + "name": "hominglaser", + "type": "LaserBoltBulletType", + "width": 4, + "height": 12, + "frontColor": "ffe657", + "backColor": "ffe657", + "lifetime": 90, + "homingDelay": 4, + "homingPower": 0.3, + "homingRange": 1000, + "speed": 12, + "damage": 720, + "collidesGround": true, + "shrinkY": 0, + "shrinkX": 0, + "powerDamageScl": 0.3, + "powerSclDecrease": 0.1, + "unitDamageScl": 0.3, + "statusDuration": 100, + "shootEffect": "none", + "trailColor": "87ceebcc", + "trailLength": 9, + "trailWidth": 2 + } + + } + ], + "abilities": [ + { + "type": "EnergyFieldAbility", + "statusDuration": 5, + "shootSound": "none", + "healEffect": "none", + "damageEffect": "none", + "color": "f15454FF", + "maxTargets": 0, + "healPercent": 0, + "damage": 2.5, + "range": 0, + "sectors": 0, + "blinkScl": 80, + "rotateSpeed": 3, + "hitBuildings": false, + "sectorRad": 1, + "effectRadius": 1, + "reload": 60 + } + ] + } + \ No newline at end of file