AddOptionMenu "OptionsMenu" {
	StaticText " "
	Submenu "Led's Weapon Mod Options", "ledModOptions"
}

OptionMenu "ledModOptions" {
	Title "Led's Weapon Mod Options"
	StaticText " "
	Submenu "Visual & Performance Options",			"ledVisualOptions"
	Submenu "Weapon & Gameplay Options", 		"ledModGameplayOptions"
	StaticText " "
	SafeCommand "Reset to Default", "led_ModResetOptions", "This will reset all mod settings to default. Are you absolutely sure you want to do this?"
}

OptionMenu "ledVisualOptions" {
	Title "Visual & Performance Settings"
	StaticText " "
	Submenu "Item Options",	"ledItmPwrUpOptions"
	StaticText " "
	Option "Enable Gun Smoke Effects?", "led_SmokeEffects", "led_ModEffects"
	StaticText " "
	Option "Enable Firing Zoom Effects?", "led_ZoomEffects", "led_ModEffects"
	StaticText " "
	Option "Enable Shell Casings?", "led_ShellCasings", "led_ModEffects"
	Option "Enable Casing Smoke Effects?", "led_CasingSmoke", "led_ModEffects", "led_ShellCasings"
	Slider "Casing Lifetime", "led_ShellLife", 100, 10000, 100, 0, "led_ShellCasings"
	StaticText " "
	Option "Enable Dropped Mags?", "led_SpentMags", "led_ModEffects"
	Slider "Dropped Mag Lifetime", "led_MagLife", 100, 10000, 100, 0, "led_SpentMags"
}

OptionMenu "ledItmPwrUpOptions" {
	Title "Item Settings"
	StaticText " "
	StaticText "Options marked with (*) require a map restart!", "Gold"
	StaticText " "
	Command "Reset All to Default", "led_ModResetFlash"
	StaticText " "
	StaticText "Item Pickup Flash Intensity", Gold
	StaticText " "
	Command "Reset to Default", "led_ResetItmFlsh"
	StaticText " "
	Option "(*)Spawn modified items?", "led_ModifiedItems", "led_ModEffects"
	StaticText " "
	Slider "Armor bonus", "led_TogArmBns", 0, 1.0, 0.05, 2, "led_ModifiedItems"
	Option "Armor bonus style?", "led_ArmorBonus", "led_ModArmor", "led_ModifiedItems"
	Slider "Backpack", "led_TogBckPck", 0, 1.0, 0.05, 2, "led_ModifiedItems"
	Slider "Blue armor", "led_TogBluArm", 0, 1.0, 0.05, 2, "led_ModifiedItems"
	Slider "Green armor", "led_TogGrnArm", 0, 1.0, 0.05, 2, "led_ModifiedItems"
	Slider "Health bonus", "led_TogHlthBns", 0, 1.0, 0.05, 2, "led_ModifiedItems"
	StaticText " "
	StaticText "Key Pickup Flash Intensity", Gold
	StaticText " "
	Command "Reset to Default", "led_ResetKeyFlsh"
	StaticText " "
	Option "(*)Spawn modified keys?", "led_ModifiedKeys", "led_ModEffects"
	StaticText " "
	Slider "Blue key", "led_TogBluKey", 0, 1.0, 0.05, 2, "led_ModifiedKeys"
	Slider "Red key", "led_TogRedKey", 0, 1.0, 0.05, 2, "led_ModifiedKeys"
	Slider "Yellow key", "led_TogYlwKey", 0, 1.0, 0.05, 2, "led_ModifiedKeys"
	StaticText " "
	Slider "Blue skull", "led_TogBluSkl", 0, 1.0, 0.05, 2, "led_ModifiedKeys"
	Slider "Red skull", "led_TogRedSkl", 0, 1.0, 0.05, 2, "led_ModifiedKeys"
	Slider "Yellow skull", "led_TogYlwSkl", 0, 1.0, 0.05, 2, "led_ModifiedKeys"
	StaticText " "
	StaticText "Powerup Pickup Flash Intensity", Gold
	StaticText " "
	Command "Reset to Default", "led_ResetPwrFlsh"
	StaticText " "
	Option "(*)Spawn modified powerups?", "led_ModifiedPwrUps", "led_ModEffects"
	StaticText " "
	Slider "Berserk", "led_TogBrskBrght", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Computer map", "led_TogCmpMp", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Invulnerability", "led_TogInvln", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Light-amp visor", "led_TogLghtAmp", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Megasphere", "led_TogMgSph", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Partial invisiblity", "led_TogPartVis", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Radiation suit", "led_TogRadSuit", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
	Slider "Soulsphere", "led_TogSolSph", 0, 1.0, 0.05, 2, "led_ModifiedPwrUps"
}

