Garry's Mod

Garry's Mod

PAC3
Arken 11. feb. 2021 kl. 10:31
One question/idea
I've been trying to make randomized footstep sounds from a specific set, like how NPCs have randomized footstep sounds, but haven't had any luck. It'd help a lot if someone told me a way to do that, and if there isn't currently a way, I think it would be a good addition to have that become a possibility.
< >
Viser 1-6 af 6 kommentarer
CapsAdm¡n  [udvikler] 11. feb. 2021 kl. 11:00 
there's a trick where you can use something like

sound/test/step[1,23].wav

and it will randomly choose step1.wav, step5wav, step15.wav, etc

You can also use multiple sound paths separated by ";"

so "sound/test/step5.wav;sound/test/step7.wav;sound/test/step2.wav"
Arken 11. feb. 2021 kl. 11:04 
I can't believe I didn't even think of that. I've been trying to do it with events and proxies. That's what I get for being stubborn and not using tutorials I guess.
CapsAdm¡n  [udvikler] 11. feb. 2021 kl. 11:07 
Well it's sort of a hidden feature that lacks a UI interface. It's not your fault that you couldn't find it.
Sidst redigeret af CapsAdm¡n; 11. feb. 2021 kl. 11:07
Arken 11. feb. 2021 kl. 13:03 
Is it possible to sort of “mix” those?
Like: sound/test/step[1,7].wav;sound/test/hurt[1,7].wav
CapsAdm¡n  [udvikler] 11. feb. 2021 kl. 15:11 
I think so, it doesn't work?
Arken 11. feb. 2021 kl. 15:33 
I tried it, but I don't think it worked. Well, it did kind of work, just not how I wanted it to.
< >
Viser 1-6 af 6 kommentarer
Per side: 1530 50