Various sound tweaks
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -48,10 +48,6 @@ public class SoundPriority{
|
|||||||
laser.setMaxConcurrent(5);
|
laser.setMaxConcurrent(5);
|
||||||
|
|
||||||
sameGroup(flame, flamePlasma);
|
sameGroup(flame, flamePlasma);
|
||||||
|
|
||||||
//sameGroup(hit1, hit2, hit3);
|
|
||||||
//max(4, hit1, hit2, hit3);
|
|
||||||
|
|
||||||
sameGroup(missile, missileShort, missilePlasmaShort);
|
sameGroup(missile, missileShort, missilePlasmaShort);
|
||||||
sameGroup(spark, shock);
|
sameGroup(spark, shock);
|
||||||
|
|
||||||
@@ -61,9 +57,9 @@ public class SoundPriority{
|
|||||||
|
|
||||||
mechStep.setMinConcurrentInterrupt(0.5f);
|
mechStep.setMinConcurrentInterrupt(0.5f);
|
||||||
walkerStep.setMinConcurrentInterrupt(0.6f);
|
walkerStep.setMinConcurrentInterrupt(0.6f);
|
||||||
|
mechStepHeavy.setMinConcurrentInterrupt(0.6f);
|
||||||
|
|
||||||
mechStep.setMaxConcurrent(4);
|
max(4, mechStep, mechStepHeavy, walkerStep);
|
||||||
walkerStep.setMaxConcurrent(4);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void max(int max, Sound... sounds){
|
static void max(int max, Sound... sounds){
|
||||||
|
|||||||
@@ -198,7 +198,8 @@ public class UnitTypes{
|
|||||||
singleTarget = true;
|
singleTarget = true;
|
||||||
drownTimeMultiplier = 1.5f;
|
drownTimeMultiplier = 1.5f;
|
||||||
stepSound = Sounds.mechStep;
|
stepSound = Sounds.mechStep;
|
||||||
stepSoundVolume = 0.25f;
|
stepSoundPitch = 0.9f;
|
||||||
|
stepSoundVolume = 0.35f;
|
||||||
|
|
||||||
abilities.add(new ShieldRegenFieldAbility(25f, 250f, 60f * 1, 60f));
|
abilities.add(new ShieldRegenFieldAbility(25f, 250f, 60f * 1, 60f));
|
||||||
|
|
||||||
@@ -219,6 +220,7 @@ public class UnitTypes{
|
|||||||
shake = 2f;
|
shake = 2f;
|
||||||
ejectEffect = Fx.casing3;
|
ejectEffect = Fx.casing3;
|
||||||
shootSound = Sounds.shootScepter;
|
shootSound = Sounds.shootScepter;
|
||||||
|
shootSoundVolume = 0.95f;
|
||||||
inaccuracy = 3f;
|
inaccuracy = 3f;
|
||||||
|
|
||||||
shoot.shots = 3;
|
shoot.shots = 3;
|
||||||
@@ -271,7 +273,9 @@ public class UnitTypes{
|
|||||||
mechFrontSway = 1.9f;
|
mechFrontSway = 1.9f;
|
||||||
mechSideSway = 0.6f;
|
mechSideSway = 0.6f;
|
||||||
ammoType = new ItemAmmoType(Items.thorium);
|
ammoType = new ItemAmmoType(Items.thorium);
|
||||||
stepSound = Sounds.mechStep;
|
stepSound = Sounds.mechStepHeavy;
|
||||||
|
stepSoundPitch = 0.9f;
|
||||||
|
stepSoundVolume = 0.45f;
|
||||||
|
|
||||||
weapons.add(
|
weapons.add(
|
||||||
new Weapon("reign-weapon"){{
|
new Weapon("reign-weapon"){{
|
||||||
@@ -483,6 +487,7 @@ public class UnitTypes{
|
|||||||
|
|
||||||
singleTarget = true;
|
singleTarget = true;
|
||||||
stepSound = Sounds.mechStep;
|
stepSound = Sounds.mechStep;
|
||||||
|
stepSoundPitch = 0.9f;
|
||||||
stepSoundVolume = 0.25f;
|
stepSoundVolume = 0.25f;
|
||||||
|
|
||||||
weapons.add(new Weapon("vela-weapon"){{
|
weapons.add(new Weapon("vela-weapon"){{
|
||||||
@@ -1918,7 +1923,7 @@ public class UnitTypes{
|
|||||||
rotate = true;
|
rotate = true;
|
||||||
reload = 90f;
|
reload = 90f;
|
||||||
x = y = shootX = shootY = 0f;
|
x = y = shootX = shootY = 0f;
|
||||||
shootSound = Sounds.missilePlasmaShort;
|
shootSound = Sounds.torpedoPlasma;
|
||||||
rotateSpeed = 180f;
|
rotateSpeed = 180f;
|
||||||
shootSoundVolume = 0.9f;
|
shootSoundVolume = 0.9f;
|
||||||
|
|
||||||
|
|||||||
@@ -220,7 +220,6 @@ public class BuildTurret extends BaseTurret{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void draw(){
|
public void draw(){
|
||||||
super.draw();
|
|
||||||
|
|
||||||
Draw.rect(baseRegion, x, y);
|
Draw.rect(baseRegion, x, y);
|
||||||
Draw.color();
|
Draw.color();
|
||||||
|
|||||||
Reference in New Issue
Block a user