ambient_generic

ambient_generic

Re: ambient_generic Posted by Gears_Of_War_Man on Sat Nov 3rd 2007 at 3:06am
Posted 2007-11-03 3:06am
5 posts 1 snarkmarks Registered: Dec 16th 2006
I'm having alot of trouble getting a ambient generic working in my map. It just doesn't play and i've done everything to get it working. I need some help please.
Re: ambient_generic Posted by thehalflifedude on Sat Nov 3rd 2007 at 4:57am
thehalflifedude
30 posts
Posted 2007-11-03 4:57am
30 posts 3 snarkmarks Registered: Oct 31st 2007
i have the exact same problem. i REALLY want to add backround music, but it didn't work. everything was set to what it was sopposed to be set for, but still didn't work.
Re: ambient_generic Posted by hl_world on Sat Nov 3rd 2007 at 1:45pm
hl_world
144 posts
Posted 2007-11-03 1:45pm
hl_world
member
144 posts 144 snarkmarks Registered: Jan 30th 2007
Make sure you include file extensions in the WAV name field. For example: ambience/screammachine.wav[color=white].[/color]

Also tick one of the Radius flags.
Re: ambient_generic Posted by thehalflifedude on Sat Nov 3rd 2007 at 4:27pm
thehalflifedude
30 posts
Posted 2007-11-03 4:27pm
30 posts 3 snarkmarks Registered: Oct 31st 2007
um, i allready did that.
Re: ambient_generic Posted by Le Chief on Sat Nov 3rd 2007 at 8:55pm
Le Chief
2605 posts
Posted 2007-11-03 8:55pm
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
OMG, why the hell do so many people have problems with the ambient generic, its so simple.

@gears_of.....: I TOLD YOU I WOULD HELP YOU ON MSN, I WAS ON YESTERDAY!!!!!!!!

Now, you to people, can you post the name of the sound that you are wanting to add, it could be a looped sound, just post the name, and tell me if it's custom.

Now, this is what settings you should have in your ambient_generic:

Class Info

name:sound
wave name: we will get to that later
volume: 10

Flags

Playeverywhere is ticked
start silent is ticked.

Now make a trigger auto with the following settings:

target:sound
deley before trigger:1

Now I am using a different fgd/engine for my mapping, but there is some setting called trigger to send, or global state to read or something, its in the class info, you need to set that setting to "on", not "off", that is its defult value. I have no idea about that flag settings, use your instinct.

Now about the wave name in the ambient generic. Here are some examples of where the sound is and what I would type into for wave name(btw, always use froward //// slash) : The left is where the sound is, the right iw what you need to type in on the ambient generic

c:/sierra/half-life/valve/sound/ambience/sound.wav :: ambience/sound.wav
c:/sierra/half-life/valve/sound/hello.wav :: sound.wav
c:/sierra/half-life/yourmod/sound/ambience/boo.wav :: ambience/boo.wav
c:/sierra/half-life/yourmod/sound/crap.wav :: crap.wav

Use this as a guide when adding your sound. Both of you guys make the exact same setup, but ofcourse use the sound that you want to be played, now as soon as you spawn in the map that you did this in, there will be a 1 second deley than you will hear the sound. I want you both to post back here and tell me if you heard the sound when you did this.

Now as a quiz to you both, if my sound is in : c:/sierra/half-life/valve/sound/bang/explosionsound2.wav what would I type into my ambient generic? The first on to awnser is the best, and the other one is the sucker, this quiz is only for gears of war man and half-lifedude, not for anybody else :razz:
Aaron's Stuff
Re: ambient_generic Posted by Gears_Of_War_Man on Sat Nov 3rd 2007 at 9:57pm
Posted 2007-11-03 9:57pm
5 posts 1 snarkmarks Registered: Dec 16th 2006
i,ve already done everything you guys have said and none of aaron da killers hints work the sound is still not working :sad:
Re: ambient_generic Posted by hl_world on Sat Nov 3rd 2007 at 11:07pm
hl_world
144 posts
Posted 2007-11-03 11:07pm
hl_world
member
144 posts 144 snarkmarks Registered: Jan 30th 2007
If it's a sound file you've added, you have to match up it's location in the Half-Life Folder (and/or subfolders) to the game directory or the mod directory and the sub-folder under that (and where you're sound file is kept) has to be called "sound".

User posted image

C:\Sierra\Half-Life\Valve - game directory

C:\Sierra\Half-Life\Mod - mod directory

C:\Sierra\Half-Life\Valve\sound\ambience\screammachine.wav - typing ambience\screammachine.wav in the [color=limegreen]ambient_generic entity will allow it to play this sound.[/color]

C:\Sierra\Half-Life\Mod\sound\ambience\customsound.wav - typing ambience\customsound.wav in the [color=limegreen]ambient_generic entity will allow it to play this sound but only works for that mod.[/color]
Re: ambient_generic Posted by Le Chief on Sat Nov 3rd 2007 at 11:14pm
Le Chief
2605 posts
Posted 2007-11-03 11:14pm
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Ok, fixed gears_of_war_mans problem. He frickin got the sound from another game, it was a stereo sound. People, half-life's sounds need to be in a certain format, and have to be mono so that you can at least hear them.
Aaron's Stuff