LGP - Face Sprite

LGP_FaceSprite v3.3
Azel

Introduction

RPG Maker MV allows you to set a face image in the message box. In the Pokemon Mystery Dungeon series the face is a separate Sprite in a Window. This Plugin does that now.

Features
Having face sprites.​
Set face sprite positions.​
Face sprite uses Window borders.​
Face sprite takes the face from the message picture.​
Change Face Sprite position via Scriptcalls.​

Screenshot



How to Use
This plugin is standalone. You can put this anywhere in your plugin list. It will take the image inside the message window you selected and displays it as a separate window all automatically.

Plugin Commands:
Spoiler: FaceSpritePostion [postion] / FSPos [postion] / FSPosition [position]
Sets the face sprite position. Replace the 'position' with a number on your
numpad. The position of the number on the numpad equals the position of the
face sprite on the screen. Default is always [1] Bottom Left.

[7] [8] [9]
[4] [5] [6]
[1] [2] [3]

Script
GitHub

Compatibility
Currently works with everything Yanfly offers with his message plugins. This Plugin mainly overwrites the drawFace function inside the message window. So it isn't displayed anymore.

Conditions
This Plugin if free for all. Use it as you see it fit.

Change Log
Spoiler: v1.0
- Fresh out from the oven.
- Faceimage apears ontop of the window.
Spoiler: v2.0
- Code reviewed. The Face image apears now behind the Window Frame and
infront of the Window Background
- Added Param: Set the Message Window Margin.
Spoiler: v3.0
- Code reviewed. Mostly all new stuff. Plugin Command FaceSpritePosition
stays at it is.
- Everything esle works pretty much automatic.
Spoiler: v3.1
- Updated Documentary.
Spoiler: v3.2
- Fixed a bug where a posistion command didn't function properly when the command was put before a message.
Spoiler: v3.3
- Acutally fixed the bug of 3.2
- Added "Position List" Parameter in the Plugin section.
- Reworked FSPos functions. They work diffrently but the use of it
hasn't changed.
- Calling an event now sets the FSPos to the default value before the interpreter takes action.
This solves a problem I had, when I reset the FSPos to the default at the end of the
MessageWindow logic.
- Added scriptcall $gameSystem.setFSPosition(index); to manually set the positon based on index.
- Added scriptcall $gameSystem.setFSPosition(x, y); to amnually set the position based on coords.

Credit and Thanks
LGP Azel

Notes
If there are any compatibility issues, critics or improvement wishes please let me know.
Hi there!
I like your idea!
I'm here to give you some feedback. I cant make the plugin work like you didi in the images.
The plugin command that i'm inserting in the message text box show appears when i talk to people. Cant change the position of the face too. What im doing wrong?
Latest version of MV and no other plugins related to messages
Have a look:
Spoiler: Image
efKsjgY.png

yW0xd2p.png
Hi there!
I like your idea!
I'm here to give you some feedback. I cant make the plugin work like you didi in the images.
The plugin command that i'm inserting in the message text box show appears when i talk to people. Cant change the position of the face too. What im doing wrong?
Latest version of MV and no other plugins related to messages
Have a look:

Well. The FaceSpritePosition and such are plugin commands after all. They won't work inside message boxes.
Trying again, i use the same command in a plugin Command line in the event. But i got the same result. Only the command not appear in the next box, but in rest is the same =/
Trying again, i use the same command in a plugin Command line in the event. But i got the same result. Only the command not appear in the next box, but in rest is the same =/

Sorry for the late answer. I finally got a fix for the issue. Download the new script from the link again and replace it with the old one.
Sorry! But still not working. =/
No matter what number i put, the position of the face remains in the same place, like in the print that i show to you. If you manage to get it to work, can you send me a print of the event page and the position of the face?
I disabled all others plugins and realized that the plugin command only works after the first message (so it works on the second message onwards)

The FaceSpritePosition or FaceSpritePostion simply doesn't works. The FSPos works, but not to the first message. Look:

Spoiler: Images
upload_2019-5-10_23-25-30.png
bandicam-2019-05-10-23-26-51-745.gif
@Eliaquim Try the old version v2.0, I found the Steam Workshop called Lunar Guard Plugin Pool, I test myself and it works. Here's the link: https://steamcommunity.com/sharedfiles/filedetails/?id=1192481069 That screenshot from Azel is not the latest version of the plugin, it's v2.0 But I screenshot myself this one
Screenshot_39.png
@Eliaquim Try the old version v2.0, I found the Steam Workshop called Lunar Guard Plugin Pool, I test myself and it works. Here's the link: https://steamcommunity.com/sharedfiles/filedetails/?id=1192481069 That screenshot from Azel is not the latest version of the plugin, it's v2.0.

Made a new Version. Fixed the problem with FSPosition and added Plugin parameters.
@Eliaquim Try the old version v2.0, I found the Steam Workshop called Lunar Guard Plugin Pool, I test myself and it works. Here's the link: https://steamcommunity.com/sharedfiles/filedetails/?id=1192481069 That screenshot from Azel is not the latest version of the plugin, it's v2.0 But I screenshot myself this oneView attachment 149037
Thank you, friend!
But that was a long time ago. Today I will probably make one of my own. But thanks! ^^
Thanks @Azel for fix the latest version. Now looks new. It's v3.3. @Eliaquim use it
Screenshot_40.png
Screenshot_41.png
@Azel This plugin works, haven't you tested More Escape Codes plugin by Shaz. You should try it
Good luck on your project, Eliaquim
This plugin is nice! I would love use them in my project, but I notice that if I use the YEP_MessageCore (changing the width of the message box) or Galv Message Styles, the bug that Eliaquim reported still happen. If you want and can make the compatibility with those plugins, it would be awesome!
Hey so im a noob at plugins does anyone know why i keep getting this error?
Hello! can i ask a question... Why is there no full image of the actor in this window? Like, wrong size? Can this be fixed? And how? I will be grateful for your help!

Original thread: https://forums.rpgmakerweb.com/threads/lgp-face-sprite.97699/