| 
 
| 赞 | 5 |  
| VIP | 211 |  
| 好人卡 | 175 |  
| 积分 | 8 |  
| 经验 | 48096 |  
| 最后登录 | 2014-1-9 |  
| 在线时间 | 1327 小时 |  
 Lv2.观梦者 (?????) 
	梦石0 星屑814 在线时间1327 小时注册时间2011-7-18帖子3184 
 | 
| 本帖最后由 各种压力的猫君 于 2011-10-9 02:21 编辑 
 以上脚本插到Scene_File以下Main以上即可。复制代码#==============================================================================
# ■ 读取时回到初始位置
#==============================================================================
class Scene_File < Scene_Base
  #--------------------------------------------------------------------------
  # ● 执行读档
  #--------------------------------------------------------------------------
  def do_load
    file = File.open(@savefile_windows[@index].filename, "rb")
    read_save_data(file)
    file.close
  #--------------------------------------------------------------------------
    # 移动到初始地图
    $game_map.setup($data_system.start_map_id)
    # 移动到初始位置
    $game_player.moveto($data_system.start_x, $data_system.start_y)
    # 面向下
    $game_player.set_direction(2)
    # 刷新
    $game_player.refresh
  #--------------------------------------------------------------------------
    $scene = Scene_Map.new
    RPG::BGM.fade(1500)
    Graphics.fadeout(60)
    Graphics.wait(40)
    @last_bgm.play
    @last_bgs.play
  end
end
修改的地方在两条分割线之间,均作了注释。
 当然也可以对照自己的Scene_File加进去。
 | 
 评分
查看全部评分
 |