Full Version : Group Quests?
xmlspawner >>Q&A >>Group Quests?
<< Prev | Next >>
Vladimir- 05-02-2006
In the questholders that the xmlquestnpc's hand out at the top it says Difficulty Level 1 and "Solo Quest". Is there such a thing as a Group Quest? and if so how do you create these? Also, how do u set the difficulty level of solo quests?
Another thing, when I reward the player at the end I want to GIVE/bag/ADD/gold,500 but it just gives the player and empty bag :S wrong format?
TIA
Vlad
ArteGordon- 05-02-2006

QUOTE (Vladimir @ May 02, 2006 05:28 am)
In the questholders that the xmlquestnpc's hand out at the top it says Difficulty Level 1 and "Solo Quest". Is there such a thing as a Group Quest? and if so how do you create these? Also, how do u set the difficulty level of solo quests? Another thing, when I reward the player at the end I want to GIVE/bag/ADD/gold,500 but it just gives the player and empty bag :S wrong format?
TIA
Vlad

Since you modify the contents of the bag that you give, you need to use the grouping brackets like this

QUOTE
GIVE/<bag/ADD/gold,500>

so that it knows that you want the ADD/gold,500 to apply to the bag
To allow groups to complete a quest, set the PartyEnabled flag to true on the questholder.
from xmlspawner2.txt

QUOTE
- Added the PartyEnabled and PartyRange properties to XmlQuestToken items like the QuestNote. When this is set to true, KILL and COLLECT type quests will allow all members of a party to have quest objectives satisfied if any member of the party kills or collects quest objective targets. For the KILL type quests, each member will get credit for a kill made by the party. For COLLECT type quests, regardless of who in the party collects the target items, they will be distributed to randomly selected party members. If the PartyRange is set to a value zero or greater, then only members of the party within the specified range will share the quest targets. The default range is -1 which means infinite range. PartyEnabled is set to false by default. Both party enabled and range status are shown in the upper right corner of the quest status gump. (Thanks to Bane for the suggestion).

to change the difficulty, set the Difficulty property on the questholder
from xmlspawner2.txt

QUOTE
- added the Difficulty property to the questholder item. This can be set to the number of points that you wish the player to receive when they complete the quest (when the questholder is deleted). This is an example of a spawn entry that would give out a quest with a set difficulty.
questholder/name/Balron's bane/difficulty/5/objective1/KILL,balron/autoreward/true/rewardstring/ARMOR,1,2

Vladimir- 05-02-2006
Thx a mil