TheFlayer
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Articles
A20 Bugs
A21 Bugs
Events
Posts posted by TheFlayer
-
-
I want to disable zombies' ability to climb ladders. I can't figure out why this won't work in game. I don't get any error messages upon loading the game. What am I doing wrong? This is what my config file looks like:
<config>
<set xpath="/entityclasses/entityclass[@name='zombieTemplateMale']/property[@name='CanClimbLadders']/@value">false</set>
</config>
and it is entityclasses.xml located in 7 Days To Die/Mods/mymodname/Config
Any advice would be appreciated. Thank you.
Edit: I just went in and changed the value to false in the main xml and zombies still climb ladders, so I'm inclined to believe that it's hard-coded or otherwise bugged in some way, and that for the time being their ability to climb ladders is unchangeable.
0
Question on xpath to disable zombies climbing ladders
in Discussion and Requests
Posted · Edited by TheFlayer (see edit history)
I used:
<setattribute xpath="/entity_classes/entity_class[@name='zombieTemplateMale']/property[@name='CanClimbLadders']/@value">false</setattribute>
results in the error message:
SetAttributeByXpath (/config/setattribute, line 2 at pos 2): Patch element does not have a 'name' attribute
So, it's telling me the patch element needs a 'name' attribute? I'm not entirely sure what that means.
Edit: I just went in and changed the value to false in the main xml and zombies still climb ladders, so I'm inclined to believe that it's hard-coded or otherwise bugged in some way, and that for the time being their ability to climb ladders is unchangeable.