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 5408
537 전투 전투 배경을 이미지로 설정하는 스크립트 20 file 아방스 2008.01.23 4893
536 메뉴 전투 결과 팝업 스크립트 12 file 카르와푸딩의아틀리에 2009.06.30 3381
535 메뉴 전투 결과 상세 표시 스크립트 (한글화) 15 file 강진수 2010.02.26 3344
534 파티 전에 아방스님이 올린 '파티 변경 시스템'을 한글화 했습니다. 17 file 아리엘 2008.09.16 3589
533 아이템 적과 만나지않는 아이템 12 file RPGbooster 2008.10.11 2718
532 기타 적 선택시 스킬창 비표시 + 타겟 플래쉬 7 훈덕 2009.06.14 2094
531 기타 장애물을 피하고 다가오게 하는 스크립트 5 file 박력남 2014.02.25 1877
530 이동 및 탈것 장소이동시 효과 없애기 10 file 허걱 2013.05.05 1963
529 장비 장비의 착용조건 설정 v1.0 27 file 까까까 2010.09.20 3740
528 장비 장비에 레벨제한 스크립트!! 21 ijsh515 2010.09.19 3040
527 장비 장비 확장 및 EP 기능 18 만들어보자꾸나 2008.06.10 3653
526 장비 장비 레벨 개념 추가 스크립트 14 아방스 2010.12.06 3275
525 기타 작은 게이지바 표시 스크립트 44 file 허걱 2009.02.05 5979
524 메뉴 자작 메뉴 스크립트 for VX(L's Simple Custom Menu VX ver.) 5 Alkaid 2010.09.02 4705
523 이동 및 탈것 자동 이동 시스템 20 file 허걱 2010.04.21 4305
522 키입력 입력 기능 확장 스크립트 추가. [전체키 스크립트] 22 아방스 2008.08.25 3772
521 메뉴 일본에서 만든 멋있는메뉴변경 스크립트 (한글 VX에서 쓰시면 자동으로 바뀜) 45 유칸지 2008.04.09 8861
520 기타 이벤트 제작용 소품 모음 스크립트 12 시트르산 2010.09.10 2209
519 기타 이벤트 위치 저장 스크립트 10 Tofuman 2008.12.11 2096
518 기타 이벤트 상세효과 9 file 사람이라면? 2010.08.15 2801
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 32 Next
/ 32