MoroseTroll on 18/11/2019 at 09:59
Guys, what about the character = 255 (0xFF) for text alignment? AFAIK, it looks just like the whitespace.
BTW, the matter of text alignment is very important for those who translate FMs. Wish there was a way to check all FM readables at once, either by pressing a special key combination, or by clicking a hidden area in the game's menu, or by loading a tiny hidden level that includes all FM readables in a tiny room...
Unna Oertdottir on 18/11/2019 at 10:29
To find a list of readables, you have to load the mission in DromEd.
Hit F5, mark object (-1)
Hit query
-->Book-->Text
-->Book-->Art (if there is one)
This is the list of book objects and the str names.
MoroseTroll on 18/11/2019 at 11:16
You mean I can watch readables there, in DromEd, the same way as it would be in the game? I'm afraid, I'm no DromEd user :(.
I suppose, it'll be difficult enough for FM authors to create a tiny level with all FM readables?
Unna Oertdottir on 18/11/2019 at 11:38
You can note the book object number and jump to the object (key: F8). Go in game mode there and read it.
This a very basic task in DromEd. You can learn it in a couple of minutes, just try it. ;)
MoroseTroll on 18/11/2019 at 15:48
Hmm... I'll try.
john9818a on 18/11/2019 at 17:46
Quote Posted by MoroseTroll
Guys, what about the character = 255 (0xFF) for text alignment? AFAIK, it looks just like the whitespace.
BTW, the matter of text alignment is very important for those who translate FMs. Wish there was a way to check all FM readables at once, either by pressing a special key combination, or by clicking a hidden area in the game's menu, or by loading a tiny hidden level that includes all FM readables in a tiny room...
I tried that a few days ago and it actually generates a character in Thief. IIRC it was like this: ë
MoroseTroll on 19/11/2019 at 07:19
Yikes! Sorry, I didn't know that :(.
vfig on 24/11/2019 at 05:50
NewDark added the 'notrim' option so that you can do leading whitespace easily. Just add the option in your readable (I always put it before the text, but I think it works after it as well), and then Thief won’t steal all your spaces from in front of your title.
Quote:
Support for leading whitespaces, in order to for example center a page title, has also been added but is not enabled
by default in order to not break any existing content. It has to be enabled for each book .STR that wants to use it
by adding a "no_trim" value like this:
no_trim: "1"
vfig on 24/11/2019 at 06:02
Quote Posted by MoroseTroll
Wish there was a way to check all FM readables at once, either by pressing a special key combination, or by clicking a hidden area in the game's menu, or by loading a tiny hidden level that includes all FM readables in a tiny room...
First, make a note of the book text and book art for each readable in the mission in notepad or on paper or whatever (for example, using the query Unna described to find them).
Then later you can check any of them quickly from the console in Dromed. Go into game mode, press : to open the console, and type:
[indent]test_book_ex bookname,artname[/indent]
This will reload the .str file before displaying it, so you can alt-tab back and forth to your editor to tweak the text, and back to the game check the book again easily. When coming back to the game, use Ctrl+P to open the console instead of : and it'll keep the last command so you don't even have to type it again while tweaking that book.
Apiai on 4/2/2020 at 13:30
Thanks for the tips vfig, i'll try it.
I've requested a new config variable in cam_ext.cfg for Le Corbeau on the french forum, I pray the Builder he'll implement it :
;used for FM translators, reload the readable file (including subtitle file) each time you click on a readable in the game. Translators can edit/correct text file and test the result immediatly in the game
force_readeable_reload