Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: ryuuji on March 13, 2016, 05:30:19 AM

Title: (Q) Hystory.dat customization
Post by: ryuuji on March 13, 2016, 05:30:19 AM
Is it possible to modify the layout of the hystory.dat in such way that

1. determine a certain are where the text can be displayed (smaller area than the current one)
2. add a custom background that does not cover everything ( just a certain area) so the rest remains visible
2. add artwork image to be displayed together with the text ( box art for example )

Title: Re: (Q) Hystory.dat customization
Post by: ryuuji on March 14, 2016, 06:17:16 AM
can I atleast get a answer on how to change the font size and font style in history.bat ?
Title: Re: (Q) Hystory.dat customization
Post by: xbs on March 14, 2016, 07:54:05 AM
Change the row number in plugin settings to change font size.

As for the font style, manually add...
Code: [Select]
m_text.font="FONT_NAME" to plugins\history.dat\plugin.nut

Where FONT_NAME is the name of the font you want to use.

e.g.
Code: [Select]
m_text.font="Arial";
Title: Re: (Q) Hystory.dat customization
Post by: ryuuji on March 14, 2016, 08:05:10 AM
Thanks :)
any chance to change text alignement from centered to of of the sides ?
Title: Re: (Q) Hystory.dat customization
Post by: xbs on March 14, 2016, 08:13:25 AM
Code: [Select]
m_text.align=Align.Left;
Title: Re: (Q) Hystory.dat customization
Post by: ryuuji on March 14, 2016, 09:22:23 AM
thanks again :)
now that I ve got this info  that I needed I have to finish the layout and learn to code it  ::)