Randomized Skin sounds

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
HellBlade64
Forum Regular
Posts: 100
Joined: Mon Aug 13, 2012 9:03 pm
Contact:

Randomized Skin sounds

#1

Post by HellBlade64 » Sat Jan 11, 2020 6:13 am

I'm working on a skin based on the old flash game "Whip the Worker" and I'm trying to incorporate every sound from the game in this skin.
I've seen this sound randomizing trick done on other skins, like some found in zandroskins. Using the Arnold skin as an example here.
I have no idea how the SKININFO knows how to differentiate these names and make it work.

To give a better idea, I have four death sounds, four taunts, four pains, and six punch sounds.
How do I set it up so it randomly chooses between those sounds?

User avatar
Fused
Contributor
Posts: 658
Joined: Sat Nov 09, 2013 9:47 am
Location: Netherlands
Contact:

Re: Randomized Skin sounds

#2

Post by Fused » Sat Jan 11, 2020 3:43 pm

Navigate to the SNDINFO wiki page, and search for the section explaining the $random tag.
My mods
Image Image

My socials
Image Image

User avatar
HellBlade64
Forum Regular
Posts: 100
Joined: Mon Aug 13, 2012 9:03 pm
Contact:

Re: Randomized Skin sounds

#3

Post by HellBlade64 » Sun Jan 12, 2020 5:45 am

Figured it out, yeah I was missing a bunch of stuff that points the sounds to the skin.
Thanks! :3

Post Reply