| 赞 | 1  | 
 
| VIP | 220 | 
 
| 好人卡 | 25 | 
 
| 积分 | 8 | 
 
| 经验 | 51477 | 
 
| 最后登录 | 2013-1-12 | 
 
| 在线时间 | 943 小时 | 
 
 
 
 
 
Lv2.观梦者 花开堪折直须折
  
	- 梦石
 - 0 
 
        - 星屑
 - 791 
 
        - 在线时间
 - 943 小时
 
        - 注册时间
 - 2010-7-17
 
        - 帖子
 - 4963
 
 
  
 
 | 
	
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
 本帖最后由 后知后觉 于 2010-7-20 12:14 编辑  
 
 
 
 
 
 
 
这是我修改原脚本坐标合成的,不要打我,因为我找不到“非原创发布”的地方。。。= =||| 
 
我调整脚本将原状态栏调到画面外去(太丑了!),在网上搜到了一个脚本,给战斗指令加入了一个“状态”。现在把修改后的脚本发过来,如果喜欢我这种战斗格式的朋友可以用一下。不要打我~~~- #==============================================================================
 
 - # ■ Window_PartyCommand
 
 - #------------------------------------------------------------------------------
 
 - #  战斗画面、选择战斗与逃跑的窗口。
 
 - #==============================================================================
 
  
- class Window_PartyCommand < Window_Selectable
 
 - #--------------------------------------------------------------------------
 
 - # ● 初始化对像
 
 - #--------------------------------------------------------------------------
 
 - def initialize
 
 - super(0, 0, 110, 70)
 
 - self.contents = Bitmap.new(width - 32, height - 32)
 
 - self.back_opacity = 255
 
 - @commands = ["战", "逃"]
 
 - @item_max = 2
 
 - @column_max = 2
 
 - draw_item(0, normal_color)
 
 - draw_item(1, $game_temp.battle_can_escape ? normal_color : disabled_color)
 
 - self.active = false
 
 - self.visible = false
 
 - self.index = 0
 
 - end
 
 - #--------------------------------------------------------------------------
 
 - # ● 描绘项目
 
 - # index : 项目标号
 
 - # color : 文字颜色
 
 - #--------------------------------------------------------------------------
 
 - def draw_item(index, color)
 
 - self.contents.font.color = color
 
 - rect = Rect.new(8 + index * 40 + 0, 0, 45 - 20, 32)
 
 - self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
 
 - self.contents.draw_text(rect, @commands[index], 1)
 
 - end
 
 - #--------------------------------------------------------------------------
 
 - # ● 更新光标矩形
 
 - #--------------------------------------------------------------------------
 
 - def update_cursor_rect
 
 - self.cursor_rect.set(0 + index * 40, 0, 40, 40)
 
 - end
 
 - end
 
 
  复制代码 把这个,复制并替换到原脚本“Window_PartyCommand”中,注意,要全部替换!- #==============================================================================
 
 - # ■ Window_BattleStatus
 
 - #------------------------------------------------------------------------------
 
 - #  显示战斗画面同伴状态的窗口。
 
 - #==============================================================================
 
  
- class Window_BattleStatus < Window_Base
 
 - #--------------------------------------------------------------------------
 
 - # ● 初始化对像
 
 - #--------------------------------------------------------------------------
 
 - def initialize
 
 - super(780, 0, 160, 480)
 
 - self.contents = Bitmap.new(width - 32, height - 32)
 
 - @level_up_flags = [false, false, false, false]
 
 - refresh
 
 - end
 
 - #--------------------------------------------------------------------------
 
 - # ● 释放
 
 - #--------------------------------------------------------------------------
 
 - def dispose
 
 - super
 
 - end
 
 - #--------------------------------------------------------------------------
 
 - # ● 设置升级标志
 
 - # actor_index : 角色索引
 
 - #--------------------------------------------------------------------------
 
 - def level_up(actor_index)
 
 - @level_up_flags[actor_index] = true
 
 - end
 
 - #--------------------------------------------------------------------------
 
 - # ● 刷新
 
 - #--------------------------------------------------------------------------
 
 - def refresh
 
 - self.contents.clear
 
 - @item_max = $game_party.actors.size
 
 - for i in 0...$game_party.actors.size
 
 - actor = $game_party.actors[i]
 
 - actor_x = i * 135 + 0
 
 - draw_actor_name(actor, actor_x, 0)
 
 - draw_actor_hp(actor, actor_x, 32, 120)
 
 - draw_actor_sp(actor, actor_x, 64, 120)
 
 - if @level_up_flags[i]
 
 - self.contents.font.color = normal_color
 
 - self.contents.draw_text(actor_x, 96, 120, 32, "升级了!")
 
 - else
 
 - draw_actor_state(actor, actor_x, 96)
 
 - end
 
 - end
 
 - end
 
 - #--------------------------------------------------------------------------
 
 - # ● 刷新画面
 
 - #--------------------------------------------------------------------------
 
 - def update
 
 - super
 
 - # 主界面的不透明度下降
 
 - if $game_temp.battle_main_phase
 
 - self.contents_opacity -= 4 if self.contents_opacity > 191
 
 - else
 
 - self.contents_opacity += 4 if self.contents_opacity < 255
 
 - end
 
 - end
 
 - end
 
 
  复制代码 这个也是同理,要全部替换!替换脚本文件:“Window_BattleStatus”在Main前插入一个脚本,把这里面的内容导入。(这个是搜的哦~~用这个就可以在战斗指令界面加入一个状态查看了。) 
 
呵呵~大家尽管批评,我以后还会更加努力的~ 
 
 
 
 |   
 
 
 
 |