Mechanized Assault & eXploration Reloaded



#1 May 13, 2018 12:32 pm
WittZi WittZi Offline
, Approved Member
Registered since: Sep 15, 2009
Posts: 57


Subject: User interface (1080p and above)
Hi All,

I have convinced some friends to try MAXR with me, but as they were not original MAX players I have to be careful to keep them interested and show them just how awesome the game is!

One thing I have noticed is that when you select resolutions like 1080p or 2k, the UI frame around the screen doesn't fit all the way and there are small gaps there. It doesn't affect the gameplay at all, but I wondered if there was an easy fix that I could do on the current build (such as changing a graphic, a config file, etc.) so that the borders render correctly for the higher resolution?

I've added a picture of the issue, although I suspect it's already a known thing! I don't see it on the bugtracker though, so I will add it if it's not something that I can address locally.

If anyone has any ideas I would appreciate them, as I want to try and ensure the experience is the best I can for the noobs and (hopefully) show them just how epic the game is. Happy Cool

Thumbnails of attached images:
M.A.X.R. 0.2.9 Releaseversion  13_05_2018 12_03_55.jpg
Filetype: File Type Information for: jpg jpg
Downloads: 999
Filesize: 395.74 KB
Image size: 1920 x 1200 Pixels


WittZi
__________________________________________________
_________________________________
For every complex problem, there is a simple solution that is wrong.
George Bernard Shaw
This post has been edited 1 times. Last edit on May 13, 2018 12:35 pm by WittZi. ↑  ↓

#2 May 14, 2018 9:27 am
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: User interface (1080p and above)
Hi WittZi,

you could edit the graphic files hud_top.pcx, hud_left.pcx, hud_botton.pcx and hud_right.pcx in the data folder.

If you upload the edited files, I'll integrate them into maxr Happy
↑  ↓

#3 May 14, 2018 9:56 pm
WittZi WittZi Offline
, Approved Member
Registered since: Sep 15, 2009
Posts: 57


Subject: Re: User interface (1080p and above)
Quote by Eiko:
Hi WittZi,

If you upload the edited files, I'll integrate them into maxr Happy

That would be great, thank you Eiko! I've attached the file here. I originally did two sets; 1080p (as it was likely what most people used), then 2k as that's what I wanted. However, I realised that 2k works just as well when playing 1080p anyway! So I've uploaded the 2k set as they actually seem to suit all resolutions. I was going to do 4k, but I think MAX in 4k might look too weird!

Thanks again for explaining where the files were and apologies that they are not perfect. I still think they make the UI look a little nicer at higher resolutions though so that's at least a start. Happy

Attachments:
File Type Information for: zip  gfx_2k.zip
Downloads: 931
Filesize: 329.59 KB


WittZi
__________________________________________________
_________________________________
For every complex problem, there is a simple solution that is wrong.
George Bernard Shaw
This post has been edited 2 times. Last edit on May 14, 2018 9:58 pm by WittZi. ↑  ↓

#4 May 15, 2018 8:14 am
WittZi WittZi Offline
, Approved Member
Registered since: Sep 15, 2009
Posts: 57


Subject: Re: User interface (1080p and above)
Just as an example, here's what the UI now looks like on a 2k display (plus I've added what the non-patched version looks like). It wraps around, etc. and the interface on the left isn't missing large chunks at the bottom. The corners don't wrap perfectly, but they never seemed to anyway which is why I couldn't get the right effect! Cool

(sorry, had to ZIP it as it exceeded the maximum image size (2,048 x 2,048)

Attachments:
File Type Information for: zip  M.A.X.R. 0.2.9 Releaseversion 15_05_2018 08_11_10.zip
Downloads: 1060
Filesize: 448.72 KB
File Type Information for: zip  MAXR Previous UI.zip
Downloads: 1041
Filesize: 615.88 KB


WittZi
__________________________________________________
_________________________________
For every complex problem, there is a simple solution that is wrong.
George Bernard Shaw
This post has been edited 1 times. Last edit on May 15, 2018 8:21 am by WittZi. ↑  ↓

#5 May 15, 2018 9:11 pm
Sal Sal Offline
, G-Mod
Registered since: Jun 07, 2004
Posts: 1,524


Subject: Re: User interface (1080p and above)
Nice work Cool
A.H.
- easy logic -
↑  ↓

#6 May 16, 2018 7:21 am
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,279


Subject: Re: User interface (1080p and above)
Hm.. wo we need code adjustments for this to work _right_? It looks terrible on the corners Disappointed
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

#7 May 16, 2018 6:09 pm
WittZi WittZi Offline
, Approved Member
Registered since: Sep 15, 2009
Posts: 57


Subject: Re: User interface (1080p and above)
Quote by beko:
It looks terrible on the corners Disappointed

Yes, I noticed that the game creates corners but that they appear underneath the border PCX file. Whatever I did to try and get the border to stop at the point that the corner appeared wouldn't work, so I'm presuming that there's some logic behind it. If I embedded corners directly into the PCX file it was the same problematic result because again, the corners appeared underneath my corners which caused it to look worse.

The good news is that (even if not perfect) applying the updated HUD files does improve the look of the interface for larger resolutions (see my original post for the original issue), but I would certainly like to try and get it perfect if possible if it is to be added to the installer. I just don't understand how those corners are generated in order to make it look right.
WittZi
__________________________________________________
_________________________________
For every complex problem, there is a simple solution that is wrong.
George Bernard Shaw
This post has been edited 2 times. Last edit on May 16, 2018 6:11 pm by WittZi. ↑  ↓

#8 May 18, 2018 7:23 am
beko beko Offline
Developer, Administrator
Registered since: Jun 04, 2004
Posts: 2,279


Subject: Re: User interface (1080p and above)
It probably needs adjustment in the source to work right. Probably just a matter of canging 2 integer values Smiling
Bernd Kosmahl
"Sir, we are surrounded!" - "Great - we can attack in any direction."
↑  ↓

#9 Jun 01, 2018 2:16 pm
Eiko Eiko Offline
Moderator, Developer
Registered since: Aug 03, 2007
Posts: 604


Subject: Re: User interface (1080p and above)
Right, there were some hard coded pixel positions in the code. I made the necessary changes, so that the code is now independent of the exact image size and committed the updated hud graphics. Thanks Wittzi!
↑  ↓

#10 Jun 01, 2018 4:57 pm
WittZi WittZi Offline
, Approved Member
Registered since: Sep 15, 2009
Posts: 57


Subject: Re: User interface (1080p and above)
Awesome, thank you Eiko! That's excellent news. Thank you for doing that, it's really appreciated.
WittZi
__________________________________________________
_________________________________
For every complex problem, there is a simple solution that is wrong.
George Bernard Shaw
This post has been edited 1 times. Last edit on Jun 01, 2018 4:58 pm by WittZi. ↑  ↓

Pages (1): 1

Related Topics


All times are GMT +01:00. Current time: 4:31 am.