Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [SSS] Single Save, Because multiple saves are for panseys.
Shanghai
post May 17 2010, 08:41 AM
Post #1


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




Shanghai Simple Script - Single Save
made by Shanghai



Link/Script
Click here

Introduction
Some games are better off with one save.

How to Use
Place it into your script list and it will do the rest by itself.

Compatibility
This script is not compatible with scripts that do other kinds of saving stuff, like Neo Save, but why would you have to worry about something like that?

For more Shanghai Simple Scripts
Visit Here.


__________________________
Go to the top of the page
 
+Quote Post
   
Guyver's Bane
post May 17 2010, 09:14 AM
Post #2


The Guiding Light
Group Icon

Group: Revolutionary
Posts: 801
Type: Event Designer
RM Skill: Masterful




I think you've set a record for the most scripts released in a month! You're incredible. Single Saves rock!


__________________________
Characters:

"damned shitty highjacked internet"

Go to the top of the page
 
+Quote Post
   
archeart
post May 17 2010, 09:17 AM
Post #3


Level 8
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Intermediate




OMG cool this would really spice up things tongue.gif

make the player have a hard time heheh but then again I surely would hate this if I was playing tongue.gif

but this would be fun :3


__________________________

Go to the top of the page
 
+Quote Post
   
Shanghai
post May 17 2010, 09:22 AM
Post #4


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




Most players don't use anything more than 1 save anyway.


__________________________
Go to the top of the page
 
+Quote Post
   
archeart
post May 17 2010, 10:32 AM
Post #5


Level 8
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Intermediate




err just wanted to know if there is a way to make saving limited??

say have a special item to save and stuff kinda like resident evil

Since you made a script for saving I just couldnt stop myself from asking tongue.gif


__________________________

Go to the top of the page
 
+Quote Post
   
Shanghai
post May 17 2010, 10:59 AM
Post #6


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




No.


__________________________
Go to the top of the page
 
+Quote Post
   
MK621
post May 20 2010, 02:18 PM
Post #7


Level 4
Group Icon

Group: Banned
Posts: 56
Type: Scripter
RM Skill: Skilled




first of all... who WOULD NOT want an extra save that they can save on for a back up
two... people much rather prefer Neo Save System... it includes screenshots without .dll files and it has a way better hud

and yes you can do that
Go to the top of the page
 
+Quote Post
   
ChaosProductions
post May 20 2010, 02:21 PM
Post #8


Level 3
Group Icon

Group: Member
Posts: 31
Type: None
RM Skill: Masterful




QUOTE (MK621 @ May 20 2010, 03:18 PM) *
first of all... who WOULD NOT want an extra save that they can save on for a back up
two... people much rather prefer Neo Save System... it includes screenshots without .dll files and it has a way better hud

and yes you can do that
It is called a "roguelike".


__________________________
chaos productions | relyt
speak no evil
Give it a shot: Right here.
Go to the top of the page
 
+Quote Post
   
Legacy
post May 20 2010, 02:23 PM
Post #9


B★RS Coding Ninja
Group Icon

Group: Global Mod
Posts: 1,414
Type: Scripter
RM Skill: Advanced
Rev Points: 15




@MK621

QUOTE
first of all... who WOULD NOT want an extra save that they can save on for a back up
two... people much rather prefer Neo Save System... it includes screenshots without .dll files and it has a way better hud

and yes you can do that


Stop flaming another member and spamming. If you continue ill have to give you a verbal warning.


