q3aServ/README.md

112 lines
2.8 KiB
Markdown
Raw Normal View History

2021-03-13 13:38:59 +01:00
q3aServ - Create a Quake 3 server easily on Linux
=================================================
### Dependences:
* Quake 3 Engine -> [https://ioquake3.org/](https://ioquake3.org/)
* OSP Mod `(Included)` -> [http://www.moddb.com/mods/osp/downloads/osp-mod-103a-full](http://www.moddb.com/mods/osp/downloads/osp-mod-103a-full)
* CPMA Mod `(Included)` -> [https://www.playmorepromode.org/](https://www.playmorepromode.org/)
* Quake 3 Base -> [http://store.steampowered.com/app/2200/Quake_III_Arena/](http://store.steampowered.com/app/2200/Quake_III_Arena/)
* Extra maps `(Included)` -> [https://www.lvlworld.com/](https://www.lvlworld.com/)
## Previous steps:
* Copy all files and folders in root folder of the game.
* Edit the file `q3aServ.sh`.
* Change the following variables to the appropriate ones in your case:
2021-03-18 09:38:46 +01:00
```shell
RUN_PATH="/opt/Games/quake3"
RUN_BINARY="ioq3ded.x86_64"
2021-03-18 10:15:04 +01:00
STATUS_PATH="/var/www/html/quake3/status.txt"
2021-03-18 09:38:46 +01:00
```
2021-03-13 13:38:59 +01:00
- Finally, execute the script with the appropriate parameters:
2021-03-18 09:38:46 +01:00
```cpp
$ ./q3aServ.sh <option> [1-5]
```
2021-03-13 13:38:59 +01:00
2021-03-22 13:28:30 +01:00
### Syntax (Basic):
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
```shell
$ ./q3aServ.sh
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Quake 3 Server Script v4.3
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Config.files: /opt/Games/quake3/server/*.cfg
Log.files: /home/q3aql/.q3a/baseq3/*.log
Status: /var/www/html/quake3/status.txt
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Syntax: q3aServ.sh <option> [1-5]
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Available options:
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
CTF - Start Capture The Flag
TD - Start Team Deathmatch
FFA - Start Free For All
TOU - Start Tournament
CG - Custom Game
CL - Clear Logs
ST - Stop Current Server
```
2021-03-18 10:15:04 +01:00
* An example command would be the following:
```shell
$ ./q3aServ.sh FFA 3
```
* The number `3` indicates the map selection group. Each number will automatically choose certain maps.
2021-03-13 13:38:59 +01:00
* Default settings of basic mode are the following:
2021-03-18 09:38:46 +01:00
```shell
BOTS_LEVEL="2"
MIN_PLAYERS="5"
TIME_LIMIT="25"
FLAGS_LIMIT="10"
FRAGS_LIMIT="150"
TOU_FRAGS_LIMIT="50"
```
2021-03-13 13:38:59 +01:00
2021-03-18 10:15:04 +01:00
_Note: You can change this settings editing the file `q3aServ.sh` or using the custom game `CG`._
2021-03-13 13:38:59 +01:00
2021-03-22 13:28:30 +01:00
## Syntax (Custom Game):
2021-03-13 13:38:59 +01:00
2021-03-18 10:15:04 +01:00
* With the option `CG` the syntax of the command is extended to be able to customize more game options:
2021-03-18 09:38:46 +01:00
```shell
$ ./q3aServ.sh CG
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Syntax: q3aServ.sh CG [map-selection] [gametype] [minplayers] [bot-level] [time-limit] [flags/frags-limit]
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Available options:
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
* map-selection -> 1-5
* gametype -> CTF/FFA/TD/TOU/FT/CTFI/TDI/FFAI/CA/CAI
* minplayers -> 0-10
* bot-level -> 1-5
* time-limit -> 0-999
* flags/frags-limit -> 0-999
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
Abbreviations:
2021-03-13 13:38:59 +01:00
2021-03-18 09:38:46 +01:00
- CTF = Capture The Flag
- FFA = Free For All
- TD = Team Deathmatch
- TOU = Tournament
- FT = Freeze Tag TD (OSP)
- CFTI = Capture The Flag Instagib (OSP)
- TDI = Team Deatchmatch Instagib (OSP)
- FFAI = Free For All Instagib (OSP)
- CA = Clan Arena (OSP)
- CAI = Clan Arena Instagib (OSP)
```
2021-03-18 10:15:04 +01:00
* An example command would be the following:
```shell
2021-03-18 10:17:26 +01:00
$ ./q3aServ.sh CG 2 TDI 10 2 30 100
2021-03-18 10:15:04 +01:00
```