Titan 4x4
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 916 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 795 B |
|
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 843 B |
|
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 747 B |
@@ -2992,38 +2992,37 @@ public class Blocks{
|
|||||||
|
|
||||||
range = 170f;
|
range = 170f;
|
||||||
|
|
||||||
//TODO unfinished, needs damage + proper mechanics
|
//TODO multi ammo
|
||||||
shootType = new ContinuousFlameBulletType(){{
|
shootType = new ContinuousFlameBulletType(){{
|
||||||
damage = 4f;
|
damage = 4f;
|
||||||
length = range;
|
length = range;
|
||||||
//pierceMax = 3;
|
|
||||||
}};
|
}};
|
||||||
shootLength = 7f;
|
shootLength = 7f;
|
||||||
size = 3;
|
size = 3;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
titan = new ItemTurret("titan"){{
|
titan = new ItemTurret("titan"){{
|
||||||
requirements(Category.turret, with(Items.carbide, 120, Items.surgeAlloy, 80, Items.silicon, 80, Items.beryllium, 120));
|
requirements(Category.turret, with(Items.carbide, 250, Items.surgeAlloy, 160, Items.silicon, 300, Items.beryllium, 400));
|
||||||
|
|
||||||
ammo(
|
ammo(
|
||||||
//TODO 1 more ammo type, decide on base type
|
//TODO 1 more ammo type, decide on base type
|
||||||
Items.fissileMatter, new ArtilleryBulletType(2.5f, 40, "shell"){{
|
Items.fissileMatter, new ArtilleryBulletType(2.5f, 60, "shell"){{
|
||||||
hitEffect = new MultiEffect(Fx.titanExplosion, Fx.titanSmoke);
|
hitEffect = new MultiEffect(Fx.titanExplosion, Fx.titanSmoke);
|
||||||
despawnEffect = Fx.none;
|
despawnEffect = Fx.none;
|
||||||
knockback = 1.5f;
|
knockback = 2f;
|
||||||
lifetime = 140f;
|
lifetime = 140f;
|
||||||
height = 16f;
|
height = 17f;
|
||||||
width = 14.2f;
|
width = 16f;
|
||||||
splashDamageRadius = 60f;
|
splashDamageRadius = 65f;
|
||||||
splashDamage = 100f;
|
splashDamage = 150f;
|
||||||
backColor = hitColor = trailColor = Color.valueOf("bb68c3");
|
backColor = hitColor = trailColor = Color.valueOf("ea8878").lerp(Color.valueOf("feb380"), 0.5f);
|
||||||
frontColor = Color.white;
|
frontColor = Color.white;
|
||||||
ammoMultiplier = 1f;
|
ammoMultiplier = 1f;
|
||||||
|
|
||||||
status = StatusEffects.blasted;
|
status = StatusEffects.blasted;
|
||||||
|
|
||||||
trailLength = 32;
|
trailLength = 32;
|
||||||
trailWidth = 2.64f;
|
trailWidth = 2.85f;
|
||||||
trailSinScl = 2.5f;
|
trailSinScl = 2.5f;
|
||||||
trailSinMag = 1f;
|
trailSinMag = 1f;
|
||||||
trailEffect = Fx.none;
|
trailEffect = Fx.none;
|
||||||
@@ -3050,18 +3049,18 @@ public class Blocks{
|
|||||||
draw = new DrawTurret("reinforced-"){{
|
draw = new DrawTurret("reinforced-"){{
|
||||||
parts.addAll(
|
parts.addAll(
|
||||||
new RegionPart("-barrel"){{
|
new RegionPart("-barrel"){{
|
||||||
moveY = -5f;
|
moveY = -5f * 4f / 3f;
|
||||||
heatColor = Color.valueOf("f03b0e");
|
heatColor = Color.valueOf("f03b0e");
|
||||||
mirror = false;
|
mirror = false;
|
||||||
interp = Interp.pow2In;
|
interp = Interp.pow2In;
|
||||||
}},
|
}},
|
||||||
new RegionPart("-side"){{
|
new RegionPart("-side"){{
|
||||||
moveX = 2f;
|
moveX = 2f * 4f / 3f;
|
||||||
moveY = -1f;
|
moveY = -0.5f;
|
||||||
rotMove = -40f;
|
rotMove = -40f;
|
||||||
useReload = false;
|
useReload = false;
|
||||||
under = true;
|
under = true;
|
||||||
heatColor = Color.valueOf("768a9a");
|
heatColor = Color.red.cpy();
|
||||||
useProgressHeat = true;
|
useProgressHeat = true;
|
||||||
interp = Interp.pow2Out;
|
interp = Interp.pow2Out;
|
||||||
}});
|
}});
|
||||||
@@ -3072,7 +3071,7 @@ public class Blocks{
|
|||||||
|
|
||||||
outlineColor = Pal.darkOutline;
|
outlineColor = Pal.darkOutline;
|
||||||
|
|
||||||
consumes.liquids(LiquidStack.with(Liquids.hydrogen, 1f / 60f));
|
consumes.liquids(LiquidStack.with(Liquids.hydrogen, 2f / 60f));
|
||||||
|
|
||||||
range = 390f;
|
range = 390f;
|
||||||
size = 4;
|
size = 4;
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ public class DrawTurret extends DrawBlock{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(heat.found()){
|
if(heat.found()){
|
||||||
Drawf.additive(heat, heatColor.write(Tmp.c1).a(useProgressHeat ? build.warmup() : build.heat), rx, ry, rot, Layer.turretHeat);
|
Drawf.additive(heat, heatColor.write(Tmp.c1).a((useProgressHeat ? build.warmup() : build.heat) * heatColor.a), rx, ry, rot, Layer.turretHeat);
|
||||||
}
|
}
|
||||||
|
|
||||||
Draw.xscl = 1f;
|
Draw.xscl = 1f;
|
||||||
|
|||||||