Add stub code for fraglimit selection
This commit is contained in:
parent
e62533b2ce
commit
98ce0a96ee
@ -102,6 +102,8 @@ case ${buttonCode} in
|
|||||||
[8]="2 4")
|
[8]="2 4")
|
||||||
# Dialog statement to choose map goes here
|
# Dialog statement to choose map goes here
|
||||||
map="1"
|
map="1"
|
||||||
|
# Dialog statement to choose fraglimit goes here
|
||||||
|
fraglimit=20
|
||||||
# Get ip address
|
# Get ip address
|
||||||
yourIpAddress="$(curl -4s https://icanhazip.com)"
|
yourIpAddress="$(curl -4s https://icanhazip.com)"
|
||||||
players="$(dialog --backtitle "Host Deathmatch Game" \
|
players="$(dialog --backtitle "Host Deathmatch Game" \
|
||||||
@ -121,7 +123,7 @@ case ${buttonCode} in
|
|||||||
'-skill' "${skillLevel}"
|
'-skill' "${skillLevel}"
|
||||||
'-deathmatch'
|
'-deathmatch'
|
||||||
'+set' 'sv_cheats' '1'
|
'+set' 'sv_cheats' '1'
|
||||||
'+fraglimit' '20' # Change this to be user selectable
|
'+fraglimit' "$fraglimit"
|
||||||
'+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096'
|
'+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096'
|
||||||
'-extratic' '-dup' '3'
|
'-extratic' '-dup' '3'
|
||||||
'-warp' "$map"
|
'-warp' "$map"
|
||||||
|
Loading…
Reference in New Issue
Block a user