Add keybindings and some variables to flags so people don't have to edit gzdoom.ini by hand any more.

This commit is contained in:
Storm Dragon 2024-09-02 02:51:53 -04:00
parent 12c8aba8a0
commit 5d853bf1a9
3 changed files with 32 additions and 0 deletions

View File

@ -25,3 +25,15 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
fi
source ${0%/*}/TobyCustom/.mapmenu
flags=(
# Key bindings
'+bind Alt +altattack'
'+bind Ctrl +attack'
'+bind G +User1'
'+bind U unreloader'
# Variables
'+pb_exaggeratedrecoil false'
'+pb_weapon_recoil_mod_horizontal 0'
'+pb_weapon_recoil_mod_vertical 0'
'+vertspread true'
)

View File

@ -25,3 +25,16 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
fi
source ${0%/*}/TobyCustom/.mapmenu
flags=(
# Key bindings
'+bind Alt +altattack'
'+bind Ctrl +attack'
'+bind G +User1'
'+bind U unreloader'
# Variables
'+Toby_NarrationOutputType 2'
'+pb_exaggeratedrecoil false'
'+pb_weapon_recoil_mod_horizontal 0'
'+pb_weapon_recoil_mod_vertical 0'
'+vertspread true'
)

View File

@ -29,3 +29,10 @@ pk3=$(dialog --backtitle "Select Game" \
--menu "Please select one" 0 0 0 "${menuList[@]}" --stdout)
[[ $? -ne 0 ]] && exit 0
gameOption+=("${pk3}")
flags=(
# Key bindings
'+bind Ctrl +attack'
'+bind X turn180'
# Variables
'+Toby_NarrationOutputType 2'
)