Цитата(giga @ 10.09.2018, 10:35)
Hi.
How can I make fonts for stalker games
dds file
ini file
can you help me, thank you
Hi
I don't have the files on my hands, but essentially there is a dds file with letters side by side in a grid format. I think XML file has coordonates and size for each cell (symbol) as well as letter reference.
Later I can look up exact file names and location but you should be able to figure it out. config/ui folder has XMLs for GUI and there should be textures in gamedata/textures/ui for fonts.
I'm not sure if you can add a new font, maybe you have to replace an existing font. It's easier to do anyway: just open a DDS file with font that you want to change and modify it (I suggest to change color or do some other simple edit to check whether or not it works). I guess font DDS has alpha channel so don't forget to modify it according to how new font looks like (magic wand with disabled "continous" should help), and save it.
Save GIU DDS files with explicit alpha and with setting "no mip maps". I think DX3 compression is the right one.