OptionValue "OnOff"
{
    0, "Off"
    1, "On"
}

OptionValue "TrueFalse"
{
    0, "False"
    1, "True"
}

OptionMenu "TorrentServerOptions"
{
	Title "ZT2 SERVER OPTIONS"
	TextField "Starting Cash:",							"sv_startmoney"
	StaticText " "
	Option "Use Slot Machine:", "sv_slotenabled", "TrueFalse"
	StaticText " "
	StaticText " "
	Slider "Maximum Zombies In-Map:",				"sv_maxzombies", 0, 500, 2
	StaticText "The max number of zombies on the map at any given time."
	StaticText " "
	Slider "Trader Duration:",						"sv_tradertime", 0, 480, 1
	StaticText "Specifies the length of trader time in seconds."
	StaticText " "
	Slider "Minimum Slot Zombies:",					"sv_slotmonsters", 0, 60, 1
	StaticText "Controls the minimum monsters killed before slots trigger."
	StaticText " "
	//Slider "Starting Wallet:",						"sv_startmoney", 0, 10000, 10
	Slider "Slot Win Chance:",						"sv_slotwinchance", 0, 100, 1
	StaticText "Percent chance of forcefully winning at the slot machine."
	StaticText " "
	Slider "Slot Bad Chance:",						"sv_slotbadchance", 0, 100, 1
	StaticText "Percent chance of a REALLY bad slot showing in the list."
	StaticText " "
	Slider "Slot Good Chance:",						"sv_slotgoodchance", 0, 100, 1
	StaticText "Percent chance of a really GOOD slot showing in the list."
	StaticText " "
	StaticText " "
}

OptionMenu "TorrentOptions"
{
    Title "ZOMBIE TORRENT 2"
	Submenu "Server Options",		"TorrentServerOptions"
	StaticText " "
	StaticText " "
    Option "Permanent Casings:", "cl_keepshells", "OnOff"
	StaticText "Enabling this will prevent casings from disappearing."
	StaticText " "
	Option "Disable Reloading Voice:", "cl_noreloadsound", "OnOff"
	StaticText "Prevents your character from announcing reloads."
	StaticText " "
	Option "Disable ZT2 HUD:", "cl_disablezthud", "OnOff"
	StaticText "Hides ZT2-related HUD elements. Screenshot worthy."
	StaticText " "
	TextField "Effect Columns:",							"cl_effectcolumns"
	StaticText "Caps the number of enabled slot effect columns."
	StaticText " "
	TextField "Effect Padding:",							"cl_effectpadding"
	StaticText "The amount in pixels between each slot effect's icon."
	StaticText " "
	StaticText " "
	Option "Zombie Debugger:", "cl_zombiedebugger", "OnOff"
	Option "Perk Debugger:", "cl_perkdebug", "OnOff"
	Option "Slot Debugger:", "cl_slotdebug", "OnOff"
	StaticText " "
}

OptionMenu "OptionsMenu"
{
	Title "OPTIONS"
	Submenu "ZT2-Specific Options",		"TorrentOptions"
	StaticText " "
	Submenu "Customize Controls",		"CustomizeControls"
	Submenu "Mouse options",			"MouseOptions"
	Submenu "Joystick options",			"JoystickOptions"
	StaticText " "
	Submenu "Player Setup",				"PlayerMenu"
	Submenu "Gameplay Options",			"GameplayOptions"
	Submenu "Compatibility Options",	"CompatibilityOptions"
	Submenu "Automap Options",			"AutomapOptions"
	Submenu "HUD Options",				"HUDOptions"
	Submenu "Miscellaneous Options",	"MiscOptions"
	Submenu "Sound Options",			"SoundOptions"
	Submenu "Display Options",			"VideoOptions"
	Submenu "Set video mode",			"VideoModeMenu"
	StaticText " "
	SafeCommand "Reset to defaults",	"reset2defaults"
	SafeCommand	"Reset to last saved",	"reset2saved"
	Command "Go to console",			"menuconsole"
}