MZ用プラグイン

パーティメンバーの保存、呼び出し - NUUN_SaveMembers.js

シェア用テキスト:
▼パーティメンバーの保存、呼び出し(NUUN様作) - NUUN_SaveMembers.js
https://plugin-mz.fungamemake.com/archives/7870
パーティメンバーの保存、呼び出し

ふりがな:ぱ゜てぃめんば゜のほぞん、よびだし

機能概要: パーティメンバーの保存、呼び出し

利用規約(ライセンス): MITライセンス

作者:NUUN

ダウンロードページ:https://raw.githubusercontent.com/nuun888/MZ/refs/heads…

ファイル名:NUUN_SaveMembers.js

プラグインのヘルプ:

* @target MZ
 * @plugindesc パーティメンバーの保存、呼び出し
 * @author NUUN
 * @base NUUN_Base
 * @orderAfter NUUN_Base
 * @version 1.0.5
 * 
 * @help
 * 指定のパーティの並び順をパーティを登録、呼び出しする機能を実装します。
 * 
 * デフォルトのキー操作
 * 登録パーティの消去 登録パーティ画面でQ(Oageup)キー
 * 
 * 利用規約
 * このプラグインはMITライセンスで配布しています。
 * 
 * 更新履歴
 * 2025/5/23 Ver.1.0.5
 * 戦闘中のウィンドウの座標を指定できる機能を追加。(NUUN_SceneFormation使用時)
 * 2025/5/5 Ver.1.0.4
 * 戦闘中に登録メンバーウィンドウがずれて表示される問題を修正。
 * 戦闘中にパーティ登録画面を表示するときに、メンバー変更画面が閉じ、アクターコマンドがアクティブ化する問題を修正。
 * 2025/5/4 Ver.1.0.3
 * NUUN_SceneFormation(Ver.2.1.4以降)で戦闘中に実行できる機能を追加。
 * 2025/4/24 Ver.1.0.2
 * NUUN_SceneFormation(Ver.2.1.3以降)で登録パーティ画面を開けるように修正。
 * 登録パーティ消去のボタンを追加。
 * メンバー選択を開くと登録時SEが再生される問題を修正。
 * 登録時SEが設定されていない場合、ブザー音が再生される問題を修正。
 * 2025/4/20 Ver.1.0.1
 * 登録パーティがいない状態で決定キーを押すとエラーが出る問題を修正。
 * 登録時のSEを設定できる機能を追加。
 * 2025/4/19 Ver.1.0.0
 * 初版
 * 
 * 
 * @command SetSaveMembers
 * @desc 現在のパーティメンバーを記憶します。
 * @text パーティメンバー記憶
 * 
 * @command ResetSaveMembers
 * @desc 保存しているパーティを全て消去します。
 * @text 全消去
 * 
 * @param BasicSetting
 * @text 基本設定
 * @default ------------------------------
 * 
 * @param SaveMembersMode
 * @text パーティ外メンバー処理
 * @desc メンバー決定時のパーティ外メンバーがいた時の処理。
 * @type select
 * @option パーティ外メンバー除外
 * @value 'exclusion'
 * @option 一致のみ
 * @value 'match'
 * @default 'exclusion'
 * @parent BasicSetting
 * 
 * @param ShowCommand
 * @text コマンド表示
 * @desc メニューコマンドにパーティ保存を追加します。
 * @type boolean
 * @default true
 * @parent BasicSetting
 * 
 * @param CommandName
 * @text コマンド名
 * @desc メニューコマンドに表示するコマンド名を記入します。
 * @type string
 * @default パーティ保存
 * @parent BasicSetting
 * 
 * @param MaxShowSaveMembers
 * @text 表示アクター数
 * @desc 表示出来るアクター数。0で戦闘メンバー
 * @type number
 * @default 4
 * @min 0
 * @parent BasicSetting
 * 
 * @param MemberHeight
 * @text メンバー表示高さ
 * @desc メンバーの表示高さ。
 * @type number
 * @default 48
 * @parent BasicSetting
 * 
 * @param CharacterMode
 * @text メンバー画像
 * @desc 表示するメンバー画像の表示形式を選択します。
 * @type select
 * @option キャラチップ
 * @value 'chip'
 * @option 顔グラフィック
 * @value 'face'
 * @default 'chip'
 * @parent BasicSetting
 * 
 * @param ActorPictureEXApp
 * @text 顔グラ表示EX適用
 * @desc 顔グラ表示EXの画像変更を適用します。
 * @type boolean
 * @default false
 * @parent BasicSetting
 * 
 * @param EraseSetting
 * @text 登録消去設定
 * @default ------------------------------
 * 
 * @param EraseSymbol
 * @desc 登録削除のキーシンボル名。
 * @text 登録削除キーシンボル名
 * @type combo
 * @option "pageup"
 * @option "pagedown"
 * @default "pagedown"
 * @parent EraseSetting
 * 
 * @param EraseSe
 * @text 登録消去時SE
 * @desc 登録消去時のSEを指定します。
 * @type struct<SoundEffect>
 * @default {"name":"","volume":"90","pitch":"100","pan":"0"}
 * @parent EraseSetting
 * 
 * @param EraseButton_X
 * @text ボタンX座標
 * @desc 登録消去ボタンのX座標
 * @type number
 * @max 9999
 * @min -9999
 * @default 4
 * @parent EraseSetting
 * 
 * @param EraseButton_Y
 * @text ボタンY座標
 * @desc 登録消去ボタンのY座標
 * @type number
 * @max 9999
 * @min -9999
 * @default 2
 * @parent EraseSetting
 * 
 * @param RegistrationSetting
 * @text 登録時設定
 * @default ------------------------------
 * 
 * @param RegistrationSe
 * @text 登録時SE
 * @desc 登録時のSEを指定します。
 * @type struct<SoundEffect>
 * @default {"name":"","volume":"90","pitch":"100","pan":"0"}
 * @parent RegistrationSetting
 * 
 * @param CommandWindowSetting
 * @text コマンドウィンドウ設定
 * @default ------------------------------
 * 
 * @param SelectMembersCommandName
 * @text パーティ選択コマンド名
 * @desc パーティ保存のパーティ選択のコマンド名を記入します。
 * @type string
 * @default パーティ選択
 * @parent CommandWindowSetting
 * 
 * @param RegistrationCommandName
 * @text 登録コマンド名
 * @desc パーティ保存のパーティ登録のコマンド名を記入します。
 * @type string
 * @default パーティ登録
 * @parent CommandWindowSetting
 * 
 * @param Command_X
 * @text コマンドウィンドウX座標
 * @desc コマンドウィンドウX座標
 * @type number
 * @default 0
 * @min -9999
 * @parent CommandWindowSetting
 * 
 * @param Command_Y
 * @text コマンドウィンドウY座標
 * @desc コマンドウィンドウY座標
 * @type number
 * @default 0
 * @min -9999
 * @parent CommandWindowSetting
 * 
 * @param Command_Width
 * @text コマンドウィンドウ横幅
 * @desc コマンドーウィンドウ横幅
 * @type number
 * @default 0
 * @parent CommandWindowSetting
 * 
 * @param SaveMembersWindowSetting
 * @text 登録パーティウィンドウ設定
 * @default ------------------------------
 * 
 * @param SaveMembers_X
 * @text 登録パーティウィンドウX座標
 * @desc 登録パーティウィンドウX座標
 * @type number
 * @default 320
 * @min -9999
 * @parent SaveMembersWindowSetting
 * 
 * @param SaveMembers_Y
 * @text 登録パーティウィンドウY座標
 * @desc 登録パーティウィンドウY座標
 * @type number
 * @default 0
 * @min -9999
 * @parent SaveMembersWindowSetting
 * 
 * @param SaveMembers_Rows
 * @text 登録パーティウィンドウ表示行
 * @desc 登録パーティウィンドウの表示行及び最大登録数。
 * @type number
 * @default 4
 * @min 1
 * @parent SaveMembersWindowSetting
 * 
 * @param SceneFormationSetting
 * @text NUUN_SceneFormation設定
 * @default ------------------------------
 * 
 * @param SceneFormationOpenSaveMembers
 * @text SceneFormation登録画面表示
 * @desc NUUN_SceneFormationでのメンバー選択画面からパーティ登録画面を表示します。
 * @type boolean
 * @default true
 * @parent SceneFormationSetting
 * 
 * @param ValidBattle
 * @text 戦闘中有効
 * @desc NUUN_SceneFormationで戦闘中のパーティ登録画面の表示をします。
 * @type boolean
 * @default false
 * @parent SceneFormationSetting
 * 
 * @param OpenSaveMembersSymbol
 * @desc NUUN_SceneFormationで登録パーティを表示するときのキーシンボル名。
 * @text 登録パーティ表示シンボル名
 * @type combo
 * @option "pageup"
 * @option "pagedown"
 * @default "pagedown"
 * @parent SceneFormationSetting
 * 
 * @param OpenSaveMembersButton_X
 * @text ボタンX座標
 * @desc 登録パーティ表示ボタンのX座標
 * @type number
 * @max 9999
 * @min -9999
 * @default 56
 * @parent OpenSaveMembersSymbol
 * 
 * @param OpenSaveMembersButton_Y
 * @text ボタンY座標
 * @desc 登録パーティ表示ボタンのY座標
 * @type number
 * @max 9999
 * @min -9999
 * @default 2
 * @parent OpenSaveMembersSymbol
 * 
 * @param SceneFormationCommandWindowSetting
 * @text 戦闘中コマンドウィンドウ設定
 * @default ------------------------------
 * @parent SceneFormationSetting
 * 
 * @param BattleCommand_X
 * @text 戦闘中コマンドウィンドウX座標
 * @desc 戦闘中のコマンドウィンドウX座標
 * @type number
 * @default 0
 * @min -9999
 * @parent SceneFormationCommandWindowSetting
 * 
 * @param BattleCommand_Y
 * @text 戦闘中コマンドウィンドウY座標
 * @desc 戦闘中のコマンドウィンドウY座標
 * @type number
 * @default 0
 * @min -9999
 * @parent SceneFormationCommandWindowSetting
 * 
 * @param BattleCommand_Width
 * @text 戦闘中コマンドウィンドウ横幅
 * @desc 戦闘中のコマンドーウィンドウ横幅
 * @type number
 * @default 0
 * @parent SceneFormationCommandWindowSetting
 * 
 * @param SceneFormationSaveMembersWindowSetting
 * @text 戦闘中登録パーティウィンドウ設定
 * @default ------------------------------
 * @parent SceneFormationSetting
 * 
 * @param BattleSaveMembers_X
 * @text 戦闘中登録パーティウィンドウX座標
 * @desc 戦闘中の登録パーティウィンドウX座標
 * @type number
 * @default 320
 * @min -9999
 * @parent SceneFormationSaveMembersWindowSetting
 * 
 * @param BattleSaveMembers_Y
 * @text 戦闘中登録パーティウィンドウY座標
 * @desc 戦闘中の登録パーティウィンドウY座標
 * @type number
 * @default 0
 * @min -9999
 * @parent SceneFormationSaveMembersWindowSetting
 * 
 * @param SceneFormationSaveMembersButtonSetting
 * @text 戦闘中ボタン設定
 * @default ------------------------------
 * @parent SceneFormationSetting
 * 
 * @param OpenSaveMembersBattleButton_X
 * @text 戦闘中ボタンX座標
 * @desc 戦闘中の登録パーティ表示ボタンのX座標
 * @type number
 * @max 9999
 * @min -9999
 * @default 56
 * @parent SceneFormationSaveMembersButtonSetting
 * 
 * @param OpenSaveMembersBattleButton_Y
 * @text 戦闘中ボタンY座標
 * @desc 戦闘中の登録パーティ表示ボタンのY座標
 * @type number
 * @max 9999
 * @min -9999
 * @default 2
 * @parent SceneFormationSaveMembersButtonSetting
 *

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.