|
Famkebot Guide
Stuff required for this guide:
Contents:
Famkebot: Getting Started
The installation process of the Famkebot is pretty easy, simply unzip it into your Quake 2 directory. Then select the Run dialog from the Start Menu in Windows 95/98/NT and click Browse. Find your Quake 2 directory and select the file named quake2, it is easily identified by its green Quake logo. Once this has been selected and you have pressed OK, the run dialog should look something like this:
C:\Quake2\quake2.exe
Of course that line will differ depending on which drive you have Quake 2 installed on. Now, we must let Quake 2 know that you want to load the Famkebot as opposed to normal Quake 2. To do this, insert +set game Famkebot +set deathmatch 1 +map q2dm1 after what is already in the dialog box. You should end up with something like this:
C:\Quake2\quake2.exe +set game Famkebot +set deathmatch 1 +map q2dm1
This tells Quake 2 to run the Famkebot in deathmatch and start on the map, q2dm1 otherwise known as The Edge. Don't worry if you don't want to play on The Edge, you can change this within the game or now by changing q2dm1 to the level of your choice. Now, click OK to start Quake 2 with the Famkebot. Quake 2 should load as normal and you should spawn on the level that you specified and you should be greeted with the Message Of The Day which informs you that you are running the Famkebot v7.0 By Rich Whitehouse etc.
Now, we need some bots. Pull down the console (using the ~ key) and type in addbot, you will see a message informing you that has joined the game. You can of course type addbot more than once to add more than one bot to your game.
Configuring The Famkebot
The configuration details for the Famkebot are stored in a file within the Famkebot directory called bots.cfg here is an example entry:
1 \gender\female\skin\female/athena\name\Famke\hand\0
The number 1 infront of the line signifies that this is the first bot to be spawned in a game, the bot is a female, uses the Athena skin and its name is Famke. You can modify these lines to your personal preference.
You can also modify the the speech that it uses if bottalk is set to 1. These lines are contained within the file, botchat.cfg. The file is split into two seperate parts, *Got killed by someone and *Killed someone. Underneath *Got killed by someone are the chat lines that the bot would say if he was killed by someone, and under *Killed someone are the chat lines that the bot would say if he killed someone. To my knowledge, each list can have a maximum of 30 entries.
One last thing on the subject of chat lines is the option to use a string command (in this case %) inside a chat line. When the bot uses a chat line with % in it, the % will be replaced with the relevant player. (i.e. the player that has just killed or been killed by the bot).
That pretty much covers the configuration of the Famkebot.
Running the Two Gamemodes (DM and Co-Operative)
Running a Deathmatch game with the Famkebot has been used as a basis above, I will now show you how to get the Famkebot playing the co-operative mode of play.
To start a co-op game, pull down the console (~) after you have started the game and type the following (pressing 'enter'/'return' after each):
disconnect
deathmatch 1
coop 1
sv_cheats 1
map mapname
Once in the map (it'll need to be a single-player map of course) just add a bot in and it should move around with you.
There are some further commands that you can use in co-operative mode, they are as shown:
cooproam (cvar): In coop mode, setting this to 1 will tell the bot to go off
and roam the level on its own instead of following you. The default is 0.
coopnoitems (cvar): Setting this to 1 in coop mode will tell the bots not to
collect items. The default is 0.
stopattacking (command): Tells all the bots in coop to stop attacking their
current enemy.
dontgetthat (command): Tells all the bots in coop to stop trying to get the
item they're currently after.
Creating Famkebot Waypoints
To navigate the level properly the Famkebot needs a waypoint file (.nfr file). You have to create the set of waypoints manually and then save them to a file, but it is quite simple so there is no need to worry.
The waypoints appear as data discs (there will be one where you have spawned), you should now walk around the level and where you see fit drop a waypoint by typing at the console (~) makepoint, it may be easier to bind this command to a key. Here are some tips from TheFatal on creating a waypoint file:
- Always make sure each waypoint is visible from the previous waypoint
and the next waypoint.
- When going through doors, place a waypoint somewhat close to the door
on each side of it.
- Try to place a waypoint close to each side of a door.
- Make sure you stay crouched while placing waypoints in areas that
require the player to crouch to avoid certain obstacles.
- Try not to go off any ledges that can't be climbed (note that the bots
DO have support for ladders, so using ladders is fine).
- Don't get killed.
It helps if you place a waypoint on items that you interact with (i.e. weapons, health packs, armor etc.). It is important to cover all of the map and not leave any spaces around corners (so place a waypoint in the centre of a corner) as the bots are easily confused. Once your done, simply pull down the console and type doneplacing.
Famkebot Command & CVar List
Firstly is a list of all the commands that are Famkebot specific in Quake 2. All of these should be entered at the console (or via a .cfg file).
Console Commands:
|
addbot
|
Adds the next bot from the bot configuration file.
|
|
removebot
|
Removes the most recently spawned bot.
|
|
makepoint
|
Drops a waypoint.
|
|
doneplacing
|
Saves all the current waypoints to a file named 'mapname.nfr'.
|
|
stopattacking
|
Tells all bots in co-op to stop attacking their current target.
|
|
dontgetthat
|
Tells all bots in co-op to stop trying to get the item they're currently after.
|
Console Variables:
Now the Console Variables, which are again entered via the console or from a .cfg file.
|
botnum X
|
Adds X amount of bots to the game.
|
|
botskill
|
If set to 1 (default) the but is Standard skill, if set to 0 the bot is Moron skill.
|
|
bot_fuzzyaim
|
Setting this to 1 makes the bot's aim non perfect (0 is default).
|
|
bottalk
|
Toggles bot talking on and off (default is 1).
|
|
chatfreq_died
|
Determines how often the bot talks after being killed, 0 is never, 0.5 is half the
time, 1 is always, etc. The default value is 0.2.
|
|
chatfreq_killed
|
The same as chatfreq_died but it determines how often the bot talks after killing
someone. The default value is 0.2.
|
|
botfov
|
Sets the bot's FOV, works the same as the player's FOV. Default is 90.
|
|
botusefov
|
This is enabled by default. Tells the bot to only see within its
FOV and not be able to see outside of its FOV if it is set to 0.
|
|
bothearing
|
If set to 1 (default) allows the bot to hear what is going on in its surroundings.
|
|
practice
|
Setting this to 1 enables Practice Mode (default is 0). In practice mode, scores
are calculated by damage and no one dies. DeathMatch must be enabled for
this to work.
|
|
practice_weap
|
Setting this removes all items from the level and gives all players (and bots)
the specified weapon with unlimited ammo. Set the value to one of the following
numbers for the appropriate weapon:
1-Blaster
2-Shotgun
3-Super Shotgun
4-Machinegun
5-Chaingun
6-Grenade Launcher
7-Rocket Launcher
8-Hyperblaster
9-Railgun
10-BFG10K
11-Hand Grenades
Note that practice mode must be enabled for this to work.
|
|
cooproam
|
In co-op mode, setting this to 1 will tell the bot to go off
and roam the level on its own instead of following you. The default is 0.
|
|
coopnoitems
|
Setting this to 1 in co-op mode will tell the bots not to
collect items. The default is 0.
|
|
nowaypoints
|
Setting this to 1 will disable the use of waypoints
entirely. This is not at all recommended.
|
|
tracewp
|
Default is 1. Setting to 0 will disable the tracing of
waypoint to waypoint while placing waypoints for a level with no NFR
file.
|
|
gl_fog
|
Set to 1 to enable fog. Note: For fog to work correctly, you must have default OpenGL selected
as your video rendering device. 3dfx users require special drivers for
this.
|
|
gl_fog_dens
|
Change this value to set the fog's density.
|
|
gl_fog_r
|
Set the fog's red color value (0-1).
|
|
gl_fog_g
|
Set the fog's green color value (0-1).
|
|
gl_fog_b
|
Set the fog's blue color value (0-1).
|
...and that concludes our journey of the Famkebot. If you require further help, don't hesitate to contact me at ze0@botepidemic.com.
|
|