Garry's Mod

Garry's Mod

PAC3
Arken 2021 年 2 月 11 日 上午 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.
< >
正在显示第 1 - 6 条,共 6 条留言
CapsAdm¡n  [开发者] 2021 年 2 月 11 日 上午 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 2021 年 2 月 11 日 上午 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  [开发者] 2021 年 2 月 11 日 上午 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.
最后由 CapsAdm¡n 编辑于; 2021 年 2 月 11 日 上午 11:07
Arken 2021 年 2 月 11 日 下午 1:03 
Is it possible to sort of “mix” those?
Like: sound/test/step[1,7].wav;sound/test/hurt[1,7].wav
CapsAdm¡n  [开发者] 2021 年 2 月 11 日 下午 3:11 
I think so, it doesn't work?
Arken 2021 年 2 月 11 日 下午 3:33 
I tried it, but I don't think it worked. Well, it did kind of work, just not how I wanted it to.
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50