Sunday, March 24, 2013

Guide - Quest Creator part 1 (setup)



Welcome to the guide for the quest creator.  Your one stop to doing a basic quest.  I repeat a basic quest for the most part it does all the repetition for you but still expects you to modify as needed.

What you need.  A copy of the SVN.  Notepad++.  Questcreator.swf.

A few basic things to know.

Clicking on pins expands that text box.

Clicking on the pin will collapse it back to small.

Clicking on any of the green buttons will change the view, we will go over each one separately.


Floating over any of the text will give help.  Find you don't like the help you can edit it as well just go to xml/eventcreator/popuphelp.xml  A great way to make notes to yourself and if you find a better explanation don't hesitate to share on the board.

First off click on the setup button.  When you do the empty screen should suddenly fill with a lot of xml.  Don't worry it's supposed to do that.  Click the pin at the top so you only see set up information.




Label defines a lot of the xml names but is never seen by the player so its best to use a long unique string with no spaces.

Name is the name of the quest as it appears in the quest book.

Rewards are just like it sounds and how they are displayed in the quest book.  They are also entered automtatically when the quest is won.  So you don't have to do anything for the reward for the players to get the reward... more on that later.  First box is for gold.  Second Box is for items.  You can add multiple items.  Last box is reputation bonuses.

We now have xml!

NOTE!!! In many places I have added comments they are the <!-- -->    These can be deleted, though  the xml will ignore them, they are important enough that I added them to remind you when creating the quest.




This is all the xml to make a quest and put it in the quest book.

Now lets put it where it needs to be.

xml/quests/

for this example it will be in

xml/quests/shops/twosnipsnextmodelquest.xml

NOTE!!! - The root tag is needed but not included in the xml for any of the created xml from the quest creator and must be added for each new file!

Add the new file to the 

xml/quests/quests.xml


if you don't add the file it won't be found...

Copy and paste the xml from the quest creator into your new quest file.  DON'T FORGET THE ROOT TAGS!

Now you will note the big comment about the text tags right now we're going to forget about them but come back after we had fully fleshed out the text event and have all the text encoded.  Just as a note though textlabel and textlabelend are used to display the text that the player sees in the quest book for the quest being give and the quest finished.

Also there is more that can be added to the quest book part such as status and completion conditions but for  how to add those check the quest book guide.  It's a bit to advanced for the quest creator at this point.  I may add at a later date.

And that is the first part the set up for the quest.

Daisy

No comments:

Post a Comment