• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Khaine's A21 Modlets! (Bigger backpacks, Lockable Slots, Behemoths, Random Wandering Hordes, etc)

Hey Khaine, since you have the wonderful Tool Belt and and Backpack size changing mods, any chance you might slap one together for vehicles as well? I know Lam's got one, but the one he's got doesn't work with A21, and he's stated he's not planning to do any mod updating till things become stable, lol.

 
Getting an issue on A21 3forge Slots mod

EXC MissingMethodException Method not found: void .itemvalue.ModifyValue(EntitiyAlive.ItemValue.PassiveEffects.Single&.Single&.FastTags.bool)

 
Thank you for the hard work, Khaine. I do have a question, how would I go about restricting the headshot mod to only altering the basic zombies? I was wanting to customize the mod to make those be akin to Romero zombies while leaving ferals and radiated to be more like other movie types like 28 days later, while also not touching spiders, zombie animals, or other special zombies with boss tags. I've been looking through tutorials on how to set conditionals but I am not sure I am grasping it.

 
Khaine,

Love DF and thanks much for the modlets!  Sent you a coffee - enjoy!  Downloaded several modlets, loaded and worked great.  Then went to download the 15-slot backpack modlet, and got a caution warning from google that This file is not commonly downloaded and may be dangerous.     When clicked on "Keep," it then warned me that even if I've downloaded files here before, this file might have been hacked.

Is this some sort of benign artifact, i.e., characteristics of this file trigger this warning somehow?  If it had been hacked, wanted to call it to your attention as a help.  Please advise.  And thanks again for all you do to keep this game fun and fresh for the rest of us.  

 
Thank you for the hard work, Khaine. I do have a question, how would I go about restricting the headshot mod to only altering the basic zombies? I was wanting to customize the mod to make those be akin to Romero zombies while leaving ferals and radiated to be more like other movie types like 28 days later, while also not touching spiders, zombie animals, or other special zombies with boss tags. I've been looking through tutorials on how to set conditionals but I am not sure I am grasping it.
Here is an example of what I came up with but I am not sure if my syntax is correct?

   

Code:
 <append xpath="/entity_classes/entity_class[
                    contains((@name, 'zombie')
                    and not contains(@name, 'Radiated')
                    and not contains(@name, 'Feral'))
                    or contains((@name, 'zombie')
                    and not contains(@name, 'Feral'))
                    or contains((@name, 'zombie')
                    and not contains(@name, 'Radiated'))
                ]">
        <effect_group>
            <passive_effect name="DamageModifier" operation="perc_add" value="-1">
                <requirement name="!HitLocation" body_parts="Head"/>
                <requirement name="EntityTagCompare" target="other" tags="walker"/>
            </passive_effect>
        </effect_group>
    </append>
 
I think I was making it overly complex, I think I got what I wanted to work like so, posting this in case anyone else wants it:

 

Code:
<append xpath="/entity_classes/entity_class[(contains(@name, 'zombie')) and not (contains(@name, 'Feral') or contains(@name, 'Radiated'))]">
        <effect_group>
            <passive_effect name="DamageModifier" operation="perc_add" value="-1">
                <requirement name="!HitLocation" body_parts="Head"/>
                <requirement name="EntityTagCompare" target="other" tags="walker"/>
            </passive_effect>
        </effect_group>
    </append>
 
Hello, I have a problem with a larger backpack for 96 places, the size of the backpack increases but there are only 50 slots and the rest of the places are not even highlighted as blocked, only empty space. Do you know how to fix it??
085a32868d626.jpg


 
I think I was making it overly complex, I think I got what I wanted to work like so, posting this in case anyone else wants it:

 

<append xpath="/entity_classes/entity_class[(contains(@name, 'zombie')) and not (contains(@name, 'Feral') or contains(@name, 'Radiated'))]">
<effect_group>
<passive_effect name="DamageModifier" operation="perc_add" value="-1">
<requirement name="!HitLocation" body_parts="Head"/>
<requirement name="EntityTagCompare" target="other" tags="walker"/>
</passive_effect>
</effect_group>
</append>





Oh derp, just realized I spent all that time trying to get syntax to parse that I missed that the way this modlet works is by applying an effect to the player, not the zombies. If I wanted to filter out ferals and radiated zombies I'd need to figure out how to get it to exclude those from the requirements section I think.

 
Hello Khaine thank you for all your hard work. I have a question about the headshot mod. I want to play on insane and turn up zombie numbers, but I want headshots to kill immediately.  Is there a way that someone who isn't an expert on editing files can make that happen? Thank you in advance ☺️ 

 
Hello Khaine thank you for all your hard work. I have a question about the headshot mod. I want to play on insane and turn up zombie numbers, but I want headshots to kill immediately.  Is there a way that someone who isn't an expert on editing files can make that happen? Thank you in advance ☺️ 


This would be the easiest way to achieve that: https://www.nexusmods.com/7daystodie/mods/2241?tab=description  in addition to Khaines mod.

It hasn't been updated to A21 but they don't appear to have changed the dismember multiplier entries so it should work fine.

*Edit: Forgot to add you are still going to have difficulties with a few Zombies, notably Big Boy and Fat Cop because hitting their head can be difficult, as well as Soldiers, Bikers and possibly Utility (I cant recall if the Utility guys head counts as Armored or not), because of the Armor, which makes instagib headshots on them kind of a crapshoot.

 
Last edited by a moderator:
Hey Khaine, since you have the wonderful Tool Belt and and Backpack size changing mods, any chance you might slap one together for vehicles as well? I know Lam's got one, but the one he's got doesn't work with A21, and he's stated he's not planning to do any mod updating till things become stable, lol.
I wasn't planning to.
 

