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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 600 B

After

Width:  |  Height:  |  Size: 600 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

View file

Before

Width:  |  Height:  |  Size: 670 B

After

Width:  |  Height:  |  Size: 670 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

View file

@ -288,3 +288,4 @@
63456=payload-conveyor|block-payload-conveyor-medium
63455=hyper-processor|block-hyper-processor-medium
63454=toxopid|unit-toxopid-medium
63453=vestige|unit-vestige-medium

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 KiB

After

Width:  |  Height:  |  Size: 657 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 994 KiB

After

Width:  |  Height:  |  Size: 986 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 310 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 189 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before After
Before After

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 2.1 MiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before After
Before After

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

View file

@ -224,7 +224,7 @@ public class ForceProjector extends Block{
@Replace
@Override
public float clipSize(){
return build.realRadius() * 2.5f;
return build.realRadius() * 3f;
}
}
}