Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Kiriashi

RMXP Fetch Quest Tutorial

Recommended Posts

Hello everyone! Ecowolfsteen requested that I make a tutorial/demo for quests in RMXP. I made this demo to explain how to make one. Read the comments in the events after you play it to read the tutorial. :3

 

Steps to making a fetch quest:

 

1. Make a new event to represent your quest giver. Give that person some text asking if the player wants to accept the quest.

 

2. Give the player some choices with the "Show Choices" event command. They should be two positive or negative answers.

 

3. Under the branch for the positive choice, tell the player how many items he needs to bring back. Then turn on self switch "A".

 

4. Under the branch for the negative choice, insert a text message from the quest giver such as "Too bad."

 

Quest Giver event page 1:

questgiverpage1.png

 

5. In a second page of the quest giver event, change the Condition to Self Switch A being on.

 

6. In the list of event commands, make a new conditional branch, with the condition that a certain variable is equal to or greater than the amount you want the player to have to bring to the quest giver. Take this time to name your new variable.

 

7. Under the branch for the condition being met, display a thank-you message saying that the player brought the right amount of the required item. Then tell him that he has his reward.

 

8. Give him the reward whatever it was. This can be items, money or whatever else you can think of.

 

9. Display a separate message telling the player that he got the item. You can change the text options and play a sound effect too. This is common when a player receives an item in RPGs.

 

10. Turn on self switch "B".

 

11. Under the branch for the condition not being met, click the "Control Variable" command. Change the variable from the one you named earlier to the next one on the list. Give it a name such as "Number.

 

-- This variable is going to be used to find out how many more of the required item the player needs in order to complete the quest. We're going to subtract the amount of the item he currently has from this variable.

 

12. Keep the Operation at the default (Set), and keep the Operand at the default as well (Constant). Change the number in the Constant box from zero to the amount of the item the player needs to complete the quest. In other words, if the quest giver asked for five dead squirrels, put five in here.

 

13. Now that we have made a variable that equals the required amount of the item, we are going to subtract from that number by the amount of the item the player has gathered so far. Click on control variable again, set the Operation to "Subtract", and change the Operand to variable. Change that variable to the first one we created; the one that holds the amount of the item the player has.

 

14.Now make the quest giver tell the player how many of the item he has, and how many he needs. You can use \v[x] in a text message to display the value of a variable, where "x" is the id of that variable. There should be two of these variable tags in this message.

 

Quest Giver Event Page 2:

questgiverpage2.png

 

15. Make a third event page for this event, and change the condition to [self Switch B is ON]. In the list of event commands, insert a message where the Quest Giver says something like "Thanks for getting me those items!".

 

Quest Giver event page 3:

questgiverpage3.png

 

16.Now we have a working quest even, but we need a way to increase the first variable so that the quest is doable. Make a new event that has a graphic related to the item the player is gathering.

 

17. In the list of event commands of this new event, insert a "Control Variable". Set the Operation to add, and the operand to a constant of 1. This will increase this variable by one when the player picks up the item.

 

18. Now insert a text message displaying that the item was picked up.

 

19. Turn on self switch A.

 

Quest-Item event page 1:

deadsquirrelpage1.png

 

20. Make a new event page for the quest item event, and change the condition to [self Switch A is ON]. Leave the graphic box and event command list empty.

 

Quest-Item page 2:

deadsquirrelpage2.png

 

And there you have it! A working RMXP fetch quest. That tutorial was just thrown together, the real tutorial is the demo. Check out the comments in the event commands there to see how I did it.

 

I love my demo. ^_^

 

http://www.rmxpunlimited.net/forums/files/file/272-fetch-quest-demo/

 

Enjoy.

Share this post


Link to post
Share on other sites

Wait.. what? Where did I post it? :S

 

EDIT: Just noticed you italicized RMXP.. did I put it in the RMVX tutorials section? >.<

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...