MZ [CGMZ] Encyclopedia and Bestiary

The issue comes everytime I click on an entry. I disabled all other plugins no change...




The only solution is to have at least one entry for each category.

Now the font.color switches unwanted from white to green.

Solution: window.png: Change the last fontcolor in the first row to your prefered fontcolor


Besides that it is a wonderful plugin, thank you for your brilliant work.

☺️
@ViolaGraefenhan Custom categories do assume you will have at least one entry for them, because a category with no entry would not really make much sense for things like the total window.

The plugin allows you to choose the "label" font color via the Label Color parameter under Text Options, you shouldn't need to edit the windowskin.
@ViolaGraefenhan Custom categories do assume you will have at least one entry for them, because a category with no entry would not really make much sense for things like the total window.

The plugin allows you to choose the "label" font color via the Label Color parameter under Text Options, you shouldn't need to edit the windowskin.

Label font color is always correct.

Just the description text switches to the last fontcolor in the row, while clicking through the entrys.
I don't put textcodes in it.

Thanks for your help.

graytext.png
@ViolaGraefenhan Oh ok I see now, that seems to be happening because your description is that color and you don't have a text code to reset the font color after the end of the description, so the color is staying in the next text it tries to draw. I can add in a reset for font settings when drawing a new item. In the meantime, you can manually add a \c[0] (or whatever color is your default color) to the end of your custom entry's description.
@ViolaGraefenhan Oh ok I see now, that seems to be happening because your description is that color and you don't have a text code to reset the font color after the end of the description, so the color is staying in the next text it tries to draw. I can add in a reset for font settings when drawing a new item. In the meantime, you can manually add a \c[0] (or whatever color is your default color) to the end of your custom entry's description.

Thank you so much for your advice. It works perfect now. :LZSkiss:
I don't know if this is me just being blind and I can't find the option. But I think this plugin would benefit from an option that reverses Encyclopedia entries to Opt-in instead of Opt-out, or at least ignores database entries with no name, or those that start with "-----"
Hi all, this plugin has been updated to v1.7.1 today 👋

This version fixes some bugs that I had been made aware of recently. One bug was that the encyclopedia states could be incorrect if also using the new Actors category and there were more actors than states. Another bug was that the display window would not reset font settings for a new entry, which could potentially lead to the color from an entry's description carrying over to the text in the next entry. Finally, with Touch UI, a user could mouse over a category but not select it and then scroll the list window, and then mouse over another category and the list window's scroll would stay. This has been fixed to now always scroll to the top when changing categories.

Version 1.7.1:
- Bugfix for incorrect states being included in some cases
- Bugfix for font not resetting when drawing a new entry
- Bugfix for certain cases where touch UI could cause list window scroll to be incorrect

@Nerine Thank you for the suggestion, it is not too hard of an option to add so I can include it in the next feature update.

In the meantime, if using v1.7.1 and you feel comfortable editing js code, you can make it "opt in" yourself by changing line number 4960 from this:
JavaScript:
if(gameData[i] && gameData[i].meta && gameData[i].meta.cgmzencyclopediahide) continue;

to this:
JavaScript:
if(gameData[i] && gameData[i].meta && !gameData[i].meta.cgmzencyclopediahide) continue;

Note the ! added onto the last condition in the if statement. Then you will need to include the notetag <cgmzencyclopediahide> on every entry you want to be included in the encyclopedia.
littlebug.png


Hi CasperGaming...I found a liitle bug in the script...
May You help me once more, please?
@ViolaGraefenhan Hi yes it is something I missed 😔
It happens when Center Icons is set to true which was a new option added for 1.7.0. You can just change dw / 2 to pw / 2
@ViolaGraefenhan Hi yes it is something I missed 😔
It happens when Center Icons is set to true which was a new option added for 1.7.0. You can just change dw / 2 to pw / 2
thanks again :LZSkiss:
It would be nice to put an custom image into the background.
Or is there a textcode to fit the scetches into the textlines, to save space and time to scroll?

triacontanes script ExtraImage enables just one background image in all windows in one scene...
@ViolaGraefenhan Like the scene background, instead of the blurred map in the background you want your own custom image? I am not quite sure what you mean by only one image, do you want to show multiple images depending on some condition or something?
@ViolaGraefenhan Like the scene background, instead of the blurred map in the background you want your own custom image? I am not quite sure what you mean by only one image, do you want to show multiple images depending on some condition or something?
I want to show three images on the same heigth as the three texts they belong to.
I think it should be easier to show an image in the background and add the text around them in the foreground. Like mulltiple layers.
@ViolaGraefenhan Hi, sorry but could you maybe make like a mock up in paint or something of what you want? I am having a little trouble visualizing it.
before.png
after.png


First layer is window(skin), second layer would be the images collected in one custom made backgroundimage and the last layer is text.

The German expression in WORD is "dynamischer Seitenumlauf"

exampleword.png
the correct therm is "cssFloat" in javascript. CSS uses Float for floating textes
@ViolaGraefenhan Ohhh ok I see what you mean, I think it will be quite a big change so probably not something that will be added quickly but I will add it to my to-do list so I don't forget about it. Thank you for the suggestion.

Edit: I did some experimenting and, for now at least, I think you could achieve the desired effect via images and typing your description text into the image itself.

For example, using the image:
enc_test1.png

I was able to get the description part to look like this:
enc_example.png

I will still try to add your suggestion into a future update, but for now I think this might work for what you want to do?
This is a great idea. I will search for a template in shape of an empty bookpage and try to customize it.
edit: a testpage

testseite.png
obereseite.png


I`ll change the shape of the bookpage, to an aged book with leatherbinding

untereseite.png
Hi all, this plugin has been updated today to fix the crash that occurred while using the Center Icons option with the new Actor category.

Version 1.7.2
- Bugfix for crash when drawing actors with center icons option on

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