Custom weapon has no sound
Posted: Thu Aug 31, 2017 8:19 pm
Running the risk of angering the mods for posting another topic right after the first. So if I am breaking any etiquette let me know and maybe merge the two custom weapon issues threads I posted.
I fixed the previous issue of the gun not even showing up, and now I have added a custom projectile that replaces the vanilla rocket. But the problem is, it is completely silent.
I have my custom sound in the Sounds directory in my PK3. But when I fire my custom gun, no sound at all.
I tried commenting out the SeeSound line of code and adding PlaySound in the fire state for the actual weapon, with the custom sound I wanted, but that also didn't work: It just played the vanilla rocket sound instead of my sound.
I also tried renaming the sound DSGSS1, also no luck.
I am really excited to be finally making my own weapons. I feel like I am almost there.
I fixed the previous issue of the gun not even showing up, and now I have added a custom projectile that replaces the vanilla rocket. But the problem is, it is completely silent.
Code: Select all
Actor GaussRocket : Rocket replaces Rocket
{
SeeSound "GAUSS1"
}
I tried commenting out the SeeSound line of code and adding PlaySound in the fire state for the actual weapon, with the custom sound I wanted, but that also didn't work: It just played the vanilla rocket sound instead of my sound.
I also tried renaming the sound DSGSS1, also no luck.
I am really excited to be finally making my own weapons. I feel like I am almost there.