Jump to content

Quest Modding NO TRADER Error


Recommended Posts

Hi All!

 

I've begun looking at creating some quests for this awesome game and was wondering if anyone can shed some light on an error that I cannot seem to fix?

When loading into the game and using a book that I have set to begin the quest, I am given a "NO TRADER" objective for the Rally Point. I'm not sure if this is because I am loading into a Navezgane world instead of RWG but I have deleted the world and created it anew several times.

 

I'm not sure, can someone look at the XML file I have and let me know where I'm going wrong please?

 

The book let's me start the quest with no problem, ideally I would like to add it to the trader's pool of quests but that will come at a time when I am comfortable having created the quest. The problem currently is the first objective should select a random POI and instead I just get "NO TRADER" despite having been stood outside a trader a few times.

 

Quote

<config>
    <insertBefore xpath="/quests/quest_list[@id='trader_quests']">
        <!-- Key and Item Fetch Quest -->
        <quest id="quest_KeyAndItemFetch_ThunderSn1per">
            <property name="group_name" value="KI Quest"/>
            <property name="name" value="The Key"/>
            <property name="subtitle" value="The Key"/>
            <property name="description" value="Gotta find a key"/>
            <property name="icon" value="ui_game_symbol_quest"/>
            <property name="repeatable" value="true"/>
            <property name="category" value="quest"/>
            <property name="difficulty" value="easy"/>
            <property name="offer" value="Test quest"/>
            <!--<property name="statement_key" value="quest_fetch_statement"/>
            <property name="response_key" value="quest_fetch_response"/>-->

            <objective type="RandomPOIGoto">
                <property name="phase" value="1"/>
                <property name="nav_object" value="rally"/>
            </objective>
            
            <objective type="RallyPoint">
                <property name="phase" value="2"/>
                <property name="nav_object" value="rally" />
            </objective>
            
            <objective type="FetchFromContainer">
                <property name="phase" value="3"/>
                <property name="quest_item_ID" value="1"/>
                <property name="item_count" value="1"/>
                <property name="default_container" value="cntFetchQuestSatchel"/>
                <property name="nav_object" value="fetch_container" />
            </objective>

            <objective type="POIStayWithin">
                <property name="phase" value="3"/>
                <property name="radius" value="25"/>
            </objective>

            <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="50"/>
        </quest>
    </insertBefore>
    
    <append xpath="/quests/quest_list[@id='trader_quests']">
        <quest id="quest_KeyAndItemFetch_ThunderSn1per"/>
    </append>
</config>

 

Link to comment
Share on other sites

Have adjusted the XML objective RandomPOIGoto to now reflect these changes, and still no luck, "NO TRADER" still gets shown.

Quote

<objective type="RandomPOIGoto">
            <property name="phase" value="1"/>
            <property name="biome_filter_type" value="SameBiome" />
            <property name="biome_filter" value="burnt_forest" />
            <property name="nav_object" value="quest" />
</objective>

 

Link to comment
Share on other sites

This is the starter quest to get the survivor to go to the nearest trader in the pine forest

 

        <objective type="Goto" id="trader" value="5" phase="1">
            <property name="biome_filter_type" value="OnlyBiome" />
            <property name="biome_filter" value="pine_forest" />
            <!-- <property name="biome_filter_type" value="ExcludeBiome" /> -->
            <!-- <property name="biome_filter" value="wasteland" /> -->
            <property name="nav_object" value="go_to_trader" />
        </objective>

 

The comment lines allow you to exclude specific biomes (in this case wasteland).  You can comment out the first two and uncomment the ones that are and the quest will look for the nearest trader not in the wasteland

So I believe you need something similar to start out the quest (since you are not going to a trader first) but I am not sure what values you would enter for ID or Value on the objective type

Link to comment
Share on other sites

On 1/14/2022 at 5:57 PM, BFT2020 said:

This is the starter quest to get the survivor to go to the nearest trader in the pine forest

 

        <objective type="Goto" id="trader" value="5" phase="1">
            <property name="biome_filter_type" value="OnlyBiome" />
            <property name="biome_filter" value="pine_forest" />
            <!-- <property name="biome_filter_type" value="ExcludeBiome" /> -->
            <!-- <property name="biome_filter" value="wasteland" /> -->
            <property name="nav_object" value="go_to_trader" />
        </objective>

 

The comment lines allow you to exclude specific biomes (in this case wasteland).  You can comment out the first two and uncomment the ones that are and the quest will look for the nearest trader not in the wasteland

So I believe you need something similar to start out the quest (since you are not going to a trader first) but I am not sure what values you would enter for ID or Value on the objective type

 

Thank you, yes I was simply trying to begint he quest and see the objectives roll through correctly before adding it to the trader list of quests.

 

Once I added this to the trader's list the POI was assigned correctly and all was good. I do have another issue, but since this topic has received the answer it needed, I'll create a new one for clarity's sake.

Edited by ThunderSn1per
New problem not associated with this one (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...