CGMZ Encyclopedia and Bestiary

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
CGMZ Encyclopedia and Bestiary
By: Casper Gaming
Last Update: 10/14/2020
Latest Version: 1.1.2


Introduction
This plugin creates a powerful encyclopedia for your game, with default categories including bestiary, items, armors, weapons, skills, and states. It can also handle as many custom categories as desired with their own custom entries.

Features
  • Add a bestiary to your game
  • Add an encyclopedia of items, weapons, armors, states, and skills to your game
  • Add custom categories with custom entries to your encyclopedia
  • Many configuration and customization options available
Screenshots
A bestiary entry

All entries can scroll if they have more info than can display in the window, such as the bestiary sketch

An item entry

An armor entry

A weapon entry

A skill entry

A state entry

A custom entry

How to Use
Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Plugin
Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/encyclopedia/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/
To easily add this plugin to the menu, use my Menu Command Window: https://www.caspergaming.com/plugins/cgmz/menucommandwindow/

Credit & Terms
https://www.caspergaming.com/terms-of-use/

Version History
Version 1.0:
- Initial Release

Version 1.1.0:
- Added additional checks during battle to discover enemies

Version 1.1.1:
- Fixed totals window being too large in some cases
- Fixed list window items having no padding
- Fixed bug with the list window not scrolling up after cancel
 
Last edited:

GalacticGod

Veteran
Veteran
Joined
Jan 28, 2018
Messages
447
Reaction score
550
First Language
English
Primarily Uses
RMMV
What happens if you are using SV Battlers or Dragonbones as Enemy Battlers? Would they still show in the beast book as whatever image I am using as a placeholder for the enemy or no image at all be shown?
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@GalacticGod If you are using the built in side view, it will load the enemy image from the img/sv_enemies folder. If you are using the built in front view, it loads the enemy image from the img/enemies folder. It will load whatever image has been assigned to that enemy in the image property for the enemy in database. I am not sure how dragonbones or other custom enemies work but other than additional features not displaying (such as animation), it should still be able to load the enemy image you assign in the database.
 

Meike

||Telling Stories Through Games||
Veteran
Joined
Apr 25, 2015
Messages
107
Reaction score
171
First Language
English
Primarily Uses
RMMV
Love it~
 

GalacticGod

Veteran
Veteran
Joined
Jan 28, 2018
Messages
447
Reaction score
550
First Language
English
Primarily Uses
RMMV
Just so everyone who is interested knows; this plugin does work alongside Dragonbones. I think this is the first "Beast Book" type of plugin I found that works correctly. Awesome job!
 

Knightmare

Knight of the Night
Veteran
Joined
Mar 14, 2012
Messages
1,207
Reaction score
285
First Language
English
Primarily Uses
RMMV
Awesome plugin. One suggestion if you don't mind. I'm using VisuStella Battle Core and in it you are allowed to make "dummy" enemies that swap other enemies in it's place. I tend to make my games where all the battles have random enemies selected from one dummy.

I noticed when I playtest that I will go through several battles with a variety of enemies but when I check the bestiary all that gets exposed are the "dummy" placeholder enemies and all the other enemies that I encountered remain undiscoverable even though the plugin swapped them out.

My suggestion is, I'm not a coder, but I am somewhat adept at modifying and editing code slightly for my own personal use but I don't know where to edit to make it to where it pulls and shows enemies that are actually encountered in battle and not by enemy ID in the bestiary.

Any help would be appreciated. I've done the usual things to see if it works other ways and it doesn't.
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@Knightmare Right now it just discovers the enemy when the battle start is called. I can add additional checks throughout the battle loop to check for new discoveries, that should be enough to discover enemies when/if they appear. I should be able to have an update out for that this weekend.

In the mean time, if you have the enemy ID of what is being swapped in, you can manually discover enemies with the plugin command for discovering enemies in an event, or if you have access to the JS code that causes enemies to appear you can call
JavaScript:
$cgmz.encyclopediaDiscovery("bestiary", id);
where id would be the id of the enemy.
 

Knightmare

Knight of the Night
Veteran
Joined
Mar 14, 2012
Messages
1,207
Reaction score
285
First Language
English
Primarily Uses
RMMV
@Knightmare Right now it just discovers the enemy when the battle start is called. I can add additional checks throughout the battle loop to check for new discoveries, that should be enough to discover enemies when/if they appear. I should be able to have an update out for that this weekend.

