Full Version : New Updates
xmlspawner >>Q&A >>New Updates


<< Prev | Next >>

Zyle- 05-12-2006
Well I'm loving the new updates - we just went from a quite old version of XMLSpawner to the newest and there's so much more to learn now, wow!

Just wanted to ask, I can't find any documentation about the questpoints system. Is there a way to toggle it on and off? We will definitely use it but I need to do some tweaking to my quests first, and Shadow1980 wants to use these points for something other than just claiming rewards as we already have too many reward systems in place! So I was wondering how can I easily turn it off in the meantime while we figure this stuff out? Also, I can't see anywhere how to set the difficulty level of a quest? Mind you, this could be because I just got home from the pub... unsure.gif

Thanks! smile.gif

Zyle



edit: Well, I've figured the difficulty setting out - probably should have just tried that part out before I posted about it wink.gif

ArteGordon- 05-12-2006
QUOTE (Zyle @ May 12, 2006 03:16 pm)
Well I'm loving the new updates - we just went from a quite old version of XMLSpawner to the newest and there's so much more to learn now, wow!

Just wanted to ask, I can't find any documentation about the questpoints system. Is there a way to toggle it on and off? We will definitely use it but I need to do some tweaking to my quests first, and Shadow1980 wants to use these points for something other than just claiming rewards as we already have too many reward systems in place! So I was wondering how can I easily turn it off in the meantime while we figure this stuff out? Also, I can't see anywhere how to set the difficulty level of a quest? Mind you, this could be because I just got home from the pub... unsure.gif

Thanks! smile.gif

Zyle



edit: Well, I've figured the difficulty setting out - probably should have just tried that part out before I posted about it wink.gif

there is a flag that you can set in XmlQuest around line 123

CODE

 public const bool QuestPointsEnabled = true;


The difficulty level (which is used to give out quest points) is set by setting the Difficulty property on the questholder

questholder/name/MyQuest/objective1/KILL,orc/Difficulty/1

Zyle- 05-12-2006
Brilliant, thanks Arte smile.gif That'll give us some time to figure out how we'll use this great addition. The players are already getting excited about these new points they are getting even though they can't do anything with them yet, hehe biggrin.gif

ArteGordon- 05-12-2006
QUOTE (Zyle @ May 12, 2006 04:32 pm)
Brilliant, thanks Arte smile.gif That'll give us some time to figure out how we'll use this great addition. The players are already getting excited about these new points they are getting even though they can't do anything with them yet, hehe biggrin.gif

hehe. Even without quest rewards, you could still just keep the points enabled for the quest rankings.

Zyle- 05-12-2006
Yeah that's a good point actually! smile.gif

Shadow suggested making some new quests which you can't start unless you have a certain amount of quest points which I quite like the idea of too. I'm so excited about all these new XML toys I have to play with now, getting too many ideas laugh.gif

Zyle- 05-13-2006
I've just spent a while trying to figure out why I couldn't view the leaderboard, I was looking for some way to turn it on, but once I gave myself a questpoint I was able to see it - is that as intended? How would I make it so anyone can view it even if they don't have questpoints yet? Thanks smile.gif

ArteGordon- 05-13-2006
QUOTE (Zyle @ May 13, 2006 08:42 am)
I've just spent a while trying to figure out why I couldn't view the leaderboard, I was looking for some way to turn it on, but once I gave myself a questpoint I was able to see it - is that as intended?  How would I make it so anyone can view it even if they don't have questpoints yet?  Thanks smile.gif

Yes, that was intended but you can change it. It is not actually a requirement to have quest points, it is a requirement to have the xmlquestpoints attachment. It just happens that if a player completes a quest and they dont already have an xmlquestpoints attachment, then one will be added automatically.

To make the board available to those without an xmlquestpoints attachment, make this change in xmlquestleaders.cs around line 512

QUOTE

  public class TopQuestPlayersGump : Gump
  {
  private XmlQuestPoints m_attachment;

  public TopQuestPlayersGump(XmlQuestPoints attachment) : base( 0,0)
  {

    if(QuestRankList == null || attachment == null) return;


just delete the text in red.

Zyle- 05-13-2006
Great, thanks for the help smile.gif