Marine Bot banner

Welcome to Marine Bot homepage
a bot for Firearms mod

NEWS
FILES
INFO
SUPPORT
LINKS

Install instructions

Follow these steps exactly the way they are written here in order to install the bot correctly. These instructions are meant for users who want to play the game with bots locally on their own computer. Dedicated Server admins should just unpack the archive into the 'firearms' folder (or 'dod' folder) and use Adminmod/Metamod tools to load Marine Bot library.

Before you start with the installation process make sure you have backed up your '...\firearms\commandmenu.txt'. This file will be overwritten during the extraction. Your operating system should give you a warning about that action. So if you have any custom contents in that file you'd lose it. The version of Marine Bot for Day of Defeat 1.3 doesn't come with the 'commandmenu.txt' file so you don't have to worry about it in this case.

Using the installer package for MB0.91 on Windows

  1. run the installer and follow the instructions (be sure to read the information on the second page)
  2. that's all, run the game and a few bots will join you

Using the .zip or .rar archive (Firearms)

Using the .zip archive (Day of Defeat 1.3)

Note: If you have doubts about correct installation then view this picture (click me). And on this picture you can see the important 'liblist.gam' file modification needed for Marine Bot to work in Firearms 3.0. Finally this picture shows how should the 'liblist.gam' file look after successful installation of Marine Bot for Day of Defeat 1.3.

You can also watch following YouTube videos that will guide you through the installation process.
Installing Marine Bot to Firearms 3.0 on Windows 11
Installing Marine Bot to Firearms 2.5 on Windows 11 shows the additional steps to improve compatibility with that old Firearms version
Installing Marine Bot for Day of Defeat 1.3 on Ubuntu 24.04 LTS
Installing Marine Bot for Day of Defeat 1.3 on Nobara 39

Uninstall instructions

Follow these steps exactly the way they are written here in order to uninstall the bot correctly.

If you used the installer package for version 0.91b to install Marine Bot

  1. run the ...\Half-Life\Uninstall_MB091.exe (or use the Add/Remove Programs from your Control Panel in Windows OS)
  2. erase the whole marine_bot folder inside your ...\Half-Life\firearms folder
  3. run the ...\Half-Life\firearms\liblist_uninstall_mb.exe
  4. erase both ...\Half-Life\firearms\liblist_install_mb.exe and ...\Half-Life\firearms\liblist_uninstall_mb.exe files
  5. that's all

If you used the .zip or .rar archive to install Marine Bot to Firearms

If you used the .zip archive to install Marine Bot to Day of Defeat 1.3

Supported maps

Well the bot can be used on any map, but with supported I mean maps that have waypoints i.e. maps the bot can play with some sort of wisdom. You know where the bot won't just blindly roam, but where he will try to visit important locations like the map pushpoints, objective item locations, places where you usually meet others and so on.

Marine Bot for Firearms

This is the list of waypoints that come with Marine Bot by default.
And this is a list of waypoints from the additional waypoint package for Firearms 2.5 that is available for download at the 'Files' section. You may notice that some maps are on both lists. Reason is that those maps have been changed throughout the development of Firearms. So in order to allow Marine Bot play them well we've also had to create new waypoints for those maps.

Marine Bot for Day of Defeat 1.3

By default there are no waypoints in the gamer package, but you can get a waypoint package created by external contributor with all official DoD 1.3 maps. Head to 'Files' section where you will find the link.

Waypointing instructions (i.e. how you can make a unsupported map a supported one)

What are the waypoints for?

Waypoints is a general name for files on your drive that the bot is using to navigate through the map. The bot has no eyes so the waypoints will tell him that this location is a walkable space and not a solid wall. The most simple description of waypoints is that they guide the bot. You need specific waypoints for each map. There should always be two files for each map in your Marine Bot waypoints folder (e.g. marine_bot\defaultwpts). One named '<mapname>.wpt' and the other one named '<mapname>.pth'. For example for a map 'ps_marie' there would have to be 'ps_marie.wpt' and 'ps_marie.pth' inside your 'marine_bot\defaultwpts'.

Is there any waypointing tutorial or any guidelines I should follow?

Of course. Reading this manual should help you understand how does Marine Bot waypointing system work. It explains all details and it is meant to help you create your own waypoints. Also there is a video guide that shows how the things explained in that written manual work in an action. You can find it in the 'Links' section on Marine Bot homepage.

