Re: Sound not playing...
Posted by Sub-Zero on
Sat Feb 19th 2005 at 10:14am
Posted
2005-02-19 10:14am
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
This might be a simple question.. but i have been going crazy over it for quite a while.. along with some other problems.. anyways...
Right now i have an outside spawn area with a box that is set as a trigger... i have an ambient generic setting up the sound.. and it plays it when i spawn.. and when i leave the spawn area and the trigger box it turns off... BUT.... when i go back in the trigger area it doesnt play again.... also when i go into another area with a new trigger and a different sound.. it doesnt even play...
so right now.. i have one sound playing once.. and then when i leave it doesnt play again...
what i want is 2 seperate sounds triggered when i walk in a certain area....
if anyone has any ideas or suggestions please let me know! Thanks in advance
Sub-Zero
Re: Sound not playing...
Posted by Agent Smith on
Sat Feb 19th 2005 at 2:25pm
803 posts
449 snarkmarks
Registered:
Aug 30th 2003
Occupation: Uni Student
Location: NSW, Australia
Perhaps your trigger entities are trigger_once instead of
trigger_multiple. That would be the cause of the first problem I'd
guess. Not sure on the other.
Re: Sound not playing...
Posted by Sub-Zero on
Mon Feb 21st 2005 at 2:49pm
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
Ok i will try the trigger multiple... but ur not sure what is causing the other problem?
Re: Sound not playing...
Posted by $loth on
Mon Feb 21st 2005 at 2:52pm
$loth
member
2256 posts
292 snarkmarks
Registered:
Feb 27th 2004
Occupation: Student
Location: South England
Check the flags area and see if there is a flag which says play once or something.
Re: Sound not playing...
Posted by Sub-Zero on
Sun Feb 27th 2005 at 7:13pm
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
well.. i fixed the first problem.. i got the sound to replay... now how would i go about adding another sound (repeating background noise) to one cavern... and then a repeating background noise to the rest of the map?
if anyone has any ideas i would appreciate it! =P
Re: Sound not playing...
Posted by Natus on
Sun Feb 27th 2005 at 7:35pm
Natus
member
570 posts
76 snarkmarks
Registered:
Jan 28th 2005
Location: Denmark
im not sure but you could place an ambient_generic in that cavern an then move the circle around it untill it fits the cavern
Re: Sound not playing...
Posted by Sub-Zero on
Mon Feb 28th 2005 at 12:18am
Posted
2005-02-28 12:18am
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
well from what ive tried so far it doesnt work... i hear the first sound fine.. but when i go into that second room.. no sound exists... =(
Re: Sound not playing...
Posted by Sub-Zero on
Tue Mar 1st 2005 at 3:54am
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
ok... i still dont have a second sound.. just the first sound in the one room....
what im looking to do is have different background sounds in different rooms.... is there an easy way to do this.. that perhaps i dont understand? anyone with an idea?
Re: Sound not playing...
Posted by LIVEWIRE898 on
Wed Mar 2nd 2005 at 4:05pm
32 posts
13 snarkmarks
Registered:
Nov 27th 2004
Occupation: Architectural Tech
Location: Canada
Are any of the sounds that you are using for you map a custom sound?
If so or even if they are not you might want to check out if the the sound file is loopable. To do this open the file in a sound editor (I used adobe Audition) and look at the properties of the file. I used a cricket sound in my map as a custom sound and had to change these properties to get the sound to loop. I changed the properties to loop. Then as an ambient_generic i set the flag to loop. This worked out fine for my purposes. Not sure if its going to work for you... if the sound file is one already in HL2 you might want to extract the file and rename it with an _loop in the file name (just to clarify the difference in the 2 files) and check the properties to make sure it is loopable... for some reason source needs this property checked in order to properly loop a sound file.
hope this helps out!!
Re: Sound not playing...
Posted by ReNo on
Wed Mar 2nd 2005 at 4:15pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
I've had some problems with ambient_generics not playing despite being
set up fine, and have found that using soundscapes is far more reliable
where they are suitable. For something like a constant caverny noise
and echo, a soundscape is perfect. There is documentation about using
them in the Source SDK FAQ, so I won't bother explaining them here. To
test out the various soundscapes to find out which one you want to use,
load up your map, turn on cheats (sv_cheats 1), and use the "find
soundscape" command to have the console tell you the various soundscape
testing commands you have available.
Re: Sound not playing...
Posted by Sub-Zero on
Wed Mar 2nd 2005 at 6:12pm
53 posts
15 snarkmarks
Registered:
Feb 16th 2005
Occupation: Student
Location: USA
oki doki reno.. im going through map fps loss right now.. as soon as im done figuring that out.. next challenge is sound ... thanks u guys =P
....hopefully the source sdk info isnt too confusing..