OptionMenu "ledModGameplayOptions" {
	Title "Weapon & Gameplay Settings"
	StaticText " "
	Submenu "Weapon Options", 		"ledModWeaponOptions"
	StaticText " "
	StaticText "Options marked with (*) require a map restart!", "Gold"
	StaticText " "
	Option "(*)Barrel Setting?", "led_Barrels", "led_ModBarrels"
	StaticText "Modified barrels have new animations and sounds", "Gold"
	StaticText "Mixed randomizes and adds supply crates", "Gold"
	StaticText " "
	Option "(*)Enable Individual Shell System?", "led_ShellSys", "led_ModEffects"
	StaticText "Seperates four shell pickup into four seperate shells", "Gold"
	StaticText " "
	Option "(*)Enable Split Medikit System?", "led_MedSys", "led_ModEffects"
	StaticText "Splits medikit pickup into two stimpacks and mini stimpack", "Gold"
	StaticText " "
	Option "Enable Aim Punch?", "led_AimPunch", "led_ModEffects"
	StaticText "Without armor, player damage will cause camera flinch", "Gold"
	StaticText " "
	Option "Enable first person death animation?", "led_DeathAnim", "led_ModEffects"
	StaticText "Plays a first person death animation", "Gold"
	StaticText " "
	Option "Enable Armor Sparks?", "led_ArmorSpark", "led_ModEffects"
	Slider "Damage Sound Volume", "led_ArmorVolume", 0, 1.0, 0.05, 2, "led_ArmorSpark"
	StaticText "With armor, player damage will play special effects", "Gold"
}

OptionMenu "ledModWeaponOptions" {
	Title "Weapon Settings"
	StaticText " "
	Slider "Weapon bob intensity when firing",		"wbobfire", 0, 1.0, 0.1
	StaticText " "
	Option "Chainsaw on when selected?", "led_ChainsawOn", "led_ModEffects"
	StaticText "Alerts monsters when ready", "Gold"
	StaticText " "
	Option "Enable Rifle Ironsight?", "led_RifleADS", "led_ModEffects"
	StaticText " "
	Option "Enable Classic Shotgun Pump?", "led_ShotPump", "led_ModEffects"
	StaticText "Damage increased by 20%, less rate of fire", "Gold"
	Option "Enable Shotgun Ironsight?", "led_ShotADS", "led_ModEffects"
	StaticText " "
	Option "Switch Super Shotgun Fire/AltFire?", "led_SSGAltFire", "led_ModEffects"
	StaticText " "
	Option "Instant Plasma Rifle AltFire?", "led_PlasmaAlt", "led_ModEffects"
	StaticText "Damage decreased by 20%, bypasses charge time", "Gold"
	Slider "Plasma Rifle flash intensity", 	"led_PLRifFlsh", 0, 1.0, 0.05, 2
	StaticText " "
	Slider "BFG flash intensity", 			"led_BFGFirFlsh", 0, 1.0, 0.05, 2
	StaticText " "
	StaticText "Reloading Settings", "Gold"
	StaticText " "
	Command "Enable Reloading", "led_ModEnableReload"
	Command "Disable Reloading", "led_ModDisableReload"
	StaticText " "
	Option "Pistol", "led_PistolReload", "led_ReloadToggle"
	Option "Assault Rifle", "led_RifleReload", "led_ReloadToggle"
	Option "Shotgun", "led_ShotgunReload", "led_ReloadToggle"
	Option "Super Shotgun", "led_SSGReload", "led_ReloadToggle"
	Option "Minigun", "led_MinigunReload", "led_ReloadToggle"
	Option "Rocket Launcher", "led_RLReload", "led_ReloadToggle"
	Option "Plasma Rifle", "led_PlasmaReload", "led_ReloadToggle"
	Option "BFG9000", "led_BFGReload", "led_ReloadToggle"
}

OptionValue "led_ReloadToggle"
{
	0, "Disabled"
	1, "Enabled"
}
	
OptionValue "led_ModEffects"
{
	0, "No"
	1, "Yes"
}

OptionValue "led_ModBarrels"
{
	0, "Modified"
	1, "Vanilla"
	2, "Mixed"
}

OptionValue "led_ModArmor"
{
	0, "Vanilla"
	1, "Modified"
}