Help - Search - Members - Calendar
Full Version: Semi-Evented Quest Board
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
Kread-EX
Quest Board


Author: Kread-EX

Description
This is an evented system (witth a ridiculously small portion of script) for selecting quests from some kind of board. It's good for a guild bulletin or something like this.



Download here.

The comments aren't my forte, so if there are things you dont understand, feel free to ask.
Jeff B.J.
Nice Quest Board System. It'll fit snugly to lots of games.

Being an eventer myself, I could only go through and understand about 80% of the events. The only things that I couldn't understand was the scripts.

There was one that piqued my interest and it was the Common Events "Quest 1", "Quest 2", and "Quest 3".

An example of a part of "Quest 1" Common event:

CODE
$game_variables[5].between?(56,(56+84))

CODE
$game_variables[6].between?(78,(78+115))


The above script codes were in the conditional branches. I'd like to know if we could replace the values 84 and 115 with codes that maps to the image's dimensions. So if I were to use a different image having different dimensions, I wouldn't have to change the numbers all over again.

EDIT:

And is there a purpose for the Button Input Processing Event? I couldn't find anything that relates to it.

Thanks in advance by the way.
Kread-EX
CODE
$game_variables[5].between?(56,(56+84))

CODE
$game_variables[6].between?(78,(78+115))


These lines purpose is to ensure the cursor is on the picture. 56 and 78 are x and y coordinates. 84 and 115 are the picture's width and height. So yes, if you change the quest cards picture, you replace the dimensions.

As for the Key Input Processing event, it just stops the event until you push a key. Try to remove it, and you'll see that you automatically make the confirmation message appear.

Jeff B.J.
QUOTE
These lines purpose is to ensure the cursor is on the picture. 56 and 78 are x and y coordinates. 84 and 115 are the picture's width and height. So yes, if you change the quest cards picture, you replace the dimensions.

So I'll have to change everything manually then? Ah, well. Not that I wouldn't do so. Anyway, I'll try with variables to replace the values instead.

QUOTE
As for the Key Input Processing event, it just stops the event until you push a key. Try to remove it, and you'll see that you automatically make the confirmation message appear.

Cool. I didn't know that. Usually I just use loops and self switches which proves to be a hassle in comparison. Thanks for the tip, though. I'll definitely give you credit for anything I'll come up based on this system.
Kread-EX
Of course, you can use variables to determine the size of the card. I didn't do it, which is probably a flaw I admit, but since at one point, you must change the coordinates and if you have 12 cards on the board, using 24 variables may be a little irritating, I entered the values manually.
Legacy
Always hide the best things from me dont you Kread.

Could be a nice additon to Blackfire wink.gif

Reminds me of the FF12 Hunts board
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.