Page 1 of 1

Quest Creation question

Posted: Wed Apr 21, 2010 7:57 am
by abndrew82
Hello

I am looking at creating some quests in my zone I am working in.

I have read through the Creating your first quest and have done that, and think I have a good handle on creating them, but have one question.

I am looking to create a basic kill quest, so decided to look at the intro Neriak Area Dark Light Woods as I knew they had some basic kill quests, I created a character and went through those quests while looking at the Spawn and Quest Script for those quests.

The part I am confused on is, that I see no where in the Quest script anybody about QuestRewardExp or Money or anything, I know in the tutorial you use that command to give exp.

I see that the quests are giving me money and exp, but not sure where it is saying how much.

The only questreward area I see in the script is

GiveQuestReward(Quest, Player)

But that doesnt say how much exp was given or anything.

Is that normal, and is the exp amount a mandatory field if you want to give the user exp.

This is important to me, as I am creating a starting zone, and don't want to give too much exp, so they don't out level too fast.

Thanks

Drew

Re: Quest Creation question

Posted: Wed Apr 21, 2010 2:59 pm
by Zcoretri
This will allow you to reward coin for completing a quest
AddQuestRewardCoin(copper, silver, gold, plat)

For giving out experience for completing a quest use
SetQuestRewardExp(amount)

Been a long time since I have crafted a quest, so this might have changed.

Re: Quest Creation question

Posted: Wed Apr 21, 2010 5:05 pm
by Scatman
It did. Most of the quest initiation stuff in now stored in the database because John made me :D. Nah seriously it's a lot easier the db. Check out quest_details.

Re: Quest Creation question

Posted: Wed Apr 21, 2010 7:27 pm
by abndrew82
Very interesting, I had been messing with it in the scripts as mentioned.

But now looking at the quest_details table. That should make writing the quests much easier, as that covers a few of the areas.

Time to start working on making my Quests work.

Re: Quest Creation question

Posted: Thu Apr 22, 2010 4:10 pm
by John Adams
abndrew82 wrote:That should make writing the quests much easier, as that covers a few of the areas.
Weird how I would request something be changed to actually be easier, huh?