Running Omni-Bot with 3rd party ET Mods
From Omni-bot Wiki
| ET Main Page | Running Omni-Bot with 3rd party ET Mods |
| For Versions: ET 0.66-0.71 |
Contents |
Mods
In Enemy Territory there are three 3rd party mods that can work with Omni-bot.
The three mods are
ETPub
Jaymod
No Quarter
Once you know which mod you are going to use you need to check which version of omnibot runs with that mod & version, you can find this out here : Download the correct version of Omnibot
Installing
You should have installed your mod at this point. If you have not refer to the documentaion that comes with your mod.
Now you need to install omnibot, install instructions can be found here :
Windows install
If you are not running a home server you need to install the same way as if you are running a home server then copy both the "omni-bot" & "omnibot" folders to your remote server at the same level as your mod (not inside your mod folder or etmain)
Running your server
Home server
This is for users that do not have a server config file (server.cfg) if you do have a server.cfg use the section for remote servers
Linux
In linux you use the command line or create a stortcut.
If your going to use a shortcut create to ET or ETDED if you are planning to allow others to connect to your server on a lan for example.
Then use one of the lines below in your shortcut
If you are using the command line just enter one of the below lines directly in the command line.
#et +set fs_game noquarter +set com_hunkmegs 64 +set omnibot_enable 1
or
#etded +set fs_game noquarter +set com_hunkmegs 64 +set omnibot_enable 1
Windows
Create a shortcut to ET.exe or ETDED.exe if you are planning to allow others to connect to your server on a lan for example
Right click on your new shortcut and click on properties
Edit the text in target to this
"C:\Your install folder\ET.exe" +set fs_game noquarter +set com_hunkmegs 64 +set omnibot_enable 1
or
"C:\Your install folder\ETDED.exe" +set fs_game noquarter +set com_hunkmegs 64 +set omnibot_enable 1
Remote servers
Server Config
To enable omnibot to work on a remote server you need to edit your server config.
Some default server configs like noquarter already have the the cvars in them so you just need to edit them but if not you just simply need to add them.
The server configs CVAR's you need to add/edit are as follows
Omnibot Enable
To Enable omni-bots add:
set Omnibot_Enable "1"
A setting of "0" will disable the bots
Omnibot Path
This is an optional CVAR, you only need to use it if omni-bot can't find the library files in the default locations
Windows
set omnibot_path = "C:\Your install folder\omni-bot"
Linux
set omnibot_path = "/usr/local/games/enemy-territory/omni-bot"
Be aware Windows uses left-slashes '\' and Linux/UNIX based-systems use right-slashes '/' as separator-char.
In your server config, the omnibot_path cvar needs to be set to the absolute path of the omni-bot folder. If you are unsure of the absolute path, you will need to ask your server provider.
Optional Flags
This is an optional cvar, you only need to add it if you want to disable certain bot functions.
The cvar is as follows
set omnibot_flags "0"
Add the following flags if required
1 Disable XPSave for bots
2 Bots cannot mount tanks
4 Bots cannot mount emplaced guns
8 Don't count bots (this affects the value of the cvar 'omnibot_playing' which contains the number of bots playing or -1 if this flag is set)
Default: 0
Command Line Startup
If your server requires you to edit the startup command use the following command line.
Note 1: You do not need to add any Omni-bot command as you have already added this in your server config.
Note 2: These examples use noquarter as the mod if you are using jaymod or etpub just replace the word noquarter with the mod you are using.
Linux
#etded +set fs_game noquarter +exec server.cfg
Windows
#etded.exe +set fs_game noquarter +exec server.cfg
Server manager
Many gameservers use a server manager to control how you start a server.
Using a server manager all you need to is add your server config name & your 3rd party mod name (etpub/jaymod/noquarter) into the boxes.
Note: You do not need to add anything about Omni-bot as you have already added this in your server config.
Final Setup
All you need to do now is setup your server to run bots & change the bots to your personal preferences.
These guides will help you to do the final setup