Created
September 20, 2017 12:04
-
-
Save TrashF/953ef051b9ed45b2d4f40cf8036f4e55 to your computer and use it in GitHub Desktop.
QuakeJS installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install nodejs nodejs-legacy emscripten npm unzip git | |
git clone https://github.com/inolen/quakejs.git | |
cd quakejs | |
git submodule update --init | |
npm install | |
node build/ioq3ded.js +set fs_game baseq3 +set dedicated 1 | |
cat <<EOF > base/baseq3/server.cfg | |
seta sv_hostname "<change this>" | |
seta sv_maxclients 12 | |
seta g_motd "<change this>" | |
seta g_quadfactor 3 | |
seta g_gametype 0 | |
seta timelimit 15 | |
seta fraglimit 25 | |
seta g_weaponrespawn 3 | |
seta g_inactivity 3000 | |
seta g_forcerespawn 0 | |
seta bot_minplayers 0 | |
seta rconpassword "<change this>" | |
set d1 "map pro-q3dm6 ; set nextmap vstr d2" | |
set d2 "map q3dm7 ; set nextmap vstr d3" | |
set d3 "map q3dm17 ; set nextmap vstr d4" | |
set d4 "map Q3TOURNEY2 ; set nextmap vstr d5" | |
set d5 "map ztn3tourney1 ; set nextmat vstr d8" | |
set d7 "map cpm3a ; set nextmat vstr d8" | |
set d8 "map cpm22 ; set nextmat vstr d1" | |
vstr d1 | |
EOF | |
node build/ioq3ded.js +set fs_game baseq3 +set dedicated 1 +exec server.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment