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

Removing the intro buried supplies

gesierfou

New member
Hello survivors,

i would to remove the first intro_buried_supplies quest to start more fast and less boring when i respaw after a death (permadeath server).

I'd try to add this line in the quest.xml

<config>
<remove xpath="//quest[@id='intro_buried_supplies']"/>
</config>

The rest of the mod is functional but when i go to the trader whith new world it show always this boring buried quest.

How could i do to make this function ok ?

Thanks for your answer.

 
This changes it to a simple go out and activate rally marker, then return

Code:
    <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='RandomGotoNPC']/property[@name='distance']/@value">100-125</set>
    <remove xpath="//quest[@id='intro_buried_supplies']/objective[@type='RallyPoint']/property[@name='activate_event']"/>    

    <set xpath="//quest[@id='intro_buried_supplies']/objective[@type='ReturnToNPC']/property[@name='phase']/@value">3</set>
    <set xpath="//quest[@id='intro_buried_supplies']/objective[@type='InteractWithNPC']/property[@name='phase']/@value">3</set>
 
Thank you very much ! It is complete and functional.

In fact i would to supress the showel reward and close the buried quest automaticly, but your version is good and apreciate in my private dedicated server.

 
Thank you very much ! It is complete and functional.

In fact i would to supress the showel reward and close the buried quest automaticly, but your version is good and apreciate in my private dedicated server.


Add this line to my mod

<remove xpath="//reward[@id='meleeToolShovelT0StoneShovel']"/>




That will remove it from the white river citizen quest as it is the only one with that unique reward.

To automatically bypass the starter buried quest, I think if you simply add the following to the white river quest, it should work:

Code:
<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>
 
Hello, thank you. I had just trying this code and it's function correctly, talk to the trader is always ask but functional ^^

<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>


I'm not sure for the utility of these line:

<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>




here the code in the quest.xml:

Best regards.

 
Hello, thank you. I had just trying this code and it's function correctly, talk to the trader is always ask but functional ^^

I'm not sure for the utility of these line:

<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>




here the code in the quest.xml:

Best regards.


Those are just for localization file I included with the mod.  Since I changed it from a buried supplies quest to simply talking to the trader, I went ahead and updated localization file in the game so it uses the new text.  Since the old quest used existing buried supplies text, I created new ones for it.

So instead of the trader thanking you for digging up the supplies, they now thank you for talking to them.  Not required

 
Back
Top