edited August 2020 in ORK Support
Hey GiL!

So, we've developed a custom method for RFI that uses a CSV sheet to import different strings/languages at runtime. So far, it works perfectly.

There is one thing that I was wondering about today though; and that is the 100% likelyhood that we will need alternate fonts in the GUI Boxes depending on the current language. (e.g Japanese, Chinese)

Is there a way to set Font Overrides in a GUIBox's settings depending on the current language? A generic override for the entire GUI wouldn't necessarily work either, since we use different fonts for Name Boxs and Content, for example.

Post edited by Kirb on
Tactics RPG Grid Battle System for ORK
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
  • No, but you could just write some small custom code that goes through all GUI boxes and replaces the fonts in their settings.

    E.g.:
    for(int i = 0; i < ORK.GUIBoxes.Count; i++)
    {
    GUIBoxSetting box = ORK.GUIBoxes.Get(i);
    box.textFormat.font = newFont;
    box.nameTextFormat.font = newNameFont;
    }
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Gotcha! Thanks for the tip.
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • we've developed a custom method for RFI that uses a CSV sheet to import different strings/languages at runtime. So far, it works perfectly.
    If you can share this method for everyone, a lot of people will be very grateful. Not me, as i havent even started my project and will probably do it once Makinom 2 and ORK 3 are out which will have support for CSV files.

    I recently saw a user who needs this. If you cant share the script, just mention the steps needed and i will create the script for them.
Sign In or Register to comment.