r/Tf2Scripts • • Mar 07 '19

Request Looking for a script that plays multiple Domination sounds.

I have a script that plays several custom killsounds at random and also allows me to control the volume of killsounds, I am looking for a script that can do the same thing but for Domination, Nemesis and Revenge sounds. Does a script like this exist?

6 Upvotes

2 comments sorted by

2

u/just_a_random_dood Mar 07 '19

Post the original script in a pastebin please?

Or just check to see how it works (probably chooses a file at random from a user-made folder) and do the same thing but with a new folder full of only domination lines, that should work.

1

u/Butcherouni Mar 07 '19

The original script.

The part of the script that controls killsound randomization and volume:

"Player.KillSoundDefaultDing"
{
	"channel"		"CHAN_STATIC"
	"volume"		"1"
	"soundlevel"  	"SNDLVL_NONE"	
	"pitch"			"PITCH_NORM"

	"rndwave"	
        {           
                "wave"  ")ui/killsound.wav"
                "wave"  ")ui/killsound2.wav"
                "wave"  ")ui/killsound3.wav"
                "wave"  ")ui/killsound4.wav"
                "wave"  ")ui/killsound5.wav"
                "wave"  ")ui/killsound6.wav"
                "wave"  ")ui/killsound7.wav"
                "wave"  ")ui/killsound8.wav"
        }
}

The custom killsounds are stored in my custom folder.