Author Topic: Request: fix how game scrolls briefing text  (Read 1817 times)

0 Members and 1 Guest are viewing this topic.

Offline swashmebuckle

  • 210
  • Das Lied von der Turd
    • The Perfect Band
Request: fix how game scrolls briefing text
Since the new HUD code that expands on the usability of custom fonts is being tested out now, I thought it would be a good time to bring this up.  I've been working on getting Star Wars-style fonts working for FotG, and the whole interface looks a lot better at every resolution when you use a font that is taller than the standard tiny Bank Gothic that FS uses (font01.vf).  The problem I am encountering is that the command and mission briefing text blocks in the interface do not scroll appropriately to match the larger fonts.  I don't know what it's basing the amount of scroll it allows on, but as you can see in the pictures below, the text will simply go out of the field and you can't use the scroll button to advance it.  If you have a lot of overflow in there (depending on the size of your replacement font), the "More" indication will appear at the bottom, but you still won't be able to scroll all the way down.

The weird thing is that in the tech room and in debriefings, the system works exactly right--one line of text is scrolled for each click of the button no matter how tall the font is, and you can always scroll to the end no matter how long the text block is.  What I am wondering is if some portion of the code from the properly functioning parts can be copied over so that larger and different fonts can be used for the whole interface.

In these example pics I've just renamed the retail font02 (the biggest the game uses) as font01, so obviously there are other problems with collisions and stuff in the interface.  Some variant of font03 might make for a good upgrade in looks and legibility for the MediaVPs in the future, though.




 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Request: fix how game scrolls briefing text
I can see you're using the standard interface. In the MediaVPs, you will find replacement art for the command briefing, called 2_CommandBriefb, which has vertical scrollbars.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline swashmebuckle

  • 210
  • Das Lied von der Turd
    • The Perfect Band
Re: Request: fix how game scrolls briefing text
Yep, those shots were taken using retail.  The mediavps_3612 version has the buttons for scrolling a command briefing, but like the mission briefing buttons, they still don't function properly when using larger fonts.  You can check it out using this jumbo font and looking at the briefing for "Surrender Belisarius" at 1024x768--the game just doesn't recognize that there is more text to display.

[attachment deleted by admin]

  

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Request: fix how game scrolls briefing text
:bump: This should be fixed in builds post revision 7242.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns