Open LevFendi opened 2 weeks ago
I remember that zooming in on remote view made the focus change to local sounds. But also, we had turned off the mod sounds depending on zoom. I should turn that back on and explore the other sound settings to see if some config can solve all this.
Why turn off the mod sounds in the first place? muffled > off, right?
Lol followed up just now on something else I saw. Betting we want:
https://lua-api.factorio.com/latest/concepts.html#SoundType
Specifically gui, I'm betting. It's an option to all play_sound variants. It's newish if you're wondering how you didn't notice. Was reading changelogs earlier because faketorio (SIC) claims to synthesize gui click events somehow and I was like wait no you can't do that.
The thing turned off was zoom dependence.
This setting you shared seems to be exactly what we needed, thanks!
More ideas to explore here: https://lua-api.factorio.com/latest/prototypes/SoundPrototype.html
Remote view in the vanilla game takes the perspective of something flying over the land, therefore changing the soundscape to include more wind and muffle the ground, and center on the cursor instead of the player.
This seems to affect all sounds played by mods, including UI sounds.
To fix the muffling i have tried to play the sound at the cursor position instead, with no noticeable gain. Playing around with the game's sound options might yield some solutions.