Forged Alliance Forever Forged Alliance Forever Forums 2017-10-06T19:39:45+02:00 /feed.php?f=41&t=15275 2017-10-06T19:39:45+02:00 2017-10-06T19:39:45+02:00 /viewtopic.php?t=15275&p=154951#p154951 <![CDATA[Re: SupCom: different font set]]>
I'll handle the rest.

Statistics: Posted by Sir-FightMeDown — 06 Oct 2017, 19:39


]]>
2017-10-05T16:26:02+02:00 2017-10-05T16:26:02+02:00 /viewtopic.php?t=15275&p=154911#p154911 <![CDATA[Re: SupCom: different font set]]>
Code:
\THQ\Gas Powered Games\Supreme Commander - Forged Alliance\fonts

So if you add a new one there the game should be able to use it.

I think for the majority of the text elements in the game, the font is set in the skin.
https://github.com/FAForever/fa/blob/develop/lua/skins/skins.lua#L112-L118

There might be a couple of texts in the game where this wont apply and the font is set in the function when the text is created, but that sound be really just few cases. You will see once you try :)

Statistics: Posted by speed2 — 05 Oct 2017, 16:26


]]>
2017-10-05T16:08:03+02:00 2017-10-05T16:08:03+02:00 /viewtopic.php?t=15275&p=154908#p154908 <![CDATA[SupCom: different font set]]>
Nowhere else to ask it considering this is the last ever standing SupCom community already, how I am able to insert different fonts in the game if I'm doing some experiment regarding a different language, then use them instead original ones? I have half the game translated by myself years back, that project I have found on an old CD week ago seemingly sitting in a f*cking jewel case for years next to Age of Empires 2 discs. Ahem, missing the TrueType font files I've mapped myself then to use over the originals, never completed anyways.

I am thinking into doing that again, although do it in a different manner this time, make them standalone. Can these be loaded from my mod folder? Perhaps this is restricted to the game engine, is LUA used for this also?

Sorry for posting it right here, any SupCom modding forums are non existent already...

Statistics: Posted by Sir-FightMeDown — 05 Oct 2017, 16:08


]]>