MV VCM Enemy Info

So I am thinking of using this enemy info plugin, but when I put the element icon to show true so it is shown, the icon still doesn't show up next to the elements.
1691973361449.png

1691973377762.png

How do I fix this?
Plugin: https://vcm-plugins.itch.io/vcm-enemyinfo
Bump
Bumping because I really need some help on this.
do you use any other plugin that could interfer with it?
if you can adjust the width, try to make it bigger so it could show?

on closer check on the plugin, it does draw it correctly, however
there are 2 spots that wasn't set to show the icons.

so the plugin param is working, but the icons are never set in the code,
so it basicly draw the same thing when false, I think states has the same issue
as well if you use it, I can try to look tomorrow at it how to fix that, but I'm
not entirely sure how though as I dont use the plugin, so it would be harder
to check without a setup.

you can try this (untested) but element rates and affinity rates had
the same issue, but it also target the same.

see if this works out for you.
do you use any other plugin that could interfer with it?
if you can adjust the width, try to make it bigger so it could show?

on closer check on the plugin, it does draw it correctly, however
there are 2 spots that wasn't set to show the icons.

so the plugin param is working, but the icons are never set in the code,
so it basicly draw the same thing when false, I think states has the same issue
as well if you use it, I can try to look tomorrow at it how to fix that, but I'm
not entirely sure how though as I dont use the plugin, so it would be harder
to check without a setup.

you can try this (untested) but element rates and affinity rates had
the same issue, but it also target the same.

see if this works out for you.
So when I add the one you posted, it does this with the Element Rate icon:
1698266531464.png

How Do I fix this?
I might forgot something, so its not your fault though, I will check tomorrow,
I try to make it work on a test project to see if I can fix that for you, as I forgot
the enemy part to the element rates.

will try to fix that or someone that come across this to help you out.
turn to the other one for the time being.

Edit:
I added the plugin and fiddle around, if it set to true, it does work, but it is not
automatically drawed, you must SET them to make them draw.
ERIcons.png

if you do this (database => types) you can set the icons like above.
do that, and the icons shows up (I would recommand making the window wider (225-240)
with the X possition - 12-20, see what works and depending on the width.

that should work with the normal plugin download, as those arent set there.
I might forgot something, so its not your fault though, I will check tomorrow,
I try to make it work on a test project to see if I can fix that for you, as I forgot
the enemy part to the element rates.

will try to fix that or someone that come across this to help you out.
turn to the other one for the time being.

Edit:
I added the plugin and fiddle around, if it set to true, it does work, but it is not
automatically drawed, you must SET them to make them draw.
View attachment 281539
if you do this (database => types) you can set the icons like above.
do that, and the icons shows up (I would recommand making the window wider (225-240)
with the X possition - 12-20, see what works and depending on the width.

that should work with the normal plugin download, as those arent set there.
So if I put the regular plugin in, it should work if I add the icon thing in the database stuff, correct?
thats correct,

Elemens by default doesn't have any icons, so it can be used for both,
using the escape code \I[iconID] on false with show that code, but on
true, it shows the code.

Skill id's can have icons added, but while the icon and text are glued
together, a space between them to look cleaner = an easy fix, which
you can do with the elements too.

Affinity also draw the "Elements" name, so it Element's Rate is on,
I suggest Affinity to be true too or you see: \I[22]Element Name
if you use it, as they target the same thing.

While Element dont have Icons by default, you can set it there ^^
thats correct,

Elemens by default doesn't have any icons, so it can be used for both,
using the escape code \I[iconID] on false with show that code, but on
true, it shows the code.

Skill id's can have icons added, but while the icon and text are glued
together, a space between them to look cleaner = an easy fix, which
you can do with the elements too.

Affinity also draw the "Elements" name, so it Element's Rate is on,
I suggest Affinity to be true too or you see: \I[22]Element Name
if you use it, as they target the same thing.

While Element dont have Icons by default, you can set it there ^^
1698343529091.png

So it worked!! Now I have a few questions. How would I go at editing the text size inside the boxes. The text size edit in the plugin goes for the part outside. Also is there a way to hide or ??? out the info if the player has not yet defeated the enemy then the info comes up when the enemy is defeated after the end of the battle?
that would require some added functions and store them, and mostly its
added on encounter or on defeated (as I look something similair if you
escape, it wont count, but killing and escape still counts for it.

I use the info of the enemy in my bestiary info layout, but that isn't something
like the above with tons of information.

but it gave me some inside how to add them, but I didn't hide them, maybe
I will later on, but that is a bit out of my lead.

there are plugins some plugins that add it to the enemy bestiary and obtain
once they are gained or visible (same for weakness plugin or strong againt),
so I cannot really help you on that part on hiding stuff untill recovered.

I only hides the drops currectly untill found from the enemy, but no idea
how to do that on the elements, but I might have a way, but no idea how
to add it to that plugin though.

I wish you good luck on the project and that someone that is willing to alter
the plugin to hide the things untill killed/or discovered.
that would require some added functions and store them, and mostly its
added on encounter or on defeated (as I look something similair if you
escape, it wont count, but killing and escape still counts for it.

I use the info of the enemy in my bestiary info layout, but that isn't something
like the above with tons of information.

but it gave me some inside how to add them, but I didn't hide them, maybe
I will later on, but that is a bit out of my lead.

there are plugins some plugins that add it to the enemy bestiary and obtain
once they are gained or visible (same for weakness plugin or strong againt),
so I cannot really help you on that part on hiding stuff untill recovered.

I only hides the drops currectly untill found from the enemy, but no idea
how to do that on the elements, but I might have a way, but no idea how
to add it to that plugin though.

I wish you good luck on the project and that someone that is willing to alter
the plugin to hide the things untill killed/or discovered.
Thanks for all the help with everything. I appreciate it. Last question is how do I go at changing the text size of the stuff inside the boxes such as the elements info and stuff of that nature?
its in the parameters so far I can see, there is a fontSize setting for
each window part, try those and your good to go.

if those dont work, that I can see whats its bugging, but it should work.
its in the parameters so far I can see, there is a fontSize setting for
each window part, try those and your good to go.

if those dont work, that I can see whats its bugging, but it should work.
When I change the font size in the widow part, they change only the blue text that are on the outside of the boxes.
I see, I take a look by than, do you want to affect both or seperate?
maybe I can add a parameter for those.
I see, I take a look by than, do you want to affect both or seperate?
maybe I can add a parameter for those.
I want to affect them separately.
when checking, the font size is returned to default, as changing the fontsize
affect the NAME and PARAMETERS on that section, so Element Rates Name
font size on 12 (test) adjust both name and element rates when it set to NO,
when on YES, it returned to default (28)

Code:
Show Element Rates Icons
This parameter specifies whether icons will appear before the element rates
name in the Element Rates area or not. If set to Yes(true), the text will
no longer have its width adjusted to fit and may go out of bounds. Also,
its color will revert to default.

this is the case of EACH section when drawing the icons, I think mainly
because of the drawTextEx function, not sure if it has font size changing
though.

however, the size can be adjusted I think with TSR_TextColorAddon,
but I need to test that and probably modify that, as it can also scale
the icon to the fontsize as well (32x32 and font size 12 is ugly, but it
can scale to 14x14 I believe if font is 12, depending on the type of font used.

but by default, there is nothing I can do currently, so with that plugin alone,
you got to choose icons + default font size or no icons and it will be adjusted.

thats up to you.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/vcm-enemy-info.160286/