Enemy rando, play and stop miniboss music - #7097
Conversation
|
Is this a toggle? Sorry I'm away from home and can't test right now. |
|
Yes, it's toggle to either play miniboss music for only non-randomized minibosses, or play for them + all randomized Dark Link, Iron Knuckle, Stalfos and Gerudo Fighter. I'll add Lizalfos/Dinolfos too as they are big and disruptive. I have not added White Wolfos because they are quite puny. |
|
Ok I'll test it out sometime tomorrow. I play exclusively one hit kill enemy randomizer with delete file on death enabled, so I'm constantly doing runs when I have free time. I think toggling this setting is going to give me a real challenge unintentionally. I rely on sound heavily when playing. When I enter a normal enemy room and the miniboss music starts playing, I immediately know there's an invisible Stalfos somewhere. It gives me time to prepare myself. If it's constantly going off for other enemies I dont think I'll last very long 😅
No worries, take all the time you need. I'm completely satisfied now that you've squashed all the softlock bugs I've come across. I was getting tired of opening the save editor to figure out which flag opens the door lol. |
|
Sounds like grim settings. Everything can be fine-tuned, so if there's some enemy or some room that stands out, music play requirements can be changed. For instance, I imagine BotW main room could use reduced XZ distance for playing so it doesn't play on room entry for the caged Like like enemy etc. |
This mod is indeed very tricky. I think even if you were to fix these bugs, there's still an unfixable issue with the miniboss theme itself, it's annoying lol. Even if I were to use custom music with my favorite song, I'd still think it'd be annoying. Having that theme play in every other room or more just doesn't work in my opinion. As for the theme proximity, it's very jarring. I would run through the forest meadow to get Saria's song and pass by an Iron Knuckle. The way it would go from a happy song to a scary song then back to a happy song in seconds feels totally off. I know you said it can be tweaked, but I'm having trouble imagining how the music could be made less annoying and constant. The only thing I can think of is having it so the theme only starts up when targeting an enemy, but even that idea I'm not really fond of. One last random thought I want to share is that the activation sound for the Iron Knuckle is a total jump scare. If anything, I think you should repurpose the Iron Knuckle for a Halloween update. Have it so there's a very rare chance he'll spawn randomly by the player anywhere in the game with that scary activation sound lmao. |
Miniboss music is currently not played for randomized miniboss enemies due to problems with music not being stopped.
This lets miniboss music play for Dark Link, Iron Knuckle, Stalfos, Gerudo Fighter and Lizalfos/Dinolfos.
OnPlayerUpdatehook controls which music is played based on distance to any active miniboss enemies in the room (ignores non-activated Gerudo Fighters, Stalfos and Lizalfos).The music play distances are currently XYZ 1200.0f and Y 350.0f (stop distance 1250.0f and 400.0f).
Some new actor hooks:
func_800FA0B4replaced with decompAudio_GetActiveSeqIdThere were a lot of tricky parts to this so needs to be playtested a bit.
This is what is looks and sounds like: https://www.youtube.com/watch?v=OOLlFBY0IV8
Build Artifacts