![]() Command line should be written in terminal like that. You can rename server.cfg, change port and mod, also any config variables can be specified in the command line with +set prefix (command line variables will override cvars set in server config). It should be launched with command line: +set net_serverDedicated 1 +set net_port 28004 +set fs_savepath /usr/local/games/quake4 +set fs_basepath /usr/local/games/quake4/ +set fs_game q4max +exec server.cfg Quake4-dedicated – is a dedicated server startup executable file. Configure (read about this above) and start your server:.Place your example-server.cfg from q4max/cfg to just q4max and rename it to server.cfg.Download and place additional language paks to q4base folder if you want, also you need to delete *.pk4.off inactive lang packs!.Download and place pak001-012.zip into /usr/local/games/quake4/q4base and unzip it to same folder:.Install unzip if you don’t have it yet:.You should also give /usr/local/games write permissions so you don’t have to use “sudo” every time, and to allow Quake 4 to write “quake4key” file: sudo chmod -R 777 /usr/local/games It will be installed in /usr/local/games/quake4! And yes, you’ll need to scroll all of long license agreement text in terminal:D If doesn’t work, try to make it executable: sudo chmod +x quake4_linux_1.4.2.x86.run Copy it to your server in any folder (your user home folder, for example) and install using this command (from folder you placed the *.run file):.Download Quake 4 1.4.2 native *.run installer.But I recommend to use Linux or macOS, here is a guide for Linux (all commands can be entered through ssh, so log in before!)įirst you need is install 32-bit apps support (for Ubuntu 20.04 LTS): sudo dpkg -add-architecture i386Īlso you need zlib1g: sudo apt-get install zlib1g:i386 You can setup a server with Windows, Linux or macOS versions of Quake 4. You should separate the modes in list by spacebar exactly like this (every mode name is your mode *.cfg file name, so it can be “duel240.cfg” for example): seta si_mode "DUEL240" To create and set up the Clan Arena custom mode, I had to write out each variable, so now it’s the full mode config: tickrate 240 Every mode setting is a setting from in-game vote (or admin) menu – like timelimit, fraglimit, etc. For quick setup I suggest to set 5 modes: Duel, TDM, CTF, FFA, CA. ![]() Modes can be specified in q4max/modes folder using *.cfg configs. We can’t live without custom modes – they needed to setup custom-fps server ( fps = tickrate). If you want to use WwW Database, please leave your request here. Download database must have the same directories structure as your server’s game folder – all maps should be in q4base folder. ![]() Specify those vars to enable file downloads on your server: set net_serverDownload 2ĭownload database can be accessible with ftp or http, so specify your protocol in url. Seta net_serverMaxClientRate should be “25600”, it’s a maximum available client rate in Quake 4. You can try different values to find better one. I don’t know exactly what snapshot delay is better – 10 or, for example, default 30. With the snapshot delay “10” player can’t set his net_clientPrediction less than zero (or, maybe -2), cause server just don’t have additional milliseconds to predict players positions. Seta net_serverSnapshotDelay “10” gives ultra-low latency between server and player, but requires a fast and stable connection, so I recommend to use vaule “25”. You should specify referee and rcon passwords, name of the server, motd and additional information like location, admin’s nickname, website, etc. I recommend to use all stuff from default Q4max config called “example-server.cfg”. ![]() Quick Q4max server setup (for special game hosting).
0 Comments
Leave a Reply. |