Benji01

Regular
Regular
Joined
Jun 7, 2015
Messages
104
Reaction score
9
First Language
German
Primarily Uses
Hi,
I stumbled across a tiny / huge problem with the name input command.
First of all, I want to mention that I am using:
http://sumrndm.site/name-input-upgrade/
So, that you can type the name without the on-screen keyboard but actually with your
real keyboard.
At the moment, there aren't restrictions on characters, you can pretty much name your
character:" ;;;;;;;;__________!!!" or "111_o00;;;;;::::".
And I don't want that, especially because you can also use "ü" "ä" "ö", which my font doesn't
even support.
Is there, or can maybe somebody make a plugin - that makes it so you can only use all letters
of the alphabet in upper and lower case & space for renaming an actor?

Hopefully someone can help me!


cheerio :)
 

Yukinose

Villager
Member
Joined
Jun 7, 2017
Messages
8
Reaction score
7
First Language
English
Primarily Uses
RMMV
Window_NameInput.table is what you want to modify. It tells the name input window what set of characters the player can use when naming their character. You'll see things like Window_NameInput.LATIN1 and Window_NameInput.LATIN2.

You would likely want to create your own alphabet like that, such as perhaps
Window_NameInput.LATIN1.BENJI1 = ['a', 'b', 'c']

Then the .table function should return a value referring to that new alphabet you've created.
 

Benji01

Regular
Regular
Joined
Jun 7, 2015
Messages
104
Reaction score
9
First Language
German
Primarily Uses
In which exact plugin / file can I find Window_NameInput.table?
Because can neither find it in the rpg_windows.js nor the SRD_NameInputUpgrade
I still found "Window_NameInput.LATIN1" in rpg_windows.js though - I tried modifying the existing alphabets but that didn't do anything for me :<
I guess I'll play a bit more around with it, but maybe someone can answer my questions :)

PS: Are you actually sure this is modifying anything when I am not even using the on-screen keyboard? Just to make sure, it seemed to me that something in the "windows.js" would have to do something with the actuall window.

UPDATE:

Actually found where to edit the plugin of SRD now! Thanks Yukinose still because of your explanation I had something I can look for in the plugin, and the part I found looked similar to what I found earlier- so it worked out greatly in the end!

Explanation on how to edit the available letters when using SRD's NameInputUpgrade plugin. (In case anybody ever needs the same and stumbles upon this!)
It is in, line 259, 260 and 261 for me.
It says "_.numberz =", "_.symbolz" & "_.letterz" - just change the characters in the brackets without space or anything!
Also, to remove semicolon, equal, comma or period etc. look below to "Input.keyMapper" and comment out the ones you don't want.

Easy enough in the end :)

/Solved
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

I already had teeth that looked like fangs (on the sides) and how I chipped a tooth to make that one look sharp too xD
The site's random slowdowns are making cruising around the forums rather painful. Any word on what's going on?
making ship for my RPG game 8 Directions... it will be animated
https://prnt.sc/uTgV9yEUCqEx
I can do forest maps all day long, but creating towns is my arch nemesis. Although, I think I maybe onto something here.

Castle_Crashers-1.gif
People have got all these, so good luck!

Forum statistics

Threads
135,007
Messages
1,252,855
Members
177,918
Latest member
Lattja
Top