Quest Creation question

General support forum. If you require assistance and your problem doesnt fall in any of the other categories, this is the forum for you!

Moderator: Team Members

Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
Post Reply
abndrew82
Posts: 31
Joined: Tue Apr 13, 2010 3:37 pm

Quest Creation question

Post by abndrew82 » Wed Apr 21, 2010 7:57 am

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

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: Quest Creation question

Post by Zcoretri » Wed Apr 21, 2010 2:59 pm

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.

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Quest Creation question

Post by Scatman » Wed Apr 21, 2010 5:05 pm

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.

abndrew82
Posts: 31
Joined: Tue Apr 13, 2010 3:37 pm

Re: Quest Creation question

Post by abndrew82 » Wed Apr 21, 2010 7:27 pm

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.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Quest Creation question

Post by John Adams » Thu Apr 22, 2010 4:10 pm

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests