Core launch/land SFX

This commit is contained in:
Anuken
2025-12-11 13:29:32 -05:00
parent 034392c231
commit 90796d041d
13 changed files with 27 additions and 38 deletions

View File

@@ -3,6 +3,7 @@ package mindustry.audio;
import arc.*;
import arc.audio.*;
import arc.struct.*;
import mindustry.*;
import static mindustry.gen.Sounds.*;
@@ -11,12 +12,15 @@ public class SoundPriority{
static int lastGroup = 1;
public static void init(){
//launching should not get interrupted by the loading screen
coreLaunch.setBus(Vars.control.sound.uiBus);
max(7, beamPlasma, shootMeltdown, beamMeltdown);
//priority 3: absolutely do not interrupt these
set(
3f,
acceleratorLaunch, acceleratorCharge
acceleratorLaunch, acceleratorCharge, coreLand, coreLaunch
);
//priority 2: long weapon loops and big explosions