[Wish] Added delay before switching over to another location's music in remote view

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Gearfoot
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Nov 05, 2024 2:53 am
Contact:

[Wish] Added delay before switching over to another location's music in remote view

Post by Gearfoot »

It would be nice to keep playing the current music for a while instead of immediately switching over to another planet's music. I often visit Vulcanus and then have to check something at home real quick and the music restarts twice which really besmirches both musical pieces.

Just have the music player wait for 30 seconds before putting on new record. That way a short look somewhere else won't jerk the music around.

The music is amazing btw. I look forward to reaching the rest of the planets. :)
Donion
Factorio Staff
Factorio Staff
Posts: 326
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Donion »

When switching surfaces the music transitions thusly: fade out of the current tracks, pause (silence), fade in of a new track.
The duration of each step is controlled by utility constants, so a mod could change them. For example with increased fade out duration the music wouldn't restart twice if you go back to the first planet quick enough.

But I recognize this is not exactly what you're asking for. I will consider adding a timeout step before the fade out (probably with zero duration by default, so you would still need to modify it). The current way was chosen as a compromise between immediate feedback of switching surfaces and too many music changes when switching surfaces quickly and often.
Gearfoot
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Nov 05, 2024 2:53 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Gearfoot »

Oh wow, thank you for reading my suggestion. The changes sound good and a corresponding mod should be doable.
"I'm somewhat of a coder myself!" :)
Amegatron
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Sun Mar 06, 2016 4:12 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Amegatron »

I heavily second this wish. Currently, once you leave Nauvis, you truly just can't listen to music, because you need to constantly switch between locations. Not only you just can't enjoy otherwise nice music, it begins to distrub you or make even angry :( Like, you switch to one place, the music started to play and already caught your attention or even started to carry away with corresponding mood. But you then quickly switch to the platform to just press ESC if you were in remote view, and that's it. The music got interrupted which does not add joy.

I would consider this topic as a possible solution: viewtopic.php?f=6&t=119140.
Or even better: let us explicitely chose which theme to play once the corresponding area has been discovered.
I also believe it should be fixed in vanilla SA, and not by mods, even tho they may add some more advanced controls. That is because from my POV currently all the efforts spent on creating this music look like worthless, because at least I personally had to switch the music off, unfortunately.

PS. I think I found a partial workaround/lifehack for myself. We can make a bind to pause the music (unbound by default). And while it is paused, you can switch to another view, and once back - resume the playback. This is definitely not a solution, but at least it partially helps me now :)
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 419
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Stringweasel »

+1 on this so much. Adding a delay before the music changes. Can be short, 5 or 10 seconds. Ideally allowing it to be modded.

I begin to dread changing surfaces just to copy something because it stops and starts my music. Especially if I'm getting in the groove of building Vulcanus things with cool Vulcanus music, need to check something on a different planet that takes 3 seconds, and BAM, mood is gone.
The current way was chosen as a compromise between immediate feedback of switching surfaces
The whole screen changing colour to a planet with different colour schemes and a different factory is a whole lot of feedback already :D
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby
Official Contributor to Space Exploration
Donion
Factorio Staff
Factorio Staff
Posts: 326
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Donion »

Currently I'm thinking a delay of 5-10 seconds before a music transition starts and moving the duration definitions from utility-constants.lua to hidden sound settings.
Donion
Factorio Staff
Factorio Staff
Posts: 326
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Donion »

For 2.0.21 (the next release) I've added a delay before music transition happens, it's 8 seconds by default.
The duration of each music transition stage is configurable using hidden sound settings

Code: Select all

music-transition-delay-ticks
music-transition-fade-out-ticks
music-transition-pause-ticks
music-transition-fade-in-ticks
User avatar
kizrak
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Thu Jul 19, 2018 1:27 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by kizrak »

I'd really like the behavior to be keep playing the current song/music until that song finishes, then pick the next song based on my current (remote view) location.

I never want a song to cut off early but I also want to be able to experience all of the songs without having to make any manual switch, as a naturally/organically switch (remove view) locations.

If I set `music-transition-delay-ticks` to `216000` or some other combination of settings allow me to achieve this? 🎶

Thanks!
Donion
Factorio Staff
Factorio Staff
Posts: 326
Joined: Sun Aug 22, 2021 9:18 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Donion »

kizrak wrote: Fri Nov 22, 2024 3:48 am If I set `music-transition-delay-ticks` to `216000` or some other combination of settings allow me to achieve this? 🎶
Yes, setting the delay to some huge number will do what you want, the current song will finish and a new one based on the current surface you're looking at will start.
Amegatron
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Sun Mar 06, 2016 4:12 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Amegatron »

Thank you a lot for these settings! I'm now finally enjoying the music in-game :) I first set this delay to about 2000 ticks + increased fade-out, and transitions already became smooth to me, that I didn't really even notice them (tracks don't hastily interrupt on one hand, and on the other hand they still switch to another track if I've been "looking" at another surface for quite a long). But I now also set this delay to a huge number, so that tracks don't interrupt at all and finish over time. Also looks good to me.
Gearfoot
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Nov 05, 2024 2:53 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Gearfoot »

Thanks a lot for adding this! Btw: Factory Managers can easily change these hidden settings by clicking with Ctrl+Alt on the Settings button.
Nemoricus
Filter Inserter
Filter Inserter
Posts: 350
Joined: Mon Jan 19, 2015 7:48 am

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Nemoricus »

I quite appreciate having the delay setting. It makes the music feel less chaotic if you're frequently flipping between worlds and platforms.
FasterJump
Fast Inserter
Fast Inserter
Posts: 242
Joined: Sat Jul 09, 2016 11:43 am
Contact:

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by FasterJump »

Thank you!

I enabled "ambient-music-based -on-physical-location" but noticed that I'm almost never hearing the space track, which is a bummer since I spent a few hours designing a ship (and hearing the Fulgora music during this time got old). I was about to post a suggestion to change the music only if I spend more than 4 minutes on another surface during the last 5 minutes.

I don't understand what the 4 settings do so I'm going to try different values. The default values are currently:
music-transition-delay-ticks 480
music-transition-fade-out-ticks 120
music-transition-pause-ticks 300
music-transition-fade-in-ticks 300
Nemoricus
Filter Inserter
Filter Inserter
Posts: 350
Joined: Mon Jan 19, 2015 7:48 am

Re: [Wish] Added delay before switching over to another location's music in remote view

Post by Nemoricus »

If you want the music to wait four minutes before transitioning to a different track, increase music-transition-delay-ticks to 14400. Note that if the music track ends before this delay elapses it will simply transition at that point instead of continuing to wait.
Post Reply

Return to “Implemented Suggestions”