From 5d853bf1a943fe3268ea323ac0963f05a5970348 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 2 Sep 2024 02:51:53 -0400 Subject: [PATCH] Add keybindings and some variables to flags so people don't have to edit gzdoom.ini by hand any more. --- .scripts/TobyCustom/Project_Brutality.sh | 12 ++++++++++++ .scripts/TobyCustom/Project_BrutalityLatest.sh | 13 +++++++++++++ .scripts/TobyCustom/WolfenDoom.sh | 7 +++++++ 3 files changed, 32 insertions(+) diff --git a/.scripts/TobyCustom/Project_Brutality.sh b/.scripts/TobyCustom/Project_Brutality.sh index b4c2e3a..81d9644 100755 --- a/.scripts/TobyCustom/Project_Brutality.sh +++ b/.scripts/TobyCustom/Project_Brutality.sh @@ -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' +) diff --git a/.scripts/TobyCustom/Project_BrutalityLatest.sh b/.scripts/TobyCustom/Project_BrutalityLatest.sh index 285441a..41588db 100755 --- a/.scripts/TobyCustom/Project_BrutalityLatest.sh +++ b/.scripts/TobyCustom/Project_BrutalityLatest.sh @@ -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' +) diff --git a/.scripts/TobyCustom/WolfenDoom.sh b/.scripts/TobyCustom/WolfenDoom.sh index 5272280..d5396c1 100755 --- a/.scripts/TobyCustom/WolfenDoom.sh +++ b/.scripts/TobyCustom/WolfenDoom.sh @@ -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' +)