I have a custom sound that I plan to eventually use with a custom projectile but right now I can't even figure out how to get the sound to play when assigned to a sword swing.
Here is the code for my sound:
I need help with custom sounds
Here is the code for my sound:
Code:
using Microsoft.Xna.Framework.Audio; using Terraria.ModLoader; using Terraria; namespace hyperfrostw.Sounds.Item { class masterswordbeamsound : ModSound { public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan,...