Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Having trouble making a quest which involves finding certain items.

Hey guys, I'm in the progress of making a quest where I need to find 4 pieces of Timber in order to cross a certain bridge but I'm not sure how to go about making it. I'm really new to the event side of things in VX and any help is really appreciated!
 
This is a basic decsription of the general process.

Make Timber an Item, and then make it possible for the player to recieve said timber.  In the bridge event, set a variable equal to the number of timber you have, and create a conditional branch where variable = number of timber you need. In the first branch, make it so the player can cross the bridge.  In the second branch, make it so the player cannot cross and tell the player he needs more timber.
 
Thanks for the reply but I'm still not having any luck with it, I'm really really sorry, but is there anyway you could maybe explain it in much more detail? As I said before I'm a complete newbie with all this kinda stuff lol
 
Go to F9, the database. go to the 'items' subcategory.
There on the left side you can see the list of all items which are in the game. Click on the 'change maximum' button, and pick 21 (you can increase it more to create new items). Then click on the new empty bar in the items list numbered 21. Give it a name, an icon (double click) and description. (e.g 'Use this piece of timber to build a bridge') Leave all of the rest blank. then go make whatever events that gives you the timber.
THE BRIDGE----
All of this becomes useless unless you do exactly what I say right now =D
http://img360.imageshack.us/my.php?image=picturesl2.png
OK just follow the instructions and look at the screenshot if you don't understand.
First choose a name for your variable. this doesn't really matter, just for your own comfort.
Under operation, choose 'set'. that means it will set the variable at the number of what you choose.
Under Operand, choose item, choose the wanted item (in this case, timber) and... thats it for this comand,
Then make a new event command-conditional branch. at the first page pick variable, the variable you chose (for this instance, the amount of timber). Pick one of equal to, greater or equal to, blablabla (in this case it seems equal to would do)
Pick your number. you wanted 4? 4 it shall be.
After making your conditional branch you'll see theres an else thingy bellow it. Put ABOVE IT what you want to do when player has all timbers. put BELOW IT what you want to happen if player doesn't have 4 timber. What you put after Branch End will happen in both cases, with or without the timber.
This is as detailed as I can go.
If you think I hellped you, please say MUFFINS ROX! instead of a thanx.
 
Finally!! It worked! Thanks alot man, I've been stuck on this a couple of days now aye! lol I loved all the detail you put in for me =D Thanks so much, now I'll be using this for many other quests and stuff =P
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top