I've been doing waypoints for other bots. Do I really have to read the waypointing manual?

Yes you really have to read it. Marine Bot waypointing system is different from what botman used in his bot template. So it is different from typical Half-Life bot waypoints. The waypoints are used in slightly different way. And the paths are totally different from other bots.

I have a set of waypoints for a map and I want to share them with a friend or others in general. How can I do it?

First you will have to locate them. As been already mentioned above, they will be inside your marine bot folder in either 'defaultwpt' or 'customwpt'. Then select both files i.e. '<mapname>.wpt' and '<mapname>.pth' and zip them. Then you can email the zip to your friend or upload it to some webpage to share it with other people. Let me stress the fact that you really have to zip both files the .wpt as well as the .pth otherwise things won't work well. You may be used to other bots that use botman's original waypointing system where the bot will generate the paths automatically. So people share just the .wpt files. But Marine Bot uses its own waypointing system and does NOT generate the .pth file automatically, because the paths are unique and are saved into the .pth file exactly the way the waypoint creator designed them. So if you provide just the .wpt file then everyone who gets it won't have the paths at all. And without the paths bots won't be able to play the map the same way you are playing with them on your computer.

I would like to see the waypoints. Is there any way to view the waypoints in game?

Yes following commands will allow you to display waypoints and get information about them.

pathwpt showshows/hides waypoints and paths (paths are the thick horizontal lines between waypoints)
wpt infodisplays unique number (also known as 'index') and properties (if available) of nearby waypoint
pathwpt infodisplays unique number and properties of a path (you must be close to one of its waypoints)

Note: Some of the commands from above have additional arguments that extend or improve the work. Please consult the manual for more info.

I've read the manual and I know all commands now. What do I have to do to start the waypointing?

The only thing you should do is kick all the bots off the game. The bots may behave strange and/or even crash the game. So type this command 'kickbot all' into the console. Then you can start waypointing.

So how do I add a new waypoint?

Just type the 'wpt add' command and a new waypoint will appear on your position. You can use argument to specify the waypoint type if you wish. I mean you can add a cross waypoint by typing 'wpt add cross' into the console. This is a faster way than adding standard waypoints and then changing them to specific types using the 'wpt change <argument>' command. You do it all using just one command.

Specific waypoint types:

As I mentioned above you can assign a specific type/tag/flag to any waypoint. All you need to do is get close to the waypoint you want to assign a specific purpose and use 'wpt change <argument>' command. Where the argument is the new type of the waypoint. You can use one of the following options:
  1. aim
  2. ammobox
  3. claymore
  4. cross
  5. crouch
  6. door
  7. duckjump
  8. goback
  9. jump
  10. ladder
  11. normal (default type)
  12. parachute
  13. prone
  14. pushpoint
  15. roadblock
  16. shoot
  17. sniper
  18. sprint
  19. trigger
  20. use
  21. usedoor
For more info check the waypointing manual where you can get detailed explanation.

I see blue, yellow, green and other color beams instead of the orange beam waypoints. What they are for?

These are the special purpose waypoint types mentioned above. They tell the bot to do some kind of a action there. Or they inform the bot that there's something he would like to have there. See the 'Waypoint type (or tag or flag)' paragraph in waypointing manual for more info.

I used the 'pathwpt show' command, but I don't see any paths. What's wrong?

I see some of the paths are different in color or appearance. What does this mean?

There are more types of paths. The fact that some of the paths are red for example means that they are assigned for the red team only. On the other hand green path beam tells you the path is assigned for a specific class, i.e. a sniper (light green) or a machine gunner (dark green).

Path types:

This is a list of all available path types you can use. Just like the waypoints many of path types can be combined together. You can imagine these types as a sort of limiting factors that will allow only certain bots in using such path. Here are the options:
  1. one way path
  2. two way path
  3. patrol path
  4. red team only path
  5. blue team only path
  6. both teams path
  7. snipers only path
  8. machine gunner only path
  9. all classes path
  10. avoid enemy path
  11. ignore enemy path
  12. carry item path
For more info check the waypointing manual where you can get detailed explanation.
Note: Every new path you create is combination of two-way, both teams and all classes types. This is called a default path.

I don't like certain path. Can I get rid of it?

Yes of course. You can use the 'pathwpt delete' command to erase any path you don't like. Get close to one of its waypoints and type the command. If there are more paths on the waypoint you can use the argument for this command to specify the exact path number (e.g. pathwpt delete 12). The path matching this number will be erased.

