31
Technical forum / Re: In-game notes
« on: February 01, 2007, 05:28:07 PM »
Hi! Some questions
1. For example, string table considers of such line:
2. Is there something like #10#13 (Pascal) or "\n" (C)?
I need to type one string
3. The last trouble is in game use one font only. Those .font lines don't change anything
1. For example, string table considers of such line:
Code: [Select]
NOTE_000 Day 4. Well, I think it's inhabitted island
In the game I useCode: [Select]
var temp_static=note_window.GetControl("page0");
temp_static.Text="/NOTE_000/";
The result text is definitely "/NOTE_000/" not "Day 4..." But when I create window from fileCode: [Select]
STATIC{
...
TEXT = "/NOTE_000/"
...
}
result text is "Day 4...". What's wrong with temp_static.Text?2. Is there something like #10#13 (Pascal) or "\n" (C)?
I need to type one string
Code: [Select]
Day 4.
Well,..
instead ofCode: [Select]
Day 4. Well,..
3. The last trouble is in game use one font only. Those .font lines don't change anything
Code: [Select]
;FACE = "Arial"
FILENAME = "fonts\MyFont.ttf"
CHARSET = 1
The game always use strange standard system font. Yeah, BOLD and ITALIC properties is operational, but why game doesn't load MyFont.ttf? Or "Arial" font?