Latum mostly done
This commit is contained in:
@@ -2731,7 +2731,7 @@ public class Blocks{
|
||||
}};
|
||||
|
||||
shootY = 3f;
|
||||
reloadTime = 20f;
|
||||
reload = 20f;
|
||||
restitution = 0.03f;
|
||||
range = 110;
|
||||
shootCone = 15f;
|
||||
@@ -2751,7 +2751,7 @@ public class Blocks{
|
||||
Items.lead, Bullets.flakLead,
|
||||
Items.metaglass, Bullets.flakGlass
|
||||
);
|
||||
reloadTime = 18f;
|
||||
reload = 18f;
|
||||
range = 220f;
|
||||
size = 2;
|
||||
targetGround = false;
|
||||
@@ -2778,7 +2778,7 @@ public class Blocks{
|
||||
Items.pyratite, Bullets.pyraFlame
|
||||
);
|
||||
recoilAmount = 0f;
|
||||
reloadTime = 6f;
|
||||
reload = 6f;
|
||||
coolantMultiplier = 1.5f;
|
||||
range = 60f;
|
||||
shootCone = 50f;
|
||||
@@ -2797,7 +2797,7 @@ public class Blocks{
|
||||
Items.pyratite, Bullets.artilleryIncendiary
|
||||
);
|
||||
targetAir = false;
|
||||
reloadTime = 60f;
|
||||
reload = 60f;
|
||||
recoilAmount = 2f;
|
||||
range = 235f;
|
||||
inaccuracy = 1f;
|
||||
@@ -2818,7 +2818,7 @@ public class Blocks{
|
||||
);
|
||||
size = 2;
|
||||
recoilAmount = 0f;
|
||||
reloadTime = 3f;
|
||||
reload = 3f;
|
||||
inaccuracy = 5f;
|
||||
shootCone = 50f;
|
||||
liquidCapacity = 10f;
|
||||
@@ -2836,7 +2836,7 @@ public class Blocks{
|
||||
shoot.firstShotDelay = 40f;
|
||||
|
||||
recoilAmount = 2f;
|
||||
reloadTime = 80f;
|
||||
reload = 80f;
|
||||
cooldown = 0.03f;
|
||||
shootShake = 2f;
|
||||
shootEffect = Fx.lancerLaserShoot;
|
||||
@@ -2874,7 +2874,7 @@ public class Blocks{
|
||||
collidesAir = false;
|
||||
ammoMultiplier = 1f;
|
||||
}};
|
||||
reloadTime = 35f;
|
||||
reload = 35f;
|
||||
shootCone = 40f;
|
||||
rotateSpeed = 8f;
|
||||
targetAir = false;
|
||||
@@ -2920,7 +2920,7 @@ public class Blocks{
|
||||
}};
|
||||
|
||||
shootY = 7f;
|
||||
reloadTime = 30f;
|
||||
reload = 30f;
|
||||
inaccuracy = 10f;
|
||||
range = 240f;
|
||||
size = 2;
|
||||
@@ -2944,7 +2944,7 @@ public class Blocks{
|
||||
|
||||
size = 2;
|
||||
range = 190f;
|
||||
reloadTime = 31f;
|
||||
reload = 31f;
|
||||
restitution = 0.03f;
|
||||
ammoEjectBack = 3f;
|
||||
cooldown = 0.03f;
|
||||
@@ -2971,7 +2971,7 @@ public class Blocks{
|
||||
size = 2;
|
||||
shootLength = 5f;
|
||||
bulletDamage = 30f;
|
||||
reloadTime = 8f;
|
||||
reload = 8f;
|
||||
envEnabled |= Env.space;
|
||||
}};
|
||||
|
||||
@@ -2984,7 +2984,7 @@ public class Blocks{
|
||||
Liquids.oil, Bullets.heavyOilShot
|
||||
);
|
||||
size = 3;
|
||||
reloadTime = 3f;
|
||||
reload = 3f;
|
||||
shoot.shots = 2;
|
||||
velocityInaccuracy = 0.1f;
|
||||
inaccuracy = 4f;
|
||||
@@ -3001,7 +3001,7 @@ public class Blocks{
|
||||
fuse = new ItemTurret("fuse"){{
|
||||
requirements(Category.turret, with(Items.copper, 225, Items.graphite, 225, Items.thorium, 100));
|
||||
|
||||
reloadTime = 35f;
|
||||
reload = 35f;
|
||||
shootShake = 4f;
|
||||
range = 90f;
|
||||
recoilAmount = 5f;
|
||||
@@ -3054,7 +3054,7 @@ public class Blocks{
|
||||
size = 3;
|
||||
shoot.shots = 4;
|
||||
inaccuracy = 12f;
|
||||
reloadTime = 60f;
|
||||
reload = 60f;
|
||||
ammoEjectBack = 5f;
|
||||
ammoUseEffect = Fx.casing3Double;
|
||||
ammoPerShot = 2;
|
||||
@@ -3087,7 +3087,7 @@ public class Blocks{
|
||||
-3f, 0f, 0f,
|
||||
};
|
||||
}};
|
||||
reloadTime = 8f;
|
||||
reload = 8f;
|
||||
range = 200f;
|
||||
size = 3;
|
||||
recoilAmount = 3f;
|
||||
@@ -3124,7 +3124,7 @@ public class Blocks{
|
||||
maxAmmo = 40;
|
||||
ammoPerShot = 5;
|
||||
rotateSpeed = 2f;
|
||||
reloadTime = 200f;
|
||||
reload = 200f;
|
||||
ammoUseEffect = Fx.casing3Double;
|
||||
recoilAmount = 5f;
|
||||
restitution = 0.009f;
|
||||
@@ -3150,7 +3150,7 @@ public class Blocks{
|
||||
Items.pyratite, Bullets.standardIncendiaryBig,
|
||||
Items.thorium, Bullets.standardThoriumBig
|
||||
);
|
||||
reloadTime = 7f;
|
||||
reload = 7f;
|
||||
coolantMultiplier = 0.5f;
|
||||
restitution = 0.1f;
|
||||
ammoUseEffect = Fx.casing3;
|
||||
@@ -3179,7 +3179,7 @@ public class Blocks{
|
||||
size = 4;
|
||||
shootShake = 2f;
|
||||
range = 195f;
|
||||
reloadTime = 90f;
|
||||
reload = 90f;
|
||||
firingMoveFract = 0.5f;
|
||||
shootDuration = 230f;
|
||||
shootSound = Sounds.laserbig;
|
||||
@@ -3253,7 +3253,7 @@ public class Blocks{
|
||||
outlineColor = Pal.darkOutline;
|
||||
size = 3;
|
||||
envEnabled |= Env.space;
|
||||
reloadTime = 40f;
|
||||
reload = 40f;
|
||||
recoilAmount = 2f;
|
||||
restitution = 0.03f;
|
||||
range = 190;
|
||||
@@ -3380,7 +3380,7 @@ public class Blocks{
|
||||
targetAir = false;
|
||||
shootShake = 4f;
|
||||
recoilAmount = 1f;
|
||||
reloadTime = 60f * 2.3f;
|
||||
reload = 60f * 2.3f;
|
||||
shootY = 7f;
|
||||
rotateSpeed = 1.4f;
|
||||
minWarmup = 0.85f;
|
||||
@@ -3453,7 +3453,7 @@ public class Blocks{
|
||||
}});
|
||||
|
||||
|
||||
reloadTime = 9f;
|
||||
reload = 9f;
|
||||
shootY = 15f;
|
||||
rotateSpeed = 5f;
|
||||
shootCone = 30f;
|
||||
|
||||
@@ -2477,7 +2477,7 @@ public class UnitTypes{
|
||||
treadPullOffset = 5;
|
||||
speed = 0.7f;
|
||||
rotateSpeed = 2.6f;
|
||||
health = 800;
|
||||
health = 2000;
|
||||
armor = 7f;
|
||||
areaDamage = 8f;
|
||||
treadRects = new Rect[]{new Rect(17, 10, 19, 76)};
|
||||
@@ -2778,7 +2778,8 @@ public class UnitTypes{
|
||||
drag = 0.1f;
|
||||
hitSize = 14f;
|
||||
rotateSpeed = 3f;
|
||||
health = 700;
|
||||
health = 1100;
|
||||
armor = 5f;
|
||||
|
||||
legCount = 4;
|
||||
legLength = 14f;
|
||||
@@ -2793,28 +2794,70 @@ public class UnitTypes{
|
||||
|
||||
legMoveSpace = 1f;
|
||||
hovering = true;
|
||||
armor = 5f;
|
||||
|
||||
visualElevation = 0.2f;
|
||||
groundLayer = Layer.legUnit - 1f;
|
||||
|
||||
if(false)
|
||||
weapons.add(new Weapon("eruption"){{
|
||||
top = false;
|
||||
shootY = 3f;
|
||||
reload = 9f;
|
||||
ejectEffect = Fx.none;
|
||||
recoil = 1f;
|
||||
x = 7f;
|
||||
shootSound = Sounds.flame;
|
||||
for(int i = 0; i < 5; i++){
|
||||
int fi = i;
|
||||
parts.add(new RegionPart("-spine"){{
|
||||
y = 21f / 4f - 45f / 4f * fi / 4f;
|
||||
moveX = 21f / 4f + Mathf.slope(fi / 4f) * 1.25f;
|
||||
moveRot = 10f - fi * 14f;
|
||||
float fin = fi / 4f;
|
||||
progress = PartProgress.reload.inv().mul(1.3f).add(0.1f).sustain(fin * 0.34f, 0.14f, 0.14f);
|
||||
layerOffset = -0.001f;
|
||||
mirror = true;
|
||||
}});
|
||||
}
|
||||
|
||||
bullet = new LiquidBulletType(Liquids.slag){{
|
||||
damage = 13;
|
||||
speed = 2.5f;
|
||||
drag = 0.009f;
|
||||
shootEffect = Fx.shootSmall;
|
||||
lifetime = 57f;
|
||||
collidesAir = false;
|
||||
weapons.add(new Weapon("latum-weapon"){{
|
||||
x = 14f / 4f;
|
||||
y = 33f / 4f;
|
||||
reload = 30f;
|
||||
layerOffset = -0.002f;
|
||||
alternate = false;
|
||||
heatColor = Color.red;
|
||||
cooldownTime = 25f;
|
||||
smoothReloadSpeed = 0.15f;
|
||||
recoil = 2f;
|
||||
|
||||
bullet = new BasicBulletType(3.5f, 40){{
|
||||
backColor = trailColor = hitColor = Pal.techBlue;
|
||||
frontColor = Color.white;
|
||||
width = 7.5f;
|
||||
height = 10f;
|
||||
lifetime = 55f;
|
||||
trailWidth = 2f;
|
||||
trailLength = 4;
|
||||
shake = 0.5f;
|
||||
recoil = 0.1f;
|
||||
|
||||
trailEffect = Fx.missileTrail;
|
||||
trailParam = 1.8f;
|
||||
trailInterval = 8f;
|
||||
|
||||
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||
shootEffect = new MultiEffect(Fx.shootBigColor, Fx.hitLaserColor);
|
||||
smokeEffect = Fx.shootSmallSmoke;
|
||||
ammoMultiplier = 2;
|
||||
}};
|
||||
}});
|
||||
|
||||
weapons.add(new PointDefenseWeapon("latum-point-defense"){{
|
||||
x = 16f / 4f;
|
||||
y = -20f / 4f;
|
||||
reload = 10f;
|
||||
|
||||
targetInterval = 9f;
|
||||
targetSwitchInterval = 12f;
|
||||
recoil = 0.5f;
|
||||
|
||||
bullet = new BulletType(){{
|
||||
shootEffect = Fx.sparkShoot;
|
||||
hitEffect = Fx.pointHit;
|
||||
maxRange = 100f;
|
||||
damage = 30f;
|
||||
}};
|
||||
}});
|
||||
}};
|
||||
|
||||
Reference in New Issue
Block a user