Hey everyone!
I found some Code to skip the burried supplies intro Quest. I trie to modify it, but i fail. These are my goals:
A Problem i encountered on my custom Map with the code below is:
The Code in the quests.xml:
<config>
<remove xpath="/quests/quest[@id='quest_whiteRiverCitizen1']/objective[@type='Goto']/property[@name='biome_filter_type']"/>
<remove xpath="/quests/quest[@id='quest_whiteRiverCitizen1']/objective[@type='Goto']/property[@name='biome_filter']"/>
<!-- *** Tutorial XP reward adjustment <remove xpath="/quests/quest[@id='intro_buried_supplies']"/> -->
<remove xpath="//quest[@id='quest_whiteRiverCitizen1']/reward"/>
<remove xpath="//reward[@id='meleeToolShovelT0StoneShovel']"/>
<insertAfter xpath="//quest[@id='quest_whiteRiverCitizen1']/action">
<action type="SetCVar">
<property name="cvar" value="IntroComplete" />
<property name="value" value="1" />
<property name="on_complete" value="true"/>
</action>
</insertAfter>
<remove xpath="//quest[@id='intro_buried_supplies']/property[@name='reward_choices_count']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='RandomGotoNPC']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='RallyPoint']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='StayWithin']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='TreasureChest']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='FetchFromTreasure']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/action[@type='SpawnGSEnemy']"/>
<set xpath="//quest[@id='intro_buried_supplies']/objective[@type='ReturnToNPC']/property[@name='phase']/@value">1</set>
<set xpath="//quest[@id='intro_buried_supplies']/objective[@type='InteractWithNPC']/property[@name='phase']/@value">1</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='description_key']/@value">quest_intro_buried_supplies_description</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='subtitle_key']/@value">quest_intro_buried_supplies_subtitle</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='statement_key']/@value">quest_intro_buried_supplies_statement</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='completion_key']/@value">quest_intro_buried_supplies_completion</set>
<remove xpath="//quest[@id='intro_buried_supplies']/reward"/>
<remove xpath="//quest[@id='quest_whiteRiverCitizen1']/action[@type='ShowMessageWindow']"/>
</config>
Thank you guys! And excuse my not existing Modding knowledge. I Tried to search for hours and tried ChatGPT, but couldnt get any further.
I found some Code to skip the burried supplies intro Quest. I trie to modify it, but i fail. These are my goals:
- skip the intro quest
- open up all tiers of quests up to T6
A Problem i encountered on my custom Map with the code below is:
- after the intro rewards the player is not send to a trader ("no Trader") --> Probably because its "whiteRiverCitizen1" --> is it possible to adjust the code so that the game takes the nearest trader?
The Code in the quests.xml:
<config>
<remove xpath="/quests/quest[@id='quest_whiteRiverCitizen1']/objective[@type='Goto']/property[@name='biome_filter_type']"/>
<remove xpath="/quests/quest[@id='quest_whiteRiverCitizen1']/objective[@type='Goto']/property[@name='biome_filter']"/>
<!-- *** Tutorial XP reward adjustment <remove xpath="/quests/quest[@id='intro_buried_supplies']"/> -->
<remove xpath="//quest[@id='quest_whiteRiverCitizen1']/reward"/>
<remove xpath="//reward[@id='meleeToolShovelT0StoneShovel']"/>
<insertAfter xpath="//quest[@id='quest_whiteRiverCitizen1']/action">
<action type="SetCVar">
<property name="cvar" value="IntroComplete" />
<property name="value" value="1" />
<property name="on_complete" value="true"/>
</action>
</insertAfter>
<remove xpath="//quest[@id='intro_buried_supplies']/property[@name='reward_choices_count']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='RandomGotoNPC']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='RallyPoint']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='StayWithin']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='TreasureChest']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='FetchFromTreasure']"/>
<remove xpath="//quest[@id='intro_buried_supplies']/action[@type='SpawnGSEnemy']"/>
<set xpath="//quest[@id='intro_buried_supplies']/objective[@type='ReturnToNPC']/property[@name='phase']/@value">1</set>
<set xpath="//quest[@id='intro_buried_supplies']/objective[@type='InteractWithNPC']/property[@name='phase']/@value">1</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='description_key']/@value">quest_intro_buried_supplies_description</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='subtitle_key']/@value">quest_intro_buried_supplies_subtitle</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='statement_key']/@value">quest_intro_buried_supplies_statement</set>
<set xpath="//quest[@id='intro_buried_supplies']/property[@name='completion_key']/@value">quest_intro_buried_supplies_completion</set>
<remove xpath="//quest[@id='intro_buried_supplies']/reward"/>
<remove xpath="//quest[@id='quest_whiteRiverCitizen1']/action[@type='ShowMessageWindow']"/>
</config>
Thank you guys! And excuse my not existing Modding knowledge. I Tried to search for hours and tried ChatGPT, but couldnt get any further.