Ioquake3: Difference between revisions
Appearance
mNo edit summary |
Add client setup example |
||
| Line 1: | Line 1: | ||
[https://ioquake3.org/ ioquake3] is an open-source, community-maintained engine port of Quake III Arena, compatible with the original game data. | [https://ioquake3.org/ ioquake3] is an open-source, community-maintained engine port of Quake III Arena, compatible with the original game data. | ||
=== Client setup === | |||
The game can be installed and configured using the dedicated <code>programs.ioquake3</code> option.<syntaxhighlight lang="nix"> | |||
programs.ioquake3 = { | |||
enable = true; | |||
settings = { | |||
name = "onny"; | |||
com_maxfps = 125; | |||
cg_frawFPS = true; | |||
cg_fov = 115; | |||
r_mode = "-1"; | |||
r_customheight = 1080; | |||
r_customwidth = 1920; | |||
model = "sarge/default"; | |||
}; | |||
}; | |||
</syntaxhighlight> | |||
=== Dedicated server setup === | === Dedicated server setup === | ||
Following snippet will enable a Quake 3 Arena dedicated server. The map <code>q3tourney3</code> (Hell's Gate) will be loaded.<syntaxhighlight lang="nix"> | Following snippet will enable a Quake 3 Arena dedicated server. The map <code>q3tourney3</code> (Hell's Gate) will be loaded.<syntaxhighlight lang="nix"> | ||
Revision as of 16:20, 2 August 2026
ioquake3 is an open-source, community-maintained engine port of Quake III Arena, compatible with the original game data.
Client setup
The game can be installed and configured using the dedicated programs.ioquake3 option.
programs.ioquake3 = {
enable = true;
settings = {
name = "onny";
com_maxfps = 125;
cg_frawFPS = true;
cg_fov = 115;
r_mode = "-1";
r_customheight = 1080;
r_customwidth = 1920;
model = "sarge/default";
};
};
Dedicated server setup
Following snippet will enable a Quake 3 Arena dedicated server. The map q3tourney3 (Hell's Gate) will be loaded.
services.quake3-server = {
enable = true;
openFirewall = true;
baseq3 = "/var/lib/quake3";
extraConfig = ''
seta rconPassword "super_secret"
seta sv_hostname "My NixOS Quake 3 Arena Dedicated Server"
map q3tourney3
'';
};
Game files must be present and readable on the path specified. The full path to the single game file will be /var/lib/quake3/.q3a/baseq3/pak0.pk3. Permissions must be set world-readable.
chmod -R o+rX /var/lib/quake3/.q3a/