scripts\sound_operator_stacks.txt

From Valve Developer Community
Revision as of 16:25, 29 December 2024 by Popcorn (talk | contribs) (Created this page as a base for other pages to be able to link operator stacks.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
// <game>\scripts\sound_operator_stacks.txt

start_stacks
{
	"<stack_name>"
	{
		// sound operators...
	}
	"<stack_name>"
	{
		// sound operators...
	}
	// ...
}

update_stacks
{
	"<stack_name>"
	{
		// sound operators...
	}
	// ...
}

stop_stacks
{
	"<stack_name>"
	{
		// sound operators...
	}
	// ...
}

The text file 🖿<game>\scripts\sound_operator_stacks.txt contains predefined operator stacks that one can use in their soundscripts using import_stack <stack_name>. The syntax of the file can be seen on the right.

The file and thus the operator stacks that one can import in their soundscripts varies depending on the game that the soundscript is for.