OptionMenu TDBOTS_OPTIONS
{
	Title "TDBots options"
	StaticText "Bot and map Management options"
	StaticText ""
	Command "Add one bot", "addbot"
	StaticText ""
	Command "Remove all bots", "removebots"
	StaticText ""
	Command "Go to Next Map", "nextmap"
	StaticText ""
	Command "Start NodeStudio", "NStudio_Start"
	StaticText ""
	Command "Dump map learing results to console", "tdbots_dumpnodes"
	StaticText ""
	StaticText "Cosmetic bot options"
	StaticText ""
	Option "TDBots can chat", "tdbots_chat", "OnOff"
	StaticText ""
	Option "TDBots chat when idle", "tdbots_roamchat", "OnOff"
	StaticText ""
	StaticText "General bot options"
	StaticText ""
	Option "Learn the map from players", "tdbots_learnfromplayer", "OnOff"
	StaticText "If no waypoints are found, the TDBots will instead",1
	StaticText "try to learn the map from your exploration of it.",1
	StaticText "May take up to 1 minute before the bots use the info.",1
	StaticText ""
	Option "Use waypoints", "tdbots_usenodes", "OnOff"
	StaticText "If enabled, makes the bots use the loaded waypoint file.",1
	StaticText "Only useful if you are using a waypoint pack with the bots,",1
	StaticText ""
	Option "TDBots follow players", "tdbots_follow", "OnOff"
	StaticText "When on, bots follow you on cooperative modes.",1
	StaticText "Automatically disabled for deathmatch.",1
	StaticText ""
	Option "Automatic teleport distance", "tdbots_autoteledist", "BotTeleportDistance"
	StaticText "If the player is further from the bot than this amount of",1
	StaticText "units, the bot will teleport automatically.",1
	StaticText "Requires TDBots follow players to be enabled!",1
	StaticText ""
	Option "Disable sector damage", "tdbots_disablesectordmg", "OnOff"
	StaticText "When enabled, bots won't take damage from damaging floors",1
	StaticText "Requires a bot respawn or map restart to work",1
	StaticText ""
	Option "Allow bot orders", "tdbots_alloworder", "OnOff"
	StaticText "When enabled, you can press the Bot Order key while",1
	StaticText "aiming at a bot to make it stand still or move freely.",1
	StaticText ""
	StaticText "Bot difficulty options"
	StaticText ""
	StaticText "Most options will take effect once the"
	StaticText "bot dies and then respawns."
	StaticText ""
	Option "Health and Ammo regeneration", "tdbots_buff", "OnOff"
	StaticText "A fair warning: very overpowered. Don't put this on",1
	StaticText "for Deathmatch, or the bots will be very hard to kill",1
	StaticText "Instead, use it for Co-op so the bots don't take your ammo.",1
	StaticText ""
	Slider "Weapons the bot starts with", "tdbots_weaponize", 0.0, 6.0, 1.0, 0
	StaticText "The higher, the better weapons the bot spawns with.",1
	StaticText "In Hexen, try not to set this higher than 2, or the",1
	StaticText "TDBots will spawn with the best weapon!",1
	StaticText ""
	NumberField	"Aiming Accuracy", "menu_skirmishbotskill", 0, 4
	StaticText "The higher, the better aim the bot has.",1
	StaticText "This is the botskill CVAR, except it only",1
	StaticText "affects skirmishes.",1
	StaticText ""
	Option "Reduced field of view", "tdbots_lessfov", "OnOff"
	StaticText "When on, TDBots have a reduced fov of 120",1
	StaticText "Turn this on if you don't like bots being able",1
	StaticText "to see behind their back.",1
}

OptionValue "BotTeleportDistance"
{
	0, "Disabled"
	1024, "1024 units"
	2048, "2048 units"
	4096, "4096 units"
	8192, "8192 units"
}