Okay so how do I find out the path number then?

Easily. You can use the 'pathwpt info' command which will tell you all about the path including its unique number (also called path index). Get close to one of its waypoints and type the command.
Tip: If you want to see all the paths on the waypoint you can use 'pathwpt printall <argument>' command where the argument is the unique number of your waypoint.

Where do I find out this waypoint unique number?

Again this is just an easy task. You move close to the waypoint and type 'wpt info' command in the console. This unique number is often called waypoint index in Marine Bot console feedback, console help and various written guidelines such as the one you are reading right now.
Tip: This is one of the commands that you may want to bind to a key because you will be using it quite often when you work on your waypoints. So you can type 'bind KP_SLASH "wpt info more"' command in the console (the double quotes are necessary there else it won't work). Now everytime you will want to get information about any waypoint you'll just get close to it, press the forward slash key on your keypad and you'll see all important information about this waypoint in the top right corner of your screen.

I like that idea about having the 'wpt info' bound to a key. Can the 'pathwpt printall' command work the same way too?

Yes, it can work in a similar way. There is a special keyword 'nearby' that can be used as an argument for this command. So you can type 'bind KP_MUL "pathwpt printall nearby"' into the console. Since then you can just get close to any waypoint and press the asterisk key on your keypad to check for the presence of multiple paths on such waypoint. However the list is printed directly into the console not on your screen. Reason for this is that there can be more paths than what the nice coloured HUD text would be able to handle.

And what do I do to add a new path?

Use 'pathwpt start' command while standing really close to a waypoint that you want to start the path with. It automatically adds that waypoint to the new path. Then move close to next waypoint and use the 'pathwpt add' command there. If you want to continue adding more waypoints you'll have to get close to each of them and use the 'pathwpt add' command to add them into the path. If you are done with adding waypoints to the path then just type 'pathwpt stop' command into the console to finish it.
Tip: You can also make your life a bit easier by using 'pathwpt autoadd' command. Then all you need to do to add another waypoint to a path is getting close enough to it to literally touch it. It will be added automatically. Just be careful when there are many waypoints close, because you may then add even those waypoints you didn't want in this path.

FAQ (Frequently Asked Questions) related to Marine Bot for mod Firearms

What does FAQ mean?

It's an acronym for Frequently Asked Questions.

Is there any in-game help?

Yes, access it by opening the console and entering 'help' or '?' (no quotation marks).

How do I open this console?

Press the tilde key (located between esc and tab keys). If you are using Steam then this should always work. However if you are using the old WON Half-Life then it may not be available by default. In that case you would have to edit the shotcut on your desktop that you are using to start the game. Right click on it. Then left click on the last choice called 'Properties'. Finally edit the 'Target' line. Most probably there would be written something like this: 'C:\Sierra\Half-Life\hl.exe -game firearms'. So you would have to change it to this: 'C:\Sierra\Half-Life\hl.exe -console -game firearms'.

So I will have to use the console commands to control Marine Bot?

Yes full control can only be done using the console commands. However there is a version of the Firearms command menu included with Marine Bot that gives you control over your bots in Firearms 2.7 and later. You can access this menu by pressing the command menu key (by default 'p') ingame. You can change this key in the Options screen for Firearms. Note that this is for a listenserver only, see the 'console_commands.html' file for a full listing of all commands available on a dedicated server. If you are running Firearms below version 2.7, you can control Marine Bot using the HUD menu bound to your END key.

Can I use Marine Bot on Linux OS?

Yes you can.

How do I add bots into my game?

Can I arrange it so that bots automatically join the game instead of having to add them one by one?

Bots appear to be stuck, moving blindly between corners. They don't seem to be able to find their way around the map at all, why is this?

Some bots don't shoot. They do only target the enemy, but don't fire the guns. While some other do fight normally. What's wrong?

If you are using Firearms 3.0 then this should not happen, but if you are using older version of Firearms then this can happen. The source of this issue is the credit limit that is used for Firearms custom classes (i.e. when you use Select Arsenal menu). The cost of some weapons and gear differs across supported Firearms versions. In order to allow Marine Bot use the custom classes in all supported Firearms versions, Marine Bot does NOT check the credits at all. So the bots that don't shoot are using a custom class that is out off credit limit for your version of Firearms. Open 'marine.cfg' for editing, scroll down to the list of custom classes and modify them to fit the credit limit for your version of Firearms. Make sure you've done the same even for any map specific '<mapname>_marine.cfg' inside your marine_bot\mapcfgs folder.
Tip: For Firearms in version 2.4 and 2.5 there are special .zip packages with 'marine.cfg' files available on Marine Bot homepage in 'Files' section. Where are modified custom classes that are within the credit limits for those versions of Firearms mod.

When I view the scoreboard, I see some bots that joined one of the teams, but never really appeared in the game. Why they don't want to spawn to the game?

This is a problem with your 'marine.cfg' file or '<mapname>_marine.cfg' if there is one for this map. Check the 'Custom Classes' section in that file. You must be missing one class in the sequence. As the info says in that file, there must be class1 followed by class2 followed by class3 and so on till the very last class. Missing class in this sequence (e.g. class1 class2 class4 ...) causes that some bots then aren't able to finish selecting arsenal in order to join the game. So just add the missing class.

The bots are too good for me to stand a chance against them. Is there a way to make them easier to kill?

Yes there are several options to lower their skills.

Can I change the names the bots use ingame?

Yes, in the 'marine_dog-tags.txt' file. Be sure to read and follow the instructions there otherwise things may not work.

Can I change the gear the bots use ingame?

I have waypoints for a map, but they don't work. Why?

Why does Half-Life crash to title screen when I use the 'pathwpt show' command to view the waypoints?

This is caused by overloading the game engine. Open the console on the title screen after such crash and most probably you will see following error messages: "SZ_GetSpace: overflow on netchan->message" and/or "WARNING: reliable overflow for (your ingame name)". The game engine was already close to its max render capabilities even before you tasked it to draw even more stuff, i.e. the waypoints. This crash will usually happen in open complex areas on the map. Where even the waypoint creator needed to add many waypoints and paths. To deal with this try to move to a less complex area of the map and display the waypoints there. Chances are that when you return back to the original complex area the game won't crash, but you'll see the waypoints flicker. That can be dealt by reducing the waypoint draw distance.

When I display the waypoints they do flicker and it seems like some aren't displayed at all. Is there any way to fix it?

Half-Life game engine has given limits in rendering, like any other game engine out there. When the waypoints start to flicker the game engine is obviously close to the limits and cannot handle the rendering flawlessly. Therefore Marine Bot offers a tool to set the waypoints draw distance in order to deal with the engine limits. The 'wpt drawdistance #' command, where # is a number between 400 and 1400, will set a max distance of a waypoint from you to make it visible on your screen. If you are experiencing the waypoints flickering then use this command to reduce the amount of waypoints that are needed to be displayed. This will also reduce the game engine load and everything will work normally again.

Why do I get the message "waypoints subscription FAILED ..." when I try to change the authors name for a set of waypoints?

Why does Half-Life crash when I use the 'wpt save' command to save my waypoints?

Sorry that you lost your work, but you don't have Marine Bot properly installed. This error will result if there is no marine_bot\defaultwpts (or marine_bot\customwpts) folder, which should be created during a correct installation.

Can I install another bot (Firebot or Brain of Combat bot) alongside Marine Bot?

Yes you can. The liblist utilities allow you to switch easily between Marine Bot and one other bot. Watch this tutorial video to learn how to achive that.

When I start a game with Marine Bot I get the message "Host_Error: Couldn't get DLL API from...". What's wrong?

I'm trying to run Marine Bot on a Linux server, but it keeps failing with error "LoadLibrary failed ... 'GLIBC_2.34' not found ...". What does it mean?

This means the system libraries of your Linux distribution are older than what GCC put as a requirement into Marine Bot .so library during its compilation. Marine Bot is being compiled on Ubuntu 22.04 LTS, but if you try to use it on Ubuntu 20.04 LTS for example then you will get this error.

I'm trying to run Marine Bot on a Linux server, but it keeps failing with error "libstdc++.so.6: version `CXXABI_1.3.9' not found". Where can I get that?

While the map is loading, I get an error along the lines of "NULL entity ...", but the game still loads, and certain gameplay features don't work. How can I fix this?

If you are using Firearms in version 2.4 up to latest 3.0 this shouldn't happen. If this does happen please let us know using the contact information below. If you are using any other version then you can do the same, but we can't promise that we can do anything about it, because our programmers tend to use the latest full version of Firearms (currently 3.0).

Who made Marine Bot?

Visit Marine Bot homepage 'Info' section or see the 'readme.txt' file for a full list of contributors and credits.

How can I help develop Marine Bot?

How can I contact you?

If you have any questions, or find any problems that aren't already addressed in this FAQ, you can contact us by any of these methods (in order of our preference):
Email Frank McNeil
Note: Please remember to include all details of Firearms, Half-Life, Steam and Marine Bot versions. The more information you give us on your problem, the easier it will be for us to help you.

FAQ (Frequently Asked Questions) related to Marine Bot for Steam Day of Defeat 1.3

What does FAQ mean?

It's an acronym for Frequently Asked Questions.

Is there any in-game help?

Yes, access it by opening the console and entering 'help' or '?' (no quotation marks).

How do I open this console?

Press the tilde key (located between esc and tab keys).

So I will have to use the console commands to control Marine Bot?

Yes full control can only be done using the console commands. However you can get a basic control over Marine Bot using the HUD menu bound to your END key. Note that this is for a listenserver only, see the 'console_commands.html' file for a full listing of all commands available on a dedicated server.

Can I use Marine Bot on Linux OS?

Yes you can.

How do I add bots into my game?

I've verified Day of Defeat 1.3 files and Marine Bot stopped working. Even when I run the 'liblist_install_mb.exe' again, the bots don't join the game. How can I fix that?

Can I arrange it so that bots automatically join the game instead of having to add them one by one?

Bots appear to be stuck, moving blindly between corners. They don't seem to be able to find their way around the map at all, why is this?

When I view the scoreboard, I see some bots joined as spectators, but never really appeared in the game. Why they don't want to spawn to the game?

The bots are too good for me to stand a chance against them. Is there a way to make them easier to kill?

Yes there are several options to lower their skills.

Can I change the names the bots use ingame?

Yes, in the 'marine_dog-tags.txt' file. Be sure to read and follow the instuctions there otherwise things may not work.

Can I change the classes the bots use ingame?

I have waypoints for a map, but they don't work. Why?

Why do I get the message 'waypoints subscription FAILED ...' when I try to change the authors name for a set of waypoints?

Why does Half-Life crash when I use the 'wpt save' command to save my waypoints?

Sorry that you lost your work, but you don't have Marine Bot properly installed. This error will result if there is no marinebot\defaultwpts (or marinebot\customwpts) folder, which should be created during a correct installation.

Can I install another bot (Sturmbot or Shrikebot) alongside Marine Bot?

Yes you can. The liblist utilities allow you to switch easily between Marine Bot and one other bot. Watch this tutorial video to learn how to achive that.

When I start a game with Marine Bot I get the message 'Host_Error: Couldn't get DLL API from...'. What's wrong?

This error occurs when Half-Life can't find the correct Marine Bot files, usually due to problems with your 'liblist.gam' file. Make sure you have Marine Bot properly installed. Visit Marine Bot homepage 'Support' section or see the 'readme.txt' file for details on how to do this.

When I'm trying to start a game with Marine Bot on Linux nothing happens and I stay in the main menu. But when I press the tilde key to open the console, I can see an error message along the lines of "LoadLibrary failed ... 'GLIBC_2.34' not found ...". What does it mean?

This means the system libraries of your Linux distribution are older than what GCC put as a requirement into 'marinebot.so' during its compilation. Marine Bot is being compiled on Ubuntu 22.04 LTS, but if you try to use it on Ubuntu 20.04 LTS for example then you will get this error.

I'm trying to run Marine Bot on a Linux server, but it keeps failing with error "libstdc++.so.6: version `CXXABI_1.3.9' not found". Where can I get that?

While the map is loading, I get an error along the lines of 'NULL entity ...', but the game still loads, and certain gameplay features don't work. How can I fix this?

If you are using standard Steam version of Day of Defeat 1.3 this shouldn't happen. If this does happen please let me know using the contact information below.

Who made Marine Bot?

Visit Marine Bot homepage 'Info' section or see the 'readme.txt' file for a full list of contributors and credits.

How can I help develop Marine Bot?

How can I contact you?

If you have any questions, or find any problems that aren't already addressed in this FAQ, you can contact me by any of these methods (ordered by preference):
Email Frank McNeil
Note: Please remember to include all details of Day of Defeat, Half-Life, Steam and Marine Bot versions. The more information you give me on your problem, the easier it will be for me to help you.

by Frank McNeil 2005-2024


end of file