World Control

World Control

1M Downloads

Custom howler alarm sounds doesnt work

Opened this issue ยท 12 comments

commented

I tried this exactly and it didnt work: https://github.com/World-Control-Team/World-Control/wiki/Adding-Custom-Sounds-to-the-Howler-Alarm

Please help what should i do? Is it no longer possible?

commented

For others: there's mod called energy control, it is same like word control but more updated and it works correctly.

commented

it also has a lot of compat for other mods

commented

You probably did something wrong. Please share your sounds.json file, since that's usually what people mess up with.

commented

{
"alarm-nuclearalarmsiren": {"category": "master","sounds": [{"name": "worldcontrol:alarm-nuclearalarmsiren","stream": true}]}
}

file was modified in WCalarms/assets/worldcontrol/sounds.json

commented

I think the JSON file is correct. Did you add the .ogg file and add the custom alarm to the config while changing UseCustomSounds to true? Please show me your config file.

commented

Yes i added sound file called alarm-nuclearalarmsiren.ogg

Yes i added true to usecustomsounds. I cant copy the file here cuz i am not on pc right now

commented

Configuration file

general {
I:SMPmaxAlarmRange=256
I:alarmRange=64
S:howlerAlarmSounds <
default
sci-fi
nuclearalarmsiren
>
I:maxAlarmRange=128
I:remoteMonitorPowerUseIC2=1
I:ticksBetweenHowlerSound=2
B:useCustomSounds=true
}

commented

Is that the exact config file? I would try to delete it to regenerate it, I think it might be the issue. And then add nuclearalarmsiren.

commented

Yes it gives me this config file everytime i delete it. Is it a bug? I downloaded latest version of worldcontrol

commented

I don't think so. I can't see what's wrong but other people have gotten their alarms working.

commented

So what should i do?

commented

Idk. Do you wanna see if I missed something? @dmf444