This commit is contained in:
2023-11-20 21:18:04 -06:00
parent 7935bad092
commit 270c0ff2f2
3 changed files with 137 additions and 10 deletions

View File

@@ -1,3 +1,31 @@
# ==================================================================
# Inactive
# ==================================================================
############ Legacy Gun Play
############ https://steamcommunity.com/sharedfiles/filedetails/?id=2560589980
###########2560589980^legacygunplay
############### advanced weapon scopes
################ https://steamcommunity.com/sharedfiles/filedetails/?id=2143128974
###############2143128974^advancedweaponscopes
############ tactical flava
############# https://steamcommunity.com/sharedfiles/filedetails/?id=2646817942
###########2646817942^tacticalflava
############## sGunplay
############## https://steamcommunity.com/sharedfiles/filedetails/?id=2507204412
#############2507204412^sgunplay
################## enough stamina
################## https://steamcommunity.com/sharedfiles/filedetails/?id=2337398072
#################2337398072^enoughstamina
#################### Notes
#################### https://steamcommunity.com/sharedfiles/filedetails/?id=1999076953
###################1999076953^notes
# ==================================================================
# Generic / All Servers
# ==================================================================
@@ -6,4 +34,103 @@
# https://steamcommunity.com/sharedfiles/filedetails/?id=2545327648
2545327648^dabsframework
# CF
# https://steamcommunity.com/sharedfiles/filedetails/?id=1559212036
1559212036^cf
# VPP Admin Tools
# https://steamcommunity.com/sharedfiles/filedetails/?id=1828439124
1828439124^vppadmintools
# Ear Plugs
# https://steamcommunity.com/workshop/filedetails/?id=1819514788
1819514788^earplugs
# health regen 2x when blood is full
# https://steamcommunity.com/sharedfiles/filedetails/?id=2434838000&searchtext=health
2434838000^healthregen
# tent backpacks
# https://steamcommunity.com/sharedfiles/filedetails/?id=2884638645
2884638645^tentbackpacks
# durable suppressors (1.5x health)
# https://steamcommunity.com/sharedfiles/filedetails/?id=2880585815
2880585815^durablesuppressors
# Zen's Cause of Death
# https://steamcommunity.com/sharedfiles/filedetails/?id=2810260908
2810260908^causeofdeath
# Bear Buff (bears aggro from further away, chase players)
# https://steamcommunity.com/sharedfiles/filedetails/?id=2692521272
2692521272^bearbuff
# Custom Animations
# https://steamcommunity.com/sharedfiles/filedetails/?id=2545980712
2545980712^customanimations
# Worn Repair
# https://steamcommunity.com/sharedfiles/filedetails/?id=2581770969
2581770969^wornrepair
# No DepthOfField
# https://steamcommunity.com/sharedfiles/filedetails/?id=1721317955
1721317955^nodof
# Zen's Fire Fuel
# https://steamcommunity.com/sharedfiles/filedetails/?id=2866862200
2866862200^firefuel
# Zen's Gun Move Sounds
# https://steamcommunity.com/sharedfiles/filedetails/?id=2832627966
2832627966^gunmovesounds
# Bad Food
# https://steamcommunity.com/sharedfiles/filedetails/?id=2155069271
2155069271^badfood
# ==================================================================
# sUDE
# ==================================================================
# sFramework
# https://steamcommunity.com/sharedfiles/filedetails/?id=2614334381
2614334381^sframework
# sVisual
# https://steamcommunity.com/sharedfiles/filedetails/?id=2469448088
2469448088^svisual
# ==================================================================
# Chernarus Specific
# ==================================================================
# spurgles bagz
# https://steamcommunity.com/sharedfiles/filedetails/?id=2489196158
2489196158^spurglesbagz
# fliptransport
# https://steamcommunity.com/sharedfiles/filedetails/?id=1832448183
1832448183^fliptransport
# no weapon raise
# https://steamcommunity.com/sharedfiles/filedetails/?id=2098390861
2098390861^noweaponraise
# no vehicle damage
# https://steamcommunity.com/sharedfiles/filedetails/?id=1735947752
1735947752^novehicledamage
# Doc's Car Fixes
# https://steamcommunity.com/sharedfiles/filedetails/?id=2886222035
2886222035^docscarfixes
# Lag's Lighting Overhaul
# https://steamcommunity.com/sharedfiles/filedetails/?id=2873016243
2873016243^ladslightingoverhaul
# Uncuepa's Civilian Clothing
# https://steamcommunity.com/sharedfiles/filedetails/?id=1762444175
1762444175^uncuepascivilianclothing

