Antumbra weapons

This commit is contained in:
Anuken
2020-08-01 21:52:12 -04:00
parent a2df243387
commit a7c0f9e73c
14 changed files with 1587 additions and 1543 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 461 B

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 608 KiB

After

Width:  |  Height:  |  Size: 606 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: 30 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 180 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: 193 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

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 = 3.5f; rotateSpeed = 2f;
flying = true; flying = true;
lowAltitude = true; lowAltitude = true;
health = 9000; health = 9000;
@@ -539,20 +539,50 @@ public class UnitTypes implements ContentList{
engineSize = 5.3f; engineSize = 5.3f;
hitsize = 58f; hitsize = 58f;
weapons.add(new Weapon(){{ weapons.add(
y = 1.5f; new Weapon("missiles-mount"){{
y = 8f;
x = 17f;
reload = 28f; reload = 28f;
ejectEffect = Fx.shellEjectSmall; ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardCopper; rotateSpeed = 8f;
bullet = Bullets.missileExplosive;
shootSound = Sounds.shoot; shootSound = Sounds.shoot;
}}); rotate = true;
occlusion = 6f;
}},
new Weapon("missiles-mount"){{
y = -8f;
x = 17f;
reload = 42;
rotateSpeed = 8f;
ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.missileExplosive;
shootSound = Sounds.shoot;
rotate = true;
occlusion = 6f;
}},
new Weapon("large-bullet-mount"){{
y = 2f;
x = 10f;
shootY = 12f;
reload = 10;
shake = 1f;
rotateSpeed = 2f;
ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardDenseBig;
shootSound = Sounds.shootBig;
rotate = true;
occlusion = 8f;
}}
);
}}; }};
eclipse = new UnitType("eclipse"){{ eclipse = new UnitType("eclipse"){{
speed = 1.1f; speed = 1.1f;
accel = 0.02f; accel = 0.02f;
drag = 0.05f; drag = 0.05f;
rotateSpeed = 2.5f; rotateSpeed = 1.5f;
flying = true; flying = true;
lowAltitude = true; lowAltitude = true;
health = 18000; health = 18000;

View File

@@ -381,7 +381,7 @@ public class UnitType extends UnlockableContent{
unit.y + Angles.trnsy(unit.rotation + 180f, itemOffsetY), unit.y + Angles.trnsy(unit.rotation + 180f, itemOffsetY),
(3f + Mathf.absin(Time.time(), 5f, 1f)) * unit.itemTime); (3f + Mathf.absin(Time.time(), 5f, 1f)) * unit.itemTime);
if(unit.isLocal() && !Core.settings.getBool("pixelate")){ if(unit.isLocal() && !renderer.pixelator.enabled()){
Fonts.outline.draw(unit.stack.amount + "", Fonts.outline.draw(unit.stack.amount + "",
unit.x + Angles.trnsx(unit.rotation + 180f, itemOffsetY), unit.x + Angles.trnsx(unit.rotation + 180f, itemOffsetY),
unit.y + Angles.trnsy(unit.rotation + 180f, itemOffsetY) - 3, unit.y + Angles.trnsy(unit.rotation + 180f, itemOffsetY) - 3,