tannim Posted September 6, 2020 Share Posted September 6, 2020 Having been frustrated by the ridiculous distance the trader forces me to go to so often for quests, I wanted to shorten it. I tried to do it as a mod instead of editing the game files, but I can't figure out the xml to do what I want as a mod I want to add the "distance" property from the treasure hunt quests to the fetch/clear quests, but I do not know the proper syntax and have found no good examples to work off of I tried this one, and it didn't work for whatever reason. <setattribute xpath="/quests/quest_id[@name='tier1_clear']/objective[@name='RandomPOIGoto'] "name="distance">25-300</setattribute> The goal being to make it look like <objective type="RandomPOIGoto"> <property name="distance" value="50-400"/> <property name="phase" value="1"/> <property name="biome_filter_type" value="ExcludeBiome" /> <property name="biome_filter" value="wasteland" /> <property name="nav_object" value="quest" /> </objective> If anyone can point out what I am doing wrong, it would be appreciated. Thank you. Link to comment Share on other sites More sharing options...
mr.devolver Posted September 7, 2020 Share Posted September 7, 2020 Just two things: 1. Wrong xpath. 2. Even with fixed xpath, it won't work the way you expect. Why? Because it's the game code that's looking for the list of POIs to offer when you're requesting job from the trader. These quests are just templates like "Get here, do this, do that, go back to trader for reward", the distance is already decided at the trader's place, not by the quest itself. If you really wanted the trader to offer you quests in POIs that are close to the trader, you would first need enough nearby POIs and that's more about the POI distribution on the map than anything else. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.