LabDansen


Replaces lab vanilla sounds. Best use with DiscoScience

Tweaks
3 years ago
1.0 - 1.1
3.69K

g Is every lab supposed to play the song independently?

3 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.

2 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?

2 years ago
(updated 2 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,
}
1 year, 7 months ago

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

New response