- 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:
- Features
- Set the value of saveslots
- 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 - 시작
2008.10.28 18:51
More SaveFlies(대박)
조회 수 2159 추천 수 0 댓글 2
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|---|
| 공지 | 스크립트 자료 게시물 작성시 주의사항 3 | 습작 | 2012.12.24 | 9258 | |
| 637 | 기타 | 게임 해상도를 조절 하는 스크립트 19 | 아방스 | 2008.01.21 | 4862 |
| 636 | 전투 | 방어를 했을경우 hp / mp 회복 되도록 하는 스크립트 15 | 아방스 | 2008.01.22 | 3841 |
| 635 | 전투 |
전투배경을 자신이 원하는 형태로
45 |
아방스 | 2008.01.23 | 7218 |
| 634 | 전투 |
전투 배경을 이미지로 설정하는 스크립트
20 |
아방스 | 2008.01.23 | 4993 |
| 633 | 이동 및 탈것 |
동료가 따라다니게 하는 스크립트
59 |
아방스 | 2008.01.23 | 6595 |
| 632 | 메시지 | 문장 넘길대 소리나게 하는스크립트 19 | 아방스 | 2008.01.24 | 4294 |
| 631 | 전투 | 맨손 공격시 2번공격하는 스크립트 5 | 아방스 | 2008.01.24 | 2465 |
| 630 | 타이틀/게임오버 | RPG VX - 타이틀 스크린 스크립트 23 | 아방스 | 2008.01.24 | 5828 |
| 629 | 메뉴 | 메뉴변경 스크립트 34 | 아방스 | 2008.01.24 | 8047 |
| 628 | 이동 및 탈것 |
달릴때 그래픽을 바꿔주는 스크립트
12 |
아방스 | 2008.01.24 | 4194 |
| 627 | 전투 |
전투시 메시지 표시 시간 조절
7 |
아방스 | 2008.01.24 | 2906 |
| 626 | 전투 | Target 몬스터 플래시 스크립트 16 | 아방스 | 2008.01.24 | 4597 |
| 625 | 메뉴 | rpg 만들기 vx 정보창에 조금더 자세한 정보가 나오게 하는 스크립트 28 | 아방스 | 2008.01.25 | 5171 |
| 624 | 전투 | VX에서 전투배경을 XP스타일로 나오게 하는 스크립트 7 | 아방스 | 2008.01.25 | 4925 |
| 623 | HUD | rpg 만들기 vx - 맵이름 띠우는 스크립트 ^^ 74 | 아방스 | 2008.01.27 | 12139 |
| 622 | 그래픽 | RPG XP의 Transitions효과를 VX에도 적용을 해보자 4 | 아방스 | 2008.01.27 | 4033 |
| 621 | 장비 | [스크립트]무기에 옵션을 부가하자 18 | 아방이 | 2008.01.29 | 5456 |
| 620 | 변수/스위치 | 특정 키눌러서 스위치 온 시키는 스크립트 7 | 아방이 | 2008.01.30 | 2743 |
| 619 | 맵/타일 |
◆ 타일 세트 확장 스크립트 [업데이트 수정]
24 |
아방이 | 2008.01.30 | 4479 |
| 618 | 메뉴 | 윈도우창 크기 조절 스크립트 0.3 5 | 아방스 | 2008.01.30 | 3110 |