Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Tedino on Sat 03/05/2008 01:23:04

Title: how use AGS with foreign language, with swedish characters with å ä ö :S
Post by: Tedino on Sat 03/05/2008 01:23:04
Please help me, explain how i can use other characters than a-z. I would use swedish characters in the game.
PLEASE! help me  :'(
Title: Re: how use AGS with foreign language, with swedish characters with å ä ö :S
Post by: Pumaman on Sat 03/05/2008 12:00:10
All you should have to do is import a TTF font that has those characters. The reason they don't work in AGS by default is because the default font only includes the standard A-Z characters.
Title: Re: how use AGS with foreign language, with swedish characters with å ä ö :S
Post by: JpSoft on Sat 03/05/2008 21:47:41
Or you can edit the default font in the way that a unusefull char (®, for example) represent the char you want. Any font have around 20 chars that are almost never used and you can replace it.

Then, in the game you only need include ® in a place of the specified char.
For example, i replaced ® with ñ
Now, in the game editor, i must write

Display ("Los ca®ones de Navarone");

And the game will display "Los Cañones de Navarone";

(You can use SCI Studio to edit SCI fonts.)

Hope this helps

Jp