设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
返回列表
+ 发新帖
查看: 213|回复: 0

[转载发布] Anyone's Message_Face_Switcher v1.2

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    昨天 03:27
  • 签到天数: 222 天

    连续签到: 1 天

    [LV.7]常住居民III

    9102

    主题

    893

    回帖

    7万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    64916
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    74941

    灌水之王

    发表于 2026-7-29 19:56:58 | 显示全部楼层 |阅读模式
    Anyone's Message_Face_Switcher v1.2
    by Anyone
    ​

    Introduction:
    This is a small plugin made for my current project that allows the game to switch out the message face for the face of an actor designated in the message face's file name.

    Features:

    • Easy switching of faces to actor faces without using escape codes in the message text
    • Compatible with plugins that hard-edit the command101 (such as Yanfly's Message Core)
    • The exchange happens early in the message generation, meaning that all text escape codes within the actual message text will act as if that face had been the face assigned in the editor from the start
    • With normal faces, this saves you the time of using an escape like \af[x] to call the actor's face. With face busts plugins, especially the more complex ones, that load the message face from the message face name (such as Irina's VisualNovelBusts), this is essential to load a different bust as face in a seemless way without glitches and other bugs. (For example if your character has a different bust based on the equipment you're wearing)
    • New: (v1.2) Redirection to other Files possible through prefix and suffix
    How To Use:
    1. Load the plugin preferably close to the bottom of your load order and activate it.
    2. Create a *.png file that you wish to use as placeholder of the actor's face and ensure that it contains "_Actor" followed by the number of the ActorId of the actor whose face you wish to load.
    Example: Harold_Actor1.png
    3. Use the "Harold_Actor1.png" as the face when creating the "Show Text" function in your dialogue event. Regardless of whether Harold_Actor1.png is an empty png file, or contains some other face, this face will instead be switched to whatever face has currently been assigned to Actor1.

    Alternatively, you can also use the phrase "_Partymember" in the *.png files' name to instead reference the face of the current party member in the slot.

    Take care: the Actor ID's count from 1,2,3,4...
    While the Partymember starts with 0 for the party leader: 0,1,2,3
    This means that Actor 2 is "_Actor2" but Partymember 2 is "_Partymember1".

    FAQ:

    Q: The face isn't getting loaded.
    A: Make sure you include the "_" sign in front of Actor. This is done to ensure that it won't pick up stuff like Factor12 as valid terms.
    HaroldActor1.png is incorrect
    Harold_Actor1.png is correct

    Q: The wrong Partymember face is assigned.
    A: Keep in mind that partymembers are counted from 0. If you want to reference the Partyleader in Slot 1, use...
    _Partymember0.png
    The Partymembers 2,3 etc. need -1 deducated from their number.

    Partymember 3:
    _Partymember2.png

    Terms of Use:


    • 1. This plugin can be used for free in free and commercial games alike.
    • 2. Credit must be given to "Anyone".
    • 3. The code may be edited & altered to your liking.
    • 4. Redistribution of the original code as well as of edited versions is allowed, so long as proper credit is given.

    Demo:
    New Demo Version!
    Equip items and see the message window face use the correct face.
    (This is made possible with the Way_Core and Way_OnEquip plugins)
    https://workupload.com/file/3NJTLPD4


    Spoiler: Anyone's Message Face Switcher v1.0
                    Code:       


    Also attached as *.rar archive.

    Have fun.

    CHANGELOG:
    -v1.2
    Added new Demo version, added a Redirect Functionality


    本贴来自国际rpgmaker官方论坛作者:Anyone处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/anyones-message_face_switcher-v1-2.115168/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x

    帖子地址: 

    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-10-22 01:41 , Processed in 0.124712 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表