GO マップ間転移 - GOTeleportMap.js
シェア用テキスト:
▼GO マップ間転移(GrayOgre様作) - GOTeleportMap.js
https://plugin-mz.fungamemake.com/archives/2776
転移先を一覧から選ばせて、プレイヤーキャラを転移させます。転移先の一覧はグループとして複数持つことが出来ます。
ふりがな:まっぷかんてんい
機能概要: 転移先を一覧から選ばせて、プレイヤーキャラを転移させます。転移先の一覧はグループとして複数持つことが出来ます。
利用規約(ライセンス): MITライセンス
作者:GrayOgre
作者サイト:https://grayogre.info/
解説ページ:https://grayogre.info/rmmz/plugin/GOTelemortMap.html
ファイル名:GOTeleportMap.js
プラグインのヘルプ:
/*:ja * @target MZ * @plugindesc マップ間転移プラグイン * @author GrayOgre * @help * 転移先を一覧から選ばせて、プレイヤーキャラを転移させます。 * 転移先の一覧はグループとして複数持つことが出来ます。 * * このプラグインは6つのプラグインコマンドで構成されています。 * ・転移実行 * ・転移位置登録 * ・現在位置を転移位置として登録 * ・転移時効果音の設定 * ・転移先削除 * ・選択による転移先削除 * * 転移先一覧では、Ctrlキー/ゲームコントローラーのボタン4/ロングタップにより、 * 項目の表示順を変更できます。 * (登録順/名前順/座標順) * * このプラグインを使用するためには、 * あらかじめ公式プラグイン PluginCommonBase.js を組み込んでおく必要があります。 * * Copyright (c) 2021 GrayOgre * Released under the MIT license * https://opensource.org/licenses/mit-license.php * * Version 1.3.2 * * @orderAfter PluginCommonBase * * @param maxLocationGroupId * @text 転移先グループ数 * @desc 管理する転移先グループの数 * @type number * @default 1 * @min 1 * @param orderNameByEntry * @text 順序名(登録順) * @desc 順序メニューでの登録順を表す表示名 * @type string * @default 登録順 * @param orderNameByName * @text 順序名(名前順) * @desc 順序メニューでの名前順を表す表示名 * @type string * @default 名前順 * @param orderNameByCoordinate * @text 順序名(座標順) * @desc 順序メニューでの座標順を表す表示名 * @type string * @default 座標順 * * @command teleport * @text 転移 * @desc 転移位置を一覧から選択させて転移させます。 * @arg groupId * @text 転移先グループID * @desc 対象とする転移先グループのID(1~転移先グループ数) * @type number * @default 1 * @arg guideText * @text ガイドメッセージ * @desc 転移先一覧のガイドメッセージ(「どこへ行きますか?」など) * @type string * @arg hideCurrentMap * @text 現在のマップを非表示 * @desc 現在いるマップの飛び先を一覧から除外する * @type boolean * @default false * @arg noDestinationMsg * @text 転移先なしのメッセージ * @desc 転移先が1つもない場合のメッセージ(空文字列の場合、空の一覧を表示) * @type string * @default * @arg inhibitOrderChange * @text 並び替え禁止 * @desc プレイヤーによる一覧の並び替えを禁止する * @type boolean * @default false * @arg initialOrder * @text 初期並び替え順 * @desc 表示開始時の並び替え順 * @type select * @option 指定なし * @value * @option 登録順 * @value entry * @option 名前順 * @value name * @option 座標順 * @value coordinate * @default * * @command addLocation * @text 転移先追加 * @desc 転移先を指定グループに追加します。同じ名前で追加すると転移先位置が上書きされます。 * @arg groupId * @text 転移先グループID * @desc 対象とする転移先グループのID(1~転移先グループ数) * @type number * @default 1 * @arg name * @text 転移先の名前 * @desc 登録する転移先の名前 * @type string * @arg mapid * @text マップID * @desc 登録する転移先のマップID * @type number * @arg x * @text X座標 * @desc 登録する転移先のX座標 * @type number * @arg y * @text Y座標 * @desc 登録する転移先のY座標 * @type number * @arg direction * @text 向き * @desc 転移したあとの向き * @type select * @option そのまま * @value 0 * @option 下 * @value 2 * @option 左 * @value 4 * @option 右 * @value 6 * @option 上 * @value 8 * @default 0 * @arg fadeout * @text フェードアウト * @desc フェードアウトのタイプ * @type select * @option 黒 * @value 0 * @option 白 * @value 1 * @option なし * @value 2 * @default 0 * @arg isDeletable * @text 削除可能 * @desc 削除ができるかの設定 * @type boolean * @default false * * @command addCurrentLocation * @text 現在位置を転移先に追加 * @desc 転移先の名前を現在位置から自動生成して指定グループに登録します(マップの表示名を使用します) * @arg groupId * @text 転移先グループID * @desc 対象とする転移先グループのID(1~転移先グループ数) * @type number * @default 1 * @arg isDeletable * @text 削除可能 * @desc 削除ができるかの設定 * @type boolean * @default false * * @command setSE * @text 効果音の設定 * @desc 転移時の効果音を設定する * @arg groupId * @text 転移先グループID * @desc 対象とする転移先グループのID(1~転移先グループ数) * @type number * @default 1 * @arg name * @text SE名 * @desc SEの名称 * @type file * @dir audio/se * @arg volume * @text 音量 * @desc SEの音量 * @type number * @default 90 * @arg pitch * @text ピッチ * @desc SEのピッチ * @type number * @default 100 * @arg pan * @text 位相 * @desc SEの位相 * @type number * @default 0 * * @command deleteLocation * @text 転移先削除 * @desc 指定された名前の転移先を削除します * @arg groupId * @text 転移先グループID * @desc 対象とする転移先グループのID(1~転移先グループ数) * @type number * @default 1 * @arg name * @text 転移先の名前 * @desc 削除する転移先の名前 * @type string * @arg forceDelete * @text 強制削除 * @desc 削除が禁止されている転移先の削除を許可するかどうか? * @type boolean * @default false * * @command deleteLocationBySelect * @text 選択による転移先削除 * @desc 一覧から選択された転移先を削除します。 * @arg groupId * @text 転移先グループID * @desc 対象とする転移先グループのID(1~転移先グループ数) * @type number * @default 1 * @arg guideText * @text ガイドメッセージ * @desc 転移先一覧のガイドメッセージ(「どれを削除しますか」など) * @type string * @arg inhibitOrderChange * @text 並び替え禁止 * @desc プレイヤーによる一覧の並び替えを禁止する * @type boolean * @default false * @arg initialOrder * @text 初期並び替え順 * @desc 表示開始時の並び替え順 * @type select * @option 指定なし * @value * @option 登録順 * @value entry * @option 名前順 * @value name * @option 座標順 * @value coordinate * @default */