MV Display Picture in Description?

Yanfly Ace Message system had a functionality that lets you put in pictures in the middle of text boxes.

6MQ4uRu.png


In my case, I used this function as a way to put images like this "physical damage" picture into skill descriptions and other such messages as a way to give the player more information.

However, Yanfly Message Core for MV seems to be missing this option entirely. I was wondering if there was an MV plugin that lets you display pictures in text like this?
I didn't saw that one before, however, I know there is a plugin to show icons,
from small to BIG on any size needed. (special iconset).

if the text overlap the image or behind the text. it is differently.
maybe you could pull some things of by Galv_bust plugin? make it smaller,
as it can place it above the message window, so it could fit?
I didn't saw that one before, however, I know there is a plugin to show icons,
from small to BIG on any size needed. (special iconset).

if the text overlap the image or behind the text. it is differently.
maybe you could pull some things of by Galv_bust plugin? make it smaller,
as it can place it above the message window, so it could fit?

Galv's Busts plugin only really works with "show text" message boxes, whereas I want to use this in item descriptions and the like.

I dunno what you mean by "bigger icons plugin". Haven't seen that one.
item descriptions might be different one, my mistake on that part.
bigger icon on any size could be done with TSR_TextColorAddon.

it has a parameter to set a custom Icon, so any size works anywhere.
as if you want the text line by line, than this one wont do either.

if it require a item index on hover, than item window background is
the only idea I can come up with, but this also require an item for each
itemId/WeaponId etc if you use it there too.

I dont know how the ace one looks like or works, but it might be adapted
or ported to MV if you want to keep the way it was used.

as I do know YEP has a big picture, but not inside the description window,
as I use one as well, in a different window, as it looks cooler as the name
isn't visible, so it fits my needs.
I dont know how the ace one looks like or works, but it might be adapted
or ported to MV if you want to keep the way it was used.

The code for it looks like this in VX Ace:

Ruby:
 when 'PIC'
      text.sub!(/\[(.*?)\]/, "")
      bmp = Cache.picture($1.to_s)
      rect = Rect.new(0, 0, bmp.width, bmp.height)
      contents.blt(pos[:x], pos[:y], bmp, rect)
    #---
I might know some to convert it to JS, but I think a link to it, and maybe some
can port it over by than.

or the part that can do that only, as it is not the only part as it is probably
across multiple functions to make it to work.

I do hope you get what you need 🙂
I looked around and found @Eliaquim's Eli's Message Actions, and it allows me to put pictures in the item descriptions. Unfortunately, it does something incredibly bizarre with the text whenever you keep hovering over an item/skill:

Q6OgcXF.png


^ What it looks like when you click on it once.

XJXaTcA.png


^ What it looks like when you hover back and forth between other items/skills.

Only scripts I have active in these screenshots are Yanfly Core Engine, Message Core, Eli Book and Eli Message Actions.

Even just Eli Book and Eli Message Actions by themselves causes this bug. This was ALMOST what I needed otherwise, so that's a bummer.
I looked around and found @Eliaquim's Eli's Message Actions, and it allows me to put pictures in the item descriptions. Unfortunately, it does something incredibly bizarre with the text whenever you keep hovering over an item/skill:

Q6OgcXF.png


^ What it looks like when you click on it once.

XJXaTcA.png


^ What it looks like when you hover back and forth between other items/skills.

Only scripts I have active in these screenshots are Yanfly Core Engine, Message Core, Eli Book and Eli Message Actions.

Even just Eli Book and Eli Message Actions by themselves causes this bug. This was ALMOST what I needed otherwise, so that's a bummer.
Hi there!
Unfortunately, I'm not supporting the MV version anymore. But see if this can help you.
Right below my plugin, on the plugin manager, add this code as a plugin:

JavaScript:
const Bitmap_clear_eli = Bitmap.prototype.clear
Bitmap.prototype.clear = function(){
    Bitmap_clear_eli.call(this)
    if(this.imgAreas){
        this.imgAreas = []
        this.hasInlineImage = false
    }
}

To add it as a plugin, copy and paste it on any text file.
Save, then rename the extension to .js

The only issue I'm still having is with the image loading. If you could fin a way to preload the image before get's into the scene, it will work just fine.

Original thread: https://forums.rpgmakerweb.com/threads/display-picture-in-description.154783/