What's wrong with my attempt to overwrite the attack sound?
Posted: Thu Jan 30, 2020 9:06 pm
I'm currently trying to create a mod that allows the user to overwrite the sound that's played when friendly structures are attacked by biters. My mod folder currently contains a folder named "sound" with the new soundfile named "alert-destroyed.ogg" and my data-updates.lua currently looks like this:
When starting the game, I get this error message:
Can you please help me and tell me what I'm doing wrong and what I need to fix?
Code: Select all
data:extend(
{
["utility-sounds"] = {
default = {
alert_destroyed = {
{
filename = "__CustomAttackSound__/sound/alert-destroyed.ogg"
}
}
}
}
})
Can you please help me and tell me what I'm doing wrong and what I need to fix?