10 KiB
IW2 Bot Warfare
Bot Warfare is a GSC mod for libcod / CoD2rev Server.
It aims to add playable AI to the multiplayer games of CoD2.
You can find the ModDB release post here.
Important to public dedicated servers
The bots_main_firstIsHost CVAR is enabled by default!
This is so inexperienced users of the mod can access with menu without any configuration.
Make sure to disable this CVAR by adding set bots_main_firstIsHost 0 in your server config!
Contents
Features
-
A Waypoint Editor for creating and modifying bot's waypoints of traversing the map. Have a look at Using the Waypoint editor.
-
A clean and nice menu, you can edit every bot CVAR within in-game.
-
Everything can be customized, ideal for both personal use and dedicated servers. Have a look at 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 CoD2)
- Bots move around the maps with native engine input. (all normal maps)
- Can load MeatBot waypoints as well.
- Bots press all the buttons with native engine input. (ads, jump, etc)
- Bots play all gamemodes/objectives, they capture flags, plant, defuse bombs, etc. (all normal modes)
- 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, compass, etc.
- Bots use all 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 throw grenades, they even use grenades in preset map locations.
- Bots can melee people.
- Bots can run!
- Bots can climb ladders!
- Bots jump shot and drop shot.
- Bots detect smoke grenades, and grenade slows.
- Bots will remember their class, skill and traits, even on multiround based gametypes.
- ... And pretty much everything you expect a Combat Training bot to have
- Bots move around the maps with native engine input. (all normal maps)
Installation
You can easily setup a local LAN dedicated server for you to join and play on.
- Make sure that CoD2 server + libcod and game client is installed, updated and working properly.
- Download the latest release of Bot Warfare.
- Locate your CoD2 server install folder.
- Move the files/folders found in
Add to root of CoD2 serverfrom the Bot Warfare release archive you downloaded to the root of your CoD2 server folder.- The folder/file structure should follow as
.CoD2 server folder/mods/mp_bots/z_svr_bots.iwd.
- The folder/file structure should follow as
- The mod is now installed. Now before you start your server, you will need to set the
fs_gameCVAR tomods/mp_botsas a commandline argument (+set fs_game "mods/mp_bots"). - Now start your CoD2 client and connect to your server (
connect 127.0.0.1in the console most likely) and play!
Documentation
Menu Usage
-
You can open the menu by pressing the fire, activate and melee buttons together.
-
You can navigate the options by the pressing the activate and fire keys, and you can select options by pressing your melee key.
-
Pressing the menu button again closes menus.
CVARs
| Cvar | Description | Default Value |
|---|---|---|
| bots_main | Enable this mod. | 1 |
| bots_main_firstIsHost | The first player to connect will be given host. | 1 |
| 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 |
| bots_main_kickBotsAtEnd | Kick the bots at the end of a match. | 1 |
| 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 |
| 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 cvar 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 |
| bots_skill | Bots' difficulty.
|
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_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_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_ads | If the bots can aim down sights. | 1 |
| bots_play_aim | If the bots can aim. | 1 |
Changelog
- v2.3.0
- Initial release
Credits
- INeedGames - http://www.moddb.com/mods/bot-warfare
- PeZBot team - http://www.moddb.com/mods/pezbot
- MeatBot team - https://www.moddb.com/mods/meatbot-v092
- Ability
- Salvation
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) @ [email protected]
