Support for Clan Arena/Clan Arena Instagib (v4.2)
This commit is contained in:
parent
fdfec95984
commit
06e4f9c2ee
14
q3aServ.sh
14
q3aServ.sh
|
@ -6,7 +6,7 @@
|
||||||
# Licensed by GPL v.3 |
|
# Licensed by GPL v.3 |
|
||||||
# Last update: 02-04-2018 |
|
# Last update: 02-04-2018 |
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
VERSION="4.1.1"
|
VERSION="4.2"
|
||||||
|
|
||||||
# Path with binary and game files
|
# Path with binary and game files
|
||||||
RUN_PATH="/opt/Games/quake3"
|
RUN_PATH="/opt/Games/quake3"
|
||||||
|
@ -78,7 +78,7 @@ function custom_game_menu() {
|
||||||
echo "Available options:"
|
echo "Available options:"
|
||||||
echo ""
|
echo ""
|
||||||
echo "* map-selection -> 1-5"
|
echo "* map-selection -> 1-5"
|
||||||
echo "* gametype -> CTF/FFA/TD/TOU/FT/CTFI/TDI/FFAI"
|
echo "* gametype -> CTF/FFA/TD/TOU/FT/CTFI/TDI/FFAI/CA/CAI"
|
||||||
echo "* minplayers -> 0-10"
|
echo "* minplayers -> 0-10"
|
||||||
echo "* bot-level -> 1-5"
|
echo "* bot-level -> 1-5"
|
||||||
echo "* time-limit -> 0-999"
|
echo "* time-limit -> 0-999"
|
||||||
|
@ -94,6 +94,8 @@ function custom_game_menu() {
|
||||||
echo "- CFTI = Capture The Flag Instagib (OSP)"
|
echo "- CFTI = Capture The Flag Instagib (OSP)"
|
||||||
echo "- TDI = Team Deatchmatch Instagib (OSP)"
|
echo "- TDI = Team Deatchmatch Instagib (OSP)"
|
||||||
echo "- FFAI = Free For All Instagib (OSP)"
|
echo "- FFAI = Free For All Instagib (OSP)"
|
||||||
|
echo "- CA = Clan Arena (OSP)"
|
||||||
|
echo "- CAI = Clan Arena Instagib (OSP)"
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,6 +117,10 @@ function check_gametype() {
|
||||||
echo "Gametype selected = TDI"
|
echo "Gametype selected = TDI"
|
||||||
elif [ "$1" == "FFAI" ] ; then
|
elif [ "$1" == "FFAI" ] ; then
|
||||||
echo "Gametype selected = FFAI"
|
echo "Gametype selected = FFAI"
|
||||||
|
elif [ "$1" == "CA" ] ; then
|
||||||
|
echo "Gametype selected = CA"
|
||||||
|
elif [ "$1" == "CAI" ] ; then
|
||||||
|
echo "Gametype selected = CAI"
|
||||||
elif [ -z "$1" ] ; then
|
elif [ -z "$1" ] ; then
|
||||||
echo "Empty" > /dev/null
|
echo "Empty" > /dev/null
|
||||||
else
|
else
|
||||||
|
@ -285,6 +291,10 @@ CG|cg|custom)
|
||||||
./${RUN_BINARY} +set fs_game osp +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
./${RUN_BINARY} +set fs_game osp +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
||||||
elif [ "$3" == "FFAI" ] ; then
|
elif [ "$3" == "FFAI" ] ; then
|
||||||
./${RUN_BINARY} +set fs_game osp +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
./${RUN_BINARY} +set fs_game osp +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
||||||
|
elif [ "$3" == "CA" ] ; then
|
||||||
|
./${RUN_BINARY} +set fs_game osp +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
||||||
|
elif [ "$3" == "CAI" ] ; then
|
||||||
|
./${RUN_BINARY} +set fs_game osp +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
||||||
else
|
else
|
||||||
./${RUN_BINARY} +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
./${RUN_BINARY} +exec basic.cfg +exec server${3}.cfg +exec levels${3}-${2}.cfg +exec bots.cfg
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user