Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Back last year, I always wanted wanted bots on MW2, I did some research and found out there was some bots! After hours of play, I got bored because they lacked some things. So i decided I'll look into the code, not knowing any C or GSC code, I started to learn. Finally after one year of hobby coding, I decided to release it into this.
- [img]http://i42.tinypic.com/f57gnk.gif[/img]
- [youtube]rltqkEFY4a4[/youtube]
- [youtube]NLjSmBPyxDQ[/youtube]
- [b][size=150]Features:[/size][/b]
- Adds AI Bots to matches.
- !![i]Bots can move around the maps. (all stock, a few custom maps)[/i]
- !![i]Bots play all gamemodes and cap flags and plant, etc. (all stock and hidden modes)[/i]
- !![i]Bots use all killstreaks. Including AC130 and chopper gunner. Bots choose 3 streaks and use them when earned.[/i]
- !![i]Bots can destroy enemy equipment.[/i]
- !![i]Bots can steal and capture care packages.[/i]
- !![i]Bots could watch a killcam and react to it.[/i]
- !![i]Custom bot class loadouts. Can change all bots to snipe mode, knife mode, etc.[/i]
- !![i]Bots are assigned a difficulty level, each are different, but can be changed.[/i]
- !![i]Bots respond to player's camping location, shooting from location, etc.[/i]
- !![i]Bots destroy killstreaks and use stingers.[/i]
- !![i]Bots talk and can change the rate they talk.[/i]
- !![i]Bots use grenades and other equipment as well as weapon attachments (noobtube).[/i]
- !![i]Bots move their legs (and trip claymores (devwalk)).[/i]
- !![i]Bots use all primaries, all secondaries (except javelin) and switch between them.[/i]
- !![i]Bots use all perks and deathstreaks, the perks actually do something to the bot as well.[/i]
- !![i]Bots remember their class loadout and killstreak loadout generated.[/i]
- !![i]Easy to merge mods with the mod. Edits minimal stock .gsc's and doesn't edit _rank.gsc.[/i]
- !![i]Everything is customizable, ideal for servers. Can customize how many people/bots on a team, how many hard/medium/easy bots on a team, Can disable bots using streaks, explosive weapons, knifing, etc.[/i]
- [b][size=150]Installation (client):[/size][/b]
- [code]1. Locate your MW2 Folder (the folder you located when installing IW4M).
- 2. Find your 'mods' folder (if none, create one).
- 3. Create a folder in 'mods' called 'bots'.
- 4. Download the latest version .iwd file (found below) and save it to the 'bots' folder. (IW4M client\mods\bots\z_svr_bots.iwd)
- 5. Play IW4M and go to 'MODS' and double click 'BOTS' from the menu, wait for it to restart.
- 6. Go to private match and start a game. (to open the menu, press your actionslot1 button, default '5')[/code]
- [b][size=150]Installation (server):[/size][/b]
- [code]1. Use this to setup your server initially: http://fourdeltaone.net/forum/viewtopic.php?f=7&t=2151
- 2. Now download the .iwd file to "IW4M server\mods\bots\z_svr_bots.iwd".
- 3. Use "+set fs_game "mods/bots"" for your server parameters.
- 4. Now you look at the dvar documentation list for customizing the bots to your likings.
- You can use http://pastebin.com/0bdCQjKd and add it to your server.cfg.[/code]
- [b][size=150]Modding within the mod documentation:[/size][/b]
- [code]This mod edits all of the stock map and some custom map .gsc files to add the waypoints. (maps\mp\"map".gsc)
- If the mod changes everyone's weapon loadout or perks then set svr_bots_mod_switch, svr_bots_mod_weap and svr_bots_mod_perk to 1. As well within the mod, find where switchtoweapon is and add setspawnweapon with the same call and arguments.[/code]
- [b][size=150]Bot DVAR list documentation:[/size][/b]
- [code]svr_bots (0 to 18) - number of bots to add to game, resets to 0 once bots are added no need to edit this
- svr_bots_fill (0 to 18) - amount of players to have ingame
- svr_bots_kick (0 to 1) - if to kick bots if svr_bots_fill is exceeded
- svr_bots_fill_mode (0 to 1) - bots and players add up if 0, bots add up if 1
- svr_bots_reset (0 to 1) - resets the bots if 1, once resetted it goes to 0 no need to edit this
- svr_bots_skill (0 to 8) - bot difficulty, 0 is random (affected at reset), 1 is easy and up to 7 is hard, 8 is custom
- svr_bots_team (axis, allies, autoassign, custom) - is team for bots to spawn on (affected at reset)
- svr_bots_team_force (0 to 1) - forces the bot on team
- svr_bots_team_mode (0 to 1) - if team is custom, the amount of players on team is added up as everyone = 0, or just bots on 1.
- svr_bots_team_amount (0 to 9) - is if svr_bots_team is custom then amount of bots or players depending on svr_bots_fill_mode on axis team, remainder is put on allies ignores svr_bots_team_force
- svr_bots_skill_hard_axis (0 to 9) - is if svr_bots_skill is 8 then amount of hard bots on team axis is
- svr_bots_skill_hard_allies (0 to 9) - is if svr_bots_skill is 8 then amount of hard bots on team allies is
- svr_bots_skill_medium_axis (0 to 9) - is if svr_bots_skill is 8 then amount of medium bots on team axis is
- svr_bots_skill_medium_allies (0 to 9) - is if svr_bots_skill is 8 then amount of medium bots on team allies is
- svr_bots_custom (0, tube, snipe, default, knife, nade, akimbo) - is bots custom load out of perks and weapons
- svr_bots_talk (0 to 1) - is bots toggle of talking
- svr_bots_talk_rate (0.01 to 10) - the scale of how often the bots will talk
- svr_bots_nuke (0 to 1) - is bots toggle of using nukes
- svr_bots_destroyEq (0 to 1) - is bots toggle of attacking equipment
- svr_bots_streak (0 to 1) - is bots toggle of killstreaks
- svr_bots_killstreak (legacy, custom, random) - is bots killstreak mode. legacy is old mode, other two are new
- svr_bots_deathstreaks (0 to 1) - is bots toggle of deathstreaks
- svr_bots_move (0 to 1) - is bots toggle of moving
- svr_bots_secondary (0 to 1) - is bots toggle of using secondaries
- svr_bots_laststand (0 to 1) - is bots toggle of using laststand as a perk
- svr_bots_attack (0 to 1) - is bots toggle of attacking
- svr_bots_dostuck (0 to 1) - is bots toggle of antistuck
- svr_bots_doobj (0 to 1) - is bots toggle of playing objective
- svr_bots_takecare (0 to 1) - is bots toggle of taking care packages
- svr_bots_aim (0 to 1) - is bots toggle of aiming
- svr_bots_riot (0 to 1) - is bots toggle of having a riot shield
- svr_bots_tube (0 to 1) - is bots toggle of using explosive weaponry
- svr_bots_nade (0 to 1) - is bots toggle of grenadier
- svr_bots_ammo (0 to 1) - is bots toggle of ammo for dev walk
- svr_bots_snipe (0 to 1) - is bots toggle of using snipers
- svr_bots_knife (0 to 1) - is bots toggle of knifing
- svr_bots_antifly (0 to 1) - is bots toggle antiflying
- svr_bots_outofmyway (0 to 1) - is bots toggle of moving out of the way if player is near
- svr_bots_classmem (0 to 1) - is bots toggle of remembering their class loadout
- svr_bots_changeclass (0 to 1) - is if svr_bots_classmem is 1 then bots have random chance of changing class
- svr_bots_watch (0 to 1) - is bots toggle of chance of watching killcams
- svr_bots_dev_walk (0 to 3) - is experimental fix for bots not sliding
- svr_bots_tdks (0 to 1) - is toggle of bots taking down kill streaks
- Below cannot be edited by the menu:
- svr_bots_mod_switch (0 to 1) - mod support, ignores switching of weapons etc.
- svr_bots_mod_weap (0 to 1) - mod support, ignores setting of bot weapons
- svr_bots_mod_perk (0 to 1) - mod support, ignores setting of bot perks
- svr_bots_target (isSubStr a player name) - is bots target to kill, could be a cheater or for fun, set it to "" for off
- svr_bots_host (isSubStr a player name) - is player's name to open the menu, unneeded if not server based
- svr_bots_menu (0 to 1) - is if menu is enabled, 0 is no, 1 is yes
- [/code]
- [size=150][b]Possible bugs:[/b][/size]
- [code]Q: My game runs slower!
- A: The bots require some extra thinking for the computer.
- Q: Bots sometimes fly, go through walls and go to places where they are not to be!
- A: Its how the waypoint walking system works.
- Q: They have a Javelin randomly!
- A: Its an attempt of getting the bots to stop flying.
- Q :Bots only use one weapon when akimbo'd.
- A: Not fixable yet.
- Q: Bots never ADS.
- A: Not fixable yet.
- If any bugs found not here, post it!
- [/code]
- [b][size=150]Possible future things:[/size][/b]
- [code]- Try improving bot walk animation (I'll need some help STILL)[/code]
- [b][size=150]Changelog:[/size][/b]
- [code]Changes from Bot Warfare v0.4d_03 (07/06/2013):
- Menu is now dynamic. It now shows the dvar values.
- Menu is smoother.
- Added that menu can now edit svr_bots_target.
- Added that menu can now dump the bot dvars to games_mp.log.
- Fixed up some killstreak spam.
- Improved bots accuracy.
- Improved performance and bot team determination.
- Added toggle of bots ammo and snipers.
- Changes from Bot Warfare v0.4d_02 (07/06/2013):
- Bots can now attack C4s and claymores, use svr_bots_destroyEq.
- Bots now react to being shot at.
- Minor improvements.
- Changes from Bot Warfare v0.4d_01 (07/04/2013):
- Improved how bots attack sentries.
- Bots now go to the care package that is the best.
- Changes from Bot Warfare v0.4d (07/03/2013):
- Added 3 more dvars. svr_bots_doobj svr_bots_dostuck and svr_bots_takecare.
- Bots can take care packages.
- Bots can now take out sentry guns.
- Changes from Bot Warfare v0.4c_01 (06/30/2013):
- Redid Derail waypoints and Carnival.
- Fixed bots who are vengeful and not moving after finding their target.
- Improved menu.
- Improved stuck.
- Bots who are not on hardest with a sniper are more accurate.
- Split svr_bots_fill_mode for teams into svr_bots_team_mode.
- Improved antifly and is togglable with svr_bots_antifly.
- Changes from Bot Warfare v0.4c (06/29/2013):
- Added a dvar to toggle bots aiming.
- Updated svr_bots_attack.
- Fixed bots getting stuck.
- Redid menu. Thanks Salvation for the sexy base!
- Redid Highrise waypoints.
- Changes from Bot Warfare v0.4b_01 (06/25/2013):
- Updated waypoints on terminal and fuel. These maps will use less CPU.
- Bots using one man army can no longer have two weapons.
- Improved performance.
- Updated how bots are resetted.
- Changes from Bot Warfare v0.4b (06/24/2013):
- The mod doesn't use _damage.gsc, sd.gsc or _helicopter.gsc anymore!
- Added search and destroy multibomb support.
- Fixed bots trying to use other killstreaks while in controlled streaks.
- Fixed menu opening in multiround gametypes.
- Changes from Bot Warfare v0.4a_03 (06/23/2013):
- Improved bot aiming.
- Changed how bots use care packages streaks. (fixing the spam again)
- Improved bots getting stuck.
- Bots can grenade better now.
- Bots use Javelins to stop them from flying. Making bots will stop reloading randomly now.
- Changes from Bot Warfare v0.4a_02 (06/22/2013):
- Fixed the announcer spamming "care packages".
- Improved performance.
- Improved bots getting stuck.
- Improved bots with care packages and stinger usage.
- Nerfed bots using OMA.
- Updated bot class loadout.
- Changes from Bot Warfare v0.4a_01 (06/18/2013):
- Readded dev_walk.
- Bots using stingers now deploy the killstreak's flares if any.
- Changes from Bot Warfare v0.4a (06/15/2013):
- Removed dev walk.
- Added using animations to move bots their legs. (indev)
- Added a custom map waypoints.
- Changes from Bot Warfare v0.3_05 (06/09/2013):
- Added cod4 map waypoints from PezBots.
- Bots now go to players and bots if they have uav, no counter uav and no coldblooded.
- Bots no longer have infinite ammo in dev walk mode.
- Readded an old version of dev walk.
- Changes from Bot Warfare v0.3_04 (05/25/2013):
- General performance improved.
- Changed how the menu is opened.
- Changes from Bot Warfare v0.3_03 (05/25/2013):
- Changed that bots will kill them self with stingers less often.
- Bots can use blast shield.
- Changes from Bot Warfare v0.3_02 (05/25/2013):
- Fixes to bots using Shotgun Attachments, didn't know it was AR_shotgun_attach_mp and not shotgun_AR_mp.
- Updated how bots take down aircraft with stingers. They will stop moving when looking at the aircraft and they will not look up in buildings anymore.
- Update bot talk. (thanks apdonato!)
- Changes from Bot Warfare v0.3_01 (05/24/2013):
- Bots can use weapon attachments (tubes and shotgun).
- Updated how bots grenade.
- Bots can use stingers.
- Bots take down AC130s and UAVs.
- Changes from Bot Warfare v0.3 (05/22/2013):
- Thanks to apdonato's RSE direct development!
- Improved bots not sliding (in dev). (thanks apdonato)
- Bots can now take down air support. (thanks apdonato)
- New DVARs, svr_bots_tdks and svr_bots_dev_walk.
- Bots use sentry guns, care packages and emergency air drops. (thanks apdonato)
- Improved mod support.
- Improved so last stand stuff, shotguns stuff, and perk stuff, and other bot related things.
- Fixed invasion map lag.
- Changes from Bot Warfare v0.2_01 (05/10/2013):
- Fixed up some killstreak problems. Such as harrier's interface will mess up the bots.
- Bots in AC130s and chopper gunners will ignore players with Cold Blooded.
- Fixed a SMALL bot talk typo.
- Bots difficulty now change their degrees they can detect an enemy.
- Improved CPU usage.
- Changes from Bot Warfare v0.2 (05/05/2013):
- Added a new killstreak system for the bots, they now select 3 streaks and use them.
- Can now disable riotshields and bot tubers.
- Updated AC130, pred, class loadouts.
- Various small fixes.
- Changes from Bot Warfare v0.1x_01 (04/27/2013):
- More updates and fixes to bot talking.
- Fixes to Veh_Unlink - Player not in vehicle.
- Changes from Bot Warfare v0.1x (04/23/2013):
- Fixed bots thinking they have every perk.
- Easy bots are now even easier and stupid. They will not chase the player down or notice the player shooting.
- Added custom amount of bots on a certain team.
- Added bots have a chance to change their class.
- Improved some CPU usage.
- Added forcing bots autoassign.
- Updated some bots talking.
- Changes from Bot Warfare v0.1f_01 (03/24/2013):
- Fixed deathstreaks up.
- Fixed bots using primaries in laststand, they thought they had final stand when they really didn't.
- Added peacekeeper to bot loadouts.
- Added akimbo to bot loadouts.
- Updated how the anti stuck works.
- Bots will have a chance to prone while using chopper or ac130.
- Added that if the waypoints.type is "prone", the bots will go prone.
- Changes from Bot Warfare v0.1f (03/22/2013):
- Added bots using akimbo!(they will only use one gun though ): )
- Changed how bots will choose the riot shield.
- Fixed shooting the right gun when akimbo'd will have the bot ignore the gun fire.
- Fixed some text spam.
- Added some support to changing the bots speed with h4xx0rz lobbies.
- Added new custom mode, Akimbo Battles.
- Changes from Bot Warfare v0.1e (02/17/2013):
- Added svr_bots_talk_rate, it is how often the bots talk.
- Added some more mod support.
- Added some support with testclients_domove as 1. //an attempt to have the bots not "sliding" on the floor
- Updated deathstreaks and waypoints.
- Changes from Bot Warfare v0.1d (02/09/2013):
- Externalized Nuketown waypoints, no longer will conflict with Nuketown mods such as sprinklers or end game nuke thing. (add them yourselves)
- Tweaked bots in their killstreak spam.
- Tweaked bots in their difficulty.
- Fixes for bomb objectives.
- Changes from Bot Warfare v0.1c (02/07/2013):
- Added Nuketown waypoints. Thanks yolarrydabomb!
- Changes from Bot Warfare v0.1b (02/05/2013):
- Added svr_bots_team_force, forces the bot on the team.
- Added svr_bots_fill_mode, toggles if svr_bots_fill affects players or bots.
- Fixed harder bots having a choppy autoaim.
- Small fixes involving modding, difficulty and resetting bots.
- Changes from RSEv10 to Bot Warfare v0.1a (02/02/2013):
- This mod can be server hosted and will no longer have a memory leak like before, it was caused when bots were kicked for players to play and threads didn't endon disconnect.
- Modding support in a mod! Only edits minimal stock .gsc files and doesn't edit _rank.gsc!
- Bots no longer have infinite ammo and will reload, switch to secondaries, more grenadier options, and many other tweaks.
- Bot killstreaks improved. They use chopper gunner again, but not as OP as in RSEv7.
- Bots use all perks and the perks actually do something to the bots! Lightweight and marathon make them go faster, etc.
- Bots use deathstreaks... ):
- Can use DVARs to toggle many options!
- Bots play demolition! As well with the bots playing the objective more.
- Many bot difficulty improvements, easy bots are easy and hard bots are not fun. Can set every bot to have a random difficulty, or customize their difficulty level.
- A new menu, very lazy made, but you can edit nearly everything bot based. (i don't like menus personally)
- So many new things that I forgot. Been about a year of working on this mod by learning and working on it for fun.
- [/code]
- [size=150][b]Credits:[/b][/size]
- [code]tinkie101 - for creating the base retarded smart enemies mod
- Salvation - for the menu base used in the mod
- yolarrydabomb - for fixing the "Hunk_UserAlloc: out of memory for 'Scr_BeginLoadScripts'" error and adding some of the custom map waypoints
- apdonato - for his further RSE development
- FourDeltaOne Team or former AlterIWNet Team - for making IW4 better
- [/code]
- Original Retarded Smart Enemies forum post: [url]http://fourdeltaone.net/forum/viewtopic.php?f=17&t=2716[/url]
- Ability's Waypoint mod: [url]https://dl.dropbox.com/u/24492437/IW4/waypoints.iwd[/url]
- apdonato's RSE mod: [url]http://fourdeltaone.net/forum/viewtopic.php?f=17&t=35142[/url]
- Feel free to; post this mod on other sites, host it on servers, mod it and merge mods with it. Just give credit where is due!
- If you have any suggestions, bug reports or offer any help, please post it!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement