Something wrong with these sounds? [SOLVED]

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
Zemakat
Posts: 117
Joined: Sat Apr 01, 2017 5:11 pm
Preferred Pronouns: He/Him
Graphics Processor: Intel (Modern GZDoom)
Location: United States

Something wrong with these sounds? [SOLVED]

Post by Zemakat »

So I'm working on a zombie modification and decide to give a bandit some sounds. All these sounds are OGG format as well. As well as his Bandit/Hit sounds being WAV, and not playing either.

Whensoever I decide to go into the game, his sounds don't seem to play, it's only the default grunt/attack sounds. I can't tell whether I did something wrong in the SNDINFO or his DECORATE code. Nothing seems to be misspelled... :?:

Here's both of his codes in DECORATE and SNDINFO.
Spoiler:
Spoiler:
EDIT: Forgot to give the file. http://www.mediafire.com/file/nngh2p62x ... Brains.pk3
Last edited by Zemakat on Thu Jul 13, 2017 4:23 am, edited 1 time in total.
User avatar
Voros
Posts: 151
Joined: Fri Feb 03, 2017 11:47 pm

Re: Something wrong with these sounds?

Post by Voros »

Put the sounds in the "sounds" folder. I haven't looked inside the PK3 though.
Make sure to its something like this in SNDINFO:

This is an example.

Code: Select all

Bandit/Flee1 "sounds/DSBANDITEE1.ogg"
If the sounds don't have a file extension, then don't add one in SNDINFO.
Zemakat
Posts: 117
Joined: Sat Apr 01, 2017 5:11 pm
Preferred Pronouns: He/Him
Graphics Processor: Intel (Modern GZDoom)
Location: United States

Re: Something wrong with these sounds?

Post by Zemakat »

Voros wrote:Put the sounds in the "sounds" folder. I haven't looked inside the PK3 though.
Make sure to its something like this in SNDINFO:

This is an example.

Code: Select all

Bandit/Flee1 "sounds/DSBANDITEE1.ogg"
If the sounds don't have a file extension, then don't add one in SNDINFO.
Hey...it works! That was surprisingly simple. Thanks!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Something wrong with these sounds? [SOLVED]

Post by Graf Zahl »

The reason here is actually quite simple: A default lump name is only 8 characters. And all your sound names are longer so you got to use their full path.
User avatar
Enjay
 
 
Posts: 27042
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Something wrong with these sounds? [SOLVED]

Post by Enjay »

Yes, I tend to try to keep my file names at 8 characters and under and I can use the simpler format originally posted.

There's nothing wrong with using full path names, of course. Using 8 characters is probably just a habit I picked up from making WAD files for so many years where the longest name possible is 8 characters.
User avatar
Voros
Posts: 151
Joined: Fri Feb 03, 2017 11:47 pm

Re: Something wrong with these sounds? [SOLVED]

Post by Voros »

I prefer writing out the whole thing. It's more concise that way if you ask me.
Locked

Return to “Editing (Archive)”