MZ [CGMZ] Encyclopedia and Bestiary

@casper667 Yes, i wanted the images in beastiary to be like hand drawn sketches. And in battle normal default pictures. Thank you for the reply 😀
version-1110.png

Hi all, this plugin was updated to version 1.11.0! 👋

This update adds the ability to enter "buy mode" in the encyclopedia, where players can purchase entries for gold. Numerous supporting options for this new feature were added as well, such as window customizations for the new purchase window, as well as extra info parameters where you can enter prices for your entries. Here is a gif of how the process looks like:

2B5Z7CM.gif

Along with the custom info parameter allowing you to set a price for your entries, you can now also choose alternate images for your enemies, or alternate icon images for your items, weapons, and any other category that previously showed an upscaled icon. This should allow you to use higher quality images of your icons if you have any instead of just blowing up the default icon to a larger size.

This update also added some smaller options and quality of life features as well. You can now choose to sort the encyclopedia by discover date. There is a new plugin command to discover entries by a range, which works similar to how setting variables and switches by range works. There is also the option to display TP costs in skills, in case your game does not use TP or you do not want to show the TP cost. This update will cause the plugin to now automatically discover actors in the starting party.

A bug was also fixed, which is that this plugin could have rarely crashed in the case of switching between various categories and the list window rapidly, especially when there were lots of images being loaded for the first time in an entry. This crash should no longer occur.

Version 1.11.0
  • Added a way to purchase encyclopedia entries for gold + numerous options related to this new functionality
  • Added option to use custom images for enemies
  • Added option to use custom icon image for item/wep/armor/skill/state
  • Added plugin command to discover entries by a range
  • Added option to sort encyclopedia entries by discover date
  • Added option to display TP costs in skills
  • Fix potential crash when changing categories really quickly
  • Now automatically discovers actors in starting party
  • Converted deprecated cgmz temp calls to cgmz utils calls
Hey, this plugin is super cool, and I'm trying to use it with your menu plugin to have the encyclopedia accessible in the menu, but every time I try to start up the game with the encyclopedia command set up in the menu plugin parameters, it gives me the TypeError "Cannot read property 'constructor' of null" what's up with that???
@Derpy333 Hi, can you press F8 to open the dev tools console, switch to the console tab, and show the full error trace shown there?
Sorry if this has been asked before, or if this is just a base feature of RPG Maker MZ that I'm not finding... Your plugins all have an option for disabling the space at the top where the touch UI would be, but I can't seem to figure out how to actually disable the touch UI itself in a way that your plugins recognize. Is there something I'm missing? Is it a toggle in RPG Maker MZ's editor somewhere I'm missing? I feel really dumb asking this, cause it feels like it should be obvious, yet I'm somehow missing it.
EDIT: It does seem to be a base feature in RPG Maker MZ. I can't figure out a good way to set it to disabled automatically, but I figured out I can use the code "ConfigMananger.touchUI = false" to disable it. Works well enough, since I'm running an event when you start a new game anyway.
@SureenInk Hi, it looks like you have figured it out, but my plugins will only hide that space when touch ui is disabled, otherwise the buttons would overlap with the windows.

To enable/disable Touch UI or not by default is a setting in the options menu so the player can enable it or disable it during the game. If they have it disabled and you have set the option to disable that space at the top, then the space will not be there. If the player has touch UI enabled, then the space will still be there no matter what setting you have on that option.
version-1120.png

Hi all, today this plugin was updated to version 1.12.0! 👋

This update adds custom header and info lines to all of the built-in categories. These work similar to the custom headers and info already available to custom entries in the encyclopedia. The custom info and headers can be set up through the extra settings parameters, and positioned in the window via the display info parameters.

This update also adds some additional possibilities for actors, such as drawing the walk or battler sprites. These are animated, and for the battler sprite you can choose the pose the sprite does. See gif preview below with a victory pose:
cgmz-encyclopedia-1120.gif

This update also added some smaller features. You can now open the encyclopedia via an item. You can set the window background opacity, tone, windowskin, and padding for every window in the scene. You can center actor faces separately from icons in other categories. All text should now support text codes.

Some bugs were also fixed. The encyclopedia will now not attempt to draw the actor nickname if the actor has no nickname. The encyclopedia will also wait for actor faces to load before trying to draw them. This plugin now works with [CGMZ] Scene Backgrounds, though it is still recommended to use this plugin to manage the backgrounds for the encyclopedia scene as it allows for different images for each category. Finally, some unused parameters were removed.

Version 1.12.0
  • Added custom headers and info for all default categories
  • Added option to draw walk, battle sprite for actors
  • Added option to open encyclopedia by using an item
  • Added options for windowskin, padding, back opacity, tone to all windows
  • Added Center Face as its own option
  • Fixed bug with actor face image not always being drawn
  • Fixed bug with trying to draw blank actor nickname
  • All text should now support text codes
  • Removed List Window Text Code option
  • Removed some unused Text params leftover from old versions
  • Compatibility for [CGMZ] Scene Backgrounds
