So for my cudgel, I want to play a .wav every time I attack. This includes hitting creatures, hitting walls, and missing.
In sounds.lua I have:
Code: Select all
defineSound{
name = "smoke",
filename = "C:Users/lallen/Documents/Almost Human/Legend of Grimrock/Dungeons/Nugcastle/mod_assets/sounds/smoke_brief.wav",
volume = ".42"
loop = "false"
}
Code: Select all
cloneObject{
name = "dank_cudgel",
baseObject = "cudgel",
uiName = "Dank Cudgel",
attackPower = 7,
coolDownTime = 1,
strength = 2,
accuracy = 5,
attackSound = "smoke",
damageType = "physical",
description = "This blunt weapon radiates with dank energy.",
}
I am not certain if it's due to flawed coding or a bug in the beta.
Any assistance, please?
(P.S. - I would also like to make the cudgel a slight green hue, if possible. I am complete unsure of where to start, so any tips or advice would be greatly appreciated.)
