add omnibot readme + update README
This commit is contained in:
parent
8ad135bfa2
commit
763c9fb7f9
69
README.md
69
README.md
@ -1,6 +1,6 @@
|
||||
# Wolfenstein Enemy Territory
|
||||
|
||||
This [archive](https://et.thegux.fr/archives/et_full_linux.tar.gz) contains all files needed to run **Wolfenstein ET 2.60b** on Linux. It includes two folder :
|
||||
This [archive](http://et.thegux.fr/archives/et_full_linux.tar.gz) contains all files needed to run **Wolfenstein ET 2.60b** on Linux. It includes two folders:
|
||||
|
||||
One to launch the main game :
|
||||
* The [official game](https://cdn.splashdamage.com/downloads/games/wet/et260b.x86_full.zip)
|
||||
@ -8,7 +8,7 @@ One to launch the main game :
|
||||
|
||||
One to launch a Jaymod server:
|
||||
* [Jaymod 2.2.0](https://jaymod.clanfu.org/)
|
||||
* [Omnibot 0.87](https://app.assembla.com/spaces/omnibot/wiki) (recover from the [SVN repository](https://app.assembla.com/spaces/omnibot/subversion/source/HEAD/Enemy-Territory) on the #3594 commit - **NOT A RELEASE**)
|
||||
* [Omnibot 0.9](https://github.com/jswigart/omni-bot/releases)
|
||||
|
||||
## Requirements
|
||||
|
||||
@ -19,38 +19,45 @@ Wolfenstein ET is built on a 32 bits arch. So, 32 bits librairies must exist to
|
||||
sudo dpkg --add-architecture i386
|
||||
|
||||
# do update to fetch i386 librairies
|
||||
sudo apt-get update
|
||||
sudo apt update
|
||||
|
||||
# install the 32 bits compatible librairies
|
||||
sudo apt-get install ia32-libs (mint)
|
||||
sudo apt-get install lib32z1 (ubuntu)
|
||||
sudo apt install ia32-libs (mint)
|
||||
sudo apt install lib32z1 (ubuntu)
|
||||
|
||||
# after the installation the following lib must be present
|
||||
sudo apt-get install libsdl1.2debian:i386
|
||||
sudo apt install libsdl1.2debian:i386
|
||||
```
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
**NOTE** : The installation has been tested on **Ubuntu/Mint 20.04**
|
||||
**NOTE**: The installation has been tested on **Mint 20.04 | Ubuntu 20/22.04**.
|
||||
|
||||
* Download the archive
|
||||
```bash
|
||||
wget http://et.thegux.fr/archives/et_full_linux.tar.gz
|
||||
```
|
||||
|
||||
* Extract it
|
||||
```bash
|
||||
tar xzvf et_full_linux.tar.gz
|
||||
cd wolfenstein-et
|
||||
```
|
||||
|
||||
* Create the main folders
|
||||
|
||||
```bash
|
||||
# as root
|
||||
mkdir -p /usr/local/games/enemy-territory
|
||||
chown 1000 /usr/local/games/enemy-territory && chmod 775 /usr/local/games/enemy-territory
|
||||
sudo mkdir -p /usr/local/games/enemy-territory
|
||||
sudo chown 1000 /usr/local/games/enemy-territory && chmod 775 /usr/local/games/enemy-territory
|
||||
|
||||
mkdir -p /opt/games/enemy-territory
|
||||
chown 1000 /opt/games/enemy-territory && chmod 775 /opt/games/enemy-territory
|
||||
sudo mkdir -p /opt/games/enemy-territory
|
||||
sudo chown 1000 /opt/games/enemy-territory && chmod 775 /opt/games/enemy-territory
|
||||
|
||||
# as main user
|
||||
cp -r base/* /usr/local/games/enemy-territory
|
||||
cp -r server /opt/games/enemy-territory
|
||||
```
|
||||
|
||||
## Launch the game
|
||||
|
||||
```bash
|
||||
cd /usr/local/games/enemy-territory
|
||||
./et-sdl-sound
|
||||
@ -58,32 +65,31 @@ cd /usr/local/games/enemy-territory
|
||||
|
||||
Enjoy !
|
||||
|
||||
**NOTE** : Some librairies may be missing, you need to install it one by one (test to launch ./et.x86 and see missing libs)
|
||||
**NOTE** : Some librairies may be missing, you need to install it one by one (test to launch ./et.x86 and see missing libs).
|
||||
|
||||
## Create a systemd service (server creation **ONLY**)
|
||||
## Create a systemd service (server creation only)
|
||||
|
||||
In order to launch the server properly, a systemd service is a right solution instead of the **serverctl** sh script. Todo so :
|
||||
|
||||
* put the **[wolfenstein-et.service](./service/wolfenstein-et.service)** file in **/etc/systemd/system** directory (must be **root**)
|
||||
* replace `<linux_user>` and `<path_to>` placeholder with your configuration
|
||||
* enable the service (on reboot the service will autostart)
|
||||
* put the **[launch_server.bash](./service/launch_server.bash)** wherever you want (ex: /opt/games/enemy-territory/server/linux).
|
||||
* put the **[wolfenstein-et.service](./service/wolfenstein-et.service)** file in **/etc/systemd/system** directory (must be **root**).
|
||||
* replace `<linux_user>` and `<path_to>` placeholders with your configuration (`<linux_user>` must have rights to exec `launch_server.bash`).
|
||||
* enable the service (on reboot the service will autostart).
|
||||
```bash
|
||||
# as root
|
||||
systemctl enable wolfenstein-et
|
||||
sudo systemctl enable wolfenstein-et
|
||||
```
|
||||
* put the **[launch_server.bash](./service/launch_server.bash)** wherever you want (do not forget exec rights for your `<linux_user>`)
|
||||
* start the service
|
||||
```bash
|
||||
service wolfenstein-et start
|
||||
sudo service wolfenstein-et start
|
||||
```
|
||||
* check the service status
|
||||
```bash
|
||||
service wolfenstein-et status
|
||||
sudo service wolfenstein-et status
|
||||
```
|
||||
|
||||
## Settings
|
||||
|
||||
More useful informations : https://wiki.archlinux.org/title/Wolfenstein:_Enemy_Territory
|
||||
More useful informations : https://wiki.archlinux.org/title/Wolfenstein:_Enemy_Territory.
|
||||
|
||||
### Set screen size in **1920*1080**
|
||||
* Open the player configuration file:
|
||||
@ -100,9 +106,12 @@ seta r_customheight 1080 // monitor's height
|
||||
|
||||
## Common errors
|
||||
|
||||
### SDL driver error
|
||||
### "libstdc++.so.6: cannot open shared object file: No such file or directory"
|
||||
```bash
|
||||
sudo apt install lib32stdc++6
|
||||
```
|
||||
|
||||
On **Ubuntu 20.04** :
|
||||
### SDL driver error
|
||||
```
|
||||
------- sound initialization -------
|
||||
SDL audio driver initializing...
|
||||
@ -112,9 +121,9 @@ SDL_AudioDriverName() = NULL
|
||||
------------------------------------
|
||||
```
|
||||
|
||||
You must install the corresponding 32 bits library :
|
||||
You must install the corresponding 32 bits library:
|
||||
```bash
|
||||
sudo apt-get install libasound2-plugins:i386
|
||||
sudo apt install libasound2-plugins:i386
|
||||
```
|
||||
|
||||
### Keyboard inputs does not work
|
||||
|
||||
81
omnibot.txt
Normal file
81
omnibot.txt
Normal file
@ -0,0 +1,81 @@
|
||||
Omni-bot for Enemy Territory is used to add computer-controlled players to the game.
|
||||
|
||||
- Install Enemy Territory (ET)
|
||||
You can download the latest version of ET from https://www.etlegacy.com/
|
||||
It is recommended to have 2 separate ET installations, each in its own folder - the first for playing online a the second to run your server with Omni-Bot. Many public servers have custom sounds, textures and menus which can completely change or brake the game. All these extra pk3 files will be downloaded only to the first ET installation and your second installation will remain clean and usable for Omni-bot.
|
||||
|
||||
|
||||
- Install MODs
|
||||
Omni-Bot does not work with vanilla etmain. You need some mod. You can use our omnibot mod or you can choose some 3rd party mods. It's possible to have multiple mods installed. There are many mods that support Omni-bot: Bastardmod, ETBlight, ETNam, ETPub, infected, Jaymod, legacy, N!tmod, NoQuarter, silEnT.
|
||||
|
||||
|
||||
- Install Omni-Bot
|
||||
Note: If you have ET:Legacy, you will find Omni-Bot already installed in the legacy folder.
|
||||
There is omni-bot folder inside the ZIP archive. Extract it. Omni-Bot can be installed to any location. It is not necessary to have omni-bot inside Enemy Territory folder. It is recommended to install it into folder which has permission to write files.
|
||||
|
||||
|
||||
- Create config file
|
||||
Many mods already have a config file (for example jaymod.cfg, silent.cfg, nitmod.cfg). They already have the cvars in them so you just need to edit them. If your mod does not have any config file yet, create a new file (for example server.cfg) and save it to mod's folder.
|
||||
The server config CVAR's you need to add/edit are as follows
|
||||
|
||||
set omnibot_enable "1"
|
||||
set omnibot_path = "C:\Your install folder\omni-bot"
|
||||
|
||||
The omnibot_path needs to be set to the absolute path of the omni-bot folder.
|
||||
Be aware Windows uses left-slashes '\' and Linux/UNIX based-systems use right-slashes '/' as separator-char.
|
||||
|
||||
- Optional Flags
|
||||
This is an optional cvar, you only need to add it if you want to disable certain bot functions.
|
||||
|
||||
set omnibot_flags "0"
|
||||
|
||||
Add the following flags if required
|
||||
1 Disable XPSave for bots
|
||||
2 Bots cannot mount tanks
|
||||
4 Bots cannot mount mg42
|
||||
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)
|
||||
Note: some mods may have other flags
|
||||
|
||||
- Optional Log Size
|
||||
Log files are written to folder omni-bot/et/logs. If the folder does not exists, log files are written to Enemy Territory game folder. File name is omnibot_<mapname>.log.
|
||||
|
||||
set omnibot_logsize "0"
|
||||
|
||||
Default value 0 disables logging. Value greater than 0 means maximal file size in KB and also allows appending more matches to a single file.
|
||||
|
||||
|
||||
- Run ET
|
||||
You can start ET from command line, but it's recommended to create a shortcut and put that shortcut to the start menu or desktop.
|
||||
On local home computer create shortcut to ET.exe or etl.exe on Windows, et or etl on Linux.
|
||||
On dedicated server use ETDED.exe or etlded.exe on Windows, etded or etlded on Linux.
|
||||
Right click & select properties to add parameters:
|
||||
|
||||
+set fs_game mod_name +set com_hunkmegs 128 +exec server.cfg
|
||||
|
||||
Replace the word mod_name with the mod you are using. It must be exactly mod's folder name.
|
||||
Replace server.cfg with your config file name.
|
||||
Note: If you start ET without fs_game parameter, then you can choose MOD from the menu.
|
||||
|
||||
|
||||
- Load map
|
||||
There are a few different ways to load a map:
|
||||
1) Click on HOST GAME in the menu and then choose map name from a list.
|
||||
2) Open the game console (press ~ key between Esc and Tab) and type
|
||||
/map <mapname>
|
||||
If you want to enable cheats, you must type
|
||||
/devmap <mapname>
|
||||
If you don't know <mapname>, you can open map's PK3 file in any ZIP application and look into the folder "maps".
|
||||
3) Add map <mapname> command to the server config.
|
||||
|
||||
|
||||
- Add bots
|
||||
you can configure number of bots to join every game automatically
|
||||
/bot maxbots 16
|
||||
or you can add bots manually
|
||||
/bot maxbots -1
|
||||
/bot ab 15
|
||||
|
||||
|
||||
- Change difficulty
|
||||
(0=poorest,1=very poor,2=poor,3=easy frag,4=standard,5=professional,6=uber)
|
||||
/bot difficulty 6
|
||||
Loading…
x
Reference in New Issue
Block a user