 # T4M Bot Warfare Bot Warfare is a GSC mod for the [T4M project](https://github.com/ineedbots/T4M) and [PlutoniumT4 project](https://plutonium.pw/). It aims to add playable AI to the multiplayer games of World at War. You can find the ModDB release post [here](https://www.moddb.com/mods/bot-warfare/downloads/t4m-bot-warfare-latest). ## Important to public dedicated servers The ```bots_main_firstIsHost``` DVAR is enabled by default! This is so inexperienced users of the mod can access with menu without any configuration. Make sure to disable this DVAR by adding ```set bots_main_firstIsHost 0``` in your server config! ## Contents - [Features](#Features) - [Installation](#Installation) - [Documentation](#Documentation) - [Changelog](#Changelog) - [Credits](#Credits) ## Features - A Waypoint Editor for creating and modifying bot's waypoints of traversing the map. Have a look at [Using the Waypoint editor](/main_shared/bw-assets/wpedit.md). - 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 at [Documentation](#Documentation) 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. - Adds AI clients to multiplayer games to simulate playing real players. (essentially Combat Training for WaW) - 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. - Bots target killstreaks and vehicles. - Bots target equipment. - Bots can camp randomly. - 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 perks and weapons. - 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 betties, they even use grenades and tubes in preset map locations. - Bots use grenade launchers. - Bots can melee people. - Bots can run! - Bots can climb ladders! - Bots jump shot and drop shot. - Bots detect smoke grenades, flares, gas and airstrike slows. - Bots will remember their class, 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 0. Make sure that [Plutonium T4](https://plutonium.pw/docs/install/) is installed, updated and working properly. - Download the [latest release](https://github.com/ineedbots/t4m_bot_warfare/releases) of Bot Warfare. 1. Extract all the files from the Bot Warfare release archive you downloaded to anywhere on your computer. 2. Run the 'install.bat'. This copies the mod to your WaW mods folder. 3. 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'. 4. The mod should be loaded! Now go start a map and play! ## Documentation ### Menu Usage - You can open the menu by pressing the primary grenade and secondary grenade buttons together. - You can navigate the options by the pressing the ADS and fire keys, and you can select options by pressing your melee key. - Pressing the menu buttons again closes menus. ### DVARs | Dvar | Description | Default Value | |----------------------------------|---------------------------------------------------------------------------------------------|--------------:| | bots_main | Enable this mod. | true | | bots_main_firstIsHost | The first player to connect will be given host. | true | | 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. | true | | bots_main_debug | Enable the in-game waypoint editor. | false | | bots_main_kickBotsAtEnd | Kick the bots at the end of a match. | false | | 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.