From 98ce0a96eed147762ce118cc4185a5e727a8669c Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Sun, 21 Jan 2024 10:17:54 -0800 Subject: [PATCH] Add stub code for fraglimit selection --- .scripts/FreeDoom.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.scripts/FreeDoom.sh b/.scripts/FreeDoom.sh index 4ec59eb..44c6243 100755 --- a/.scripts/FreeDoom.sh +++ b/.scripts/FreeDoom.sh @@ -102,6 +102,8 @@ case ${buttonCode} in [8]="2 4") # Dialog statement to choose map goes here map="1" + # Dialog statement to choose fraglimit goes here + fraglimit=20 # Get ip address yourIpAddress="$(curl -4s https://icanhazip.com)" players="$(dialog --backtitle "Host Deathmatch Game" \ @@ -121,7 +123,7 @@ case ${buttonCode} in '-skill' "${skillLevel}" '-deathmatch' '+set' 'sv_cheats' '1' - '+fraglimit' '20' # Change this to be user selectable + '+fraglimit' "$fraglimit" '+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096' '-extratic' '-dup' '3' '-warp' "$map"