Mech descriptions / Balancing / Crash fix / Physics fix

This commit is contained in:
Anuken
2018-08-27 09:52:33 -04:00
parent 2f7f16daff
commit 6323c13704
17 changed files with 614 additions and 724 deletions

View File

@@ -137,7 +137,7 @@ public class Mechs implements ContentList{
boostSpeed = 0.8f;
weapon = Weapons.healBlaster;
maxSpeed = 5f;
armor = 30f;
armor = 35f;
altChargeAlpha = 0.05f;
trailColorTo = Palette.heal;
}
@@ -251,6 +251,7 @@ public class Mechs implements ContentList{
maxSpeed = 3f;
drag = 0.1f;
armor = 10f;
weapon = Weapons.blasterSmall;
weaponOffsetX = -1;
weaponOffsetY = -1;
trailColor = Palette.lightTrail;

View File

@@ -13,7 +13,9 @@ public class Recipes implements ContentList{
@Override
public void load(){
//WALLS
//DEFENSE
//walls
new Recipe(defense, DefenseBlocks.copperWall, new ItemStack(Items.copper, 12));
new Recipe(defense, DefenseBlocks.copperWallLarge, new ItemStack(Items.copper, 12 * 4));
@@ -29,7 +31,7 @@ public class Recipes implements ContentList{
new Recipe(defense, DefenseBlocks.door, new ItemStack(Items.densealloy, 12), new ItemStack(Items.silicon, 8));
new Recipe(defense, DefenseBlocks.doorLarge, new ItemStack(Items.densealloy, 12 * 4), new ItemStack(Items.silicon, 8 * 4));
//cores
//projectors
new Recipe(defense, DefenseBlocks.mendProjector, new ItemStack(Items.lead, 200), new ItemStack(Items.densealloy, 150), new ItemStack(Items.titanium, 150), new ItemStack(Items.silicon, 250));
//TURRETS

View File

@@ -30,7 +30,7 @@ public class UnitTypes implements ContentList{
speed = 0.5f;
maxVelocity = 1.6f;
range = 40f;
health = 30;
health = 35;
weapon = Weapons.droneBlaster;
trailColor = Color.valueOf("ffd37f");
}

View File

@@ -8,7 +8,7 @@ import io.anuke.mindustry.type.ContentList;
import io.anuke.mindustry.type.Weapon;
public class Weapons implements ContentList{
public static Weapon blaster, glaiveBlaster, droneBlaster, healBlaster, chainBlaster, shockgun, sapper, swarmer, bomber, bomberTrident, flakgun, flamethrower, missiles;
public static Weapon blaster, blasterSmall, glaiveBlaster, droneBlaster, healBlaster, chainBlaster, shockgun, sapper, swarmer, bomber, bomberTrident, flakgun, flamethrower, missiles;
@Override
public void load(){
@@ -21,6 +21,14 @@ public class Weapons implements ContentList{
ammo = AmmoTypes.bulletMech;
}};
blasterSmall = new Weapon("blaster"){{
length = 1.5f;
reload = 15f;
roundrobin = true;
ejectEffect = ShootFx.shellEjectSmall;
ammo = AmmoTypes.bulletCopper;
}};
glaiveBlaster = new Weapon("bomber"){{
length = 1.5f;
reload = 10f;
@@ -31,7 +39,7 @@ public class Weapons implements ContentList{
droneBlaster = new Weapon("blaster"){{
length = 2f;
reload = 40f;
reload = 30f;
width = 1f;
roundrobin = true;
ejectEffect = ShootFx.shellEjectSmall;

View File

@@ -56,7 +56,7 @@ public class StandardBullets extends BulletList implements ContentList{
}
};
glaive = new BasicBulletType(4f, 6, "bullet"){
glaive = new BasicBulletType(4f, 7.5f, "bullet"){
{
bulletWidth = 10f;
bulletHeight = 12f;