Академический Документы
Профессиональный Документы
Культура Документы
///////////////Bot Warfare////////////////
Feel free to use code, however give credit where credit is due!
-INeedGames/INeedBot(s) @ ineedbots@pbot.org
|________________________________________|
Contents:
1: Features
2: Installation/Requirements
3: Documentation
4: FAQs/Notes
5: Changelog
6: Credits
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
///////////////1: Features////////////////
Mod is completely compatible with no internet, good for LAN with friends or just
playing alone. (only if your client supports offline/lan)
Also mod is compatible with every game client, as long as the client's testclient
handling works properly.
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 '3: 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.
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
///////2: Installation/Requirements///////
Installation for PC (requires you to have a client/server that can load mods):
1. Locate your MW2 game folder.
2. Find and open the 'mods' folder. (if none, create one)
3. Move the files/folders found in 'Move to mods folder' to the 'mods' folder.
4. The folder/file structure should follow as '.MW2 game
folder\mods\bots\z_svr_bots.iwd'.
5. Run your game/server. If you are not using a dedicated server, go to private
match.
6. You must set the 'fs_game' dvar to 'mods/bots' before you load the map. Use the
console (use ~ or alt-tab) to change dvars.
7. Once in-game, press your actionSlot2 (secondary inv) button, default '5', to
open the menu. Use the movement keys to navigate the menu, use the jump button to
select menus and options and press the menu button to close options and menus, or
use the console to change the bot dvars found at 3: Documentation.
8. If the mod didn't load, try inserting the 'z_svr_bots_loadM1.iwd' with the
'z_svr_bots.iwd' file in the same folder and reload the map.
Enjoy!
|________________________________________|
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
////////////3: Documentation//////////////
DVAR list:
bots_manage_add (0 to maxClients) - amount of bots to add to the game, resets to 0
once bots are added
bots_manage_fill (0 to maxClients) - amount of bots to have server maintain
bots_manage_fill_mode (0 to 4) - determines whether or not the bot_fill takes bots
or everyone into account and if it autoadjusts amount of bots to map, or use bots
as balance
bots_manage_fill_kick (0 to 1) - allows to kick bots if bot_fill is exceeded
bots_manage_fill_spec (0 to 1) - if to count players who are on the spec team
bots_manage_reset (0 to 1) - used for resetting bots, resets to 0 once bots are
resetted
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
///////////////4: FAQs/Notes//////////////
Q: Game runs much slower!
A: Try changing your graphic settings or remove some bots, the AI require extra
computer thinking.
TODO:
-Try and have bots use C4s and Javelins.
-Finish SP waypoints.
-Try add more custom gametype mode support.
|________________________________________|
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
///////////////5: Changelog///////////////
v1.3.3(02/05/2017):
Fixes some CTF bugs.
Fixes a possiblity of a bot being stuck after surviving final stand.
Added _custom_map.gsc to waypoints for easier insertion of custom waypoints.
Bots can select c4 and javelin, but won't use em. (yet?)
Fixed an unknown cause of the game to hault if ran for a long time.
Added Cliffhanger waypoints.
Dropped PS3 Backup. Look up how to do it yourself.
Bots will now look at the second next waypoint rather then the one they are
going to.
Bots will now revive while playing diehard modes.
v1.3.2(12/21/2016):
Fixes max_precache_entries_exceeded error.
v1.3.1(12/18/2016):
Added bots_main_target_host dvar and bots_main_fun dvar.
Changed menu. When bots_main_fun is 1, adds more options to menu.
Added an option for bots to always watch killcams.
Changed how bots were resetted.
Fixed massive lag on multiround gametypes as there were duplicate threads.
Adjusted bots movement speeds.
Massively improved bots movement threads for lighter usage on CPU.
Did countless script runtime error fixes that IW4 hides but IW3 doesn't.
Did various script changes for cleanness and better optimization.
Bots will no longer use bombs to capture carepackages.
Completely redid how bots decide what objective to do in gametypes.
Changed and improved the waypoint editor.
Added RustLong, Firing Range, Shipment and ShipmentLong waypoints.
v1.3(10/22/2016):
Added footsounds (sitrep pro will not enchance them unfortunately).
Added various SP map waypoints.
Completly rewrote the waypoint editor.
Changed how bots use blast shield and oma.
Bots will no longer react to uav if using blast shield.
Bots will no longer react when emp'd and using heartbeat sensor.
Changed how waypoints are loaded.
Added bots_loadout_akimbo dvar.
Improved timing on scripts improving on lag issues.
Improved overall efficiency of scripts.
Bots will remember their target (again).
Bots will react to killcams. (again)
Improved and added sounds to bots meleeing.
Improved bots animations.
Improved bots using riotshields.
Improved bots reloading.
Imporved bots stopping moving and shooting at equipment and killstreaks.
Fixed using copycat on bots.
Fixed j_helmet error on maps.
Readded testclients_domove support. (bots_play_fakeAnims 2)
v1.2.6(06/18/2016):
Fixed blitz gamemode
Changed how objectives are chosen
bots_main_target works with killstreaks again
bots_loadout_secondary works again
Improved bot aim when targeting players and equipment
Changed how bots use grenades and attachment weapons
Changed how bots switch to secondaries and primaries
Changed how bots use laststand
Added tube waypoints, simular to preset grenade waypoints
Improved bots using stingers and at4 on killstreaks
Improved bots meleeing sentries and players
No more odd looking corps when bots die
Bots will do a run delay better now
Fixed bots with semiauto rifle may not shoot
Fixed bots choosing two classes when just connecting
Changed dvars bots_loadout_remember and bots_loadout_change
Optimized code, will run even more smoother
XBox360 patch_mp.ff contains latest patch files.
v1.2.5(06/06/2016):
Bank your items...
Fixed bots never being given offhand grenades
Fixed script running multiple threads when bot first joins
Fixed bots might not use laptop because script thinks bot is airborne
Fixed bots from possibly never camping when using laptop killstreak
Fixed bots aim, normalized differences and will now aim at each step
Fixed bots objectively rarely going to enemy equipment
Fixed bots throwing offhand grenades on waypoints
Fixed where waypoint.angles being undefined may cause infinite loop
Console patches (PS3) now include the full latest patch
v1.2.4(02/14/2016):
Fixed bots not using RPGs against players and killstreaks.
Fixed bots who join a game after it ended to play.
Bots will no longer camp with a ridable killstreak if they cannot gain
killstreak out of it.
Various code changes.
v1.2.3(12/16/2015):
Fixed persistent lag on multiround gametypes.
Fixed bots teleporting ontop of roofs as much.
Fixed bots not defusing the bomb if a player planted in sd.
Bots will no longer detect a shooter if emp'd.
Performace increase.
Added map 'airport' waypoints.
Various changes to timing and other things.
Fixed bots not spawning on non-forced respawn dvar.
v1.2.2(12/11/2015):
Bots will no longer shoot through objects where they cannot see the target.
(ex: highrise and the tarp)
Bots will clamp to the ground better now.
Fixed bots not throwing back grenades in teambased modes.
Improved animations a bit.
v1.2.1(11/28/2015):
Changed and fixed titles and emblems, can set with a dvar and will be
remembered, even on multiround gametypes.
Fixed bots wanting to always throw a grenade or place a claymore.
Multiround bots should always be in the game as soon as the round starts.
Fixed bots going to carepackages constantly, even unreachables.
Bots can now throwback frag grenades, can be toggled with a dvar within the
menu.
When bots lock on ac130 with stinger, will give sounds to the user.
Fixed bots climbing very slowly.
Added a few more bot talk.
Adjusted bots chance to camp and follow a teammate.
Adjusted bots class on riotsheilds on 'default' loadout.
v1.2(11/22/2015):
Rewrote entire mod again and possibly the final time.
Fixed bots using weapons during capturing carepackages, planting the bomb and
knifing.
Fixed bots 180o on players for no reason.
Completely changed how bots think about objectives. Should no longer conflict
and be smooth.
Added more bot talk.
Changed naming of a few dvars.
Completely changed how bots aim, bots will select a target, and will keep
aiming on that target until they is out of sight or dead, and aiming is now
smoothed.
Readded many features that was removed in 1.1.6 (so that performance was
increased).
Performance improved with all features. Should run at its best it ever has
now.
v1.1.6(08/20/2015):
Major performance boost. However removed a lot of the bot's thinking (such as
player awarement etc).
Fixed if adding too much bots at once would crash the game.
|\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/|
////////////////6: Credits////////////////
INeedGames(me) - for completely writing and compiling the mod into what it is now:
http://www.moddb.com/mods/bot-warfare
tinkie101 - for RSE v1 to v10, mod was based off of this:
https://web.archive.org/web/20120326060712/http://alteriw.net/viewtopic.php?
f=72&t=4869
PeZBot team - tinkie101 used PeZBot's code as a base for RSE v1 to v10:
http://www.moddb.com/mods/pezbot
apdonato - for RSE v11+ development, much of their ideas was used:
http://rsebots.blogspot.ca/
Ability - for their waypoint mod used in this mod (found in bots\dev.gsc)
Salvation - for their menu base used in this mod (found in bots\menu.gsc)
yolarrydabomb - for various waypoint files: http://yolarrydabomb.net/
Blobbitybloo - for finding a IW4 sound name dump, allowing me to allow bots to
emulate footsounds: http://www.moddb.com/members/blobbitybloo
|________________________________________|
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@pbot.org