Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The Bot Warfare mod for MW2

NotificationsYou must be signed in to change notification settings

ineedbots/iw4_bot_warfare

Repository files navigation

GitHub Logo

IW4 Bot Warfare

Bot Warfare is a GSC mod forIW4x.

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

You can find the ModDB release posthere.

Contents

Features

  • A Waypoint Editor for creating and modifying bot's waypoints of traversing the map. Have a look atUsing the Waypoint editor.

  • A clean and nice menu, you can edit every bot DVAR within in-game.

  • Everything can be customized, ideal for both personal use and dedicated servers. Have a look atDocumentation to see whats possible!

  • This mod does not edit ANY stock .gsc files, meaning EVERY other mod is compatible with this mod. Mod doesn't add anything unnecessary, what you see is what you get.

  • Loading waypoints from CSV files.

  • Adds AI clients to multiplayer games to simulate playing real players. (essentially Combat Training for MW2)

    • Bots move around the maps with native engine input. (all normal maps, most to all custom maps)
    • Bots press all the buttons with native engine input (ads, sprint, jump, etc)
    • Bots play all gamemodes/objectives, they capture flags, plant, defuse bombs, etc. ( all normal modes, most custom modes)
    • Bots use all killstreaks. Including AC130 and chopper gunner.
    • Bots target killstreaks, use stingers and other weapons to take out all killstreaks. ( even sentry guns)
    • Bots can capture and steal care packages.
    • Bots target equipment, and can even camp TIs.
    • Bots can camp randomly or when about to use the laptop.
    • Bots can follow others on own will.
    • Bots have smooth and realistic aim.
    • Bots respond smartly to their surroundings, they will go to you if you shoot, uav, etc.
    • Bots use all deathstreaks, perks and weapons. (including javelin)
    • Bots difficulty level can be customized and are accurate. (hard is hard, easy is easy, etc.)
    • Bots each all have different classes, traits, and difficulty and remember it all.
    • Bots switch from between primaries and secondaries.
    • Bots can grenade, place claymores and TIs, they even use grenades and tubes in preset map locations.
    • Bots use grenade launchers and shotgun attachments.
    • Bots can melee people and sentry guns.
    • Bots can run!
    • Bots can climb ladders!
    • Bots jump shot and drop shot.
    • Bots detect smoke grenades, stun grenades, flashed and airstrike slows.
    • Bots will remember their class, killstreak, skill and traits, even on multiround based gametypes.
    • Bots can throwback grenades.
    • ... And pretty much everything you expect a Combat Training bot to have

Installation

  1. Make sure thatIW4x is installed, updated and working properly.
  2. Locate your MW2 install folder.
  3. Move the files/folders found inMove 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 DVARfs_game tomods/mp_bots
    • If you are not a dedicated server, open theMods option from the main menu of the game and selectmp_bots and thenLaunch.
  5. The mod should be loaded! Now go start a map and play!

Documentation

Menu Usage

  • You can open the menu by pressing the Action Slot 2 key (default '5').

  • You can navigate the options by pressing your movement keys (default WASD), and you can select options by pressing your jump key (default SPACE).

  • Pressing the menu button again closes menus.

DVARs

