A simple QuestLog

Those are some useful info, I didn't took into consideration the possibility of a bigger UI so the QuestLog is created at x: 0, making it centered should be easy enough!

About the Auto Black Background I'm wrapping my head around it, honestly I didn't set it and my other plugins don't have it, yet for some reasons it happens with the QuestLog, I'll try to fix it and make it optional

For the other suggestions, sure thing, that something to add in 1.4 ^^
You can easily add the icon with those steps:
  1. Be sure that MenuPlus is ABOVE QuestLog in the Rpg Maker MZ plugins list
  2. Open MenuPlus properties
  3. Open IconTable parameters
  4. Double Click on "Extended Settings"
  5. Double Click on an empty row
  6. On symbol write quest (all lowe case)
  7. On Icon set the icon ID you want
I tested it and it works :ahappy:

As for the background, let me check I might find something 😀
This worked! Thank you!
Version 1.3.2 is out:

  • Fixed an old part of the code creating two problems: A black layer under the scene and no centering if the Game UI was changed from the System 2 tab as reported from ryf and Puppet Knight
So this is the plugin I'm using for the menu: https://awaya3ji.seesaa.net/article/491067894.html

Hopefully it's an easy add-on for the icon? Sorry I'm not really good at reading code haha

Also, if it won't be too much of a bother would it be possible to change the background of the quest log? I was hoping to keep it semi-transparent like in the image in the link but it's just showing up as black to me. If it's too much work then it's fine otherwise 🙂

Again, thanks for the plugin!

Functionally I wouldnt recommend anything more advanced because I think your plugin would lose its exact appeal. Its a straight up quest log that lets you create quests from the plugin commands themselves without involving categories and other craziness.




Sort've an in between.

The window is using the System 2 UI size settings as it should. However for some reason (for me) the Quest Log doesn't draw centered on the screen

Main Menu:

View attachment 287376

Quest Log:

View attachment 287377


So by default it should be centered, with potentially a plugin parameter option to let users define a specific location where it will be drawn and how large.


Additionally, the auto black background is a bit jarring especially if the users Menus don't normally take up the whole Screen Width/Height. Ideally by default this would be to draw like any other menu/scene and make blacking out the background into an option (if that).



Nice to have: Allow users to choose a window skin specific to Scene_Quest

