Tool RMV MultiLang Plugin [Tool For Developers]

Kravenar Games

Active Member
Game Developer
Mar 28, 2017
524
327
Hello everyone, I wanted to share this plugin with you all. I called it KRAV_Dialog.

What does it do? It loads textfile lines as string variable in the game: I'm using it to creating multilanguage games writing game dialogues as txt files.

The configuration is pretty simple, you will need two variables to set:
One that will have never to be set in the game (default 4952)
And one that you will use to set your language (default 4951)
Here are language values for v4951: 0 = eng ; 1 = ita ; 2 = russian ; 3 = span ; 5 = fr
How does it work?
You will have to put your txt files in data/lang/
the lang directory will be "eng"\"ita"\"russian"\etc , it depends on the second variable value.

You could use with plugin commands:
"testo X file.txt" - where X is the line number to load.
"testo_intero file.txt" - this will load the whole txt file content.

Actually, to make it fit the dialog box, I'm using it with YanflyMessageCore and MessageExtPack1 for the <WordWrap> feature and a typical use looks like that:



In the given example the plugin is reading the line 1 on the file located in data/eng/WorldOfGods/ECH1.txt and I used the comment as a MEMO for the line 1 dialogue content.

Most of you will say "what could ever be the utility of this plugin?"
Well, if you work in a team and you need to translate your game, I think it's better share txt files than the whole project. :)
Hope you will like it.