26 lines
804 B
Bash
Executable File
26 lines
804 B
Bash
Executable File
#!/bin/sh
|
|
# Initialization script for Illusion Arena
|
|
# This is the client part
|
|
|
|
CVARS="+set com_basegame baseia"
|
|
CVARS="$CVARS +set fs_basepath COPYDIR"
|
|
CVARS="$CVARS +set com_homepath .illusion"
|
|
|
|
# OA uses a different protocol number to reflect incompatible game content.
|
|
# When it says "71", that's actually the legacy Quake III Arena 1.32c protocol,
|
|
# protocol 68.
|
|
CVARS="$CVARS +set com_legacyprotocol 71"
|
|
|
|
# For the moment, disable the modern protocol, by setting this cvar to the
|
|
# same thing. When OA upstream decide what value they'll use, we should
|
|
# catch up.
|
|
CVARS="$CVARS +set com_protocol 71"
|
|
|
|
#
|
|
CVARS="$CVARS +set sv_master1 dpmaster.deathmask.net"
|
|
|
|
# update.quake3arena.com is pretty irrelevant if you're playing OA
|
|
CVARS="$CVARS +set cl_motd 0"
|
|
|
|
exec "$(which ioquake3)" "${CVARS}" "$@"
|