[MV] Difficult Conversion Request

Started by Parkman202, November 22, 2015, 05:12:43 pm

Previous topic - Next topic

Parkman202

November 22, 2015, 05:12:43 pm Last Edit: November 22, 2015, 10:06:23 pm by Parkman202
Hello, all!

I have a request that might be something difficult to convert since it was something KK20, a coder here on Chaos Project, had created for me for RPG Maker XP.

About a year ago, I made a post regarding a certain script that centered around switches being saved even with it not being saved into the usual save file. I know that's confusing, and I will try to make it easier to explain.

Here's an example: I want the player to press a button, and that button will activate switch "A". If the player were to close the game, I would want switch "A" and any other switches I would specify to be saved in their current state (active/disabled) in a file that will be checked on the game's startup (meaning that it would load the switch's state on startup even when the player does not save the game). For more information, here's the original topic for RPG Maker XP: http://forum.chaos-project.com/index.php/topic,14799.msg190370.html#msg190370

The original script is there in a fully functioning state, and I want to know if this can be converted into a plugin for RPG Maker MV.

I don't know if this is possible with what I am doing specifically because of three reasons:

  • I host the game in Google Drive for HTML-5 play

  • RPG Maker MV was just released

  • I have a plugin that automatically skips the title screen again



I put the HTML-5 thing on the first bullet because of the difficulty one would have to write a file to the device (Windows, Mac, iOS, Android, etc.). I don't know much on how Java operates, since I've been used to RPG Maker XP's Ruby variant for most of my development time.

If this actually is possible, what file type would it be stored in? I'd think maybe .txt, but I don't know what Java can do since I'm a big newbie-idiot on the subject.

I actually feel bad requesting this since KK20 wrote me a custom script and now I'm requesting it for another engine altogether. Sorry. :(

Anyway, thank you for reading my annoyingly gigantic post!

~Parkman202

P.S. This is the code of my Skip Title script (by Yami)

/*:
* @plugindesc Skip the title scene for testing purpose.
* @version 1.0
*/

(function() {

    Scene_Boot.prototype.start = function() {
        Scene_Base.prototype.start.call(this);
        SoundManager.preloadImportantSounds();
        if (DataManager.isBattleTest()) {
            DataManager.setupBattleTest();
            SceneManager.goto(Scene_Battle);
        } else {
            this.checkPlayerLocation();
            DataManager.setupNewGame();
            SceneManager.goto(Scene_Map);
        }
        this.updateDocumentTitle();
    };

})();