I am trying to develop another method that should allow to create multi-language games with RpgMaker VX Ace (the development is still in a very early stage... so a lot of work is still required).
But I have to plan well all the stages required...
Well... this question is about the 'import translation in game' stage (wich is not yet started)...
So... figure this scenario... we have some translation files for some different languages... this translation will include also the terms and the sentences used in database (or better in '$data_so mething' global variable and in the variables used by the Vocab script)... my idea is to override, when loading the game, all the texts used in each of '$data_something' global variables with the translated text of the choosen language (without touching the database) so that terms and sentences could be displayed in the selected language instead of the language used internally in the database.
So what I'm asking is what I should have to overwriting / aliasing to launcing another function when the event 'load game' is executed
More or less like this pseudo code:
- alias of something wich is executed by default on load game
- execute standard instructions that the RpgMaker VX Ace engine normally do
- then execute my function wich will re-assign the value of every '$data_something' text to the proper translated one (for example... the nickname of every actor, and so on...)
Thank a lot 🙂
But I have to plan well all the stages required...
Well... this question is about the 'import translation in game' stage (wich is not yet started)...
So... figure this scenario... we have some translation files for some different languages... this translation will include also the terms and the sentences used in database (or better in '$data_so mething' global variable and in the variables used by the Vocab script)... my idea is to override, when loading the game, all the texts used in each of '$data_something' global variables with the translated text of the choosen language (without touching the database) so that terms and sentences could be displayed in the selected language instead of the language used internally in the database.
So what I'm asking is what I should have to overwriting / aliasing to launcing another function when the event 'load game' is executed
More or less like this pseudo code:
- alias of something wich is executed by default on load game
- execute standard instructions that the RpgMaker VX Ace engine normally do
- then execute my function wich will re-assign the value of every '$data_something' text to the proper translated one (for example... the nickname of every actor, and so on...)
Thank a lot 🙂