
OptionMenu "OptionsMenu"
{
Title "OPTIONS"
	Submenu "Multiplier Fog Effect", "MultiplierMenu"
	Submenu "Multiplayer Options",		"ZA_MultiplayerOptions" // [TP]
	StaticText " " // [TP]
	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"
}

OptionMenu MultiplierMenu
{
	SubMenu "Fog Options", "UDV_Fog"
	SubMenu "Light Options", "UDV_Light"
	SubMenu "--Multiplier Options--", "Multiplier"
}

OptionMenu "UDV_Fog"
{
	Title "Fog Options"
    SafeCommand "Apply All Changes Now", "Puke 1129"
	StaticText " "
  Option "Random Fog Density", "udv_fograndom", "YesNo"
  Slider "Max Fog Density", "udv_fogdensity", 0, 20, 1, 0
  StaticText " "
	Command "Preset: Default", "fog_default"
	Command "Preset: Dark", "fog_dark"
	Command "Preset: Red", "fog_red"
	Command "Preset: Green", "fog_green"
	Command "Preset: Blue", "fog_blue"
	StaticText " "
	Option "Random Fog Color", "udv_fogcolor", "YesNo"
	StaticText "Manual Fog Color"
	Slider "Red", "udv_getred", 0, 255, 1, 0
	Slider "Green", "udv_getgreen", 0, 255, 1, 0
	Slider "Blue", "udv_getblue", 0, 255, 1, 0
	StaticText " "
	StaticText "The option below will toggle UDV Fog Effects"
	StaticText "and requires level restart if disabled"
	StaticText " "
	Option "Enable Fog Effects", "UDV_ToggleFog", "YesNo"
}

OptionMenu "UDV_Light"
{
	Title "Light Options"
    SafeCommand "Apply All Changes Now", "Puke 1132"
	StaticText " "
 
	StaticText " "
	Option "Random Light Color", "udv_lightcolor", "YesNo"
    Command "Preset: Default", "light_rnddef"
	Command "Preset: Alt", "light_rndlalt"
    StaticText " "
    Slider "Min Red", "udv_minlred", 0, 255, 1, 0
	Slider "Max Red", "udv_maxlred", 0, 255, 1, 0
	Slider "Min Green", "udv_minlgreen", 0, 255, 1, 0
	Slider "Max Green", "udv_maxlgreen", 0, 255, 1, 0
	Slider "Min Blue", "udv_minlblue", 0, 255, 1, 0
	Slider "Max Blue", "udv_maxlblue", 0, 255, 1, 0
	Slider "Min Desaturation", "udv_minldesat", 0, 255, 1, 0
	Slider "Max Desaturation", "udv_maxldesat", 0, 255, 1, 0
	StaticText " "
	StaticText "Manual Light Color"
	StaticText " "
	Command "Preset: Default", "light_default"
	Command "Preset: Dark", "light_dark"
	Command "Preset: Red", "light_red"
	Command "Preset: Green", "light_green"
	Command "Preset: Blue", "light_blue"
	StaticText " "
	Slider "Red", "udv_getlred", 0, 255, 1, 0
	Slider "Green", "udv_getlgreen", 0, 255, 1, 0
	Slider "Blue", "udv_getlblue", 0, 255, 1, 0
	Slider "Desaturation", "udv_getldesat", 0, 255, 1, 0
	StaticText " "
	StaticText "The option below will toggle UDV Light Effects"
	StaticText "and requires level restart if disabled"
	StaticText " "
	Option "Enable Desaturation parameter", "udv_enabdes", "YesNo"
	Option "Enable Light Effects", "udv_togglelight", "YesNo"
}

OptionMenu "Multiplier"
{
  Title "Multiplier Options"
  StaticText " "
	Option "Randomize Multiplier", "sv_10xu_random", "YesNo"
	Slider "Maximum Multiplier", "sv_10xu_multiplier", 0, 200, 1, 0
	Slider "Max Monsters", "sv_10xu_maxmonsters", 0, 5000, 10, 0
	Option "Boss Monsters", "sv_10xu_bossmonsters", "YesNo"
	Option "Show Counts", "sv_10xu_showcounts", "YesNo"
}
