Custom Quest Text

zztong

Hunter
I'm building a POI with unusual visual boundaries that may not be clear to players. (Normally, players are use to POIs with obvious boundaries, such as walls.) It would be easier than normal to wander outside the boundary of the POI and then fail a quest. This had me thinking it would be nice to be able to provide some extra instruction at the start of the quest and/or if you looked at the quest in your journal. This, in turn, led me to think it could also give POI designers a chance to slip in some backstory.

Example:

* Quest Tier: &TIER; 

* Warning: Quest includes unmarked outdoor boundaries.

&TRADER; informed you this POI was once an active mine that kept &MAPNAME; supplied with iron, but it closed prior to the apocalypse and was rumored to be used by drug smugglers as a drop point.

... and in this case the game code would find and replace certain entities in the text...

&TRADER; would become the name of the Trader who gave out the quest.

&TIER; would be the quest tier coming from the POI's XML.

&MAPNAME; would be the current map's name, like "West Glucose Valley".

This text could live in the POI's XML file:

<QuestText>

&TRADER; informed you this POI was once an active mine that kept &MAPNAME; supplied with iron, but it closed prior to the apocalypse and was rumored to be used by drug smugglers as a drop point.

</QuestText>

To save having to revisit all the old POIs there would have to be some default text, like "The Trader didn't have any additional information."

 
Back
Top