| 赞 | 20 |
| VIP | |
| 好人卡 | |
| 积分 | 14 |
| 经验 | |
| 最后登录 | 2020-6-11 |
| 在线时间 | 2881 小时 |
闇吼者の災悪眷族
- 梦石
- 0
- 星屑
- 1366
- 在线时间
- 2881 小时
- 注册时间
- 2014-7-29
- 回帖
- 6408
|
发表于 2014-12-27 02:02:03
|
显示全部楼层
本帖最后由 三途亚梦 于 2014-12-27 02:59 编辑
在日站 カルトの鳥篭 中有这么一个脚本
它的作用是当玩家点过一次战斗后,
除非玩家主动在通常指令界面按“X”键退回到上一级指令,
将跳过“战斗/撤退”指令直接进入“战斗指令”。
カルトの鳥篭是6R的授权素材推广的站点,
以下是该站点的链接
http://canarialt.blog.fc2.com
该站点有墙。
介于你是新人这次就给你搬运一次。
脚本本体在折叠中。
PTコマンド省略 (VX Ace用)- #==============================================================================
- # ■ PTコマンド省略 (VX Ace用)
- #------------------------------------------------------------------------------
- # 製作者 : CanariAlternate
- # サイト名 : カルトの鳥篭
- # サイトURL : [url]http://canarialt.blog.fc2.com[/url]
- #------------------------------------------------------------------------------
- # ■ 概要 : 1回「戦う」を選ぶと以降は選択をスキップします。
- #
- # ■ 必須 : なし
- #
- # ■ 位置 : 「Scene_Battle」より下
- #------------------------------------------------------------------------------
- # 更新履歴 : 2012/03/11 Ver1.05 バグ修正。これ以前の更新履歴が残ってない。
- # 2012/04/13 Ver1.06 公開できるように修正
- # 2012/11/26 Ver1.07 アルゴリズムの見直し、変数名の変更など。
- # 2013/01/06 Ver1.08 再定義を無くして競合の可能性を減らした。
- # 2013/02/19 Ver1.09 共通処理スクリプトの廃止による変更を施した。
- #==============================================================================
- $imported ||= {}
- $imported[:CanariAlternate_PT_Command_Bypass] = true
- #==============================================================================
- # ■ Calt
- #------------------------------------------------------------------------------
- # CanariAlternateが製作したスクリプト用のモジュールです。
- #==============================================================================
- module Calt
- #-----------------------------------------------------------------------------
- # 1. 最初のターンからPTコマンドの選択を省略するか
- PT_COMMAND_BYPAS_FIRST = false
- #-----------------------------------------------------------------------------
- end
- #==============================================================================
- # ■ Scene_Battle
- #------------------------------------------------------------------------------
- # バトル画面の処理を行うクラスです。
- #==============================================================================
- class Scene_Battle < Scene_Base
- #--------------------------------------------------------------------------
- # ● 戦闘開始 [追加]
- #--------------------------------------------------------------------------
- alias battle_start_PT_Command_Bypass battle_start
- def battle_start
- # false にすると最初は選択を表示する
- # true にすると最初は選択を表示しない
- @pt_command_bypas = Calt::PT_COMMAND_BYPAS_FIRST
- battle_start_PT_Command_Bypass
- end
- #--------------------------------------------------------------------------
- # ● 前のコマンド入力へ [追加]
- #--------------------------------------------------------------------------
- alias prior_command_PT_Command_Bypass prior_command
- def prior_command
- @pt_command_bypas = false
- prior_command_PT_Command_Bypass
- @pt_command_bypas = true unless @party_command_window.active
- end
- #--------------------------------------------------------------------------
- # ● パーティコマンド選択の開始 [追加]
- #--------------------------------------------------------------------------
- alias start_party_command_selection_PT_Command_Bypass start_party_command_selection
- def start_party_command_selection
- start_party_command_selection_PT_Command_Bypass
- if @pt_command_bypas && @party_command_window.active
- @party_command_window.deactivate
- command_fight
- end
- end
- #--------------------------------------------------------------------------
- # ● コマンド[戦う] [追加]
- #--------------------------------------------------------------------------
- alias command_fight_PT_Command_Bypass command_fight
- def command_fight
- @pt_command_bypas = true
- command_fight_PT_Command_Bypass
- end
- end
复制代码 |
评分
-
查看全部评分
|