7 Days To Die
0 of 0

File information

Last updated

Original upload

Created by

ghussak

Uploaded by

ghussak

Virus scan

Safe to use

Tags for this mod

About this mod

(DEPRECATED) (Version independent: flexible patcher)
No more sponge heads. Suggested difficulty mode change: insane.
Has a modding framework that helps you create any mod you can imagine (WIP): see help about --call option.

Requirements
Permissions and credits
Mirrors
Changelogs
DEPRECATION: This mod was developed for a16. At a17 modlets capability were made available see https://7daystodie.gamepedia.com/Modlets. Modlets works much better than this patcher as is it integrated on the engine!

If you want an equivalent (or even better) lethal headshots mod use this one instead:
https://7daystodiemods.com/headshot-multiplier/.  

For the "crouch thru 1 block height" functionality, you can just run this: 

sed -i -r "s'(PhysicsCrouchHeightModifier)(.)(....)'\1\20.50'g" resources.assets
It will change 8 places on that file (backup it first!), but you can also use an hex editor.


-------------------------------------

 On insane mode, what basically happens is that they now have sponge bodies (least head) :).

 Important: if you are good at head shooting, modify your difficulty mode to "insane" and maximise the amount of zombie spawns, to avoid getting too easy and boring. So... do not miss the head!

Technical info:

 This is a linux patcher that can also work on windows, see below.

 To run it on windows you will need Cygwin.

 As this is a patcher, it must be run AFTER any other mods you install (unless they are patchers too).
 This means no file will be overwritten, the file will just be modified.

 This patch is expected to last many 7DTD releases as long the XML identifiers remain the same, what solely depends on this game creators.
 
 This mod is also a proof of concept that we can have automatically mergeable mods as long the game engines use xml files, like 7DTD does!

Installing (at Windows, on a cygwin terminal):
 
 (1) Extract this mod files anywhere you want, but I suggest at:
 "C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\ModHeadShotsAreLethal"
 So, the suggestion is inside 7DTD install folder, wherever it is installed.
 
 
 (2) make a backup copy of the file "items.xml", it will be useful if you want to revert/uninstall this mod (by just restoring that copy), despite this script auto creates a backup whenever it is going to change something.
 
 
 (3) Download and install cygwin, and select these optionals:
 Obs.: the package "bash" will be installed by default.
 
 (3.1) At the "select packages" step, you will need to select the package "bc"
 - Type "bc" (without quotes) at the search box.
 - It is in the "Math" section.
 - When you find it, click on the "skip" word so it changes to a version.
 
 (3.2) Still at the "select packages" step, you will need to select the package "xmlstarlet"
 - Type "xmlstarlet" (without quotes) at the search box.
 - It is in the "Utils" section.
 - When you find it, click on the "skip" word so it changes to a version.
 
 (3.3) Other than that, you can just click "next" all the way through during installation.
 
 
 (4) Start the Cygwin terminal and run, at it, these commands below:
 
 (4.1) go where this mod was installed, ex.:
cd "C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\ModHeadShotsAreLethal"

 (4.2) (skip this if you extrated to inside 7DTD install folder) this command just needs to be run once, it will configure where 7DTD is installed
./modHeadShotsAreLethal.sh --cfg strGameInstallPathUCFG 'C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die'
Attention to use single quotes.

(4.3) this command will fully apply the patch, can be repeated combined with other options like -x
./modHeadShotsAreLethal.sh -A


More info:

 It is highly customizable, this is just the simplest way, see the script --help option for more info.

Modding Framework: You can create your own mods using this script too, see at it's --help the option --call. So you can apply your custom changes on future 7DTD releases easily (WIP).

Obs.: there are optional bonus mods on this patcher script (see at it's --help option) that does other cool things than this main mod concept.

 Any problems, post a comment, I will see what I can do to help.
 
 To install on linux, basically just skip the cygwin install step, and run linux related commands instead.
I think it can be installed on Mac also, curious tho about what commands it would be?

Recommended mods:
Intensive-survival (to balance to it use the command below, not fully tested yet tho)
./modHeadShotsAreLethal.sh -x 100 -A "--" "gunPumpShotgun:x2000" "gunSawedOffPumpShotgun:x2000" "blunderbuss:x2000" "SilencedSniperRifle" "SilencedPistol" "SerumClub" "BanditPistol" "BanditMachete" "BanditKnife" "banditHuntingRifle" "BanditFireaxe" "BanditClub" "banditchainsaw" "BigSteelNail" "clubWoodTooth" "clubWoodYuccaAcid" "crossbowBolt" "HunterArrow" "huntingKnifePolished" "ironArrowPolished" "ironCrossbowBoltPolished" "machetePolished" "ReinforcedStoneAxe" "SerumArrow" "SerumBolt" "SerumClub" "Sportarrow" "steelArrowPolished" "steelCrossbowBoltPolished" "SteyrHS50" "YuccaAcidArrow"


 Trouble shutting:
 - If you are getting failed to load external entity "items.xml" error, your items.xml file doesn't exist.
- If something goes wrong during this mod patch apply, it is suggested to restore a working backup before retrying. The option --clearCache can help too.
- If nothing is happening when you run the script, check if it is not empty (at windows explorer or) with linux command: ls -l *.sh

Uninstalling:
 - just restore your backup copy of items.xml (and other changed files if you ran any optional bonus mods from this patcher, look for the oldest/first ones at this mod backup's folder) and remove all this mod related files too if you want.

To modify/update this mod to your taste:
 It is highly customizable, in the command line new possible items can be added with custom damage values, see script --help for more info.
 Just consider items that can pierce enough or have enough mass to smash.

 -Links-
 Cygwin
 This mod latest snapshot is at gist, it may contain minor bug fixes and functionality improvements over the latest release (and may contain new bugs too), see this mod's nexus' mirrors' section above.

 Credits:
 - improved install instructions at windows, based on comment by p0izon, see the commentaries section here (kudos!).