SAVE DETECTOR & DELETE SAVE FUNCTION by PepsiOtaku

by 습작 posted Nov 07, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

D8jEUCp.png YLiJMjy.png B03va9Q.png WounAiC.png


http://rpgmaker.net/engines/rm2k3/utilities/31/


  세이브 파일 유무를 감지하거나 세이브 파일을 삭제하는 등의 기능을 제공하는 플러그인 입니다. 커스텀 타이틀이나 커스텀 저장씬을 제작하는데 응용하여 사용 가능합니다. DynRPG가 설치된 프로젝트에서만 구동 가능하며, DynPlugins 폴더 안에 해당 플러그인의 dll 파일이 들어 있습니다. 위 링크를 통해 배포페이지에서 해당 플러그인의 데모 파일을 다운로드 받을 수 있습니다. DynRPG에 대한 내용은 "습작의 스크립트 이야기 : 번외편 - 7편 : DynRPG(http://avangs.info/1031048)"를 참고해주세요. 해당 플러그인의 자세한 사용법에 대한 내용은 리드미를 참고하세요.


#. 리드미 내용

 

========================================================================

CMS Tools: Save Detector & Delete Save function v1.0

For RPG Maker 2003 with DynRPG v0.13 or higher

By PepsiOtaku

========================================================================


Save Detector

-------------

This plugin should be used in conjunction with BetterAEP (Auto Enter Patch) found here: 

http://cherrytree.at/cms/lang/en/download/?did=17


To install with DynRPG, place the BetterAEP RPG Maker 2003 RPG_RT.exe in your folder first, 

then run the DynRPG patcher.


This patch detects if you have any save games present in your game directory, and is specfically

used for your custom title screen. If there are saves present, switch will be turned ON.

If there are no saves, it will be turned OFF.


Delete Save function

--------------------

This plugin combines my earlier "Save Detector" plugin with a function to delete save files by setting

a variable to the Save's ID. After it deletes a save file, it automatically runs a check to see if all

of the saves have been removed, and changes the save detector switch accordingly.




Installation

-------------


To install the plugin, make sure that you have patched your project with cherry's DynRPG patch which

can be found here: http://cherrytree.at/dynrpg


1. Copy the "save_delete_and_detector.dll"into the DynPlugins folder of your own project.


2. Add the following (between the asterisks) to your DynRPG.ini 


**********************************************


[save_delete_and_detector]

SaveDetectorSwitch=4005

SaveDetectorCheckSwitch=4009

DeleteSaveVar=4002


**********************************************


3. Change the numeric value 4005 & 4009 to the switches of your choice. 


4. Change the numeric value 4002 to the variable of your choice.



Instructions

-------------

In your custom title screen map/common event, create a conditional branch that states IF SWITCH 4005

is ON, run title screen conditions (like pictures and menu commands) for when there are saves 

present, ELSE, run title screen conditions for when there are no saves.


An example use would be if you wanted "Continue/Load" to be grayed out when there are no save

games present.


Another example would be to create some kind of intro if you are opening the game for the first

time, or if there is a save present, go right to the title screen instead.


To use the delete save function, create a Common Event called "CallDeleteGame" set to "Call" and

add the following:


<>Variable Oper: [4002:DynRPG-DeleteFile] Set, ##


Or, set it to the value of another variable (so you can build it into your menu)


When this function is called, the plugin will delete both the .lsd and .dyn files without any

notification. You must build the notification into your menu yourself.


Who's 습작

profile

* 게임소재 자료실 관리자 (2012.04.17 ~ ) / 게임리뷰 게시판 관리자 (2012.08.23 ~ )
* 개인 블로그 : https://eternalworld.tistory.com
└ RPG Maker VX/Ace 메뉴 편집기 등 배포
* 리뷰 블로그 : https://etude87.tistory.com
└ RPG Maker 시리즈 한글패치 정리, 쯔꾸르 시리즈 이용 규약 등 소개
* 프리 게임 한글화 DB : https://freegame.tistory.com
└ 한글화된 해외 무료 게임 정리