OptionMenu "acbotmenu" {
  Title "Advanced Coop Bots Settings"

  StaticText ""

  StaticText "Manage bots", 1
  Command "Add a bot", "acbotmenu_addbot"
  Command "Remove a bot", "removebot"
  TextField "Force class for the next bot", "acbot_force_class_once"
  StaticText "$acbot_force_class_help"

  StaticText ""

  StaticText "Bot Properties", 1
  Slider "Damage factor", "acbot_damagefactor", 0, 2, 0.01, 2
  StaticText "$acbot_damagefactor_help"
  StaticText ""
  Slider "Recklessness", "acbot_recklessness", 0, 8, 0.1, 2
  StaticText "$acbot_recklessness_help"

  StaticText ""

  StaticText "Bot Behavior", 1
  Option "Chat", "acbot_chat", "OnOff"
  Option "Taunt", "acbot_taunt", "OnOff"
  Option "Use", "acbot_use", "OnOff"

  StaticText ""

  StaticText "Orders", 1
  StaticText "$acbot_orders_help_1"
  StaticText "$acbot_orders_help_2"
  StaticText "$acbot_orders_help_3"
  StaticText "$acbot_orders_help_4"
  Option "Follow orders", "acbot_orders", "OnOff"

  StaticText ""

  StaticText "Last Bot Standing", 1
  StaticText "$acbot_last_bot_standing_help_1"
  StaticText "$acbot_last_bot_standing_help_2"
  Option "Last Bot Standing", "acbot_last_bot_standing", "OnOff"

  StaticText ""

  StaticText "Teleport", 1
  StaticText "$acbot_teleport_help"
  Option "Teleport to players", "acbot_teleport", "OnOff"
  Slider "Teleport timer (seconds)", "acbot_teleport_timer", 0, 60, 1, 0

  StaticText ""

  StaticText "Autobot", 1
  StaticText "$acbot_autobot_help"
  Slider "Minimum number of bots", "acbot_min_bots", 0, 8, 1, 0
  Slider "Maximum number of bots", "acbot_max_bots", 0, 8, 1, 0
  StaticText ""
  Slider "Minimum number of players", "acbot_min_players", 0, 8, 1, 0
  StaticText "$acbot_min_players_help"

  StaticText ""

  StaticText "Voting", 1
  StaticText "$acbot_callvote_help_1"
  StaticText "$acbot_callvote_help_2"
  StaticText "$acbot_callvote_help_3"
  Option "Enable callvote", "acbot_no_callvote", "InvertedOnOff"

  StaticText ""

  StaticText "Debug", 1
  Option "Show nodes (offline only)", "acbot_debug_show_nodes", "OnOff"
}

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