Chapter 11. Omni-bot

Table of Contents

Native Library Search Path
See Also

Jaymod natively supports the Omni-bot product. This product enables servers to set up computer controlled bots with relative ease. There is nothing that you have to set up within Jaymod’s configuration to use them. There is, however, some setup that needs to be done with the Omni-bot installation.

To get Omni-bot for your server, visit http://www.omni-bot.com. There, you will find downloads for the files needed to get running, and installation and configuration documentation.

It is imperative that you match the Omni-bot version exactly that which Jaymod supports. Jaymod 2.1.5 supports Omni-bot 0.65, and for all other versions please consult the appropriate documentation.

Native Library Search Path

Omni-bot can be installed in a variety of ways on your server. Because different people have different needs, a list of directories is searched and the first one which has a native library for your platform is used. Note that any duplicate directories are searched only once. The following is the standard search path, in order of preference, for Omni-bot native libraries:

  1. optional directory specified via CVAR g_OmniBotPath.
  2. omni-bot sub-directory relative to server process current directory.
  3. optional omni-bot sub-directory of fs_basepath, if specified.
  4. optional omni-bot sub-directory of fs_homepath, if specified.
  5. omni-bot subdir relative to { $HOME (for Linux) or %Program Files% (for Windows) } environment variables of the server process.
  6. default mechanism for server platform's native library loader.

Example search path for a typical Linux server with g_OmniBotPath=/somewhere/omni-bot:

  1. /somewhere/omni-bot/
  2. ./omni-bot/
  3. /usr/local/games/enemy-territory/omni-bot/
  4. /home/etserver/omni-bot/
  5. <SYSTEM-LOADER>

Example search path for a typical Windows server with g_OmniBotPath=Z:\Somewhere\Omni-bot:

  1. Z:\Somewhere\Omni-bot\
  2. .\omni-bot\
  3. C:\Program Files\Wolfenstein - Enemy Territory\Omni-Bot\
  4. C:\Program Files\Omni-bot\
  5. <SYSTEM-LOADER>

See Also

omnibot_enable(cvar)