Re: Sounds only play once problem
                        Posted by Devious on 
    Wed Jan 5th 2005 at 7:00pm
                     
                    
                 
                
            
            
                
    
            25 posts
        113 snarkmarks
        Registered: 
    Oct 17th 2004
                    Occupation: CAD - strucural steel
                            Location: Bolton,UK
             
                
                        Im having problems with all of my sounds,  when I compile and run my map and it sets up a listenserver I hear the sounds properly once then they wont play again. People who join my listen server say the same thing happens. If I start a dedicated server up they dont play at all.
Its the same even on lifts which are func_movelinear with the move and stop sounds and on ambient_generics triggered when you touch trigger_multiple's
Anyone any ideas ?
                                    
             
        
            
            
                                     
                                
                    
                        Re: Sounds only play once problem
                        Posted by Static88 on 
    Wed Jan 5th 2005 at 7:10pm
                     
                    
                 
                
            
            
                
    
            122 posts
        52 snarkmarks
        Registered: 
    Dec 31st 2004
                    Occupation: USMC
                            Location: USA
             
                
                        The problem may be that you might not be using a .wav file that loops.  Most, if not all sounds won't play twice or more unless there's a trigger of some kind placed in the map.  Check for .wav files that end in loop.wav.
                                    
             
        
            
            
                                
                    
                        Re: Sounds only play once problem
                        Posted by Devious on 
    Wed Jan 5th 2005 at 7:40pm
                     
                    
                 
                
            
            
                
    
            25 posts
        113 snarkmarks
        Registered: 
    Oct 17th 2004
                    Occupation: CAD - strucural steel
                            Location: Bolton,UK
             
                
                        I dont want the sounds im using to loop , for example i have i trigger multiple which when you fall down a pit triggers a falling scream once.  When you fall down again it doesnt play.  ITs the same with the lifts, the first time you use them they make the moving sound but after that they are silent.
                                    
             
        
            
            
                                
                    
                        Re: Sounds only play once problem
                        Posted by Zeon on 
    Wed Jan 5th 2005 at 7:45pm
                     
                    
                 
                
            
            
                
    
            37 posts
        14 snarkmarks
        Registered: 
    Dec 22nd 2004
                            Location: USA
             
                
                        After you trigger the PlaySound, are you also triggering a StopSound?  It might not be necessary, but it makes things tidy.  Don't forget to check your flags...especially the one that says isNOTlooped.
                                    
             
        
            
            
                                
                    
                        Re: Sounds only play once problem
                        Posted by Devious on 
    Sat Jan 8th 2005 at 6:30pm
                     
                    
                 
                
            
            
                
    
            25 posts
        113 snarkmarks
        Registered: 
    Oct 17th 2004
                    Occupation: CAD - strucural steel
                            Location: Bolton,UK
             
                
                        I have just tried the stop sound also but it doesnt help.  And that doesnt apply to func_movelinear which I use for the lifts and has its own move and stop sound keys. Im out of ideas , my map is finished but when run on a dedicated server everything is silent :sad:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Sounds only play once problem
                        Posted by Orpheus on 
    Sat Jan 8th 2005 at 6:39pm
                     
                    
                 
                
            
            
                
    
                    
                             Orpheus
                            Orpheus
            
                        member
     
            13860 posts
        2024 snarkmarks
        Registered: 
    Aug 26th 2001
                    Occupation: Long Haul Trucking
                            Location: Long Oklahoma - USA
             
                
                        is it possible, that you are using entities meant for only single player maps?