Multilanguage Enabled! You can create multilanguage games with this.

● ARCHIVED · READ-ONLY
Started by KravenarGames 3 posts View original ↗
  1. 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:

    Spoiler
    1qj67DQ.png

    In the given example the plugin is reading the line 1 on the file located in data/eng/WorldOfGods/ECH1.txt

    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.
  2. I will try to use this! And report to you if manage to get it work :)
    Can i use for commercial?
    Download is down =/
  3. I was going to ask for how to do this!

    Thanks for sharing will give it a try in the eventual future.