VX 스크립트

  1. Intro
    In the RPG Maker 2000 had 15 saveslots. When the RPGXP appeared only 4 slots. But with a script by KGC could expand this. Since the default RPGVX only has 4 saveslots, I thought why I don't make myself such a script as KGC has done? So here is my conclusion:
  2. Features
    • Set the value of saveslots
  3. Screenshots

    #==============================================================================
    # ** More savefiles 1.01 (http://erzvx.de.ms/scripts/MoreSavefiles.txt)
    #------------------------------------------------------------------------------
    #  written by ERZENGEL
    #==============================================================================

    # Max amount of savefiles
    MAXSAVEFILES = 8

    #==============================================================================
    # ** Window_SaveFile
    #------------------------------------------------------------------------------
    #  This window displays save files on the save and load screens.
    #==============================================================================

    class Window_SaveFile < Window_Base
      #--------------------------------------------------------------------------
      # * Object Initialization
      #     file_index : save file index (0 to the value of MAXSAVEFILES)
      #     filename   : filename
      #--------------------------------------------------------------------------
      def initialize(file_index, filename)
        super(0, 56 + file_index % MAXSAVEFILES * 90, 544, 90)
        @file_index = file_index
        @filename = filename
        load_gamedata
        refresh
        @selected = false
      end
    end

    #==============================================================================
    # ** Scene_File
    #------------------------------------------------------------------------------
    #  This class performs the save and load screen processing.
    #==============================================================================

    class Scene_File
      #--------------------------------------------------------------------------
      # * Start processing
      #--------------------------------------------------------------------------
      def start  
        super
        @file_max = MAXSAVEFILES
        create_menu_background
        @help_window = Window_Help.new
        create_savefile_windows
        if @saving
          @index = $game_temp.last_file_index
          @help_window.set_text(Vocab::SaveMessage)
        else
          @index = self.latest_file_index
          @help_window.set_text(Vocab::LoadMessage)
        end
        @savefile_windows[@index].selected = true
        @page_file_max = ((416 - @help_window.height) / 90).truncate
        for i in 0...@file_max
          window = @savefile_windows[i]
          if @index > @page_file_max - 1
            if @index < @file_max - @page_file_max - 1
              @top_row = @index
              window.y -= @index * window.height
            elsif @index >= @file_max - @page_file_max
              @top_row = @file_max - @page_file_max
              window.y -= (@file_max - @page_file_max) * window.height
            else
              @top_row = @index
              window.y -= @index * window.height
            end
          end
          window.visible = (window.y >= @help_window.height and
          window.y < @help_window.height + @page_file_max * window.height)
        end
      end
      #--------------------------------------------------------------------------
      # * Create Save File Window
      #--------------------------------------------------------------------------
      def create_savefile_windows
        @top_row = 0
        @savefile_windows = []
        for i in 0...@file_max
          @savefile_windows.push(Window_SaveFile.new(i, make_filename(i)))
        end
      end
      #--------------------------------------------------------------------------
      # * Move cursor down
      #     wrap : Wraparound allowed
      #--------------------------------------------------------------------------
      def cursor_down(wrap)
        if @index < @file_max - 1 or wrap
          @index = (@index + 1) % @file_max
          for i in 0...@file_max
            window = @savefile_windows[i]
            if @index == 0
              @top_row = 0
              window.y = @help_window.height + i % @file_max * window.height
            elsif @index - @top_row > @page_file_max - 1
              window.y -= window.height
            end
            window.visible = (window.y >= @help_window.height and
              window.y < @help_window.height + @page_file_max * window.height)
          end
          if @index - @top_row > @page_file_max - 1
            @top_row += 1
          end
        end
      end
      #--------------------------------------------------------------------------
      # * Move cursor up
      #     wrap : Wraparound allowed
      #--------------------------------------------------------------------------
      def cursor_up(wrap)
        if @index > 0 or wrap
          @index = (@index - 1 + @file_max) % @file_max
          for i in 0...@file_max
            window = @savefile_windows[i]
            if @index == @file_max - 1
              @top_row = @file_max - @page_file_max
              window.y = @help_window.height + i % @file_max * window.height
              window.y -= (@file_max - @page_file_max) * window.height
            elsif @index - @top_row < 0
              window.y += window.height
            end
            window.visible = (window.y >= @help_window.height and
              window.y < @help_window.height + @page_file_max * window.height)
          end
          if @index - @top_row < 0
            @top_row -= 1
          end
        end
      end
    end
  4. 시작
Comment '2'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
137 메시지 Universal Message System 0.3.0(beta) by ccoa 3 file Alkaid 2010.09.08 2304
136 메시지 Advanced Text System 3.0c by Modern Algebra 3 file Alkaid 2010.09.08 2302
135 기타 2 Players Engine 11 레이니케 2008.03.28 2294
134 장비 YERD - Extra Equipment Options ReDONE 7 훈덕 2009.11.08 2287
133 AntiLag_1.2h 23 file RPGbooster 2008.10.08 2284
132 전투 대미지%MP흡수 스크립트 4 Evangelista 2009.08.31 2279
131 타이틀/게임오버 타이틀에서 홈페이지 연결 17 비극ㆍ 2010.04.19 2271
130 기타 블록 미니게임 11 file 사람이라면? 2010.08.15 2269
129 전투 오버 드라이브 프로블럼 2 Man... 2008.10.28 2268
128 변수/스위치 VX Script Fix - Variable Operation (by Yeyinde) 8 WMN 2008.04.06 2267
127 기타 Fullscreen++ by Zeus81 (VX/VXA) 2 Alkaid 2012.09.01 2230
126 메시지 문장 및 페이스 정렬 바꾸기 (Neonblack's Text Alignment and Face Flip script) MinaAubert 2012.09.19 2214
125 기타 이벤트 제작용 소품 모음 스크립트 12 시트르산 2010.09.10 2209
124 메시지 Advanced Text System 3.0b by Modern Algebra 3 file Alkaid 2010.09.05 2206
123 전투 Slip_Damage_Ex - 슬립데미지 확장기능 (상태별 슬립데미지 적용) 7 허걱 2012.07.24 2194
122 기타 전투후 이어지는 베경음 9 비극ㆍ 2010.04.19 2190
121 장비 루시퍼님이올리신 rei의 보이는 장비 아주 조금 해석본 2 file 비류 2010.01.08 2184
120 기타 스크립트강좌 4 아하!잘봤어요. 2009.05.04 2158
» More SaveFlies(대박) 2 Man... 2008.10.28 2125
118 기타 RMVX Patcher 1.2.0 by Yeyinde 5 file Alkaid 2010.11.12 2118
Board Pagination Prev 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Next
/ 32