ambient_generic Created 17 years ago2006-06-07 21:41:47 UTC by 3mil 3mil

Created 17 years ago2006-06-07 21:41:47 UTC by 3mil 3mil

Posted 17 years ago2006-06-07 21:41:47 UTC Post #184240
when i placed ambient_generic in a map it didn't work. so i went back and read the tutorial. and it says that the .wav file i want to play has to be in the valve/sound/ambience folder. but theres no sound folder inside my valve folder : so i made one ( a sound/ambience inside the valve folder.), but that didnt work either...any ideas?
Posted 17 years ago2006-06-07 21:53:21 UTC Post #184241
Is the path written correctly? ambience/yoursound.wav (without the valve/sound/)

Is it set to "Start on"?
Posted 17 years ago2006-06-08 02:48:23 UTC Post #184255
Or just "ambience/<filename>.wav". Hammer already knows to look in the sound folder, right?
Posted 17 years ago2006-06-08 04:06:43 UTC Post #184257
True.
The same goes for models and sprites, like:

models/table.mdl (Half-Life/valve/models/table.mdl)
sprites/teleport.spr (Half-Life/valve/sprites/teleport.spr)
The Mad Carrot The Mad CarrotMad Carrot
Posted 17 years ago2006-06-08 06:49:42 UTC Post #184264
Posted 17 years ago2006-06-08 07:55:51 UTC Post #184267
Nothing more to add.
I also had this problem with my early maps. :)
The path you need to write is the path within the 'sound' folder (sound/amnience/something/sound.wav = ambience/something/sound.wav)
Daubster DaubsterVault Dweller
Posted 17 years ago2006-06-08 15:01:52 UTC Post #184318
yea it was set on start on but i guess ill try the file path doctor cheese or daubster suggested. thanks.
Posted 17 years ago2006-06-08 15:07:11 UTC Post #184320
using the 'browse' feature of hammer adds the entire path

I:/games/won-hl/valve/sounds/ambience/mysound.wav

All you need is

ambience/mysound.wav

(said previously, but not very clearly)
Archie ArchieGoodbye Moonmen
Posted 17 years ago2006-06-08 15:29:58 UTC Post #184321
(sound/amnience/something/sound.wav = ambience/something/sound.wav)
Wrooong...^^
Posted 17 years ago2006-06-08 16:56:01 UTC Post #184323
A very common problem is that people often are confused when it comes to the flag- 'is not toggled'
If you tick the flag the sound wont be looped if you don't then it will be. Hence in older FGDs it was called 'is not looped'.
Maybe the ambient Generic does play but when you get to it's area it have already stopped playing.

For the lazy ones that don't want to read the whole post, let me summerize it-

Is not toggled=Is not looped
Posted 17 years ago2006-06-08 17:25:13 UTC Post #184327
ive tryed it with the toggle box checked, is there any way something mite be interfering like a leak or something?
Posted 17 years ago2006-06-08 17:39:28 UTC Post #184330
If there is a leak you should know about it when you read your compile log. ;) Leaks wont have anything to do with this.
Posted 17 years ago2006-06-08 18:16:24 UTC Post #184334
You must be logged in to post a response.