Initial Vestige mech implementation
|
Before Width: | Height: | Size: 570 B |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 600 B |
BIN
core/assets-raw/sprites/units/vestige-cell.png
Normal file
|
After Width: | Height: | Size: 720 B |
|
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 670 B |
BIN
core/assets-raw/sprites/units/vestige.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -288,3 +288,4 @@
|
|||||||
63456=payload-conveyor|block-payload-conveyor-medium
|
63456=payload-conveyor|block-payload-conveyor-medium
|
||||||
63455=hyper-processor|block-hyper-processor-medium
|
63455=hyper-processor|block-hyper-processor-medium
|
||||||
63454=toxopid|unit-toxopid-medium
|
63454=toxopid|unit-toxopid-medium
|
||||||
|
63453=vestige|unit-vestige-medium
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 650 KiB After Width: | Height: | Size: 657 KiB |
|
Before Width: | Height: | Size: 994 KiB After Width: | Height: | Size: 986 KiB |
|
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 189 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
@@ -1504,7 +1504,7 @@ public class Blocks implements ContentList{
|
|||||||
|
|
||||||
hasPower = true;
|
hasPower = true;
|
||||||
size = 2;
|
size = 2;
|
||||||
force = 4f;
|
force = 4.5f;
|
||||||
scaledForce = 5.5f;
|
scaledForce = 5.5f;
|
||||||
range = 170f;
|
range = 170f;
|
||||||
damage = 0.1f;
|
damage = 0.1f;
|
||||||
@@ -1566,7 +1566,7 @@ public class Blocks implements ContentList{
|
|||||||
consumes.power(3f);
|
consumes.power(3f);
|
||||||
size = 2;
|
size = 2;
|
||||||
shootLength = 5f;
|
shootLength = 5f;
|
||||||
bulletDamage = 16f;
|
bulletDamage = 18f;
|
||||||
reloadTime = 15f;
|
reloadTime = 15f;
|
||||||
health = 190 * size * size;
|
health = 190 * size * size;
|
||||||
}};
|
}};
|
||||||
|
|||||||
@@ -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
|
//endregion
|
||||||
//region ground support
|
//region ground support
|
||||||
|
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ public class ForceProjector extends Block{
|
|||||||
@Replace
|
@Replace
|
||||||
@Override
|
@Override
|
||||||
public float clipSize(){
|
public float clipSize(){
|
||||||
return build.realRadius() * 2.5f;
|
return build.realRadius() * 3f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||