Flying boss tweaks
|
Before Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 609 KiB After Width: | Height: | Size: 609 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 180 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 189 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
@@ -539,14 +539,30 @@ public class UnitTypes implements ContentList{
|
|||||||
engineSize = 5.3f;
|
engineSize = 5.3f;
|
||||||
hitsize = 58f;
|
hitsize = 58f;
|
||||||
|
|
||||||
|
BulletType missiles = new MissileBulletType(2.7f, 10){{
|
||||||
|
width = 8f;
|
||||||
|
height = 8f;
|
||||||
|
shrinkY = 0f;
|
||||||
|
drag = -0.01f;
|
||||||
|
splashDamageRadius = 40f;
|
||||||
|
splashDamage = 40f;
|
||||||
|
ammoMultiplier = 4f;
|
||||||
|
lifetime = 80f;
|
||||||
|
hitEffect = Fx.blastExplosion;
|
||||||
|
despawnEffect = Fx.blastExplosion;
|
||||||
|
|
||||||
|
status = StatusEffects.blasted;
|
||||||
|
statusDuration = 60f;
|
||||||
|
}};
|
||||||
|
|
||||||
weapons.add(
|
weapons.add(
|
||||||
new Weapon("missiles-mount"){{
|
new Weapon("missiles-mount"){{
|
||||||
y = 8f;
|
y = 8f;
|
||||||
x = 17f;
|
x = 17f;
|
||||||
reload = 28f;
|
reload = 20f;
|
||||||
ejectEffect = Fx.shellEjectSmall;
|
ejectEffect = Fx.shellEjectSmall;
|
||||||
rotateSpeed = 8f;
|
rotateSpeed = 8f;
|
||||||
bullet = Bullets.missileExplosive;
|
bullet = missiles;
|
||||||
shootSound = Sounds.shoot;
|
shootSound = Sounds.shoot;
|
||||||
rotate = true;
|
rotate = true;
|
||||||
occlusion = 6f;
|
occlusion = 6f;
|
||||||
@@ -554,10 +570,10 @@ public class UnitTypes implements ContentList{
|
|||||||
new Weapon("missiles-mount"){{
|
new Weapon("missiles-mount"){{
|
||||||
y = -8f;
|
y = -8f;
|
||||||
x = 17f;
|
x = 17f;
|
||||||
reload = 42;
|
reload = 35;
|
||||||
rotateSpeed = 8f;
|
rotateSpeed = 8f;
|
||||||
ejectEffect = Fx.shellEjectSmall;
|
ejectEffect = Fx.shellEjectSmall;
|
||||||
bullet = Bullets.missileExplosive;
|
bullet = missiles;
|
||||||
shootSound = Sounds.shoot;
|
shootSound = Sounds.shoot;
|
||||||
rotate = true;
|
rotate = true;
|
||||||
occlusion = 6f;
|
occlusion = 6f;
|
||||||
@@ -570,14 +586,14 @@ public class UnitTypes implements ContentList{
|
|||||||
shake = 1f;
|
shake = 1f;
|
||||||
rotateSpeed = 2f;
|
rotateSpeed = 2f;
|
||||||
ejectEffect = Fx.shellEjectSmall;
|
ejectEffect = Fx.shellEjectSmall;
|
||||||
bullet = new BasicBulletType(7f, 35){{
|
shootSound = Sounds.shootBig;
|
||||||
|
rotate = true;
|
||||||
|
occlusion = 8f;
|
||||||
|
bullet = new BasicBulletType(7f, 60){{
|
||||||
width = 12f;
|
width = 12f;
|
||||||
height = 18f;
|
height = 18f;
|
||||||
shootEffect = Fx.shootBig;
|
shootEffect = Fx.shootBig;
|
||||||
}};
|
}};
|
||||||
shootSound = Sounds.shootBig;
|
|
||||||
rotate = true;
|
|
||||||
occlusion = 8f;
|
|
||||||
}}
|
}}
|
||||||
);
|
);
|
||||||
}};
|
}};
|
||||||
@@ -606,11 +622,11 @@ public class UnitTypes implements ContentList{
|
|||||||
reload = 50f;
|
reload = 50f;
|
||||||
recoil = 4f;
|
recoil = 4f;
|
||||||
shootSound = Sounds.laser;
|
shootSound = Sounds.laser;
|
||||||
occlusion = 18f;
|
occlusion = 20f;
|
||||||
rotate = true;
|
rotate = true;
|
||||||
|
|
||||||
bullet = new LaserBulletType(){{
|
bullet = new LaserBulletType(){{
|
||||||
damage = 40f;
|
damage = 75f;
|
||||||
sideAngle = 20f;
|
sideAngle = 20f;
|
||||||
sideWidth = 1.5f;
|
sideWidth = 1.5f;
|
||||||
sideLength = 80f;
|
sideLength = 80f;
|
||||||
@@ -624,7 +640,7 @@ public class UnitTypes implements ContentList{
|
|||||||
x = 11f;
|
x = 11f;
|
||||||
y = 27f;
|
y = 27f;
|
||||||
rotateSpeed = 2f;
|
rotateSpeed = 2f;
|
||||||
reload = 5f;
|
reload = 4f;
|
||||||
shootSound = Sounds.flame;
|
shootSound = Sounds.flame;
|
||||||
occlusion = 7f;
|
occlusion = 7f;
|
||||||
rotate = true;
|
rotate = true;
|
||||||
@@ -651,8 +667,8 @@ public class UnitTypes implements ContentList{
|
|||||||
width = 12f;
|
width = 12f;
|
||||||
collidesTiles = false;
|
collidesTiles = false;
|
||||||
ammoMultiplier = 4f;
|
ammoMultiplier = 4f;
|
||||||
splashDamageRadius = 45f;
|
splashDamageRadius = 60f;
|
||||||
splashDamage = 70f;
|
splashDamage = 80f;
|
||||||
backColor = Pal.missileYellowBack;
|
backColor = Pal.missileYellowBack;
|
||||||
frontColor = Pal.missileYellow;
|
frontColor = Pal.missileYellow;
|
||||||
trailEffect = Fx.artilleryTrail;
|
trailEffect = Fx.artilleryTrail;
|
||||||
|
|||||||