Author Topic: (Q) Hystory.dat customization  (Read 1249 times)

ryuuji

  • Sr. Member
  • ****
  • Posts: 107
    • View Profile
(Q) Hystory.dat customization
« 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 )

« Last Edit: March 13, 2016, 08:49:45 AM by ryuuji »

ryuuji

  • Sr. Member
  • ****
  • Posts: 107
    • View Profile
Re: (Q) Hystory.dat customization
« Reply #1 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 ?
« Last Edit: March 14, 2016, 07:37:56 AM by ryuuji »

xbs

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: (Q) Hystory.dat customization
« Reply #2 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";
« Last Edit: March 14, 2016, 08:32:41 AM by xbs »

ryuuji

  • Sr. Member
  • ****
  • Posts: 107
    • View Profile
Re: (Q) Hystory.dat customization
« Reply #3 on: March 14, 2016, 08:05:10 AM »
Thanks :)
any chance to change text alignement from centered to of of the sides ?

xbs

  • Sr. Member
  • ****
  • Posts: 171
    • View Profile
Re: (Q) Hystory.dat customization
« Reply #4 on: March 14, 2016, 08:13:25 AM »
Code: [Select]
m_text.align=Align.Left;

ryuuji

  • Sr. Member
  • ****
  • Posts: 107
    • View Profile
Re: (Q) Hystory.dat customization
« Reply #5 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  ::)