LabDansen


Replaces lab vanilla sounds. Best use with DiscoScience

Tweaks
2 months ago
1.0 - 2.0
4.96K

g Is every lab supposed to play the song independently?

4 years ago

Just the title, there's not much more to it

3 years ago

I'm yet to find a way to make every lab play it in sync. It turned out to be more difficult task than I've thought

3 years ago

Aggregation options for sound can limit how many copies of the sound play at once

https://wiki.factorio.com/Types/Sound#aggregation

3 years ago

yeah, only one copy of sound will be much better, is that possible what Kiplacon suggest? thx!

3 years ago

Aggregation options for sound can limit how many copies of the sound play at once

https://wiki.factorio.com/Types/Sound#aggregation

I didn't manage to make it work, it appears that Aggregation works only for some undocumented special cases: https://forums.factorio.com/viewtopic.php?p=511875#p511875

Alternatively, all sound sources could be synced, similar to the transport belts (persistent). But it should be toggleable somehow, just like belts that are disabled with circuit network make no sound. Idk if this sort of logic can be implemented for labs.

3 years ago

Hi there, just chiming in to keep this discussion active/alive. Has anyone managed to figure out a way to synchronize all the lab sounds?

3 years ago
(updated 3 years ago)

Not to necro an old discussion, but you can sync lab sounds by making the following changes to sound.lua in the mod's prototypes folder:

Add the following attributes to the working_sound object:

max_sounds_per_type = 1,

e.g., change the sound.lua script to read:

-- The Lab
data.raw["lab"]["lab"].working_sound = {
    sound = {
        filename = "__LabDansen__/sounds/Lab_Dansen.ogg",
        volume = 0.5
    },
    max_sounds_per_type = 1,
    idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 },
    apparent_volume = 2.5,
}
2 years ago

https://mods.factorio.com/mod/LouderLabDansen remix of this mod that applied this code

2 months ago

Alternatively, all sound sources could be synced, similar to the transport belts (persistent). But it should be toggleable somehow, just like belts that are disabled with circuit network make no sound. Idk if this sort of logic can be implemented for labs.

and so... i "just" wrote a mod to solve this problem
https://mods.factorio.com/mod/factorio-sync-sound-manager
https://mods.factorio.com/mod/factorio-synced-labs-sound
P.S. Sorry to nitpick

a month ago
(updated a month ago)

Alternatively, all sound sources could be synced, similar to the transport belts (persistent). But it should be toggleable somehow, just like belts that are disabled with circuit network make no sound. Idk if this sort of logic can be implemented for labs.

and so... i "just" wrote a mod to solve this problem

You sicko! Now update it to 2.0 xD
But for real, I'm glad that somebody found out how make it work, I just had to wait for four years

a month ago

check the source code on github, I have already updated it, I just haven't tested it for stability

a month ago

and, I released the mod on the portal, yeah...it seems to work, I hope

a month ago
(updated a month ago)

But for real, I'm glad that somebody found out how make it work, I just had to wait for four years

to be honest I didn't write it for labs but for my other mod but in SE I stopped playing (and the meme there is quite local, not everyone knows about RW) and labdansen is used by many people, so why not :)

New response