2024-09-11 00:47:27 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# check for required pk3.
|
2024-12-23 12:52:14 -05:00
|
|
|
source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies
|
2024-09-11 00:47:27 -04:00
|
|
|
check_dependencies "${gamePath}/GMOTA_V.1.5.2.pk3" \
|
|
|
|
"https://combine-kegan.itch.io/gmota" \
|
|
|
|
"Place the file in ${gamePath}"
|
|
|
|
|
|
|
|
# Set up the pk3 and wad files
|
|
|
|
gameOption=(
|
|
|
|
"${gamePath}/TobyAccMod_V${tobyVersion}.pk3"
|
|
|
|
"$gamePath/Addons/MENU/TobyV${tobyVersion%%-*}_"*
|
|
|
|
"$gamePath/Addons/DOOM/TobyV${tobyVersion%%-*}_Proximity.pk3"
|
|
|
|
"${gamePath}/GMOTA_V.1.5.2.pk3"
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2024-12-23 12:52:14 -05:00
|
|
|
source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu
|
2024-09-11 00:47:27 -04:00
|
|
|
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'
|
|
|
|
)
|