My ghosts are making no sound

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
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England
Contact:

My ghosts are making no sound

Post by Hidden Hands »

SNDINFO

Code: Select all

ghurst/sight = "GRSTSIT"
ghurst/pain  = "GRSTPAIN"
ghurst/death = "GRSTDTH"
ghurst/active = "GRSTACT"
DECORATE

Code: Select all

AttackSound "ghurst/sight"
  PainSound "ghurst/pain"
  DeathSound "ghurst/death"
  ActiveSound "ghurst/active"
This is the code for my DECORATE and SNDINFO. The sound files themselves have names that match the logical names perfectly, but for whatever reason, in game, they are completely silent. What can I do?
User avatar
Rachael
Posts: 13967
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: My ghosts are making no sound

Post by Rachael »

What are the sound file names? Are you loading it into your game properly?
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: My ghosts are making no sound

Post by Ryan Cordell »

Is this a ZScript or etc. new thing, or am I missing something? I'm not sure you should have assignment operators or quotation marks when defining sounds to use.
Nevander
Posts: 2254
Joined: Mon Jan 06, 2014 11:32 pm

Re: My ghosts are making no sound

Post by Nevander »

Yea I'm pretty sure it should be this instead:

SNDINFO

Code: Select all

ghurst/sight GRSTSIT
ghurst/pain GRSTPAIN
ghurst/death GRSTDTH
ghurst/active GRSTACT
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England
Contact:

Re: My ghosts are making no sound

Post by Hidden Hands »

As always you guys have solved my problem with ease. Thank you so much.
Nevander wrote:Yea I'm pretty sure it should be this instead:

SNDINFO

Code: Select all

ghurst/sight GRSTSIT
ghurst/pain GRSTPAIN
ghurst/death GRSTDTH
ghurst/active GRSTACT
This was all the problem was, so thank you for fixing it for me. I dunno how I made a mistake like that.
Locked

Return to “Editing (Archive)”