Jump to content

Issue with SNDINFO and PlaySound ACS


Recommended Posts

Hi all,

 

I'm having an issue with my SNDINFO file - Only some of the sounds seem to be working in my wad?

 

I'm using the PlaySound script like below -

 

script 13 ENTER //spooky sound
{
    playsound(23,"rad3",CHAN_BODY,1.0,TRUE,ATTN_STATIC,FALSE);
}

 

and its working absolutely fine. The same goes for all of the sounds in the below image in Slade EXCEPT rad3 and horrcaf -

 

980529565_Screenshot2024-06-05125137.png.380935c4bd6054d70f8df16c8f29cac3.png

 

1172477277_Screenshot2024-06-05125638.png.6741309020d871fca52f9823e465c59d.png

 

Can someone please help as I'm losing my mind trying to fix this.

 

Thanks in advance!

Share this post


Link to post

You dont need the = sign between the sound name and the Sound file reference

 

BUZZ Buzz/// Not   Buzz = Buzz

THis may or may not fix the sound reference since you show and say most of them are working

 

Are you able to play the stubborn issue sounds in SLADE?

 

 

Pic

Spoiler

844282523_Screenshotfrom2024-06-0506-31-18.png.14f5921087954e1c8ddb88348aefa3f5.png

 

Also-- You can compress all of those WAV files into mp3, ogg or Flac if you want to save space in the mod. ZDoom family all support mp3 iirc

Edited by kalensar

Share this post


Link to post
Quote

You dont need the = sign between the sound name and the Sound file reference

 

BUZZ Buzz/// Not   Buzz = Buzz

THis may or may not fix the sound reference since you show and say most of them are working 

Yeah, I added the "=" because I thought that might fix the issue but it didn't, and I haven't changed it back yet.

 

The sounds also play fine just in Slade, I even tried the "horrcaf" sound on just a dummy test wad and it worked fine which is extra confusing.

 

(I know about the compression, my DAW is set to wav by default for music and I'm too lazy to change it, I'll compress them for release asuming I can fix this damn issue)

Share this post


Link to post
17 minutes ago, domin129pl said:

Yeah, I added the "=" because I thought that might fix the issue but it didn't, and I haven't changed it back yet.

You can ignore my critique on the = bit. I just read up on it and both versions are valid. The version with = is the new way and preferred according to wiki. My bad because I hadnt read the SNDINFO  wiki in a long time.

 

The only thing I can think of for HORRCAF and RAD3 is they might have an invisible character taking up an extra space in the names. I know thats an oddball sounding suggestion but sometimes that very problem can scum up Decorate files too.

 

Another option is maybe update the sound name of the sound file itself for HORRCAF to something maybe shorter and // These type of problems are always crap when they occur.

Edited by kalensar

Share this post


Link to post
9 minutes ago, kalensar said:

The only thing I can think of for HORRCAF and RAD3 is they might have an invisible character taking up an extra space in the names. I know thats an oddball sounding suggestion but sometimes that very problem can scum up Decorate files too.

Tried renaming it, adding spaces, renaming the actual file in the folder to just "horrcaf" without anything else, sadly nothing seems to be making it work - its like the SNDFILE just gives up when it reaches those two :/

 

Thanks for your help anyway, after tons of googling it seems like I'm the first person that this is happening to so I'm down to trying everything to see if it sticks

Share this post


Link to post
10 minutes ago, kalensar said:

 

Is your file named SNDINFO or SNFILE?

SNDINFO, I keep mistyping it as "file" for some reason 🙄

Share this post


Link to post

Incase anyone here comes in the future - I managed to fix this issue by copying the whole WAD into a new one and the issue fixed itself. Very frustrating and odd.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...