I notice in the main game, the text font on the scrolls (eg Recipe) is in Bold print, which looks nice. However, when using the editor, any text I put on the scrolls (or anything else) seems to be in italic and not that easy to read. Can I change this, so they look like the one's ingame?
Thanks
George
How do you change the text font on scrolls etc?
- WaspUK1966
- Posts: 135
- Joined: Sat Aug 09, 2014 9:17 am
- AndakRainor
- Posts: 674
- Joined: Thu Nov 20, 2014 5:18 pm
Re: How do you change the text font on scrolls etc?
Never tried that but when I read this:
http://www.grimrock.net/modding/scripti ... mComponent
it seems there is no way to do it directly.
May be you could use ScrollItemComponent:setScrollImage(string) with an image file containing the text you want ?
http://www.grimrock.net/modding/scripti ... mComponent
it seems there is no way to do it directly.
May be you could use ScrollItemComponent:setScrollImage(string) with an image file containing the text you want ?
Re: How do you change the text font on scrolls etc?
They will already look like the ones in the main campaign. The font changes depending on resolution, and the editor preview isn't high resolution enough for it to switch to the larger font. When the mod is played in 1920x1080 fullscreen it will use the bold font.WaspUK1966 wrote:I notice in the main game, the text font on the scrolls (eg Recipe) is in Bold print, which looks nice. However, when using the editor, any text I put on the scrolls (or anything else) seems to be in italic and not that easy to read. Can I change this, so they look like the one's ingame?
Thanks
George
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
- WaspUK1966
- Posts: 135
- Joined: Sat Aug 09, 2014 9:17 am
Re: How do you change the text font on scrolls etc?
Thanks for that. I know it worked in LOG1, just thought LOG2 was different. Hadn't exported the mod to test it. Should have done before posting! Appreciate the replies. Thanks again.
George
George