Right, after all the problems i've had getting bots working (my own fault) I thought i'd write this to make sure no-one else has to go through what I did =)
NB: This tutorial is aimed at Win32 users - if you run linux, then i can almost be certain that you know what you're doing anyway
Firstly, you'll need the latest version of RCBot, which can be obtained from http://www.rcbot.net/downloads/rcbot_new/rcbot101.zip
If that doesn't work go http://www.rcbot.net/files.htm and look for a link.
[Edit Cheeseh] If using RCBot 1.01 download this : http://www.rcbot.net/downloads/rcbot_new/dlls.zip after installing the bot as it fixes bugs in metamod [/Edit]
I'm using metamod for my setup, (which allows for the use of plugins/other bots like http://whichbot.sourceforge.net/)
Get the latest version http://metamod.org/dl/metamod.zip - once again, if that doesn't work go http://metamod.org
And if you haven't already got it, NS v2 might be a good idea, have a look for mirrors http://www.natural-selection.org/downloads.html
Let's get NS2 installed, if you already have it installed and have been playing around with it, installing bots or whatever then removing & reinstalling will make everything clean. After you have a clean install of NS2, the latest ZIP of RCBot should be decompressed into your half-life folder, (eg. C:\Sierra\Half-Life\RCBOT\.)
We now need to install metamod. Start by creating a directory in your "Half-Life\ns\" folder called "addons" then another within that: "metamod", and finally "dlls" within that. Should look something like '...Half-Life\ns\addons\metamod\dlls\' Now open the metamod.zip file, and extract metamod.dll into this directory.
To tell metamod to load RCBot, we have to create a file named 'plugins.ini' in the 'Half-Life\ns\addons\metamod\' directory. Mine looks like this:
CODE |
win32 ../rcbot/dlls/rcbot_mm.dll |
CODE |
gamedll "dlls\ns.dll" gamedll_linux "dlls/ns_i386.so" |
CODE |
gamedll "addons/metamod/dlls/metamod.dll" |
CODE |
// gamedll "dlls\ns.dll" // gamedll_linux "dlls/ns_i386.so" gamedll "addons/metamod/dlls/metamod.dll" |
CODE |
bind DEL "rcbot bot_menu" |
PART 2 - Adding whichbot (and any other metamod plugin)
If you want to try an alternate bot for the alien side or want to add another feature to NS then read this.
To install whichbot
Firstly download it from http://sourceforge.net/project/showfiles.php?group_id=76903 (choose the latest version without metamod, should look something like this: 'whichbot-nometamod-vXXX.zip' - where XXX is the version)
Unzip into the 'Half-Life\ns' folder - make sure that the 'Use Folder Names' (winzip) option is checked.
Now edit the plugins.ini file in 'Half-Life\ns\addons\metamod'
Add the following line:
CODE |
win32 addons/whichbot/dlls/whichbot.dll |
CODE |
win32 ../rcbot/dlls/rcbot_mm.dll win32 addons/whichbot/dlls/whichbot.dll |
CODE |
wb balance on |
CODE |
rcbot addbot 1 |
CODE |
wb balance on rcbot addbot 1 rcbot addbot 1 rcbot addbot 1 rcbot addbot 1 |
CODE |
exec addbots.cfg |
CODE |
win32 addons/metamod/dlls/ArmouryHeal_MM.dll |
whats armoryheal ???
ArmouryHeal is a little plugin that turns allows the armoury to heal players who use it (as well as restocking ammo.) I have seen it being used on a few servers, you can tell that they're using it as armouries will have a spinning medpack above them. I've seen another which gives marines a radar beeping sound (like in the aliens films) so when they get close to you it starts beeping faster and faster.
For a good list of NS plugins, look http://www.modns.org/forums/index.php?showforum=4
Remember bots dont know how to use plugins that require the player to do something special.
enjoy
aj
after finishing part one of this installation i tried to host a game but it crashed as i hosted it, im using 3.0 but i dont think that would make a difference.
i wrote this tutorial way before 3.0 was released, perhaps that does make a difference, im sure cheeseh will help out but you may have a more individual problem?
if it crashes before the game starts it cannot find the DLL file. It crashes because of steam (steam sucks) won didn't crash when this happened.
Hi all
I followed the instructions listed here to enable both RCBot v1.3 & Whichbot v0.86 using Metamod v1.17. All was fine but the game often crashed after playing about 20-30 mins. So I checked ModNS and downloaded Metamod v1.16.2 hoping that it would help me prevent the crashing.
But after overwriting the metamod.dll and launching a server, I can't add RCBot into the game. I don't know about Whichbot. It said that "rcbot is an unknown command". Also at the loading screen, I got a message that the Metamod is too old for this plugins. So is this bot compatible with Metamod v1.16.2?
I really want to play with both RCBot & Whichbot with minimal server crashed
PS I'm using NS v2.0
RCbot 1.3 requires metamod 1.17 and is NOT backward compatable with metamod 1.16.2.
Now back to your topic, server is crashing. Are you using any other plugins other than metamod, rcbot and whichbot? If so, please list them and if possable, version numbers would be helpfull.
I don't have any other Metamod plugins except for RCBot v1.3 & Whichbot v0.86.
Most of the crashes occured when I'm commanding giving medikit or ammo or building something. Once the server crashed when I tried to add 15 RCBot but it maybe CPU problem.
So mostly the server crashed when I'm commanding. But there are times the server crahed while I'm not commanding.
Ok, since you have confemed that you do have RCbot and Whichbot working together but are finding crash problems "after" the game has begun then you have another problem that is not setup related. Please start a new topic in the "Install problems" board of this forum.