Jump to content

[1.7.x] 4kSP - Scaled map icons and text


tom300z

Recommended Posts

4kSP 0.1

While most UI elements are scalable by default, the Map icons and ther labels (the orbit apoapsis for example) are not, that makes the game almost unplayable at high resolutions. This Mod scales those things using the stock UI Scale setting.

Comparison Image (at 4k resolution):
rf7YPdg.jpg

This add on is still in early development so some things might appear offset or incorrectly scaled. It’s also my first add on for KSP, so please feel free to leave feedback so i can improve it.

Downloads

CKAN
Spacedock
Gitlab

FAQ

Q: How do i activate this mod?
A: 4kSP scales the map elements corresponding to the stock UI scale setting. The UI scale slider can be found under Settings > General > UI-Scale.

License & Source

This add on is available under the MIT License and the source code is available on Gitlab.
Edited by tom300z
Link to comment
Share on other sites

Hello @tom300zand welcome to the KSP Forum!

I just wanted to let you know that when posting an add-on release on the forum, there are a few requirements which are spelled out here: Add-On Posting Rules

The basic upshot is:

    Your post above needs to specify which license applies.
    It also needs to provide a link to the mod's source code.
    The download file needs to contain the full text of the license.

Please make the necessary changes to both the post and the download file.


Thanks,
KSP Moderation Team

Link to comment
Share on other sites

  • 4 months later...

I noticed in the screenshot that the text over the Ap and Pe nodes is really far down, almost covering the point on the orbit line.

I recommend increasing the lineHeight variable here:

 

                caption.GetComponent<TMPro.TextMeshProUGUI>().fontSize = 12 * GameSettings.UI_SCALE;
                caption.GetComponent<TMPro.TextMeshProUGUI>().lineHeight = 12 * GameSettings.UI_SCALE;

I haven't tried this, but it may help.

I've downloaded your Gitlabs source code and I wanted to build this, but I get errors:

Error	CS0246	The type or namespace name 'UnityEngine' could not be found
Error	CS0246	The type or namespace name 'KSP' could not be found

So, obviously I'm missing something. Can you point me in the right direction to setting up my VS to create mods? Thanks!

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...
  • 5 months later...

Does this work for mod UI as well? I find it very difficult to read KER and MechJeb in 4K.

Nevermind, found out both of these have these options. Although nonetheless a great mod I'll be using anyways.

Edited by eM-Krow
Solved my issue.
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

just tried your mod

yes, works fine for enlarging the text labels for all items in map mode

but I had installed some other mods, the texts of which were pretty illegible, like Mechjeb2, for instance

any chance to make a dll that will encompass ALL text and text boxes/windows?

cheers

Link to comment
Share on other sites

2 hours ago, Nedd said:

just tried your mod

yes, works fine for enlarging the text labels for all items in map mode

but I had installed some other mods, the texts of which were pretty illegible, like Mechjeb2, for instance

any chance to make a dll that will encompass ALL text and text boxes/windows?

cheers

Nope.  Need to contact those authors

Link to comment
Share on other sites

  • 2 years later...

Any chance of scaling the text used in flight for the current target (or mouse over any vessel) name and distance? It's annoying for rendezvous to have to flip to map view just to check the distance, which of course is also only legible at 4k thanks to your mod!

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...