DvarDescriptionDefault Value
bots_mainEnable this mod.1
bots_main_firstIsHostThe first player to connect will be given host.0
bots_main_GUIDsA comma separated list of GUIDs of players who will be given host.
bots_main_waitForHostTimeHow many seconds to wait for the host player to connect before adding bots to the match.10
bots_main_menuEnable the in-game menu for hosts.1
bots_main_debugEnable 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_kickBotsAtEndKick the bots at the end of a match.0
    bots_main_chatThe rate bots will chat at, set to 0 to disable.1.0
    bots_manage_addAmount of bots to add to the game, once bots are added, resets back to0.0
    bots_manage_fillAmount of players/bots (look atbots_manage_fill_mode) to maintain in the match.0
    bots_manage_fill_modebots_manage_fill players/bots counting method.
    • 0 - counts both players and bots.
    • 1 - only counts bots.
    • 2 - exactly0 but auto adjustsbots_manage_fill to map.
    • 3 - exactly1 but auto adjustsbots_manage_fill to map.
    • 4 - bots are used for balancing teams.
    • 5 - exactly4 but auto adjustsbots_manage_fill to map.
    0
    bots_manage_fill_watchplayersBots will not be added until one player is in the game0
    bots_manage_fill_kickIf the amount of players/bots in the match exceedsbots_manage_fill, kick bots until no longer exceeds.0
    bots_manage_fill_specIf when counting players forbots_manage_fill should include spectators.1
    bots_teamOne ofautoassign,allies,axis,spectator, orcustom. What team the bots should be on.autoassign
    bots_team_amountWhenbots_team is set tocustom. The amount of bots to be placed on the axis team. The remainder will be placed on the allies team.0
    bots_team_forceIf the server should force bots' teams according to thebots_team value. Whenbots_team isautoassign, unbalanced teams will be balanced. This dvar is ignored whenbots_team iscustom.0
    bots_team_modeWhenbots_team_force is1 andbots_team isautoassign, players/bots counting method.
    • 0 - counts both players and bots.
    • 1 - only counts bots
    0
    bots_skillBots' difficulty.
    • 0 - Random difficulty for each bot.
    • 1 - Easiest difficulty for all bots.
    • 2 to6 - Between easy and hard difficulty for all bots.
    • 7 - The hardest difficulty for all bots.
    • 8 - custom (look at thebots_skill_<team>_<difficulty> dvars)
    • 9 - Every difficulty parameter is randomized
    0
    bots_skill_axis_hardWhenbots_skill is set to8, the amount of hard difficulty bots to set on the axis team.0
    bots_skill_axis_medWhenbots_skill is set to8, 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_hardWhenbots_skill is set to8, the amount of hard difficulty bots to set on the allies team.0
    bots_skill_allies_medWhenbots_skill is set to8, 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_minThe minimum difficulty level for the bots.1
    bots_skill_maxThe maximum difficulty level for the bots.7
    bots_loadout_reasonableIf the bots should filter bad performing create-a-class selections.0
    bots_loadout_allow_opIf the bots should be able to use overpowered and annoying create-a-class selections.1
    bots_loadout_rankWhat 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_prestigeWhat 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_moveIf the bots can move.1
    bots_play_knifeIf the bots can knife.1
    bots_play_fireIf the bots can fire.1
    bots_play_nadeIf the bots can grenade.1
    bots_play_take_carepackagesIf the bots can take carepackages.1
    bots_play_objIf the bots can play the objective.1
    bots_play_campIf the bots can camp.1
    bots_play_jumpdropIf the bots can jump/drop shot.1
    bots_play_target_otherIf the bots can target other entities other than players.1
    bots_play_killstreakIf the bots can call in killstreaks.1
    bots_play_adsIf the bots can aim down sights.1
    bots_play_aimIf the bots can aim.1

    Changelog

    • v2.3.0

      • Fixed bots aiming in ac130/chopper being broken at times
      • Bots properly use pred missiles
      • Smoothed bot aim at range
      • Fixed bots_manage_fill_spec players being counted with bots_manage_fill_mode 1 (bot only)
      • Added bots_manage_fill_watchplayers dvar
      • Bots hop off turrets if they get stuck on one
      • Fixed script variable leak with opening and closing the in-game menu
    • v2.2.0

      • Bots can now melee lunge
      • Fixed some chat related script runtime errors
      • Works with latest IW4x
      • Waypoints only load from csv now
      • Fix bots possibly being stuck in sab
      • Major cleanup
    • v2.1.0

      • Bot chatter system, bots_main_chat
      • Greatly reduce script variable usage
      • Fix bots slowly reacting in remote streaks
      • Improved bots mantling and stuck
      • Improved bots aim
      • Fix some runtime errors
      • Fixed bots aim in third person
      • Bots sprint more
      • Improved bots sight on enemies
      • Bots play hidden gamemodes like one-flag and arena
      • Bots do random actions while waiting at an objective
      • Improved bots from getting stuck
      • Better bot difficulty management, bots_skill_min and bots_skill_max
    • v2.0.1

      • Reduced bots crouching
      • Increased bots sprinting
      • Improved bots mantling, crouching and knifing glass when needed
      • Fixed possible script runtime errors
      • Fixed demolition spawn killing
      • Improved domination
      • Bots use explosives more if they have it
      • Fixed bots moving their player when using remote
      • Bots aim slower when ads'ing
      • Fixed bots holding breath
      • Bots are more smart when waiting for carepackages
      • Improved and fixed various waypoints for maps
      • Fixed bots rubberbanding movement when their goal changes
      • Added bots quickscoping with snipers
      • Added bots reload canceling and fast swaps
      • Bots use C4
      • Improved revenge
      • Bots can swap weapons on spawn more likely
    • v2.0.0

      • Initial reboot release
    • TODOs

      • Recoil for bots (engine, maybe script)
      • Use static turrets in maps

    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


    [8]ページ先頭

    ©2009-2025 Movatter.jp