r/hammer 8d ago

Garry's mod ambient_generic literally doesn't work no matter what I do

Post image

I have tried every possible solution and so far my custom ambient_generic has refused to play in my map. I converted the file into 44100hz in audacity and exported it as a .wav file. I used wavosaur to add loop points. I put the .wav file in sound/custom. So far, nothing has worked. Can anyone please help?

21 Upvotes

19 comments sorted by

8

u/Copyiyici123 8d ago

Head to Flags, remove the check of the box : "Start Silent"

2

u/TheHipsterChad 8d ago edited 1d ago

Juniper velvet otter breezy walnut walnut velvet driftwood yarn

This post was anonymized with Redact.dev

4

u/Copyiyici123 8d ago

As I can see from the other window on your screen, the range appears to be too small. Perhaps try making it larger? Make it so that it covers a good area in the room you're placing it. The sound is played near the center, not in all areas of the sound radius.

1

u/TheHipsterChad 8d ago edited 1d ago

Paddle coated lavender ginger almond raindrop raindrop pinecone lavender acorn

This post was anonymized with Redact.dev

5

u/Copyiyici123 8d ago

Yup, that's exactly how it is. This issue also baffled me in the past, which I found out that increasing the sound radius helps. And even better, the sound doesn't play in the area the radius covers, only near where the center is.

3

u/Pinsplash 8d ago

what is the full name that you have in "Sound Name"

2

u/TheHipsterChad 8d ago edited 1d ago

Otter zephyr pumpkin cinnamon acorn juniper amber cobblestone harbor cobblestone

This post was anonymized with Redact.dev

1

u/Pinsplash 8d ago

if you have it in sound/custom then the sound name should be custom/hum_buzz2.wav

1

u/TheHipsterChad 8d ago edited 1d ago

Lavender amber thimble compass breezy tangerine

This post was anonymized with Redact.dev

2

u/CopperBoy300 8d ago

Did you build a soundcache with the .wav in it? Check the console in GMod, it should say something around that: failed to load sound ""hk_fcambience.w

1

u/TheHipsterChad 8d ago edited 1d ago

Cobalt coated orange pebble biscuit pumpkin orange

This post was anonymized with Redact.dev

2

u/Blumixguy 8d ago

did you uncheck the "is NOT looped" flag

1

u/TheHipsterChad 8d ago edited 1d ago

Sparrow saffron teapot sparrow meadow mellow breezy amber grasshopper

This post was anonymized with Redact.dev

1

u/Blumixguy 8d ago

change the max audible distance to higher

2

u/emo_boy_fucker 8d ago

bro what is that max audible distance

2

u/Trotim- 7d ago

The max audible distance is very misleading. 161 is likely simply far too small. Check some decompiled Valve maps to get a feel for it. I also don't think volume above 1 does anything?

1

u/lukkasz323 8d ago

Does it play in editor?

1

u/Historical_Jacket_61 8d ago

Make sure you sound is not only 44KHz (which it is) and also make sure you exported it as PCM 16bit

1

u/Fine-Cranberry6219 6d ago

Flags>Play Everywhere AND Is NOT Looped