Request (if it doesn't already): Allow Variables/JS/Text Codes for Menu Fields like "Quest Name" just so folks can jazz up their texts a bit. Also allows for more personalization if the User wants to reference an Actor's name that the player can choose.



Hope this helps!

Black backdrop and not centered problems have been solved 🙂
Confirming the fix for background and centering:

1702327148130.png


Appreciate the quick turnarounnd!
VERSION 1.4 is out and it comes with a focus on Graphics, this update tweaks some minor lines of code regarding the windows creations and population while it adds a new sets of controls for the devs:

  • Added the setting to show or hide the title in the QuestLog
  • Added the possibility to switch the quest list / quest info layout
  • Added the option to use 100% of the graphic box (standard setting for this plugin) or 90% (standard RPG Maker MZ scene compatible with cancel touch button)
  • Added the possibility to hide the cancel touch button (useful for 100% size, but make sure the player has access to non touch controls)
  • Added the possibility to change the windows skin for the QuestLog only, also you can change the colors tone (by re-selecting the default skin you can apply different color tones to it)
  • Added a new plugin command to change all the above mid-game
Version 1.5 is out and I've called it "Let's describe our quest!" since I did some major work on the quest description field!

The main goal was to add RMMZ text codes support (like variables display or actors names display) but guess what, I even noticed that the Auto Size was not working! Or better... It was working, but then the drawText decided to trick me and reset the font settings vanishing all the work! Such a meanie...

Anyway, I fixed the Auto Sizer, now it works as intented and no matter what option you pick auto or manual, the text now aligns as you wish!

Both method now supports RMMZ text codes and they align properly despite the text being dynamically generated, that was the hardest part of the work

As a bonus, now the plugin file is only one, you don't have to pick between "Regular" and "Compatibility" as Regular now supports old v1.1 and v1.0 commands while not allowing to create outdated instructions.

  • Fixed an unexpected behaviour in the Auto Size description text that resets the font size after correctly finding the fitting value
  • Added a padding value to the text to have the desired look to the text graphic
  • Added a full support for RMMZ text codes while keeping the alignment options
  • Minor tweaks to the Plugin Parameters
  • Now the plugin will automatically support compatibility with v1.1 or lower without having to choose different files
Yo! I'm currently trying this and I'm having an issue.
I'm trying to use Set Quest Completion Parameter to set a Quest to Completed in a Common Event, but in-game with the command performed, it still comes up as Ongoing. I've tried it with the ID and the Quest Name correctly, but none work.

Update. I really dunno the problem. Originally I had the quest ID set to 1, but changed it to 101 and filled in the quest blanks, and it's fine now.

Update 2. It seems to just be kinda inconsistent, because one time it remained as Ongoing but then most of the time it's Completed.
Can you send me a pic of the editor where you set up the quest and the completion? I never experienced this bug
Here's a vid of the issue:

Left Attached File is the command that's meant to come out as completed in the video. I also tried the Quest Name instead of the ID, no luck.

Right Attached File shows the command setting up the quest.
I don't know what to say, works just fine for me even using a Common Event

How is the common event? Is it a parallel or autorun? Is it in a loop?
Does the plugin work when you don't use Common Events?
I don't know what to say, works just fine for me even using a Common Event

How is the common event? Is it a parallel or autorun? Is it in a loop?
Does the plugin work when you don't use Common Events?
Oh this one isn't attached to the common event. This is a separate quest. It seems to be a general issue.
Oh this one isn't attached to the common event. This is a separate quest. It seems to be a general issue.

Then there is something that is causing an incompatibility in your project, this bug never happened before.
Best I can do in this case is offering to check it out, if you want to send me privately a zip of your RMMZ project I can run a line by line check, of course I understand if you don't want
Thanks to the useful report of TewiInaba I fixed several bugs related to a specific use of the command, using a quest command after a game load and before opening the questlog!

While on it I changed the icon selector from a number input to an actual icon showcase!

Always on suggestion of TewiInaba I added a couple of Script Calls to check quest completion by ID or name from anywhere in RPG Maker MZ or from other scripts!



Enjoy!



VERSION 1.6:

  • Fixed a bug were the old quest files would be deleted if any quest action (like accepting a quest) would be done after reloading a save and before opening the questlog. (Thanks to TewiInaba for the report)
  • Fixed a minor bug in the "Complete Quest" command
  • Changed the Icon selection parameters from a number to an icon selector
  • Added an external script call to check quest completion, see help

v1.6.1: Pimp that Title!​


Following the suggestion of Apoplectix I've made a small change to the Title of the QuesTLog!

Now you can use the RMMZ codes in the title, such as icons, colours, actors' name, gold, etc...

Yeah, you are probably going for the first two examples but if you feel creative you can use the whole RMMZ codes range!



VERSION 1.6.1:

  • Changed the Quest Title from DrawText to DrawTextEx. The text will still be centered but now you can add the standard RMMZ commands such as \I for Icons or \C for colours
Big News!

QuestLog plugin goes 2.0!

The code has been rebuilt but kept compatible with the previous versions!

The new version comes with translation packs, language detection, extended logs and HUD tracking!

VERSION 2.0:

  • Code rebuilt and updated but kept compatible with older versions
  • Updated the Discord invite link in the help file that was invalid, embarassing!
  • Added translations managed via WD_Core
  • Dynamic Resize has been moved to WD_Core, plus a new text management option has been added: AutoWrap. Just write your sentence (supports RMMZ text codes) and the code will automatically wrap the text in the designed area. No need to manually use the \n code (but you still can if you want to force a new line). If the text is still too big, the AutoWrap will try to shrink the font size to the minimum required.
  • Added the optional rule to display an expanded data log if the player clicks on the quest
  • Added the optional rule to activate a small Quest List on the map scene (either managed by the player or by the dev)
  • Added Quest Categories to group quests together
N.B: Quest plugin v2 needs Core 1.1
I'm excited for this plugin! Thanks so much for it and all the updates. This is something I've been looking for and here it is.
I'm excited for this plugin! Thanks so much for it and all the updates. This is something I've been looking for and here it is.

You're welcome, hope it useful to your project
QuestLog VERY IMPORTANT hotfix is here!

Seems like I cannot release a major version of questlog without forgetting to add all the necessary saves!

The plugin in version 2.0 wasn't actually saving the quests unless followed by some description changes, on top of that I noticed the tracking system wasn't actually loading all the needed data (and was not saving the actual tracked quests) when a game was reloaded

So this hotfix is entirely dedicated to saving and loading your game!

P.s: Sadly the "wrong" saved files cannot be recovered, those won't correctly load the quests, this fix works with new saves

VERSION 2.0.1:

  • The plugin wasn't saving correctly the quests! Thanks to kricu for the report, now it's all correct. NOTE: Old savefiles won't work, sadly, only work with new saves.
  • The tracking system now correctly saves the tracking preference and loads them when the player loads a savefile!
Forgot to announce the last update, so here is the two together!

VERSION 2.0.2:
  • Corrected a typo that would block the "Edit Quest Descriptor" command, thanks to tinribs26 for the report!
  • Also correct a misplaced code line that would crash the above command when launched
VERSION 2.1:
  • Fixed a nasty memory bug that would "remember" the quests when exiting an existing game and starting a new one without exiting the executable
  • Added a command to check if a quest already exist (useful if you want to add a quest from different sources)
I never deployed an Android game so I was unaware that the QuestLog wasn't working that system, thanks to Stevynn'd report I could track and find the bug that prevented the display of the quests on those deployements.

While I was at it, I found a couple of bugs that gone under the radar in the previous versions, one was relative to the "Manual" text settings, probably one of the less used, and the other was about the height calculation of the details text area!



VERSION 2.2:
  • Changed the quest window refresh method to adapt it to Android deployments (Thanks to Stevynn for the report)
  • Fixed incorrect font variable used in manual text mode
  • Fixed description text drawing area calculation

Original thread: https://forums.rpgmakerweb.com/threads/a-simple-questlog.159257/