I don't suppose there's a way to set up the "Discover Custom" parameter to use the names of the things I want to unlock as opposed to the IDs? It's rather difficult to remember that "ID: 1 of 'characters' is Caitlin, despite her being the 11th custom ID." Like, I have 4 different custom sections: Main Characters, Side Characters, Locations, and Lore Books... and they're all in the one "Customs" section... So I have like... ID 1 of "books" is actually ID number 55 in the list, but I still have to remember it's ID 1 of the "books" symbol to discover it... Since we're having to set up both a name and a display name, is there a way to make it so I can just input the ID "magTuired1" with the "books" symbol?

This would help a lot, cause sometimes I move stuff around even in the customs section, and having to go back and find every instance of "ID 1 of books" to change it to "ID 3 of books" is really difficult...

Another quick note: We can change the description and sketch via plugin commands. Could we get a way to change the display name? There's a few characters that I want to be able to add who would use a name like "???" at first, but then change later when you learn their names, and I can't see a way to do that currently.
@SureenInk Hi, thanks for the suggestions, I can add those to a future update.
version-1130.png

Hi all, today this plugin was updated to version 1.13.0! 👋

This version adds the encyclopedia windows to the battle scene directly, allowing you to create battle commands that open up the encyclopedia without needing to change scenes as changing scenes away from the battle scene can cause weird behavior issues. Please note that to use this feature, you will need a secondary plugin that allows you to add your own custom commands in the battle windows, such as [CGMZ] Battle Command Windows. See below gif for the battle encyclopedia in action:
Q55gr7z.gif

This update also added a custom images parameter for each of the default categories. You can have as many custom images as you want, and display them where you want by adding a Custom Image line to the display info parameter for that category type. A custom space parameter was also added so you can add a custom amount of empty vertical space between certain lines of information in the display window.

This update added a few integrations. An integration with [CGMZ] Extra Stats to allow you to display how many enemies the player has defeated within the enemy's bestiary entry. To use this, add Kill Count to the Bestiary Display Info parameter and then set up the Kill Count Text parameter under Integration Options. An integration was also added to use [CGMZ] Scene Backgrounds for the scene background image. You can set a different background up for each category, if none is set it will revert to the default blurry map.

This update added an option to disable selecting the list window item. Previously, you would select a list window item to manually scroll the display window using the controller or arrow keys. However, this is no longer necessary since this window can be scrolled at all times by the controller or with the mouse. It led to confusing ux that can now be disabled.

Some bugs were also fixed. The encyclopedia display window should now work better when using text codes to change font size in the various lines it can display. A bug was fixed that could cause the scrollable height to be slightly off if you had set a custom padding value.

Version 1.13.0
  • Added encyclopedia to battle scene
  • Added custom image list property for default categories
  • Added integration with [CGMZ] Extra Stats for bestiary kill count
  • Added a custom space amount option for blank space in display window
  • Added option to prevent selecting list items
  • Added [CGMZ] Scene Backgrounds integration
  • Font size changes should now work better with encyclopedia
  • Fixed bug with scroll being slightly off with custom padding
version-1131.png

Hi all, today this plugin was updated to version 1.13.1! 👋

This version adds the option to show enemy traits using the same traits display as for other entries. To set this up, add the traits and/or traits header display options to the bestiary window.

This update also fixes a bug with actor names not updating in the list window when the actor name changes during gameplay.

Version 1.13.1
  • Added bestiary trait display options
  • Fixed bug with actor name in list window not updating with name change
Is there a way to display an actor icon in a custom entry?
Is there a way to display an actor icon in a custom entry?
I am not quite sure what you mean by actor icon... If you mean you want to display an actor in a custom entry you can do so by setting the custom entry's parameters "Main Id" to your actor id and "Main Type" to actor
Hello, thank you for your hard work.
I'm not familiar with English, so please understand.

I want to exclude 'hidden items A and B' from the collected encyclopedia item list.
But I'm not sure what to do.
Hello, thank you for your hard work.
I'm not familiar with English, so please understand.

I want to exclude 'hidden items A and B' from the collected encyclopedia item list.
But I'm not sure what to do.

Item note:

<cgmzencyclopediahide>
Item note:

<cgmzencyclopediahide>

Thank you!!!
It's been solved!!

I have one more question.
Doesn't the hidden thing affect the collection rate?
Doesn't the hidden thing affect the collection rate?
if it's hidden, it does not affect it, only the visible ones are calculated.
if it's hidden, it does not affect it, only the visible ones are calculated.

Thank you for your kindness.

I posted the question first because I was trying to apply it to about 135 items.

After applying them all, it does not affect the collection rate.

Thank you!
Been having a ball with this plugin but I have a question about the bestiary portion. Is there any way to have the notes section show up in the bestiary for enemies? I'm hoping to include general strategies the enemy utilizes along with maybe some flavor text like how the items, weapons, skills, ect use in the description section in their own category.
Been having a ball with this plugin but I have a question about the bestiary portion. Is there any way to have the notes section show up in the bestiary for enemies? I'm hoping to include general strategies the enemy utilizes along with maybe some flavor text like how the items, weapons, skills, ect use in the description section in their own category.
Hi, you can use the same note tag <cgmzdesc:x> for enemies that you can for items, etc. Make sure your bestiary display info parameter is set to show the enemy notes.

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-encyclopedia-and-bestiary.126388/