MZ [CGMZ] Encyclopedia and Bestiary

@JPlaysan Hi, in the text parameters for those terms, add a space on the end.

For example:
total-param.png

Will show this in game:
total-game.png
Man, that's awesome.

Totally gonna implement this. First I need monsters though.

EDIT: I used your Pre-Title Plugin too. Works great!
Nice plugin, but I can't use it. I downloaded the latest versions, installed them in the game folder, but the Encyclopedia menu simply does not appear in the game. It's strange that everything worked in my old project.
Nice plugin, but I can't use it. I downloaded the latest versions, installed them in the game folder, but the Encyclopedia menu simply does not appear in the game. It's strange that everything worked in my old project.
Did you add the menu command plugin?
Read the download section carefully on the first post.
Hi, none of my plugins add themselves to the main menu, I leave that functionality to other plugins that allow you to add whatever you want to the main menu (or you can use my [CGMZ] Menu Command Window). There are instructions in the documentation, and the demo also shows how to add the encyclopedia to the main menu. If using my command window plugin, you would do something like this:
1700061261764.png
Hi, none of my plugins add themselves to the main menu, I leave that functionality to other plugins that allow you to add whatever you want to the main menu (or you can use my [CGMZ] Menu Command Window). There are instructions in the documentation, and the demo also shows how to add the encyclopedia to the main menu. If using my command window plugin, you would do something like this: View attachment 283907
Thank you very much! Apparently I pasted a line of code on the wrong line.
I have been trying to move the windows around a bit to make a different layout. Is it possible to align the text in the Category Window to the left? See below on the image. I didn't manage to figure this one out. Thanks!

1702650282884.png
@Arxur Hi, it looks like I overlooked this window when adding the options to center the options in the other selectable windows. You can edit the js at the function CGMZ_Window_EncyclopediaCategory.prototype.drawItem, line 6628 to be
Code:
this.CGMZ_drawTextLine(this.commandName(index), rect.x, rect.y, rect.width, "left");

I will also make this an option in the plugin parameters in a future update. Thanks for bringing this up 😅
Perfect! I wasn't sure which line to modify, but with this its perfect. Thanks! 🙂
One more question if you don't mind. :elswt: I would like to display the icon of the skill in the list window after the order number. Is this an easy modification in the code to do? I changed the following line, but this only displays the number of the icon:

Code:
case 'skills': return $dataSkills[id].iconIndex + $dataSkills[id].name;

1702988424437.png


Thanks in advance. 🙂
@Arxur Hi, you would probably want it to be
Code:
case 'skills': return '\\i[' + $dataSkills[id].iconIndex + ']' + $dataSkills[id].name;
Worked like a charm! Thank you!
version-1100.png

Hi all, this plugin received an update today! 👋

This update added subcategories! You can now opt to split your main categories up into various subcategories, such as separating enemies in the bestiary into normal and boss enemies. You could also use this to separate your weapons into axes, swords, maces, etc. I am sure you can think of how this will apply to your game. Subcategories are optional, and you can set up subcategories for one category while not having any set up for other categories. Here is a preview of how it can look:
l0gsXa7.gif

This update also made custom entries better. You can now have a custom entry show a main category data. You could use this to create a custom category for swords, and add all the sword weapons to your game to custom entries in this custom category. This would be a way of separating things into subcategories without using the new subcategories feature, but I am sure you can also think of other uses for this. Showing main category data as a custom entry will override normal data lines for custom entries. This is an image of how it will look:
cgmz-encyclopedia-110.png

Custom entries which are not displaying main category data can now have custom lines of data displayed. You can have different custom lines for each entry, in case you want your locations to have population data while your NPCs to have height data. If one custom entry has more custom lines than another, the plugin is smart enough to skip over custom lines when no more exist for the entry. This is a preview of how it looks, with Stats as a custom header and Population and Elevation as custom info lines:
cgmz-encyclopedia-110-2.png

Lastly, this update added an option to change the alignment of text in the category window. This was just something I missed earlier when adding alignment options for the other windows. To go along with subcategories, various options around them were added, such as the option to show an All category, change the subcategory alignment, etc.

Version 1.10.0
  • Added subcategories
  • Custom entries can now display main-category object data
  • Added custom headers and info lines to custom entries
  • Added option to change category window alignment
My game doesn't use the TP system. Is there a way for the skill section to show MP costs without displaying "TP Cost: 0"?
@Lillith_the_Creative Hi, yes but you will need to modify the .js file to do so. You can paste this into the bottom (don't overwrite any existing code) and it should work:
Code:
CGMZ_Window_EncyclopediaDisplay.prototype.drawSkillCosts = function(mpCost, tpCost) {
    const x = this.adjustXForIconDisplacement();
    const width = this.adjustWidthForIconDisplacement();
    const descriptor1 = $cgmzTemp.numberSplit(mpCost);
    this.drawEncyclopediaStandardLine(CGMZ.Encyclopedia.MPCostText, descriptor1, x, this._neededHeight, width);
};
I can add this as an option in a future update to make it easier to do.
Is it possible to replace a item icon with a high res one? or put a picture in the end?
I'm using visustella visual inventory and didn't wanted the item info icon to be a blurry 32x32
@FinnGuy Hi, unfortunately it is not possible to do that, you could remove the icon entirely if you don't want it to display blurry. You could also change the Large Icon Multiplier parameter value to something closer to 1, so it isn't scaling it up so large which causes the blurriness. I can add showing a custom image in a future version of the plugin, thanks for the suggestion.
@FinnGuy Hi, unfortunately it is not possible to do that, you could remove the icon entirely if you don't want it to display blurry. You could also change the Large Icon Multiplier parameter value to something closer to 1, so it isn't scaling it up so large which causes the blurriness. I can add showing a custom image in a future version of the plugin, thanks for the suggestion.
Ohh, I see, I will keep it 1x for now. And a custom image would be great, thank you very much for considering.
Also, if you are going to do a note for it, I'd recommend to make it like "<Picture: Apple>" as many(?) plugins already uses this and you would be able to swap all images at once.
Hey, how can i use different pictures in beastiary and in battle? I tried going thorugh the plugin and maybe try and change the folder it takes pictures from. But i couldnt find it, dont know if it even works that way ahhah
@Kososklitikaris Hi, this plugin uses the picture from the database for the enemy. It would not be an easy thing to change yourself which picture is used. Do you want to use some other image than the database enemy sprite?

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