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

[Solved] Looking for an expert on adding quests.

Ok, I used some examples from the vanilla xml to change your phase one to this:
 

<objective type="RandomGotoNPC" phase="1">
<property name="completion_distance" value="20"/>
<property name="distance" value="100-200"/>
<property name="nav_object" value="quest" />
</objective>


Now it's working every time I test it and it shows in the list.  Thank you so much for your help BFT :)

 
What is the full code that works? Im reading this post like 20 times and i dont get it.

EDIT : Didnt want to spam this thread with my wrong xml

 
Last edited by a moderator:
<insertBefore xpath="/quests/quest_list[1]">
<quest id="tier5_find_mythril">
<property name="name_key" value="quest_FindMythril"/>
<property name="subtitle_key" value="quest_FindMythril_subtitle"/>
<property name="description_key" value="quest_FindMythril_description"/>
<property name="icon" value="ui_game_symbol_mining"/>
<property name="repeatable" value="true"/>
<property name="category_key" value="quest"/>
<property name="offer_key" value="quest_FindMythril_offer"/>
<property name="difficulty" value="Medium"/>
<property name="difficulty_tier" value="5"/>
<property name="statement_key" value="quest_FindMythril_statement"/>
<property name="response_key" value="quest_FindMythril_response"/>
<property name="login_rally_reset" value="true"/>

<property name="completiontype" value="TurnIn"/>
<property name="completion_key" value="quest_FindMythril_completion"/>

<objective type="RandomGotoNPC" phase="1">
<property name="completion_distance" value="20"/>
<property name="distance" value="100-200"/>
<property name="nav_object" value="quest" />
</objective>

<objective type="FetchKeep" id="resourceMythrilPowder" value="1000" phase="2"/>

<objective type="Craft" id="resourceMythril" value="50" phase="3"/>

<objective type="ReturnToNPC">
<property name="phase" value="4"/>
<property name="nav_object" value="return_to_trader" />
</objective>

<objective type="InteractWithNPC">
<property name="phase" value="4"/>
<property name="nav_object" value="return_to_trader" />
</objective>

<reward type="Exp" value="5000"/>
<reward type="LootItem" id="schematicsToolsT2" ischosen="true" isfixed="true" value="5"/>
<reward type="LootItem" id="schematicsWeaponsArmorT2" ischosen="true" isfixed="true" value="5"/>
<reward type="LootItem" id="schematicsToolsT2" ischosen="true" value="5"/>
<reward type="LootItem" id="schematicsToolsT2" ischosen="true" value="5"/>
<reward type="LootItem" id="schematicsWeaponsArmorT2" ischosen="true" value="5"/>
<reward type="LootItem" id="schematicsWeaponsArmorT2" ischosen="true" value="5"/>
<reward type="Item" id="casinoCoin" value="800"/>
</quest>
</insertBefore>
<append xpath="/quests/quest_list[@id='trader_quests']">
<quest id="tier5_find_mythril" />
</append>


This is what works for me.  But it's still a little buggy in online mode.  It starts from a place that isn't the trader.  I'm going to try expanding the range and see if maybe the problem is just that it can't find a location close to the trader with that short a distance.

 
Back
Top