View File

@@ -22,6 +22,10 @@
################## https://steamcommunity.com/sharedfiles/filedetails/?id=2337398072
#################2337398072^enoughstamina
#################### Notes
#################### https://steamcommunity.com/sharedfiles/filedetails/?id=1999076953
###################1999076953^notes
# ==================================================================
# Generic / All Servers
# ==================================================================
@@ -38,10 +42,6 @@
# https://steamcommunity.com/sharedfiles/filedetails/?id=1828439124
1828439124^vppadmintools
# Notes
# https://steamcommunity.com/sharedfiles/filedetails/?id=1999076953
1999076953^notes
# Ear Plugs
# https://steamcommunity.com/workshop/filedetails/?id=1819514788
1819514788^earplugs

View File

@@ -28,7 +28,7 @@ export MODLISTS="$PWD/modlists"
export LOCAL_STOCK="$HOME/stock"
export LOCAL_STOCK_GAME="$LOCAL_STOCK/DayZ"
export LOCAL_STOCK_SERVER="$LOCAL_STOCK/DayZServer"
export LOCAL_STOCK_MODS="$LOCAL_STOCK/mods"
export LOCAL_MODS="$HOME/mods"
# ===================================================
# 03. Mount network drive
@@ -44,7 +44,7 @@ fi
# ===================================================
# 04. Checks
# ===================================================
mkdir -p "$LOCAL_STOCK_GAME" "$LOCAL_STOCK_SERVER" "$LOCAL_STOCK_MODS"
mkdir -p "$LOCAL_STOCK_GAME" "$LOCAL_STOCK_SERVER" "$LOCAL_MODS"
if [ "$USER" != "$STEAMCMD_USER" ] ; then
die "Current user: '$USER' does not match '$STEAMCMD_USER'"
@@ -140,7 +140,7 @@ update_mods_for_server() {
fi
printf "%s\n" "$mod" >> "$tempfile"
mkdir -p "$LOCAL_STOCK_MODS/$mod"
mkdir -p "$LOCAL_MODS/$mod"
esac
done <"$mods_file"
unset mod
@@ -153,7 +153,7 @@ update_mods_for_server() {
# shellcheck disable=2046
steamcmd \
-tcp \
+force_install_dir "$LOCAL_STOCK_MODS" \
+force_install_dir "$LOCAL_MODS" \
+@sSteamCmdForcePlatformType windows \
+@ShutdownOnFailedCommand 1 \
+login "$STEAM_USER" \
@@ -169,7 +169,7 @@ update_mods_for_server() {
echo
msg "------------ RENAMING MODS -------------"
echo
mods_to_copy="$LOCAL_STOCK_MODS/mods_to_copy"
mods_to_copy="$LOCAL_MODS/mods_to_copy"
rm -rf "$mods_to_copy" 2>/dev/null ||:
mkdir -p "$mods_to_copy"
@@ -182,7 +182,7 @@ update_mods_for_server() {
*)
mod_id=${mod%%^*}
mod_name=${mod##*^}
do_sync "$LOCAL_STOCK_MODS/steamapps/workshop/content/$DAYZ_GAME_ID/$mod_id"/ "$mods_to_copy/@${mod_name}"
do_sync "$LOCAL_MODS/steamapps/workshop/content/$DAYZ_GAME_ID/$mod_id"/ "$mods_to_copy/@${mod_name}"
printf '@%s\n' "$mod_name" >> "$mods_to_copy/mods.txt"
esac
done < "$mods_file"