Attribute: Saxton Spinach - nosoop/SM-TFCustomWeaponAttributes GitHub Wiki

Attributes for the "Saxton Spinach" custom attribute.

Plugin name: "custom-weapon-soup-saxton-spinach"

Attributes:

  • "scout bonk override": removes the existing bonk invuln / third person effect when using bonk (value must exist and be greater than one for the plugin to do anything)
  • "firing rate multiplier on use": changes the firing rate after drinking, 1.0x is normal firing rate (defaults to 1.25)
  • "reload speed multiplier on use": changes reload speed after drinking, 1.0x standard (defaults to 1.25)
  • "scout bonk effect duration": how long the effects last in seconds (defaults to 10.0)

Tested configuration:

"Saxton Spinach Test"
{
	"classes"
	{
		"scout"		"1"
	}
	"baseclass"		"lunchbox_drink"
	"baseindex"		"46"
	"logname"		"test_weapon"
	"killicon"		"pistol"
	"description"	"test"
	"forcegen"		"1"
	"attributes"
	{
		"scout bonk override"
		{
			"plugin"	"custom-weapon-soup-saxton-spinach"
			"value"		"1.0"
		}
		"firing rate multiplier on use"
		{
			"plugin"	"custom-weapon-soup-saxton-spinach"
			"value"		"3.0"
		}
		"reload speed multiplier on use"
		{
			"plugin"	"custom-weapon-soup-saxton-spinach"
			"value"		"3.0"
		}
		"scout bonk effect duration"
		{
			"custom-weapon-soup-saxton-spinach"
			"value"		"10.0"
		}
	}
}