Initial Vestige mech implementation

This commit is contained in:
Anuken
2020-09-04 14:27:55 -04:00
parent c7522ff89f
commit ee2b099799
21 changed files with 4308 additions and 4126 deletions

View File

@@ -1504,7 +1504,7 @@ public class Blocks implements ContentList{
hasPower = true;
size = 2;
force = 4f;
force = 4.5f;
scaledForce = 5.5f;
range = 170f;
damage = 0.1f;
@@ -1566,7 +1566,7 @@ public class Blocks implements ContentList{
consumes.power(3f);
size = 2;
shootLength = 5f;
bulletDamage = 16f;
bulletDamage = 18f;
reloadTime = 15f;
health = 190 * size * size;
}};

View File

@@ -130,6 +130,61 @@ public class UnitTypes implements ContentList{
}});
}};
vestige = new UnitType("vestige"){{
speed = 0.35f;
hitsize = 20f;
rotateSpeed = 1.9f;
targetAir = false;
health = 9000;
armor = 14f;
weapons.add(
new Weapon("chaos"){{
y = 1f;
x = 16f;
shootY = 8f;
reload = 50f;
recoil = 5f;
shake = 2f;
ejectEffect = Fx.shellEjectBig;
shootSound = Sounds.artillery;
shots = 3;
inaccuracy = 3f;
shotDelay = 4f;
bullet = new BasicBulletType(7f, 40){{
width = 11f;
height = 20f;
lifetime = 25f;
shootEffect = Fx.shootBig;
lightning = 2;
lightningLength = 6;
lightningColor = Pal.surge;
//standard bullet damage is far too much for lightning
lightningDamage = 17;
}};
}},
new Weapon("mount-weapon"){{
reload = 13f;
x = 8.5f;
y = 6f;
rotate = true;
ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardCopper;
}},
new Weapon("mount-weapon"){{
reload = 16f;
x = 8.5f;
y = -7f;
rotate = true;
ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardCopper;
}}
);
}};
//endregion
//region ground support