WIP unit stuff
This commit is contained in:
@@ -3116,6 +3116,7 @@ public class Blocks{
|
||||
parts.addAll(
|
||||
new RegionPart("-back"){{
|
||||
useReload = false;
|
||||
mirror = true;
|
||||
rotMove = 40f;
|
||||
x = 22 / 4f;
|
||||
y = -1f / 4f;
|
||||
@@ -3125,6 +3126,7 @@ public class Blocks{
|
||||
}},
|
||||
new RegionPart("-front"){{
|
||||
useReload = false;
|
||||
mirror = true;
|
||||
rotMove = 40f;
|
||||
x = 20 / 4f;
|
||||
y = 17f / 4f;
|
||||
@@ -3135,6 +3137,7 @@ public class Blocks{
|
||||
}},
|
||||
new RegionPart("-nozzle"){{
|
||||
useReload = false;
|
||||
mirror = true;
|
||||
moveX = 8f / 4f;
|
||||
heatColor = Color.valueOf("f03b0e");
|
||||
}});
|
||||
@@ -3228,6 +3231,7 @@ public class Blocks{
|
||||
interp = Interp.pow2In;
|
||||
}},
|
||||
new RegionPart("-side"){{
|
||||
mirror = true;
|
||||
moveX = 2f * 4f / 3f;
|
||||
moveY = -0.5f;
|
||||
rotMove = -40f;
|
||||
|
||||
@@ -979,6 +979,7 @@ public class UnitTypes{
|
||||
commandLimit = 4;
|
||||
circleTarget = true;
|
||||
hitSize = 7;
|
||||
itemCapacity = 15;
|
||||
|
||||
weapons.add(new Weapon(){{
|
||||
y = 0f;
|
||||
@@ -2513,7 +2514,7 @@ public class UnitTypes{
|
||||
|
||||
//TODO maybe different sprite, weapon impl
|
||||
weapons.add(new Weapon("conquer-weapon"){{
|
||||
layerOffset = 0.0001f;
|
||||
layerOffset = 0.1f;
|
||||
reload = 120f;
|
||||
shootY = 32.5f;
|
||||
shake = 5f;
|
||||
@@ -2527,11 +2528,22 @@ public class UnitTypes{
|
||||
heatColor = Color.valueOf("f9350f");
|
||||
cooldownTime = 80f;
|
||||
|
||||
parts.add(new RegionPart("-glow"){{
|
||||
parts.add(
|
||||
new RegionPart("-glow"){{
|
||||
color = Color.red;
|
||||
blending = Blending.additive;
|
||||
outline = mirror = false;
|
||||
}});
|
||||
}},
|
||||
new RegionPart("-sinks"){{
|
||||
useReload = false;
|
||||
mirror = true;
|
||||
under = true;
|
||||
moveX = 15f / 4f;
|
||||
moveY = -13f / 4f;
|
||||
x = 34 / 4f;
|
||||
y = -36 / 4f;
|
||||
}}
|
||||
);
|
||||
|
||||
bullet = new BasicBulletType(8f, 110){{
|
||||
sprite = "missile-large";
|
||||
@@ -2660,7 +2672,7 @@ public class UnitTypes{
|
||||
|
||||
krepost = new UnitType("krepost"){{
|
||||
drag = 0.1f;
|
||||
speed = 1f;
|
||||
speed = 1.1f;
|
||||
hitSize = 44f;
|
||||
health = 18000;
|
||||
armor = 8f;
|
||||
|
||||
Reference in New Issue
Block a user