__________________________
Freelance Programmer (C#, C++, Ruby)
#onegameamonth


Have you seen the new Unity3D sections?..
Unity 3D Discussion
Unity Script Development
Unity Projects
Go to the top of the page
 
+Quote Post
   
MK621
post May 20 2010, 02:24 PM
Post #10


Level 4
Group Icon

Group: Banned
Posts: 56
Type: Scripter
RM Skill: Skilled




CODE
=begin
To do the resident evil thing you wanted
use the Common Event thing then put it in your item common event selection.
Single Save
From PocketWiki
Jump to: navigation, search

    * Return to the VX Scripts
    * Return to the Shanghai's Scripts

Contents
[hide]

    * 1 Introduction
    * 2 Instructions
    * 3 Script Code

Single Save
Link     Single Save
Last Update     2010.05.17
Author(s)     Shanghai
$imported     $imported["SingleSave"]
Terms of Usage
This script can be used for both non-commercial and commercial games. Credit does not need to be due for a Shanghai Simple Script as these are things that were created within less than an hour anyway.
Version History
2010.05.17 - Finished Script


Introduction

Some games benefit more by having a single save.
Instructions

Just put this into your script list anywhere and it should work.
Script Code

#===============================================================================
#
# Shanghai Simple Script - Single Save
# Last Date Updated: 2010.05.17
# Level: Easy
#
# Some games benefit more by having one save instead of multiple. This script
# makes it so that saving will save to only one slot and loading will only
# load from one slot.
#===============================================================================
# Instructions
# -----------------------------------------------------------------------------
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ▼ Materials but above ▼ Main. Remember to save.
#
# Note: Using the call save menu event from the event editor will automatically
# save, and not bring up the save menu.
#===============================================================================
=end

$imported = {} if $imported == nil
$imported["SingleSave"] = true

#==============================================================================
# ** Scene_File
#==============================================================================

class Scene_File < Scene_Base
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  def start
    super
    if @saving
      do_save
    else
      do_load
    end
  end
  #--------------------------------------------------------------------------
  # * Execute Transition
  #--------------------------------------------------------------------------
  def perform_transition
    unless @saving
      Graphics.transition(10)
    end
  end
  #--------------------------------------------------------------------------
  # * Termination Processing
  #--------------------------------------------------------------------------
  def terminate
    super
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update
    super
  end
  #--------------------------------------------------------------------------
  # * Execute Save
  #--------------------------------------------------------------------------
  def do_save
    file = File.open(make_filename(0), "wb")
    write_save_data(file)
    file.close
    return_scene
    Sound.play_save
  end
  #--------------------------------------------------------------------------
  # * Execute Load
  #--------------------------------------------------------------------------
  def do_load
    file = File.open(make_filename(0), "rb")
    read_save_data(file)
    file.close
    $scene = Scene_Map.new
    RPG::BGM.fade(1500)
    Graphics.fadeout(20)
    Graphics.wait(20)
    @last_bgm.play
    @last_bgs.play
  end
end

class Scene_Menu
  
  def create_command_window
    s1 = Vocab::item
    s2 = Vocab::skill
    s3 = Vocab::equip
    s4 = Vocab::status
    s5 = Vocab::save
    s6 = Vocab::game_end
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s6])
    @command_window.index = @menu_index
    if $game_party.members.size == 0          # If number of party members is 0
      @command_window.draw_item(0, false)     # Disable item
      @command_window.draw_item(1, false)     # Disable skill
      @command_window.draw_item(2, false)     # Disable equipment
      @command_window.draw_item(3, false)     # Disable status
    end
    if $game_system.save_disabled             # If save is forbidden
      @command_window.draw_item(4, false)     # Disable save
    end
  end
  #--------------------------------------------------------------------------
  # * Update Command Selection
  #--------------------------------------------------------------------------
  def update_command_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = Scene_Map.new
    elsif Input.trigger?(Input::C)
      if $game_party.members.size == 0 and @command_window.index < 4
        Sound.play_buzzer
        return
      elsif $game_system.save_disabled and @command_window.index == 4
        Sound.play_buzzer
        return
      end
      Sound.play_decision
      case @command_window.index
      when 0      # Item
        $scene = Scene_Item.new
      when 1,2,3  # Skill, equipment, status
        start_actor_selection
      when 4      # End Game
        $scene = Scene_End.new
      end
    end
  end
end
#===============================================================================
#
# END OF FILE
#
#===============================================================================
=begin
    * Return to the VX Scripts
    * Return to the Shanghai's Scripts

Retrieved from "http://wiki.pockethouse.com/index.php?title=Single_Save"
Categories: VX Scripts | Shanghai Simple Scripts
Views

    * Page
    * Discussion
    * View source
    * History

Personal tools

    * Log in / create account

Navigation

    * Main Page
    * Community portal
    * Current events
    * Recent changes
    * Random page
    * Help

Search

Toolbox

    * What links here
    * Related changes
    * Special pages
    * Printable version
    * Permanent link

Powered by MediaWiki

    * This page was last modified on 17 May 2010, at 16:52.
    * This page has been accessed 91 times.
    * Privacy policy
    * About PocketWiki
    * Disclaimers
    * Install MediaWiki
    * web hosting
=end
Go to the top of the page
 
+Quote Post
   
Legacy
post May 20 2010, 02:28 PM
Post #11


B★RS Coding Ninja
Group Icon

Group: Global Mod
Posts: 1,414
Type: Scripter
RM Skill: Advanced
Rev Points: 15




@MK621

i did say that if you continued to spam you'd recive a warning. So well there you go.


__________________________
Freelance Programmer (C#, C++, Ruby)
#onegameamonth


Have you seen the new Unity3D sections?..
Unity 3D Discussion
Unity Script Development
Unity Projects
Go to the top of the page
 
+Quote Post
   
ASCIIgod
post May 29 2010, 10:06 PM
Post #12


Demonic God of Snippets of Doom +10
Group Icon

Group: Revolutionary
Posts: 271
Type: Scripter
RM Skill: Intermediate




QUOTE (archeart @ May 18 2010, 03:32 AM) *
err just wanted to know if there is a way to make saving limited??

say have a special item to save and stuff kinda like resident evil

Since you made a script for saving I just couldnt stop myself from asking tongue.gif


your a pinoy right.... ill tell you in our real language and in english.

english...

make an item you want as the "ink ribbon" like. then make a common even that tells it to check whether the item is in inventory. if it wasnt disable saving and if it was re-activate saving...

filipino...

sorry but i hate to be banned now im a revolutionary so no filipino for you


__________________________

Go to the top of the page
 
+Quote Post
   
din7775
post Oct 19 2011, 02:39 PM
Post #13



Group Icon

Group: Member
Posts: 2
Type: Event Designer
RM Skill: Skilled




THANK YOU SO MUCH!!!!
THATS IS SO EPIC FAKING AWESOME!!!!!!!!!!

but one little problem. when i pressed on the link and it doesnt work...
could u upload it again to media fire or multiupload or somthing???? teehee.gif


__________________________
Go to the top of the page
 
+Quote Post
   
Fonstw
post Dec 31 2011, 10:12 AM
Post #14


Level 3
Group Icon

Group: Member
Posts: 36
Type: Writer
RM Skill: Intermediate




QUOTE (Shanghai @ May 17 2010, 09:41 AM) *

This is stupid, just change the maximum of 4 saves to 1,2 or 3 in one of the standard script.

PS: HAPPY NEWYEAR!!


__________________________
Haven't you ever noticed that "four" is the only number with the same amount of letters as it's definition in the entire English language?
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 09:07 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker