how use AGS with foreign language, with swedish characters with å ä ö :S

Started by Tedino, Sat 03/05/2008 01:23:04

Previous topic - Next topic

Tedino

Please help me, explain how i can use other characters than a-z. I would use swedish characters in the game.
PLEASE! help me  :'(

Pumaman

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.

JpSoft

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

SMF spam blocked by CleanTalk