Skip to content
Batfoxkid edited this page Mar 2, 2020 · 1 revision

configs/customtaunts.cfg uses a KeyValues based system.
It goes through 3 subkeys, Taunt, Model/Classes, Sound Replacements.
Sound Replacements are optional, however at-least one taunt and model/class in that taunt is required.

Formatting

"Taunt Name"
{
	"admin"		"a"

	"Model / Class"
	{
		"index"		"167"

		"Sound Path"
		{
		}
	}
	"Model / Class"
	{
		"index"		"463"
		"speed"		"0.67"
	}
	"Model / Class"
	{
		"index"		"30673"

		"Sound Path"
		{
			"sound"		""
		}
		"Sound Path"
		{
			"sound"		""
		}
	}
}

Settings

Taunt

  • Name The display name that shows up in the menu or using strings for the command

  • "admin" If certain admin flags are required to use this taunt, default is full access

Model/Class

  • Name A model path, class name, or any. This will restrict the taunt to a certain model or class with any of course being any class/model

  • "index" The taunt index that is used. This is required!

  • "model" The model that gets replaced for the duration of the taunt. This will not automatically download but it is precached. This is only used if the name is a model path!

  • "sound" A sound effect that plays when the taunt starts. Automatically ends when the taunt ends. (Looping taunts can use _loop.wav suffix for looping sounds)

  • "speed" Multiplier for how fast/slow the taunt goes

  • "duration" How long the taunt lasts for instead of it's usual time

Sound Replacement

  • Name A sound path, it will use wildcards for things such as vo/engineer_

  • "sound" Sound to replace with. If left blank or undefined, it'll stop the sound from playing at all

Clone this wiki locally