In the mean time, if you have the enemy ID of what is being swapped in, you can manually discover enemies with the plugin command for discovering enemies in an event, or if you have access to the JS code that causes enemies to appear you can call
JavaScript:
$cgmz.encyclopediaDiscovery("bestiary", id);
where id would be the id of the enemy.
Awesome, thank you! I do random battles so the plugin command thing won't work, I'll patiently await your update. I think I'll throw a little "lettuce" your way if you're on that...you know....that "site." wink wink.
 
Last edited:

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@Knightmare I have updated this to version 1.1.0 which should solve the problem. It now discovers enemies that have appeared at the start of every turn, and it also discovers them whenever they attack or are attacked.

Version 1.1.0
- Added additional checks during battle to discover enemies
 

Knightmare

Knight of the Night
Veteran
Joined
Mar 14, 2012
Messages
1,207
Reaction score
285
First Language
English
Primarily Uses
RMMV
Thank you very much for doing this! I also just made you a salad with some "lettuce" over there wink wink.
 

CrocPirate

Villager
Member
Joined
Sep 1, 2020
Messages
11
Reaction score
4
First Language
English
Primarily Uses
RMMZ
Thank you for making this plugin. But I was wondering if there will be a way for the Encyclopedia entries to recognize message code, mainly \i[x] for icons and \c[x] to change the color of the text?
 

Attachments

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@CrocPirate I know it is a commonly requested feature, but it is also not so easy to do with how I draw the custom description lines so I am not sure when I will have time to get to this. I would also want this to be a feature for all of my plugins instead of just this one. Eventually I will be adding this feature, just not sure when right now.
 

cincave

Warper
Member
Joined
Sep 28, 2020
Messages
2
Reaction score
1
First Language
C
Primarily Uses
RMMZ
Hey @casper667. Thanks for this. Quick question: can we add other fields for the custom entries?

Like additional images and more
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@cincave Not right now, I could maybe add it though. What would you all want in the other fields?
 

cincave

Warper
Member
Joined
Sep 28, 2020
Messages
2
Reaction score
1
First Language
C
Primarily Uses
RMMZ
@casper667 Thanks for responding, dude. I suppose my request is if you could rewrite the code for custom entries to accept more fields that the user can designate. If I wanted an Atlas, I want the custom entry to allow an "Established" field, "Area" field and "Product Import and Export" etc.

I guess when you prompt for "category" for a custom entry, it should also ask for the custom fields we wanna add for that particular category entry.

Also, the option to add more images would be great. 2-3 is the perfect amount.
 

Zaven

Villager
Member
Joined
Aug 22, 2020
Messages
28
Reaction score
12
First Language
German
Primarily Uses
RMMZ
Thank you for another great plugin. I just noticed that when changing from a category with a lot of entries to one with less, the list is not displayed (does not scroll up). When the list is activated, only the first entry is displayed, and the list appears again when you scroll upwards.

Encyclopedia_1.pngEncyclopedia_2.png
 

poorrabbit

Veteran
Veteran
Joined
Mar 15, 2014
Messages
35
Reaction score
13
First Language
english
Primarily Uses
I am going to try this out later today in any case, but I have a question:

My enemies stats are adjusted in every battle to match character level and to have modifiers such as "strong" (more HP/ATK). Does this plugin grab the stats from the actual enemy being fought or does it grab enemy stats from the DB?

I am guessing the later...but hopeful on the former...
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
194
Reaction score
281
First Language
English
Primarily Uses
RMMZ
@poorrabbit It loads all data from the database, so if your enemies scale (or anything else scales) it will show the base from the db.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Yesterday I made my first step towards eating more healthily.
I saw candy on discount and did not buy it.
"They yearn for what they fear for."
I always told my DA fans how much I hate slot machines. They're fine in games as a risk-and-reward system. But when you're spending REAL MONEY in a Vegas casino to try and hit the jackpot (which very, very few people will), it can really hurt your budget. Gambling is a bad habit, and I don't like wasting my money on a slim chance. Go to Vegas for the experience, not the jackpot.
Took the kids to a corn maze. They gave us a map and had lights at certain points in the maze. Not overwhelming... or underwhelming... just... whelming.
Okay, vacuuming fruit flies out of the air is surprisingly effective.

Forum statistics

Threads
104,393
Messages
1,006,073
Members
135,927
Latest member
ecelebrithytrend
Top