设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 70|回复: 0

[转载发布] More HUD Faces - Extension for Moghunter's Battle, Party, and Actor HUD

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 昨天 12:35 | 显示全部楼层 |阅读模式
    More Hud Faces (Moghunter Extension) v1.2.2
    LadyBaskerville


    Note: This plugin is most likely outdated and unfortunately, I currently cannot offer any support for it. You may still use the versions provided here as-is, but I cannot guarantee that they will work. As with all my plugins, you are welcome to both edit and repost the code to make it compatible with current plugin/engine versions or add onto it. (See post #54 in this thread for a suggested edit for compatability with v5.04 of MOG_BattleHud.)

    Introduction
    Moghunter / Atelier Rgss provides visually impressive plugins to show your actors' faces on the screen, be it in battle or on the map. However, the MV plugins do not provide an easy way to change the graphic assigned to an actor mid-game. This extension now adds this functionality.

    Features
    This plugin is an extension to the following Moghunter plugins:
    RMV - Battle Hud
    RMV - Actor Hud
    RMV - Party Hud
    You can use this extension with any combinations of those plugins.

    The current version of this extension plugin is made for the plugin versions Battle Hud 3.7, Actor Hud 1.9, and Party Hud 1.3. It will probably not work with older versions. (Version 1.0.1 of this extension is still available for download, if you are using older versions of Moghunter's plugins and cannot / do not want to update them.)

    This extension plugin provides Plugin Commands and Script Calls to change the face graphics used in Moghunter's Battle HUD, Party HUD and/or Actor HUD mid-game. You can also specify a different default face file for each actor using notetags.

    Apart from manually changing the HUD face graphic during the game, you can now assign face graphics for different states to an actor, and the graphic will change automatically when the actor is afflicted by the respective states. You can set these up with notetags in the actor notebox, or change them during the game with Plugin Commands and Script Calls. The state with the highest priority will determine the face graphic used. If there is no face graphic assigned to the actor for this state, the state with the next highest priority will determine the face graphic. If there is no face graphic assigned for ANY of the actor's states, the default face graphic will be used instead.

    How to use
    To use this plugin, place it below Moghunter's plugins in your plugin list.

    Plugin Commands
    Change HUD faces immediately:
                    Code:       
    1. change_ahud_face ACTOR_ID FILENAME
    2. change_bhud_face ACTOR_ID FILENAME
    3. change_phud_face ACTOR_ID FILENAME
    复制代码


    Immediately change the face file used in the Actor, Battle, or Party HUD, respectively. The file must be located in the respective HUD folder (img/actorhud, img/battlehud, or img/partyhud). This also changes the face file used by default when the actor is not afflicted by any states.

    Example:
                    Code:       
    1. change_ahud_face 1 HaroldFace12
    复制代码

    will change the Actor HUD face for Actor #1 to the file "HaroldFace12.png" in the folder img/actorhud.

    Set faces to show based on state:
                    Code:       
    1. set_ahud_face ACTOR_ID STATE_ID FILENAME
    2. set_bhud_face ACTOR_ID STATE_ID FILENAME
    3. set_phud_face ACTOR_ID STATE_ID FILENAME
    复制代码


    Set the face file that is automatically used for the state in the Actor, Battle, or Party HUD, respectively. The file must be located in the respective HUD folder (img/actorhud, img/battlehud, or img/partyhud).
    Enter 0 as the state ID to change the face file used by default when the actor is not afflicted by any states.

    Example:
                    Code:       
    1. set_ahud_face 1 4 HaroldFacePoison
    复制代码

    will set the face that is for Actor #1 in the Actor HUD when Actor #1 is afflicted by state #4 to the file "HaroldFacePoison.png" in img/actorhud.


    Clear state faces assigned to the actor:
                    Code:       
    1. clear_ahud_face ACTOR_ID STATE_ID
    2. clear_bhud_face ACTOR_ID STATE_ID
    3. clear_phud_face ACTOR_ID STATE_ID
    复制代码


    Clear the face file that is automatically used for the state in the Actor, Battle, or Party HUD, respectively. If the actor is afflicted by this state, the face graphic will no longer automatically change.

    Script Calls (advanced)
    The following functions have been added to Game_Actor:

    Change HUD faces immediately:
                    Code:       
    1. changeAhudFace(FILENAME)
    2. changeBhudFace(FILENAME)
    3. changePhudFace(FILENAME)
    复制代码


    Immediately change the face file used in the Actor, Battle, or Party HUD, respectively. The file must be located in the respective HUD folder (img/actorhud, img/battlehud, or img/partyhud).
    This also changes the face file used by default when the actor is not afflicted by any states.

    Example:
                    Code:       
    1. $gameActors.actor(1).changeAhudFace("HaroldFace12")
    复制代码

    will change the Actor HUD face for Actor #1 to the file "HaroldFace12.png" in the folder img/actorhud.

    Set faces to show based on state:
                    Code:       
    1. setAhudFace(STATE_ID, FILENAME)
    2. setBhudFace(STATE_ID, FILENAME)
    3. setPhudFace(STATE_ID, FILENAME)
    复制代码


    Set the face file that is automatically used for the state in the Actor, Battle, or Party HUD, respectively. The file must be located in the respective HUD folder (img/actorhud, img/battlehud, or img/partyhud).
    Enter 0 as the state ID to change the face file used by default when the actor is not afflicted by any states.

    Example:
                    Code:       
    1. $gameActors.actor(1).setAhudFace(4, "HaroldFacePoison")
    复制代码

    will set the face that is for Actor #1 in the Actor HUD when Actor #1 is afflicted by state #4 to the file "HaroldFacePoison.png" in img/actorhud.

    Clear state faces assigned to the actor:
                    Code:       
    1. clearAhudFace(STATE_ID)
    2. clearBhudFace(STATE_ID)
    3. clearPhudFace(STATE_ID)
    复制代码


    Clear the face file that is automatically used for the state in the Actor, Battle, or Party HUD, respectively. If the actor is afflicted by this state, the face graphic will no longer automatically change.

    Notetags
    You can specify a different face file to be used at the start of the game with the following notetags in the Actor tab:

                    Code:       
    1. <AHudFace: FILENAME>
    2. <BHudFace: FILENAME>
    3. <PHudFace: FILENAME>
    复制代码


    Use the file FILENAME.png to represent this actor in the Actor, Battle, or Party HUD by default. The file must be located in the respective HUD folder (img/actorhud, img/battlehud, or img/partyhud).

                    Code:       
    1. <AHudFace State STATE_ID: FILENAME>
    2. <BHudFace State STATE_ID: FILENAME>
    3. <PHudFace State STATE_ID: FILENAME>
    复制代码


    Automatically change the actor's face graphic in the Actor, Battle, or Party HUD to FILENAME.png when the actor is afflicted with the state. The file must be located in the respective HUD folder (img/actorhud, img/battlehud, or img/partyhud).

    Plugin
    Download it here: MOG_X_MoreHudFaces.js
    (If you are using older versions of Moghunter's HUD plugins and cannot / do not want to update them, you can still download version 1.0.1 of the extension here: MOG_X_MoreHudFaces_v101.js

    Credit and Thanks
    - LadyBaskerville (optional)
    - Moghunter

    Terms of Use
    - Free for use in both non-commercial and commercial games.
    - You may repost and edit this plugin.

    Spoiler: Changelog
    Version 1.2.2
    - Fixed a bug where animated faces would not display properly when the face graphic was changed in battle.
    Version 1.2.1
    - Fixed a bug with Party and Battle HUD when there were less than 4 members.
    Version 1.2.0
    - Added notetags, plugin commands and script calls to set up automatic state faces: The face graphic can be changed based on the states the actor is afflicted with.
    - Cleaned up the documentation.
    Version 1.1.1
    - Fixed a bug where changing the battle HUD image would try to load an image from the actor HUD folder.
    Version 1.1.0
    - Reworked the plugin to work with Moghunter's updated plugins.
    - Added script calls.
    - Faces are now changed without refreshing the entire HUD.
    Version 1.0.1
    - Only refresh the HUDs when the face graphic has changed.
    Version 1.0.0
    - Finished the plugin.


    本贴来自国际rpgmaker官方论坛作者:LadyBaskerville处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/more-hud-faces-extension-for-moghunters-battle-party-and-actor-huds.79470/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-31 23:31 , Processed in 0.087215 second(s), 57 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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