Page 1 of 1

Is it possible to use foreign characters in the game?

Posted: Sun May 18, 2014 12:28 pm
by Kingpin[DK]
Is it possible to use foreign characters in the game?
Although one would reach the most people using English, I would like to make a small dungeon to a friend who can not read English

Re: Is it possible to use foreign characters in the game?

Posted: Sun May 18, 2014 3:33 pm
by Skuggasveinn
I think not, the editor will not allow you to enter foreign characters like Æ Þ Ö Á É Í ð etc.
Even if you go directly into the dungeon.lua file and insert these characters into your dungeon (bypassing the editor) they still do not show ingame, they are simple omitted from the text string, so if a note would say "Dýrð sé með yður" it would come out as "Dr s me yur" :(

Skuggasveinn.

Re: Is it possible to use foreign characters in the game?

Posted: Sun May 18, 2014 3:57 pm
by Isaac
I don't think they are in the fonts either... There is no way to display them if they don't exist in the UI font.

Re: Is it possible to use foreign characters in the game?

Posted: Sun May 18, 2014 6:27 pm
by Sutekh
You can apply images to scrolls to use as maps etc, so in theory you should be able to create your text as an image with some art software.

Re: Is it possible to use foreign characters in the game?

Posted: Sun May 18, 2014 7:43 pm
by Kingpin[DK]
ok guys, many thanks for your help.
The idea of ​​using images to type foreign characters is really good, it wont unfortunately work with my idea (partybanter)

oh and that Grimrock 2 looks really nice :D

Re: Is it possible to use foreign characters in the game?

Posted: Mon May 19, 2014 12:03 am
by Komag
It could be done with GUI custom font creation, labor intensive, but possible

Re: Is it possible to use foreign characters in the game?

Posted: Mon May 19, 2014 3:38 am
by Allanius2
I am looking at the ORRR2 source code and found 3 folders in the fonts folder. Would it be possible to change fonts in the middle of a string of text? If so, the answer would be to create a second font for all the non-English characters and swap the font when ever the extra characters are needed.

Re: Is it possible to use foreign characters in the game?

Posted: Mon May 19, 2014 10:17 am
by Xanathar
I have done a tool and library for alternative fonts in Grimrock - you can see it in action in the ORRR2 credits.

I can extend it to support a minimal set of non-English chars (those fitting a codepage).

Will post it here soon :)