Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sounds won't play
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Sounds won't play

This is driving me absolutely insane. For some reason, I can't get these gui sounds to play. I've even added SetMessages to each part of the timer to ensure that the timer itself is working, and it is. Every message in the function displays properly but there are still no sounds.

PHP Code: (Select All)
void TimerBegin(string asTimer)
{
    if(
asTimer == "sound1")
    {
        
PlayGuiSound("impact_glass_med.snt"0.0f);
        
SetMessage("Doors""inside"0);
    }
    else if(
asTimer == "sound2")
    {
        
PlayGuiSound("impact_glass_low.snt"0.0f);
        
SetMessage("Doors""inside"0);
    }
    else if(
asTimer == "sound3")
    {
        
PlayGuiSound("16_grease_lever.snt"0.0f);
        
SetMessage("Doors""inside"0);
    }
    else if(
asTimer == "line")
    {
        
AddEffectVoice("hartlib_010.ogg""""Ch04Misc""hartlib10"true"SamuelVoice"020);
        
SetEffectVoiceOverCallback("HartlibLine11");
    }


(This post was last modified: 07-10-2012, 10:45 PM by Damascus.)
07-10-2012, 09:48 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Sounds won't play

Maybe cause the volume is at 0?

07-10-2012, 09:56 PM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#3
RE: Sounds won't play

Oh my god.

I thought that was fade in time.

Brb, committing suicide.

(Thank you!)

07-10-2012, 10:01 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Sounds won't play

Haha your welcome ^^

07-10-2012, 10:03 PM
Find




Users browsing this thread: 1 Guest(s)