diff --git a/core/assets/sounds/loops/loopHover.ogg b/core/assets/sounds/loops/loopHover.ogg index b51e03e4c1..22904dd0d7 100644 Binary files a/core/assets/sounds/loops/loopHover.ogg and b/core/assets/sounds/loops/loopHover.ogg differ diff --git a/core/src/mindustry/content/UnitTypes.java b/core/src/mindustry/content/UnitTypes.java index cc6c847cf0..c1117d1c7e 100644 --- a/core/src/mindustry/content/UnitTypes.java +++ b/core/src/mindustry/content/UnitTypes.java @@ -1167,6 +1167,8 @@ public class UnitTypes{ targetFlags = new BlockFlag[]{BlockFlag.generator, BlockFlag.core, null}; ammoType = new ItemAmmoType(Items.thorium); + loopSound = Sounds.loopHover; + BulletType missiles = new MissileBulletType(2.7f, 18){{ width = 8f; height = 8f; @@ -1242,6 +1244,8 @@ public class UnitTypes{ targetFlags = new BlockFlag[]{BlockFlag.reactor, BlockFlag.battery, BlockFlag.core, null}; ammoType = new ItemAmmoType(Items.thorium); + loopSound = Sounds.loopHover; + BulletType fragBullet = new FlakBulletType(4f, 15){{ shootEffect = Fx.shootBig; ammoMultiplier = 4f; @@ -1461,6 +1465,8 @@ public class UnitTypes{ ammoType = new PowerAmmoType(3000); + loopSound = Sounds.loopHover; + weapons.add( new Weapon(){{ x = y = 0f; @@ -1531,6 +1537,8 @@ public class UnitTypes{ buildBeamOffset = 43; ammoCapacity = 1; + loopSound = Sounds.loopHover; + abilities.add(new ForceFieldAbility(140f, 4f, 7000f, 60f * 8, 8, 0f){{ breakSound = Sounds.shieldBreak; }}, new RepairFieldAbility(130f, 60f * 2, 140f)); @@ -3957,6 +3965,9 @@ public class UnitTypes{ engineOffset = 61 / 4f; range = 4.3f * 60f * 1.4f; + loopSoundVolume = 0.85f; + loopSound = Sounds.loopHover; + abilities.add(new SuppressionFieldAbility(){{ reload = 60f * 8f; orbRadius = 5.3f; @@ -4056,6 +4067,8 @@ public class UnitTypes{ engineSize = 6f; engineOffset = 25.25f; + loopSound = Sounds.loopHover; + float orbRad = 5f, partRad = 3f; int parts = 10; diff --git a/core/src/mindustry/entities/comp/BuilderComp.java b/core/src/mindustry/entities/comp/BuilderComp.java index 1ad6330e7a..66d334a96f 100644 --- a/core/src/mindustry/entities/comp/BuilderComp.java +++ b/core/src/mindustry/entities/comp/BuilderComp.java @@ -155,7 +155,7 @@ abstract class BuilderComp implements Posc, Statusc, Teamc, Rotc{ if(!within(tile, finalPlaceDst)) continue; if(!headless){ - Vars.control.sound.loop(Sounds.loopBuild, tile, 0.75f); + Vars.control.sound.loop(Sounds.loopBuild, tile, 1f); } if(!(tile.build instanceof ConstructBuild cb)){