FTKR Facial Image Difference 2 - FTKR_FacialImageDifference2.js

▼FTKR Facial Image Difference 2(フトコロ様作) - FTKR_FacialImageDifference2.js
https://plugin.fungamemake.com/archives/1305
アクターの状態によって顔画像を変える。FTKR_FacialImageDifference.jsと組み合わせて使用できません
ふりがな:かおがぞうかくちょう2
機能概要: アクターの状態によって顔画像を変える。FTKR_FacialImageDifference.jsと組み合わせて使用できません
利用規約(ライセンス): MITライセンス
作者:フトコロ
作者サイト:https://x.com/futokoro_mv
ダウンロードページ:https://raw.githubusercontent.com/futokoro/RPGMaker/mas…
ファイル名:FTKR_FacialImageDifference2.js
プラグインのヘルプ:
/*: * @plugindesc v2.0.1 アクターの状態によって顔画像を変えるプラグイン * @author フトコロ * * @noteParam FID_画像 * @noteRequire 1 * @noteDir img/face/ * @noteType file * @noteData actors * * @param --画像番号変更-- * @desc * * @param Walk Face Index * @desc 前進時の顔画像番号を設定します * @default 0 * * @param Wait Face Index * @desc 待機時の顔画像番号を設定します * @default 0 * * @param Chant Face Index * @desc 詠唱時の顔画像番号を設定します * @default 0 * * @param Guard Face Index * @desc 防御時の顔画像番号を設定します * @default 0 * * @param Damage Face Index * @desc ダメージ時の顔画像番号を設定します * @default 0 * * @param Evade Face Index * @desc 回避時の顔画像番号を設定します * @default 0 * * @param Thrust Face Index * @desc 突き時の顔画像番号を設定します * @default 0 * * @param Swing Face Index * @desc 払い時の顔画像番号を設定します * @default 0 * * @param Missile Face Index * @desc 飛び道具時の顔画像番号を設定します * @default 0 * * @param Skill Face Index * @desc 防御使用時の顔画像番号を設定します * @default 0 * * @param Spell Face Index * @desc 魔法使用時の顔画像番号を設定します * @default 0 * * @param Item Face Index * @desc アイテム使用時の顔画像番号を設定します * @default 0 * * @param Escape Face Index * @desc 逃走時の顔画像番号を設定します * @default 0 * * @param Victory Face Index * @desc 戦闘勝利時の顔画像番号を設定します * @default 0 * * @param Dying Face Index * @desc 瀕死時の顔画像番号を設定します * @default 0 * * @param Abnormal Face Index * @desc 状態異常時の顔画像番号を設定します * @default 0 * * @param Sleep Face Index * @desc 睡眠時の顔画像番号を設定します * @default 0 * * @param Dead Face Index * @desc 戦闘不能時の顔画像番号を設定します * @default 0 * * @param --FTKR_ExSvMotionの設定-- * @desc * * @param Recovery Face Index * @desc HP回復時の顔画像番号を設定します * @default 0 * * @param Custom1 Face Index * @desc Custom1の時の顔画像番号を設定します * @default 0 * * @param Custom2 Face Index * @desc Custom2の時の顔画像番号を設定します * @default 0 * * @param Custom3 Face Index * @desc Custom3の時の顔画像番号を設定します * @default 0 * * @param Custom4 Face Index * @desc Custom4の時の顔画像番号を設定します * @default 0 * * @param Custom5 Face Index * @desc Custom5の時の顔画像番号を設定します * @default 0 * * @param Custom6 Face Index * @desc Custom6の時の顔画像番号を設定します * @default 0 * * @param Custom7 Face Index * @desc Custom7の時の顔画像番号を設定します * @default 0 * * @param Custom8 Face Index * @desc Custom8の時の顔画像番号を設定します * @default 0 * * @help *----------------------------------------------------------------------------- * 概要 *----------------------------------------------------------------------------- * 本プラグインを実装することで、戦闘中のアクターの顔画像を、 * アクターのさまざまな状態によって変更します。 * * *----------------------------------------------------------------------------- * 設定方法 *----------------------------------------------------------------------------- * 1.「プラグインマネージャー(プラグイン管理)」に、本プラグインを追加して * ください。 * * * 2. 他プラグインと組み合わせる場合 * 当プラグインは以下のプラグインよりも下にしてください。 * FTKR_CustomSimpleActorStatus * FTKR_ExSvMotion * FTKR_FVActorAnimation.js * * *----------------------------------------------------------------------------- * アクターの顔画像について *----------------------------------------------------------------------------- * 本プラグインを使用する場合、アクターの顔画像は以下の規格のものを * 使用してください。 * * 一つの顔画像サイズ:144 * 144 * 一つのファイルには、顔画像を横に6列、縦に3行まで配置してください。 * 顔画像の番号は、左上を 0番、一つ右を 1番、一つ下を 6番と数えます。 * 一つの画像ファイルで最大18種類の顔画像を設定できます。 * * ファイルは、img/face/ フォルダに保存してください。 * * どの状態で何番の顔画像を使用するかは、プラグインパラメータで * 設定してください。 * なお、指定された番号の箇所に画像がない場合は、空欄で表示されますので * 注意してください。 * * *----------------------------------------------------------------------------- * 基本仕様 *----------------------------------------------------------------------------- * 本プラグインを単独で使用する場合、アクターの状態によって * 戦闘画面で表示する顔画像が変わります。 * * デフォルトのプラグインの状態では、すべてのアクターの状態に対して * 0番の画像を指定しています。 * 必要に応じて、プラグインパラメータに値を設定してください。 * * なお、戦闘以外の画面での顔画像は、すべて 0番を使用します。 * * *----------------------------------------------------------------------------- * FTKR_CustomSimpleActorStatus と併用する場合 *----------------------------------------------------------------------------- * FTKR_CustomSimpleActorStatusの設定によって表示する顔画像を変更します。 * 有効な状態は、基本仕様と同じです。 * * 以下の拡張プラグインについても同様です。 * FTKR_CSS_DetailedStatus * FTKR_CSS_SkillStatus * * *----------------------------------------------------------------------------- * FTKR_CSS_BattleStatus と併用する場合 *----------------------------------------------------------------------------- * バトル中のアクターの状態によって、顔画像を変更します。 * * アクターのアクション時にも、顔画像を変更することができます。 * * *----------------------------------------------------------------------------- * FTKR_ExSvMotion と併用する場合 *----------------------------------------------------------------------------- * FTKR_ExSvMotionの設定によって表示する顔画像を変更します。 * * FTKR_ExSvMotionの設定で、各状態のモーションを変更していた場合は、 * その設定に合わせて、顔画像も同じモーションの番号に変更します。 * * また、回復時、およびカスタムモーション時に使用するの顔画像番号を * 設定できます。 * * * 別画像モーション時には、アクターのメモ欄で設定した顔画像ファイルを * 使用します。 * アクターのメモ欄に以下のタグを追記してください。 * * <FID_顔画像:filename> * <FID_FACE_IMAGE:filename> * * 画像ファイル filename.png は img/face/ に保存してください。 * * *----------------------------------------------------------------------------- * 本プラグインのライセンスについて(License) *----------------------------------------------------------------------------- * 本プラグインはMITライセンスのもとで公開しています。 * This plugin is released under the MIT License. * * Copyright (c) 2017 Futokoro * http://opensource.org/licenses/mit-license.php * * * プラグイン公開元 * https://github.com/futokoro/RPGMaker/blob/master/README.md * *----------------------------------------------------------------------------- * 変更来歴 *----------------------------------------------------------------------------- * * v2.0.1 - 2017/12/16 : 不具合修正 * 1. FTKR_SvMotion.jsと併用できるように見直し。 * 2. 戦闘終了後に顔画像がデフォルトに戻らない不具合修正。 * * v2.0.0 - 2017/12/16 : 初版作成(FTKR_FacialImageDifference v1.1.7から派生) * 1. アニメーションおよびダメージポップアップ機能を削除。 * 2. 顔画像のスプライトをFTKR_FVActorAnimation.jsから参照する方式に変更。 * * *----------------------------------------------------------------------------- */
