MV Adding another page to NameInput

Can i add another page to my name inputin rpgmv? My language is Vietnamese and the 2 rows couldn't fit all of them. I tried adding another page by adding Latin3 in rpg_window.js below the Window_NameInput like the Japanese version but it just doesnt work.

Here's me trying to add LATIN3 and the as u guessed, it didnt work
Moved to: Plugin Support

Where exactly do you want to add more rows? I only see one row on Name Input.
I just looked into the code but haven't tested it. Let's try creating a fresh new Plugin with any name and add this:

Code:
Window_NameInput.LATIN3 = ... as you already did in your screenshot

// Override
Window_NameInput.prototype.table = function() {
    return [
        Window_NameInput.LATIN1,
        Window_NameInput.LATIN2,
        Window_NameInput.LATIN3
]};

That's all you need.
Moved to: Plugin Support

Where exactly do you want to add more rows? I only see one row on Name Input.
Ah what i mean is i want another page in the nameinput so i can fit more characters in the Vietnamese alphabet
I just looked into the code but haven't tested it. Let's try creating a fresh new Plugin with any name and add this:

Code:
Window_NameInput.LATIN3 = ... as you already did in your screenshot

// Override
Window_NameInput.prototype.table = [
    Window_NameInput.LATIN1,
    Window_NameInput.LATIN2,
    Window_NameInput.LATIN3
];

That's all you need.
I really don't know how to make another plugin T_T, does it still work if i add this to the rpg_window.js?
I really don't know how to make another plugin T_T, does it still work if i add this to the rpg_window.js?
It would technically work but it's generally bad practice to add code to the core engine files as it makes it harder to isolate potential issues and it can break the game if you mess up a core file. You can't just turn off or remove a core file if it causes problems like you can a plugin.

You should paste that code in a new text file with a .js extension, save it in your plugin folder and add it through the plugin manager.
Doesn't the NameInput window allow page up/down already, so you can have multiple pages?
Doesn't the NameInput window allow page up/down already, so you can have multiple pages?
Yes, but i want to have 3 pages instead of 2 like the default... pressing page up/down would only switching between the 2 pages for me
I just looked into the code but haven't tested it. Let's try creating a fresh new Plugin with any name and add this:

Code:
Window_NameInput.LATIN3 = ... as you already did in your screenshot

// Override
Window_NameInput.prototype.table = [
    Window_NameInput.LATIN1,
    Window_NameInput.LATIN2,
    Window_NameInput.LATIN3
];

That's all you need.
i tried and... this popped up
ididitanduh.JPG
Sorry I did a mistake in the code. I updated my post above. Would you like to try again please?
Sorry I did a mistake in the code. I updated my post above. Would you like to try again please?
It worked! The third page was added successfully, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/adding-another-page-to-nameinput.158211/