HUD modding help (info-card specifically)

I'm trying to re-work the HUD/display for 1920 resolution. I grabbed a UI mod (moo-foo's TransUI) and I'm fiddling around with it, to see how things work.

 

That said, my one major hangup is this:

 

 

How can I stretch the right side of that? I can move it around on the screen, etc, but can't make it bigger (wider).

 

The infocard.window file doesn't appear to have that in it...

 

TXT
fontDefault "InfoCardStandard"
fontEntityName "EntityName"
fontPlayerName "PlayerName"
fontPlayerRace "RaceName"
offsetFromBottomBarBottomRight [-300, -0] <---this is where I've got it set now (where the cap was taken), this was the easy part.
offsetFromTopCenterWhenFullScreenDialogOpen [570, 760] <----this was in moo-foo's mod, which makes the info card for the research window pop out to the right of the main window
categoryGapHeight 10
minWidth 380 <---this I've modified also, it makes the research pop-out window wider (to the right). Anything over 380 and it goes to the bottom right of the screen.
minWidthForMultiLineString 250

 

Where can I find the width of the lower-right infocard (the one with planet/ship data on mouse-overs)? Is it in another window file? I've looked in topbar, bottombar, nothing jumps out at me.

6,737 views 8 replies
Reply #1 Top
I hate bumping threads (especially my own), but I'm completely stumped on this.

Isn't there a way to make the card wider? I'm trying different fonts, and some extend the text past the card "frame".
Reply #2 Top
Check the .Brushes files in the Window folder. One of them will have a reference to the picture used and the size of that picture. You may have to play around with the texture files.

Could you give me some info one what exactly you are editing? What files specifically, and what lines?
Reply #3 Top
I'm heading home for lunch right now, I'll get some more specifics when I have them in front of me.
Reply #4 Top
Ok, here's what I've got now:


http://www.apexf1.com/soase/infocard2.jpg

The red parts are what I'd like it to be.

I've tried changing the info in bottombar.window, in the "entityInfoWindow section:

entityInfoWindow
area [300, 0, 120, 100] (-original values)

...but it made no difference in game.


I've also played around with the infocard.window file. Specifically:

offsetFromBottomBarBottomRight [-10, -101]
offsetFromTopCenterWhenFullScreenDialogOpen [570, 760]
categoryGapHeight 10
minWidth 297
minWidthForMultiLineString 220 (original values)

The minWidth does change the width of the info card, but it's the one that pops out from the research window. It has no affect on the lower card. I even messed with the offset values and it didn't seem to move it either.

It's likely one, simple little value that's hiding...

Hmmm, it appears this forum's sofware doesn't like the url=[link][img] routine...
Reply #5 Top
Mmm... the way I was thinking of won't work. I was hoping editing the texture file and the .brushes file could be used to stretch the card window, and then remove the right hand side of it so it appeared to be aligned to the middle section. I'm short on time, but if you are still having problems tomorrow, I'll try and have a look.
Reply #6 Top
Oh, I'm sure I'll still have problems tomorrow, I'm planning on giving up and getting drunk. :)
Reply #7 Top
It will take me too long to find out everything you are working with, but I'll try to elaborate on what I said earlier, as it may work. The background to the Info Card is in a texture file somewhere. The location and dimensions of which will be in the Window folder, in one of the .BRUSHES files. If you can find that information, you could increase the dimensions of the 'picture' that the Info Card uses as it's background. This way you could tweak it to 'shift' it so it aligned to the center section of the HUD.

I know that might sound like incoherent babble, but if you could try and work it out, then thats a way to accomplish your goal here.

Good luck, and if you find the texture and .BRUSHES file that includes that information, post it here, I might be able to have a go too.
Reply #8 Top
I was looking at the brushes too, I'll give it another shot.

There has to be a way.

The only reason I'm wanting to do it, is to use different fonts. Some are less condensed than others, thus making the lines of text longer and sticking out of the card space.

That, and if I can find the location of that card, you could relocate it to wherever you want it.