Full Version : Possible quest objectives?
xmlspawner >>Q&A >>Possible quest objectives?
<< Prev | Next >>
Zyle- 05-01-2006
Well I'm back in quest creation mode, and as such I've got a few questions again
I was wondering how I'd go about setting the following as objectives through XMLSpawner:
1. Become a knight of compassion
I know the quest giver can trigger and give the reward when the player has X compassion, but how could I set the objective up in the questholder so that it will actually show as completed when the player has achieved this? Normally I'd use a spawner that triggers when the player has enough compassion and sets the objective to completed, but the player could be anywhere in the world when the objective is met so that wouldn't work for this one.
2. Complete 5 escort missions
No idea how to set this one up!
Any help would be greatly appreciated!
ArteGordon- 05-01-2006
the current ESCORT quest objective requires that you specify a named mob to be escorted,
ESCORT,mobname[,proptest]
I have made a simple mod to XmlQuest.cs will allow you to specify an empty mob name which will allow you to escort any talkingbaseescortable mob to satisfy the objective, so that something like this
ESCORT,
will work.
To require 5 unnamed escorts, just set up 5 separate objectives like that.
You can also add a property test for the escorters compassion so that the objective will only be satisfied once they complete the escort and their compassion passes a certain level.
ESCORT,,controlmaster.virtues.compassion>10
The only problem with this is that the current talkingbaseescortable registers the quest after the controlmaster value has been cleared, so that test wont work at the moment.
I have added fixed versions of XmlQuest.cs and TalkingBaseEscortable.cs to the beta_309.zip file that have the modifications that will allow those types of objectives to work.
http://xmlspawner.15.forumer.com/index.php?showtopic=53
Note, that when tested like that, the value of controlmaster.virtues.compassion will reflect the compassion gained for the current escort.
Zyle- 05-01-2006
Thanks so much Arte - over and above as always