Misc fog improvements
This commit is contained in:
@@ -85,6 +85,7 @@ public class Blocks{
|
||||
scrapWall, scrapWallLarge, scrapWallHuge, scrapWallGigantic, thruster, //ok, these names are getting ridiculous, but at least I don't have humongous walls yet
|
||||
|
||||
//defense - erekir
|
||||
radar,
|
||||
buildTower,
|
||||
regenProjector, barrierProjector,
|
||||
//campaign only
|
||||
@@ -1693,6 +1694,14 @@ public class Blocks{
|
||||
tendrils = 4;
|
||||
}};
|
||||
|
||||
radar = new Radar("radar"){{
|
||||
requirements(Category.effect, BuildVisibility.fogOnly, with(Items.silicon, 30, Items.graphite, 30));
|
||||
outlineColor = Color.valueOf("4a4b53");
|
||||
fogRadius = 27;
|
||||
|
||||
consumePower(0.2f);
|
||||
}};
|
||||
|
||||
buildTower = new BuildTurret("build-tower"){{
|
||||
requirements(Category.effect, with(Items.silicon, 80, Items.carbide, 30, Items.oxide, 40, Items.thorium, 30));
|
||||
outlineColor = Pal.darkOutline;
|
||||
@@ -3247,7 +3256,6 @@ public class Blocks{
|
||||
|
||||
coolantMultiplier = 6f;
|
||||
|
||||
unitFilter = u -> !u.spawnedByCore;
|
||||
shootShake = 1f;
|
||||
ammoPerShot = 5;
|
||||
draw = new DrawTurret("reinforced-");
|
||||
@@ -3488,8 +3496,6 @@ public class Blocks{
|
||||
}});
|
||||
}};
|
||||
|
||||
unitFilter = u -> !u.spawnedByCore;
|
||||
|
||||
shoot = new ShootAlternate(){{
|
||||
spread = 4.7f;
|
||||
shots = 4;
|
||||
|
||||
@@ -3396,6 +3396,9 @@ public class UnitTypes{
|
||||
hitSize = 9f;
|
||||
engineSize = 0;
|
||||
|
||||
fogRadius = 0f;
|
||||
targetable = false;
|
||||
|
||||
setEnginesMirror(
|
||||
new UnitEngine(21 / 4f, 19 / 4f, 2.2f, 45f),
|
||||
new UnitEngine(23 / 4f, -22 / 4f, 2.2f, 315f)
|
||||
@@ -3452,6 +3455,9 @@ public class UnitTypes{
|
||||
armor = 2f;
|
||||
hitSize = 11f;
|
||||
|
||||
fogRadius = 0f;
|
||||
targetable = false;
|
||||
|
||||
engineOffset = 7.2f;
|
||||
engineSize = 3.1f;
|
||||
|
||||
@@ -3522,6 +3528,9 @@ public class UnitTypes{
|
||||
hitSize = 12f;
|
||||
buildBeamOffset = 8f;
|
||||
|
||||
fogRadius = 0f;
|
||||
targetable = false;
|
||||
|
||||
engineOffset = 7.5f;
|
||||
engineSize = 3.4f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user