ineedbots / iw4_bot_warfare

The Bot Warfare mod for MW2
https://www.moddb.com/mods/bot-warfare
112 stars 27 forks source link
ai bot bots call-of-duty-modern-warfare-2 callofduty cod game games gameserver gaming gsc iw4 iw4x mod modernwarfare2 modification multiplayer mw2

GitHub Logo

IW4 Bot Warfare

Bot Warfare is a GSC mod for IW4x.

It aims to add playable AI to the multiplayer games of Modern Warfare 2.

You can find the ModDB release post here.

Contents

Features

Installation

  1. Make sure that IW4x is installed, updated and working properly.
  2. Locate your MW2 install folder.
  3. Move the files/folders found in Move files to root of MW2 folder from the Bot Warfare release archive you downloaded into the root of your MW2 install folder.
    • The folder/file structure should follow as .MW2 game folder\mods\mp_bots\z_svr_bots.iwd.
  4. The mod is now installed, now run your game.
    • If you are a dedicated server, you will need to set the DVAR fs_game to mods/mp_bots
    • If you are not a dedicated server, open the Mods option from the main menu of the game and select mp_bots and then Launch.
  5. The mod should be loaded! Now go start a map and play!

Documentation

Menu Usage

DVARs

Dvar Description Default Value
bots_main Enable this mod. 1
bots_main_firstIsHost The first player to connect will be given host. 0
bots_main_GUIDs A comma separated list of GUIDs of players who will be given host.
bots_main_waitForHostTime How many seconds to wait for the host player to connect before adding bots to the match. 10
bots_main_menu Enable the in-game menu for hosts. 1
bots_main_debug Enable the in-game waypoint editor at start of the game, or enable bot event prints.
  • 0 - disable
  • 1 - for just debug events
  • 2 - for every event
    0
    bots_main_kickBotsAtEnd Kick the bots at the end of a match. 0
    bots_main_chat The rate bots will chat at, set to 0 to disable. 1.0
    bots_manage_add Amount of bots to add to the game, once bots are added, resets back to 0. 0
    bots_manage_fill Amount of players/bots (look at bots_manage_fill_mode) to maintain in the match. 0
    bots_manage_fill_mode bots_manage_fill players/bots counting method.
    • 0 - counts both players and bots.
    • 1 - only counts bots.
    • 2 - exactly 0 but auto adjusts bots_manage_fill to map.
    • 3 - exactly 1 but auto adjusts bots_manage_fill to map.
    • 4 - bots are used for balancing teams.
    • 5 - exactly 4 but auto adjusts bots_manage_fill to map.
    0
    bots_manage_fill_watchplayers Bots will not be added until one player is in the game 0
    bots_manage_fill_kick If the amount of players/bots in the match exceeds bots_manage_fill, kick bots until no longer exceeds. 0
    bots_manage_fill_spec If when counting players for bots_manage_fill should include spectators. 1
    bots_team One of autoassign, allies, axis, spectator, or custom. What team the bots should be on. autoassign
    bots_team_amount When bots_team is set to custom. The amount of bots to be placed on the axis team. The remainder will be placed on the allies team. 0
    bots_team_force If the server should force bots' teams according to the bots_team value. When bots_team is autoassign, unbalanced teams will be balanced. This dvar is ignored when bots_team is custom. 0
    bots_team_mode When bots_team_force is 1 and bots_team is autoassign, players/bots counting method.
    • 0 - counts both players and bots.
    • 1 - only counts bots
    0
    bots_skill Bots' difficulty.
    • 0 - Random difficulty for each bot.
    • 1 - Easiest difficulty for all bots.
    • 2 to 6 - Between easy and hard difficulty for all bots.
    • 7 - The hardest difficulty for all bots.
    • 8 - custom (look at the bots_skill_<team>_<difficulty> dvars)
    • 9 - Every difficulty parameter is randomized
    0
    bots_skill_axis_hard When bots_skill is set to 8, the amount of hard difficulty bots to set on the axis team. 0
    bots_skill_axis_med When bots_skill is set to 8, the amount of medium difficulty bots to set on the axis team. The remaining bots on the team will be set to easy difficulty. 0
    bots_skill_allies_hard When bots_skill is set to 8, the amount of hard difficulty bots to set on the allies team. 0
    bots_skill_allies_med When bots_skill is set to 8, the amount of medium difficulty bots to set on the allies team. The remaining bots on the team will be set to easy difficulty. 0
    bots_skill_min The minimum difficulty level for the bots. 1
    bots_skill_max The maximum difficulty level for the bots. 7
    bots_loadout_reasonable If the bots should filter bad performing create-a-class selections. 0
    bots_loadout_allow_op If the bots should be able to use overpowered and annoying create-a-class selections. 1
    bots_loadout_rank What rank to set the bots.
    • -1 - Average of all players in the match.
    • 0 - All random.
    • 1 or higher - Sets the bots' rank to this.
    -1
    bots_loadout_prestige What prestige to set the bots.
    • -1 - Same as host player in the match.
    • -2 - All random.
    • 0 or higher - Sets the bots' prestige to this.
    -1
    bots_play_move If the bots can move. 1
    bots_play_knife If the bots can knife. 1
    bots_play_fire If the bots can fire. 1
    bots_play_nade If the bots can grenade. 1
    bots_play_take_carepackages If the bots can take carepackages. 1
    bots_play_obj If the bots can play the objective. 1
    bots_play_camp If the bots can camp. 1
    bots_play_jumpdrop If the bots can jump/drop shot. 1
    bots_play_target_other If the bots can target other entities other than players. 1
    bots_play_killstreak If the bots can call in killstreaks. 1
    bots_play_ads If the bots can aim down sights. 1
    bots_play_aim If the bots can aim. 1

    Changelog

    Credits

    Feel free to use code, host on other sites, host on servers, mod it and merge mods with it, just give credit where credit is due! -INeedGames/INeedBot(s) @ ineedbots@outlook.com