CGMV Encyclopedia w/ Bestiary

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
231
Reaction score
319
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
72
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
66
Reaction score
27
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,895
Reaction score
1,029
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
231
Reaction score
319
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
67
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
231
Reaction score
319
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
25
Reaction score
5
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
231
Reaction score
319
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
25
Reaction score
5
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 :)
 

Essention

Essential
Member
Joined
Oct 6, 2020
Messages
15
Reaction score
20
First Language
English
Primarily Uses
RMMV
Hello! Is there any possibility of a plugin command for completely filling every entry upon use? It would be very useful for game testing and debug purposes.
Having to have a command for every single entry is not ideal for testing things out...
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
@Essention you can make a work around to show all entries in 1 sweet swoop.
but it require a scriptcall in order to make it work, while it needs SYMBOL + INDEX.

so you can do for example:
let symbol = [array of symbols you use] (bestiary, weapons, bunnies, locations, etc)
let index = [array of index]
+ something else on here as to call the function(symbol, index)

there are another methode to make it easier or better, but it still a workaround.
but plugin command: CGMV_Enclopedia discover all would be better to get
everything, also usefull if you can a specific item to discover all items
or all monsters etc.
 

Killerslash

Veteran
Veteran
Joined
Mar 31, 2017
Messages
65
Reaction score
12
First Language
Arabic
Primarily Uses
RMMV
Do you know what command symbol name?
Because I am using Yanfly Engine "Main Menu Manager".
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
@Killerslash the symbol to YEP_MainMenuManager can be anyhting.

Name: "Monsterbook"
Symbol: monsterbook
etc

just name the symbol as the "Name" you pick, but in lowercase and without qouotes.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
can you send a pictuer on how you set up the YEP_MainMenuManager?
because you have a typo or something missing in there.

because it works fine on my end.
 

Killerslash

Veteran
Veteran
Joined
Mar 31, 2017
Messages
65
Reaction score
12
First Language
Arabic
Primarily Uses
RMMV
Well, about MainMenuManager, I didn't use it, I used SRD's menu Kingdom Hearts Plugin.
And I used moghunter abs.
Sorry about that.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
than try this (while its the command name to push the scene by plugin command:

CGMVEncyclopedia

While Command name and Symbol are mostly the same, I think that one should work.
if not, than @casper667 might know.

I only heard of the plugin, but dont know exacly what it means by symbol.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,585
Latest member
Reversinator
Top