Various sound tweaks

This commit is contained in:
Anuken
2025-11-25 16:27:01 -05:00
parent e399ae9182
commit 3e0eb4a875
14 changed files with 10 additions and 10 deletions

View File

@@ -48,10 +48,6 @@ public class SoundPriority{
laser.setMaxConcurrent(5);
sameGroup(flame, flamePlasma);
//sameGroup(hit1, hit2, hit3);
//max(4, hit1, hit2, hit3);
sameGroup(missile, missileShort, missilePlasmaShort);
sameGroup(spark, shock);
@@ -61,9 +57,9 @@ public class SoundPriority{
mechStep.setMinConcurrentInterrupt(0.5f);
walkerStep.setMinConcurrentInterrupt(0.6f);
mechStepHeavy.setMinConcurrentInterrupt(0.6f);
mechStep.setMaxConcurrent(4);
walkerStep.setMaxConcurrent(4);
max(4, mechStep, mechStepHeavy, walkerStep);
}
static void max(int max, Sound... sounds){

View File

@@ -198,7 +198,8 @@ public class UnitTypes{
singleTarget = true;
drownTimeMultiplier = 1.5f;
stepSound = Sounds.mechStep;
stepSoundVolume = 0.25f;
stepSoundPitch = 0.9f;
stepSoundVolume = 0.35f;
abilities.add(new ShieldRegenFieldAbility(25f, 250f, 60f * 1, 60f));
@@ -219,6 +220,7 @@ public class UnitTypes{
shake = 2f;
ejectEffect = Fx.casing3;
shootSound = Sounds.shootScepter;
shootSoundVolume = 0.95f;
inaccuracy = 3f;
shoot.shots = 3;
@@ -271,7 +273,9 @@ public class UnitTypes{
mechFrontSway = 1.9f;
mechSideSway = 0.6f;
ammoType = new ItemAmmoType(Items.thorium);
stepSound = Sounds.mechStep;
stepSound = Sounds.mechStepHeavy;
stepSoundPitch = 0.9f;
stepSoundVolume = 0.45f;
weapons.add(
new Weapon("reign-weapon"){{
@@ -483,6 +487,7 @@ public class UnitTypes{
singleTarget = true;
stepSound = Sounds.mechStep;
stepSoundPitch = 0.9f;
stepSoundVolume = 0.25f;
weapons.add(new Weapon("vela-weapon"){{
@@ -1918,7 +1923,7 @@ public class UnitTypes{
rotate = true;
reload = 90f;
x = y = shootX = shootY = 0f;
shootSound = Sounds.missilePlasmaShort;
shootSound = Sounds.torpedoPlasma;
rotateSpeed = 180f;
shootSoundVolume = 0.9f;

View File

@@ -220,7 +220,6 @@ public class BuildTurret extends BaseTurret{
@Override
public void draw(){
super.draw();
Draw.rect(baseRegion, x, y);
Draw.color();