A sound of my project doesn't play.
A description of my sound is:
it is .wav File
it plays perfectly when I press "Play" on Slade3
its name is less than 8 words
the other sounds work fine.
https://i.imgur.com/7g86aLN.png
https://i.imgur.com/vhOCQV5.png
Problem with my sound file
Moderators: GZDoom Developers, Raze Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Re: Problem with my sound file
Try pulling down the console in-game and typing in playsound Weapons/Walther. If the sound plays, then the problem may be with whatever code is invoking the sound (perhaps a typo). If the sound does not play, there might be something strange with the format you've saved it in, and we'd have to see the sound itself to know more.
Re: Problem with my sound file
Since it's in a .pk3 archive, include a patch to the sound file.
For example:
Don't forget to also include the file extension (.wav) if it has one.
For example:
Code: Select all
weapons/walther "sounds/Walther.wav"
- MFG38
- Posts: 414
- Joined: Sun Apr 14, 2019 8:26 am
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Finland
- Contact:
Re: Problem with my sound file
That shouldn't be necessary if the file is in the root of the sounds/ folder, though, which it is in this case. My guess is that it's a problem with the actual sound file.Jarewill wrote:Since it's in a .pk3 archive, include a patch to the sound file.
For example:Code: Select all
weapons/walther "sounds/Walther.wav"
-
- Posts: 35
- Joined: Tue Jun 09, 2020 7:16 am
- Graphics Processor: nVidia (Modern GZDoom)
- Location: North Korea
Re: Problem with my sound file
It worked! Thank you so much.Jarewill wrote:Since it's in a .pk3 archive, include a patch to the sound file.
For example:Don't forget to also include the file extension (.wav) if it has one.Code: Select all
weapons/walther "sounds/Walther.wav"