CGMV Encyclopedia w/ Bestiary

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
187
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@41728280 the issue is that enemies in the data file generated by the editor (enemies.json) have their image stored in a variable called battlerName which is attached to the enemy object when the code loads this data file. From what I can tell Yanfly sets this variable to an empty string when the plugin loads (which is why the encyclopedia cannot find the image file), and then uses a different variable with a different name which appears to be an array to access the enemy image (probably for multiple frames or something?). I will look in to just loading the first element in the array if his plugin is detected but I am not entirely sure if that will work as I am not sure what he all stores in that array or if I can always count on the image being the first element in the array. I do not use anyone else's plugins other than my own so I am not that familiar with all the functionality this plugin has, and when people change default behavior like this it can be tricky to look into their code and understand what is going on without spending some time reading through it. That is why it might take some time to ensure compatibility with this plugin.
 

41728280

Veteran
Veteran
Joined
May 31, 2020
Messages
239
Reaction score
71
First Language
Chinese
Primarily Uses
RMMV
@casper667
I guess this array stores the index of the SV sprite graph?
If you load the first element of the array, will it be the first grid of the sprite? As long as it can be displayed, lol:LZSrasp:
Maybe, directly quote his function?
Of course, casper, we are willing to wait for you to complete it:thumbsup-right:
 

Suikogen

知識は力なり
Veteran
Joined
Jul 4, 2019
Messages
63
Reaction score
17
First Language
English
Primarily Uses
RMMV
@casper667

This is an amazing plugin! Thank you.

I was wondering if you would be able to have it so that enemy drops in the encyclopedia could be hidden until you get the item from the enemy that you defeat in battle. There could be an option to have it on or off which would be great. The way it is now, drops for enemies show automatically when you go to the bestiary section of the encyclopedia after you win a battle against them. Thought it would be a cool idea to implement. :)

Edit: Thought of another idea that could be implemented: Having a defeated amount for an enemy that is shown in the enemy's bestiary entry.
 
Last edited:

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,583
Reaction score
878
First Language
Dutch
Primarily Uses
RMMV
@Suikogen that idea is indeed nice, specially, I have seen it only once or twice in
a different game, 1 of them I can call is Summon Night, Sword Story 1 and 2, only shown
when the item is given.

some monsters has:
items dropped:
1. ?????
2. ------
or
1. ??????
2. ??????

the ----- means, no item drop, all items have ????, so if default has 3 items
and you fill in 2, it should show:
1. ?????
2. ?????
3. -----

it is a unique feature which is possible, but also probably, not easy to do :)
 
Last edited:

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
187
Reaction score
281
First Language
English
Primarily Uses
RMMZ
The items being undiscovered is a neat idea, but I am not sure when I would be able to implement it as it is not trivial though not too difficult either. I will add it to my to-do list.
 

Espilonarge

Veteran
Veteran
Joined
Apr 24, 2016
Messages
142
Reaction score
66
First Language
English
Primarily Uses
@casper667
I guess this array stores the index of the SV sprite graph?
If you load the first element of the array, will it be the first grid of the sprite? As long as it can be displayed, lol:LZSrasp:
Maybe, directly quote his function?
Of course, casper, we are willing to wait for you to complete it:thumbsup-right:
I just noticed this issue myself.

If I could make a suggestion to @casper667...

Perhaps you could add a notetag factor (since I know the plugin does use notetags) with something like <cgmvpicture:[img/foldername/imagename]> to load an image in case you don't want to use the databases default images? It would open a whole new book for using custom images for sketches (pun not intended) if you wanted to add/use artwork/sketches. This would also mean that even if you can't get sideview battlers to show in the Bestairy, you can at least grab an image from somewhere to get around the issue. :)
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
187
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@Espilonarge that is a good idea, and probably a lot easier than making compatibility patches for any plugin that changes how the game displays the enemy. It should work fine with default sideview/front view already though.
 

Deagron

Villager
Member
Joined
Aug 14, 2020
Messages
20
Reaction score
3
First Language
French
Primarily Uses
RMMV
Hello @casper667 !
Your encyclopedia plugin is very good for my project, I could even add tutorial section in case the players want to check them during their playthrough :)
I was wondering if I could use the CGMVEncyclopedia Scene command for a specific page for a scan skill (dunno if the question have already been asked though), to have the infos of the enemy from the bestiary to show during battle.
Is it possible with the plugin's current state or would require more efforts ? I'd understand if it is too complicated :)
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
187
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@Deagron If I understand this right, you want to call the encyclopedia scene but have it only display 1 entry? That would require significant work if so, and I don't know when I would be able to get to that. However, it would be a cool feature. I will add it to my to do list. Would it just show the info window, or would you also expect it to show the completion, title, and select windows?
 

Deagron

Villager
Member
Joined
Aug 14, 2020
Messages
20
Reaction score
3
First Language
French
Primarily Uses
RMMV
@Deagron If I understand this right, you want to call the encyclopedia scene but have it only display 1 entry?
Would it just show the info window, or would you also expect it to show the completion, title, and select windows?
What I'd like is simply the enemy infos for the player to see their weaknesses so the description window :)
The Libra skill from Final Fantasy basically :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Released a spider. Looked deadly.
I’ll just assume it was deadly. Bravery, people.

The hero compassionately saves the frightful beast of unknown persuasions. Did it feel gratitude or fear? Nevertheless, the hero sees their good deed in the darkest shadows of the night, wondering if each would be the one to repay them with an unknown demise.
Success, my character has harnessed the power of the particle, and now she leaves a speed streak.:kaopride:



I'm breaking up with QSprite. :kaolivid:
Ami
--- Spoiled Food ---

M.Knight: Oh,no! the Bread has been Mold!
Chef: It's not Mold,it's in Fermentation.
M.Knight: Are you sure?
Chef: Y'know Cheese? It's safe to eat
(Chef eat the Moldy Bread,after that he take into the Hospital with Green Face)
Suddenly I remember the days when I create something just by pure wild imagination. I wasn't thinking about concept, structure, or anything else. Just create (even if it's unfinished in the end). Somehow I kinda want to have that wild imagination again. :D
Google "The Great Stink"
Enjoy.

Forum statistics

Threads
104,335
Messages
1,005,642
Members
135,849
Latest member
drtreaven
Top