Boss weapon tweaks

This commit is contained in:
Anuken
2020-08-02 21:54:33 -04:00
parent f97d1eedee
commit 3966ff6817
13 changed files with 1879 additions and 1801 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 KiB

After

Width:  |  Height:  |  Size: 609 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -1460,6 +1460,7 @@ public class Blocks implements ContentList{
hitSize = 4; hitSize = 4;
lifetime = 16f; lifetime = 16f;
drawSize = 400f; drawSize = 400f;
collidesAir = false;
}}; }};
}}; }};

View File

@@ -530,7 +530,7 @@ public class UnitTypes implements ContentList{
speed = 1.25f; speed = 1.25f;
accel = 0.035f; accel = 0.035f;
drag = 0.05f; drag = 0.05f;
rotateSpeed = 2f; rotateSpeed = 1.9f;
flying = true; flying = true;
lowAltitude = true; lowAltitude = true;
health = 9000; health = 9000;
@@ -570,7 +570,11 @@ public class UnitTypes implements ContentList{
shake = 1f; shake = 1f;
rotateSpeed = 2f; rotateSpeed = 2f;
ejectEffect = Fx.shellEjectSmall; ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardDenseBig; bullet = new BasicBulletType(7f, 35){{
width = 12f;
height = 18f;
shootEffect = Fx.shootBig;
}};
shootSound = Sounds.shootBig; shootSound = Sounds.shootBig;
rotate = true; rotate = true;
occlusion = 8f; occlusion = 8f;
@@ -582,7 +586,7 @@ public class UnitTypes implements ContentList{
speed = 1.1f; speed = 1.1f;
accel = 0.02f; accel = 0.02f;
drag = 0.05f; drag = 0.05f;
rotateSpeed = 1.5f; rotateSpeed = 1f;
flying = true; flying = true;
lowAltitude = true; lowAltitude = true;
health = 18000; health = 18000;
@@ -592,12 +596,74 @@ public class UnitTypes implements ContentList{
destructibleWreck = false; destructibleWreck = false;
armor = 13f; armor = 13f;
weapons.add(new Weapon(){{ weapons.add(
y = 1.5f; new Weapon("large-laser-mount"){{
reload = 28f; shake = 4f;
shootY = 9f;
x = 18f;
y = 5f;
rotateSpeed = 2f;
reload = 50f;
recoil = 4f;
shootSound = Sounds.laser;
occlusion = 18f;
rotate = true;
bullet = new LaserBulletType(){{
damage = 40f;
sideAngle = 20f;
sideWidth = 1.5f;
sideLength = 80f;
width = 25f;
length = 200f;
shootEffect = Fx.shockwave;
colors = new Color[]{Color.valueOf("ec7458aa"), Color.valueOf("ff9c5a"), Color.white};
}};
}},
new Weapon("missiles-mount"){{
x = 11f;
y = 27f;
rotateSpeed = 2f;
reload = 5f;
shootSound = Sounds.flame;
occlusion = 7f;
rotate = true;
recoil = 0.5f;
bullet = Bullets.pyraFlame;
}},
new Weapon("large-artillery"){{
y = -13f;
x = 20f;
reload = 18f;
ejectEffect = Fx.shellEjectSmall; ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardCopper; rotateSpeed = 7f;
shake = 1f;
shootSound = Sounds.shoot; shootSound = Sounds.shoot;
rotate = true;
occlusion = 12f;
bullet = new ArtilleryBulletType(3.2f, 12){{
trailMult = 0.8f;
hitEffect = Fx.massiveExplosion;
knockback = 1.5f;
lifetime = 140f;
height = 12f;
width = 12f;
collidesTiles = false;
ammoMultiplier = 4f;
splashDamageRadius = 45f;
splashDamage = 70f;
backColor = Pal.missileYellowBack;
frontColor = Pal.missileYellow;
trailEffect = Fx.artilleryTrail;
trailSize = 6f;
hitShake = 4f;
shootEffect = Fx.shootBig2;
status = StatusEffects.blasted;
statusDuration = 60f;
}};
}}); }});
}}; }};
@@ -889,7 +955,6 @@ public class UnitTypes implements ContentList{
//region core //region core
alpha = new UnitType("alpha"){{ alpha = new UnitType("alpha"){{
//TODO maybe these should be changed
defaultController = BuilderAI::new; defaultController = BuilderAI::new;
isCounted = false; isCounted = false;
@@ -923,7 +988,6 @@ public class UnitTypes implements ContentList{
}}; }};
beta = new UnitType("beta"){{ beta = new UnitType("beta"){{
//TODO maybe these should be changed
defaultController = BuilderAI::new; defaultController = BuilderAI::new;
isCounted = false; isCounted = false;
@@ -963,7 +1027,6 @@ public class UnitTypes implements ContentList{
}}; }};
gamma = new UnitType("gamma"){{ gamma = new UnitType("gamma"){{
//TODO maybe these should be changed
defaultController = BuilderAI::new; defaultController = BuilderAI::new;
isCounted = false; isCounted = false;