This commit is contained in:
Anuken 2019-08-16 12:31:44 -04:00
parent 562d3e6528
commit 0429abbb28
5 changed files with 20 additions and 7 deletions

View File

@ -267,7 +267,7 @@ public class Bullets implements ContentList{
keepVelocity = false;
splashDamageRadius = 25f;
splashDamage = 10f;
lifetime = 50f;
lifetime = 60f;
trailColor = Pal.unitBack;
backColor = Pal.unitBack;
frontColor = Pal.unitFront;

View File

@ -330,9 +330,9 @@ public class UnitTypes implements ContentList{
baseRotateSpeed = 0.04f;
weapon = new Weapon("lich-missiles"){{
length = 4f;
reload = 180f;
reload = 160f;
width = 22f;
shots = 22;
shots = 16;
shootCone = 100f;
shotDelay = 2;
inaccuracy = 10f;
@ -341,7 +341,7 @@ public class UnitTypes implements ContentList{
velocityRnd = 0.2f;
spacing = 1f;
bullet = Bullets.missileRevenant;
shootSound = Sounds.missile;
shootSound = Sounds.artillery;
}};
}};
@ -371,7 +371,18 @@ public class UnitTypes implements ContentList{
inaccuracy = 3f;
roundrobin = true;
ejectEffect = Fx.none;
bullet = Bullets.standardDenseBig;
bullet = new BasicBulletType(7f, 42, "bullet"){
{
bulletWidth = 15f;
bulletHeight = 21f;
shootEffect = Fx.shootBig;
}
@Override
public float range(){
return 165f;
}
};
shootSound = Sounds.shootBig;
}};
}};

View File

@ -5,6 +5,7 @@ import io.anuke.arc.math.Mathf;
import io.anuke.arc.util.Time;
import io.anuke.mindustry.content.Fx;
import io.anuke.mindustry.entities.Effects;
import io.anuke.mindustry.gen.*;
import io.anuke.mindustry.graphics.Pal;
public class MissileBulletType extends BasicBulletType{
@ -18,6 +19,7 @@ public class MissileBulletType extends BasicBulletType{
backColor = Pal.missileYellowBack;
frontColor = Pal.missileYellow;
homingPower = 7f;
hitSound = Sounds.explosion;
}
@Override

View File

@ -514,7 +514,7 @@ public class Player extends Unit implements BuilderMinerTrait, ShooterTrait{
}
if(!isDead() && isFlying()){
loops.play(Sounds.thruster, this, Mathf.clamp(velocity.len() * 2f) * 0.4f);
loops.play(Sounds.thruster, this, Mathf.clamp(velocity.len() * 2f) * 0.3f);
}
BuildRequest request = buildRequest();

View File

@ -67,7 +67,7 @@ public class Drill extends Block{
hasItems = true;
idleSound = Sounds.drill;
idleSoundVolume = 0.002f;
idleSoundVolume = 0.003f;
}
@Override