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

What i doing wrong with xpath (nr2)

Royal Deluxe

New member
No idea why this dont work.

Anyone a idea on a short view ?

Looks like it cause a issue in Player male

Code:
<config>
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvival']/@value">'vehicleBicyclePlaceable'</set>	
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvivalSP']/@value">'vehicleBicyclePlaceable'</set>	
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvivalMP']/@value">'vehicleBicyclePlaceable'</set>	
</config>
 
In game do a exportcurrentconfigs then go to appdata then roaming then 7 days to die find the world and check the configs.

Pretty sure you need a comma at the end of each vehiclebicycleplaceable also.

- - - Updated - - -

No idea why this dont work.Anyone a idea on a short view ?

Looks like it cause a issue in Player male

Code:
<config>
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvival']/@value">'vehicleBicyclePlaceable'</set>	
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvivalSP']/@value">'vehicleBicyclePlaceable'</set>	
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvivalMP']/@value">'vehicleBicyclePlaceable'</set>	
</config>
Need a and@ after itemsonentergame

 
Thanks you both

Code:
<config>
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvival']/@value">vehicleBicyclePlaceable</set>	
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvivalSP']/@value">vehicleBicyclePlaceable</set>	
<set xpath="/entity_classes/entity_class[@name='playerMale']/property[@name='ItemsOnEnterGame.GameModeSurvivalMP']/@value">vehicleBicyclePlaceable</set>	
</config>
works.

I thought "" would become in xpath ''.

Looks like i was wrong ^^

 
Back
Top