MV FF1 Style Class Change

I'd like to share my plugin for attempting to mimic the FF1 Character Creation at the start of the game.

So it's limited to the 4 Party Members. Actor ID 1 - 4.
1730511556034.png


When you select a game actor, you assign class change. the SV battler and walk graphic , as well as class name, will take effect immediately. I have limited the class IDs to 1 to 8.

1730511674767.png


Then the ability to name characters. I decided to use my own name input scene, so i can have those random names. I think I placed about 60+ names from the FF series in the random array.

1730511793175.png


I used note tags to add class description, and the graphics change
Spoiler: sample notetag
1730511866513.png


This is what you need for the opening map
Spoiler: sample event
1730511988509.png

Plugin in the attachment
Very Good. Have You Thought About Mimicking The Drawing System From Final Fantasy VIII
Nice work, @xabileug! Cool to see something from FF1 recreated like this.
Pretty Snazzy, but I use larger battlers and it didn't seem to animate the battlers correctly and the frames couldn't fit the window.
visualbug.jpg
Pretty Snazzy, but I use larger battlers and it didn't seem to animate the battlers correctly and the frames couldn't fit the window.
good point. instead of hardcoding the 64x64 px actor image, doing as the engine does and making the size be 1/6 and 1/9th of the bitmap's height and width could be a bit better.

@xabileug
Just a suggestion. maybe make plugin parameters for that actor select window to determine its dimensions instead of setting them yourself so that if the user uses sprites that arent the same size as the generator ones, its on them to adjust the rows and columns if theyre too big/small?
Very Good. Have You Thought About Mimicking The Drawing System From Final Fantasy VIII
I will check that..
Nice work, @xabileug! Cool to see something from FF1 recreated like this.
Thank you. I actually made the window crystal first.
Pretty Snazzy, but I use larger battlers and it didn't seem to animate the battlers correctly and the frames couldn't fit the window.View attachment 321886
Oh im sorry, i stick with the default SV battler sheet RTO 64x64. What is your size so i can resize them to fit in the box. I posted this because i dont know what customization features needed.
good point. instead of hardcoding the 64x64 px actor image, doing as the engine does and making the size be 1/6 and 1/9th of the bitmap's height and width could be a bit better.

@xabileug
Just a suggestion. maybe make plugin parameters for that actor select window to determine its dimensions instead of setting them yourself so that if the user uses sprites that arent the same size as the generator ones, its on them to adjust the rows and columns if theyre too big/small?
Thank you for the advice. I will try that. Often i do the layout by trial and error cause using the Graphics width box height linefitting can get confusing.. yes, i will try to add that. Although it could mess up the animation poses.
Although it could mess up the animation poses
you could let the engine handle a good bit of that calculation for you. theres a MOTIONS property of Sprite_Actor class itself you can use to pull the index of the motions. It goes top to bottom left to right instead of left to right top to bottom though.
so if you wanted the victory poses as an example, Sprite_Actor.MOTIONS.victory.index would get you 13. from there, you'd divide it by 6. if you used the bitmap's height and width to get the cell dimensions, then the remainder times the cell height is your y, and the (quotient * 3 + the frame count) * the cell width is the x
updated the plugin for the draw item. will wait for other addons
Spoiler: draw item
JavaScript:
Window_ClassSelect.prototype.drawItem = function(index) {
    const classId = index + 1; // Class IDs start at 1
    const classData = $dataClasses[classId];
    const rect = this.itemRect(index);

    if (classData && classData._svBattler) {
        const battlerName = classData._svBattler;
        const bitmap = ImageManager.loadSvActor(battlerName);

        if (!bitmap || bitmap.width === 0 || bitmap.height === 0) {
            return; // Exit if the bitmap is not loaded properly
        }

        const pw = bitmap.width / 9;   // updated
        const ph = bitmap.height / 6;  // updated
        const frame = this._frames[index] % 3; // Cycle between frames 0, 1, and 2
        const isSelected = this.index() === index; // Check if this item is selected

        // Use the parsed pose when selected or fall back to 'walk' when not selected
        const motionType = isSelected ? (classData._pose || 'victory') : 'walk';  //updated
        const motion = Sprite_Actor.MOTIONS[motionType];

        if (!motion) {
            console.warn(`Motion type "${motionType}" not found in Sprite_Actor.MOTIONS.`);
            return;
        }

        const motionIndex = motion.index;
        let startCol;
        if (motionIndex < 6) {
            startCol = 0;
        } else if (motionIndex < 12) {
            startCol = 3;
        } else {
            startCol = 6;
        }
        const row = motionIndex % 6;

        const sx = (startCol + frame) * pw;
        const sy = row * ph;

        const x = rect.x + rect.width / 2 - pw / 2;
        const y = rect.y + rect.height / 2 - ph / 2;

        this.contents.blt(bitmap, sx, sy, pw, ph, x, y, pw, ph);

        const classNameY = y + ph + 4;
        this.drawText(classData.name, rect.x, classNameY, rect.width, 'center');
    } else {
        this.drawText("No Image", rect.x, rect.y, rect.width, 'center');
    }
};
hey would there be a option to make it work in mz aswell?
Not sure how often you check back here, but if you could make it possible to not quit the creator without confirming. Right now you can just "escape (ESC key)" the creator
Not sure how often you check back here, but if you could make it possible to not quit the creator without confirming. Right now you can just "escape (ESC key)" the creator
okay will update. thank you for checking out this plugin
okay will update. thank you for checking out this plugin
I also noticed in testing, while it changes the class name, it seems to be only cosmetic. I changed class for my 3rd character in party to an archer class, which is the 6th class in the editor. However the character did not gain any of the skill, but instead had all the skill from the default 3rd class in the editor which happens to be mage. Name change and Class name updated just fine.
yes this is only graphics, since in FF1 you only choose class at the start of the game, there is another FF4 class change for during in game that works like this
there is another FF4 class change for during in game that works like this
Sorry, I don't remember exactly, but I thought the class change menu existed from FF5 onwards. In FF4, Cecil changes classes during the storyline (Dark knight --> Paladin)
yes this is only graphics, since in FF1 you only choose class at the start of the game, there is another FF4 class change for during in game that works like this
That was at the start, since most actors have a class by default. I thank you for pointing out the other plugin.
I'd like to share my plugin for attempting to mimic the FF1 Character Creation at the start of the game.

So it's limited to the 4 Party Members. Actor ID 1 - 4.
View attachment 321870

When you select a game actor, you assign class change. the SV battler and walk graphic , as well as class name, will take effect immediately. I have limited the class IDs to 1 to 8.

View attachment 321871

Then the ability to name characters. I decided to use my own name input scene, so i can have those random names. I think I placed about 60+ names from the FF series in the random array.

View attachment 321872

I used note tags to add class description, and the graphics change
Spoiler: sample notetag


This is what you need for the opening map
Spoiler: sample event

Plugin in the attachment
Not a bad idea. It should also allow the Dev to place it inside the game too. Think Dragon Quest III and the ability to hire mercenaries. Something like that would be pretty awesome.
Oh that was a typo FF5 i mean.

I already have a hire mercenary plugin btw. But i will improve this to support ingame class change to preserve skills levels on change. Im still not that good with coding, so making compatibility can be difficult for me.

Original thread: https://forums.rpgmakerweb.com/threads/ff1-style-class-change.172968/