CGMZ Encyclopedia and Bestiary

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
136
Reaction score
251
First Language
English
Primarily Uses
RMMZ
CGMZ Encyclopedia and Bestiary
By: Casper Gaming
Last Update: 9/5/2020
Latest Version: 1.1.0


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
 
Last edited:

GalacticGod

Veteran
Veteran
Joined
Jan 28, 2018
Messages
433
Reaction score
532
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
136
Reaction score
251
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
433
Reaction score
532
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,186
Reaction score
257
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
136
Reaction score
251
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,186
Reaction score
257
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
136
Reaction score
251
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,186
Reaction score
257
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
8
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
136
Reaction score
251
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
136
Reaction score
251
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.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I'm hoping to get a call October 1. They should be fully open by then.


With this, all demo dungeon graphics are done.
Eventually I need to make animations...send help.
OcRam demo project is now available at https://ocram-codes.net !!!
mzBaseBody.png added!

Ami
--- Mushroom ---

F.Knight: We runs out the food!
Hero: Anything could eat in this place?
F.Archer: It's a bunch of Mushroom over there. I wonder it's safe to eat.
F.Knight: No worries,we have to fill our inside no matter what it is.
(Hero & F.Knight Eat The Mushroom,After 10 Seconds They Collapse With Foam)

Forum statistics

Threads
103,447
Messages
999,372
Members
134,985
Latest member
REEEEEOOOOOOOOO
Top