looping sound
Post Reply
Quote
Re: looping sound
Posted by KoRnFlakes on Tue Sep 30th at 11:04am 2003


k, How do I loop an ambient_generic? do I have to keep retriggering it after its time period or can I do something else? [addsig]



Quote
Re: looping sound
Posted by Adam Hawkins on Tue Sep 30th at 11:09am 2003


I haven't got Hammer in front of me to check cos i'm at work, but doesn't it have a 'tick box' to 'loop sound'?

*EDIT* Actually I might be completely off what you mean anyway - I don't tend to work well without Hammer in front of me

[addsig]




Quote
Re: looping sound
Posted by Gollum on Tue Sep 30th at 11:09am 2003


http://www.snarkpit.com/pits/gollum/Prefab files/loop.zip

That's a little prefab that will loop anything for you.  This is how it works:

  • Trigger_auto starts MM (multi_manager).
  • MM retriggers itself after the desired delay (needs multithreaded flag ticked)

Some sounds have a special key encoded into the WAV that makes them loop auto-magically.  If you don't know how to insert this (I don't), use the above setup instead.





Quote
Re: looping sound
Posted by Adam Hawkins on Tue Sep 30th at 11:11am 2003


There ya go....I was way off the trail

Don't listen to me - I talk rubbish

[addsig]




Quote
Re: looping sound
Posted by Gollum on Tue Sep 30th at 11:13am 2003


No, there is a tick box like you say.  It's called "Is NOT looped".  It allows you to STOP looping wav files from looping automatically.



Quote
Re: looping sound
Posted by Orpheus on Tue Sep 30th at 11:15am 2003


? posted by Adam Hawkins

There ya go....I was way off the trail

Don't listen to me - I talk rubbish

you are partially right...

they removed the "looped" flag about 2 upgrades ago...

none of us have figured out why..

so.. if korn was still using 2.1 you would have nailed it bud

[addsig]




Quote
Re: looping sound
Posted by KoRnFlakes on Tue Sep 30th at 11:35am 2003


hmm, didnt work. Tell me lads, Is it valve/sounds/ or valve/sound ? [addsig]



Quote
Re: looping sound
Posted by Adam Hawkins on Tue Sep 30th at 11:39am 2003


Oooh! I know that one!

valve/sounds

[addsig]




Quote
Re: looping sound
Posted by Gollum on Tue Sep 30th at 11:41am 2003


First thing to test is whether the sound plays at all.  Don't bother with the fancy looping stuff, just see if you can trigger it with a button.

If you are mapping for HLDM, you start in the sounds directory.  You don't need valve/sound/vox/c.wav , only vox/c.wav .

(it's valve/sound singular- Lep.)





Quote
Re: looping sound
Posted by Orpheus on Tue Sep 30th at 11:48am 2003


i think i put mine, in a folder of my own..

valve/sound/music

you can put it any folder you like, as long as its within the valve/sound folder..

listen to gollum.. trigger it some other way first..

via button, or triggerAAA

if it plays at all.. it can be looped with his prefab..

one step at a time my padawan apprentice

? posted by Adam Hawkins

Oooh! I know that one!

valve/sounds

*makes incorrect squacky noise..*

its singular, not plural

 

[edit] i noticed mike made it plural as well

is the british version different subtley than ours is???

[addsig]




Quote
Re: looping sound
Posted by KoRnFlakes on Tue Sep 30th at 12:02pm 2003


? posted by Gollum

First thing to test is whether the sound plays at all.  Don't bother with the fancy looping stuff, just see if you can trigger it with a button.

If you are mapping for HLDM, you start in the sounds directory.  You don't need valve/sounds/vox/c.wav , only vox/c.wav .

Yeah, its just im using steam so everything is in a cache I cant see & had to make the folder myself. I was using sound. Changed it to sounds & now I guess its probably worked but steam is getting stuck on "verifying resources"

Now, I remember whenever my brother tried to put ambient_generics in his map all it would do is stay on "processing sound" & never load the map up. Im guessing mine is doing exactly the same.

Have you experienced this before?

[addsig]




Quote
Re: looping sound
Posted by Orpheus on Tue Sep 30th at 12:06pm 2003


i suggest, if you have the room.. install HL, VHE, and everything else you need to an alternate place..

steam seems to be causing you grief ATM..

my sounds, always work if..

1) the path is correct, no typo's

2) is in the HL accepted format..

scan a stock wave file that came with HL.. make your sound the same..

[addsig]




Quote
Re: looping sound
Posted by Leperous on Tue Sep 30th at 12:35pm 2003


lol look at you children, firing away with your answers, brings a tear to my eye



Quote
Re: looping sound
Posted by KoRnFlakes on Tue Sep 30th at 12:43pm 2003


k, steam looks for sound/
so ive changed that back.

I'm pretty sure my triggers cant be wrong but I cant hear the sound being played at all tbh.

Im stuck on this one

[addsig]




Quote
Re: looping sound
Posted by Wild Card on Tue Sep 30th at 12:48pm 2003


did you turn your speakers on?



Quote
Re: looping sound
Posted by Orpheus on Tue Sep 30th at 12:53pm 2003


ok do what i did..

1)varify sound.. click on it in its folder.. if works,

2) check its format, HL is damned picky, it must be right, compare format to functional stock wave files..

3) place a stock sound in a test map..

4) if it works, replace it with yours..

5) if it works, THEN we can loop it..

remember you can onlyent compile for this..

[addsig]




Quote
Re: looping sound
Posted by Gollum on Tue Sep 30th at 1:18pm 2003


Good advice there - break it down into lots of simple steps and you'll find the problem.





Quote
Re: looping sound
Posted by KoRnFlakes on Tue Sep 30th at 1:28pm 2003


ok, can some1 give me a sound name? again, all files are in a cache. I cant see them. [addsig]



Quote
Re: looping sound
Posted by Gollum on Tue Sep 30th at 1:34pm 2003


Try the one in my example: vox/c.wav

And if this is what Steam does to HL, I'm certainly not downloading it before I finish my map





Quote
Re: looping sound
Posted by KoRnFlakes on Tue Sep 30th at 1:47pm 2003


ok, Ta goll. that worked. I could hear "C" being repeated.

Must be something wrong with my wav file

[addsig]





Post Reply