Project1

标题: 自己改菜单,重新排版出现问题 [打印本页]

作者: cl990611    时间: 2011-10-15 17:57
标题: 自己改菜单,重新排版出现问题
本帖最后由 cl990611 于 2011-10-15 17:59 编辑

自己想改菜单,但脚本不在行,请各位大虾看看。以下截图。



Project7.rar (254.71 KB, 下载次数: 337)
如图dsu_plus_rewardpost_czw

2.PNG (141.29 KB, 下载次数: 22)

2.PNG

作者: 千葉玖濑    时间: 2011-10-15 19:15
本帖最后由 米酒獭酱 于 2011-10-15 19:16 编辑
  1.   #--------------------------------------------------------------------------
  2.   # ● 更新指令选择
  3.   #--------------------------------------------------------------------------
  4.   def update_command_selection
  5.     if Input.trigger?(Input::B)
  6.       Sound.play_cancel
  7.       $scene = Scene_Map.new
  8.     elsif Input.trigger?(Input::C)
  9.       if $game_party.members.size == 0 and @command_window.index < 4
  10.         Sound.play_buzzer
  11.         return
  12.       elsif $game_system.save_disabled and @command_window.index == 4
  13.         Sound.play_buzzer
  14.         return
  15.       end
  16.       Sound.play_decision
  17.       case @command_window.index
  18.       when 0      # 物品
  19.         $scene = Scene_Item.new
  20.       when 1,2,3  # 特技、装备、状态
  21.         start_actor_selection
  22.       when 4      # 存档
  23.         $scene = Scene_File.new(true, false, false)
  24.       when 5      # 游戏结束
  25.         $scene = Scene_End.new
复制代码
确定你改这个指令选择了么?
只能看见第一张图 其它都叉了 所以没办法帮你改
作者: Kimu    时间: 2011-10-16 09:48
你只改了外部显示,
每个选项对应的指令你没改
具体看LS
作者: 黑之翅膀    时间: 2011-10-23 02:19
  1.   #--------------------------------------------------------------------------
  2.   # ● 生成命令窗口
  3.   #--------------------------------------------------------------------------
  4.   def create_command_window
  5.     s1 = Vocab::item
  6.     s2 = "手动加点"
  7.     s3 = "查看任务"
  8.     s4 = Vocab::skill
  9.     s5 = Vocab::equip
  10.     s6 = Vocab::status
  11.     s7 = "读取方案"
  12.     s8 = Vocab::save
  13.     s9 = Vocab::game_end
  14.     @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7, s8, s9])
复制代码
  1.   #--------------------------------------------------------------------------
  2.   # ● 角色选择更新
  3.   #--------------------------------------------------------------------------
  4.   def update_actor_selection
  5.     if Input.trigger?(Input::B)
  6.       Sound.play_cancel
  7.       end_actor_selection
  8.     elsif Input.trigger?(Input::C)
  9.       $game_party.last_actor_index = @status_window.index
  10.       Sound.play_decision
  11.       case @command_window.index
  12.       when 1  # 加点
  13.         $scene =                  #(自己写)
  14.         
  15.       when 2  # 任务
  16.         $scene =                  #(自己写)
  17.         
  18.       when 3  # 技能
  19.         $scene = Scene_Skill.new(@status_window.index)
  20.       when 4  # 装备
  21.         $scene = Scene_Equip.new(@status_window.index)
  22.       when 5  # 状态
  23.         $scene = Scene_Status.new(@status_window.index)
  24.         
  25.       when 6  # 读取方案
  26.         $scene =                  #(自己写)
  27.       end
  28.     end
  29.   end
  30. end
  31. end
  32. end
复制代码


黑之翅膀于2011-10-23 02:20补充以下内容:
然后,反正就是很麻烦,我不怎么懂,如果你要改的话需要做很多东西




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1