set '+Toby_SnapToTargetTargetingMode' '0' for death match.

This commit is contained in:
Storm Dragon 2024-12-28 23:02:15 -05:00
parent c5c5996c23
commit ced1af728e
2 changed files with 4 additions and 2 deletions

View File

@ -276,7 +276,7 @@ case ${buttonCode} in
dialog --backtitle "Deathmatch" --clear --msgbox "No ip address or URL given." -1 -1 --stdout dialog --backtitle "Deathmatch" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
exit 1 exit 1
fi fi
flags=('-join' "${ipAddress}") flags=('-join' "${ipAddress}" '+Toby_SnapToTargetTargetingMode' '0')
else else
# List of maps included: # List of maps included:
maps=( maps=(
@ -340,6 +340,7 @@ case ${buttonCode} in
'-host' "${players}" '-host' "${players}"
'-skill' "${skillLevel}" '-skill' "${skillLevel}"
'-deathmatch' '-deathmatch'
'+Toby_SnapToTargetTargetingMode' '0'
'+set' 'sv_cheats' '1' '+set' 'sv_cheats' '1'
'+fraglimit' "$fraglimit" '+fraglimit' "$fraglimit"
'+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096' '+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096'

View File

@ -42,7 +42,7 @@ if [[ $buttonCode -eq 0 ]]; then
dialog --backtitle "Deathmatch" --clear --msgbox "No ip address or URL given." -1 -1 --stdout dialog --backtitle "Deathmatch" --clear --msgbox "No ip address or URL given." -1 -1 --stdout
exit 1 exit 1
fi fi
flags=('-join' "${ipAddress}") flags=('-join' "${ipAddress}" '+Toby_SnapToTargetTargetingMode' '0')
else else
# List of maps included: # List of maps included:
maps=( maps=(
@ -106,6 +106,7 @@ else
'-host' "${players}" '-host' "${players}"
'-skill' "${skillLevel}" '-skill' "${skillLevel}"
'-deathmatch' '-deathmatch'
'+Toby_SnapToTargetTargetingMode' '0'
'+set' 'sv_cheats' '1' '+set' 'sv_cheats' '1'
'+fraglimit' "$fraglimit" '+fraglimit' "$fraglimit"
'+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096' '+dmflags' '16384' '+dmflags' '4' '+dmflags' '128' '+dmflags' '4096'