To add own font to the game

Dune 2000

Information and discussion for custom maps and mods.
Post Reply
Adrian
Posts: 73
Joined: Wed Feb 12, 2020 5:44 pm

To add own font to the game

Post by Adrian »

Is it possible to add own font to the game?

I would like to make font more narrow and bigger. In Mission description.
Nearly as in old Dune, like this:

Image

abcdefg30
Posts: 641
Joined: Mon Aug 18, 2014 6:00 pm

Re: To add own font to the game

Post by abcdefg30 »

Fonts are referenced in the "Fonts:" section of "mod.yaml", so you can add a font there. You probably want to replace the existing fonts with your own font files. (Otherwise you then need to change the relevant "Font: <font name>" entries in the .yaml files inside the "chrome" directory. Which is doable but requires some more work.)

Adrian
Posts: 73
Joined: Wed Feb 12, 2020 5:44 pm

Re: To add own font to the game

Post by Adrian »

Thank you very much!
It works. I want to do it more than a year :-)

Now I am still trying to understand about color of font.

Post Reply