Updated version of Game_Guy's Quest log
#1
Updated version of Game_Guy's Quest log
Lethrface
Jan 28, 2012

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


So the original author seems to have quit updating this (seems it was almost 2 years, since it was last updated on January 31st 2010) and people requested certain features to be added at rmrk (where I found the script) and it seems the author only pretty much told them "I would but I don't have the time" and never got around to it in the 2 years since he updated it... but I have added some functionality for those who have or wish to add this script to their Scene_Menu. First, I will describe how to use it with scene_menu.

in your scene menu, in the update_command section (where you added the functionality for it to go to the quest log and made it play the sound effect), you will make it look like this (replacing the "3" with whatever case it is in your script):

Code:
when 3  # Quest Log
           # Play decision SE
           if $game_party.quests_avail == false
           $game_system.se_play($data_system.buzzer_se)
           return
        end
        $game_system.se_play($data_system.decision_se)
        # Switch to save screen
        $scene = Scene_Quest.new


That is only step one. You will want to also grey-out your Quest Log option(more than likely, unless you are a trickster and like to prank the people who play your game into thinking its broken...). Do so like this (again, replacing "3" with whatever case it is in your script):

Code:
if $game_party.quests_avail == false
   #disable quest log
   @command_window.disable_item(3)
end


Now, your menu is finished. Now you need to update your quest log script. Here is the quest log script as I have it now (any updates to this quest log made after the version I grabbed will not be available with this functionality unless it was already added and I was not privy to such information).

Click for Script

Now, you have something to work with, but wait...there's more!

What if you want to add a quest or take away a quest? By default, the menu is disabled so if you add a quest, you wont be able to access the quest! Now, I could have simply made it check the quest automatically upon adding/taking the quests but I like to add the OPTION to be able to do this without forcing you to do it (and also because I have some plans that will require this option to be available in my own game). This allows you to give someone a quest and keep the quest log unavailable until you are ready to do this if you for some reason wish to do so here is a way to handle this type of thing. Keep in mind there are many ways to handle this (some will require some more editing of the Quest Log script), but this is just something i was playing around with (and probably in no way the easy way lol)

Here is an image of the event that I gave an npc as an example of using the check to see if any quests are available.

[Image: 5MRf9.png]

As you can see, I added a new script call. Quest.check will check your quests array to see if there are any quests available and if there aren't any, it will disable or enable your Quest Log command in the menu. This will further help avoid getting the error that you receive when you have no quests in your quest log. Remember you want to add a Quest.check command to each of your add or take calls to let the game decide whether the quest log needs to be enabled or disabled and if it is left enabled when you take away all of your quests then you will run the risk of the player getting that nasty error and if its left disabled when you just gave the player a quest, it will not be viewable to the player and thus deemed broken!

PHEW!!! Long winded reply/update over! If the original author is still lurking the rpgmaker scene, I would like to offer a formal apology for updating this without seeking permission first however with the inactivity of the script, I felt it was necessary to update it for anyone who may still be using it or would love to use it but never did due to its missing functionality.


Screenshots (testing them in a game/testbed so Sephiroth IS a temporary name haha):
Click to See Screenshots
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Quest Book Zeriab 0 2,748 01-09-2009, 01:00 PM
Last Post: Zeriab
  Dragon Quest VII Class Changing System Sephirothtds 0 2,760 11-15-2007, 01:00 PM
Last Post: Sephirothtds
  Quest Script Samo the thief 0 2,560 03-12-2007, 01:00 PM
Last Post: Samo the thief
  Quest Script by SAMO Samo the thief 0 2,524 12-29-2006, 01:00 PM
Last Post: Samo the thief
  Quest Manager Derk-Jan 0 2,464 06-04-2005, 01:00 PM
Last Post: Derk-Jan



Users browsing this thread: 1 Guest(s)