Getting an issue on A21 3forge Slots mod

EXC MissingMethodException Method not found: void .itemvalue.ModifyValue(EntitiyAlive.ItemValue.PassiveEffects.Single&.Single&.FastTags.bool)
The 3 slot forge moe doesn't mess with anything like that. It's just UI.

Thank you for the hard work, Khaine. I do have a question, how would I go about restricting the headshot mod to only altering the basic zombies? I was wanting to customize the mod to make those be akin to Romero zombies while leaving ferals and radiated to be more like other movie types like 28 days later, while also not touching spiders, zombie animals, or other special zombies with boss tags. I've been looking through tutorials on how to set conditionals but I am not sure I am grasping it.
You'd need to add extra tags to the zombies you don't want to be affected and then exclude them from the effect via a requirement.

Khaine,

Love DF and thanks much for the modlets!  Sent you a coffee - enjoy!  Downloaded several modlets, loaded and worked great.  Then went to download the 15-slot backpack modlet, and got a caution warning from google that This file is not commonly downloaded and may be dangerous.     When clicked on "Keep," it then warned me that even if I've downloaded files here before, this file might have been hacked.

Is this some sort of benign artifact, i.e., characteristics of this file trigger this warning somehow?  If it had been hacked, wanted to call it to your attention as a help.  Please advise.  And thanks again for all you do to keep this game fun and fresh for the rest of us.  
Thank you for the coffee. :) That's a normal warning because the mod uses a DLL file to make the toolbelt bigger and DLL's are normally where dodgy code reside.

Is there any way to adjust the pickup plants mod to respect trader protection?
Probably not. I was pretty sure it already did though since you couldn't pick up stones in trader protection in A20.

Hello, I have a problem with a larger backpack for 96 places, the size of the backpack increases but there are only 50 slots and the rest of the places are not even highlighted as blocked, only empty space. Do you know how to fix it??
It doesn't do this on my machine. I'd check if you have any other mods messing with the backpack.
 

Hello Khaine thank you for all your hard work. I have a question about the headshot mod. I want to play on insane and turn up zombie numbers, but I want headshots to kill immediately.  Is there a way that someone who isn't an expert on editing files can make that happen? Thank you in advance ☺️ 
You could take the headshot only mod and tweak it to massively increase damage on a headshot rather than lowering damage on a non-headshot.

 
sorry but i'm still getting a WRN on zombie reach.

Code:
WRN XML patch for "items.xml" from mod "ZombieReachAdjust" did not apply: <set xpath="/items/item[@name='meleeHandZombie01']/property[@class='Action0']/property[@name='Range']/@value"  (line 3 at pos 3)
WRN XML patch for "items.xml" from mod "ZombieReachAdjust" did not apply: <set xpath="/items/item[@name='meleeHandZombieShort']/property[@class='Action0']/property[@name='Range']/@value"  (line 4 at pos 3)
WRN XML patch for "items.xml" from mod "ZombieReachAdjust" did not apply: <set xpath="/items/item[@name='meleeHandZombieShortFeral']/property[@class='Action0']/property[@name='Range']/@value"  (line 5 at pos 3)
WRN XML patch for "items.xml" from mod "ZombieReachAdjust" did not apply: <set xpath="/items/item[@name='meleeHandZombieBurning']/property[@class='Action0']/property[@name='Range']/@value"  (line 6 at pos 3)
WRN XML patch for "items.xml" from mod "ZombieReachAdjust" did not apply: <set xpath="/items/item[@name='meleeHandZombieBurningFeral']/property[@class='Action0']/property[@name='Range']/@value"  (line 7 at pos 3)
 
<config>
    <append xpath="/entity_classes/entity_class[@name='playerMale']">
        <effect_group>
            <passive_effect name="DamageModifier" operation="perc_add" value="-1">
                <requirement name="!HitLocation" body_parts="Head"/>
                <requirement name="EntityTagCompare" target="other" tags="zombie"/>
            </passive_effect>
        </effect_group>
    </append>
</config>

I think you might mean this to edit the damage. It's negative 1. Would anyone have a suggestion as I am not sure what number to put in to have headshots insta kill. I woud put in 100 is that good or would it be -100? The minus symbol is throwing me off. Thank you in advance

 
Last edited by a moderator:
Dangergirl said:
<config>
    <append xpath="/entity_classes/entity_class[@name='playerMale']">
        <effect_group>
            <passive_effect name="DamageModifier" operation="perc_add" value="-1">
                <requirement name="!HitLocation" body_parts="Head"/>
                <requirement name="EntityTagCompare" target="other" tags="zombie"/>
            </passive_effect>
        </effect_group>
    </append>
</config>

I think you might mean this to edit the damage. It's negative 1. Would anyone have a suggestion as I am not sure what number to put in to have headshots insta kill. I would put in 100 is that good or would it be -100? The minus symbol is throwing me off. Thank you in advance
Ok so damage modifier means this is a multiplier so setting to 100 might be rather excessive. The above snippet seems to be making it so you do almost no damage to anywhere but the head. The "!" in front of HitLocation means not so not HitLocation head.

To get more damage to head shots simply copy that entire effect_group and past it below that one(but still above the </append>), then rename DamageModifier to HeadDamageModifier and set the -1 to 1 or 2 and remove the ! before HitLocation. This would give you 1 to 2 times more damage to only the head. This could even be taken further to only include the tags of the zombies you want to do more headshot damage to.

 
Last edited by a moderator:
Thank you to all who responded. I am very inexperienced with xml editing and Im trying to learn so I appreciate all who take time to help me figure it out.

 
Back
Top