Jump to content

[1.12.x] ZTheme v1.1.3 - A dark theme for KSP (2024-02-27)


zapsnh

Recommended Posts

ZTheme v1.1.3

About

A minor-er release to address an issue and a design flaw
HUDReplacer v1.2.11 or higher is recommended.

Changelog

  • Add texture for the 'you can't purchase this item because you're too poor' button. (#9)
  • Minor adjustments to the other purchase buttons so that they don't overlap the part window.
  • Add a better pin icon that wasn't made in MS Paint.

Known Issues

  • KAL Editor icons sometimes don't show up.
Link to comment
Share on other sites

3 hours ago, ike2462 said:

Ive found that I don't have any way to change to the different launch sites, there's no pop out tab that shows the different sites available. 

There should be a small tab that reveals the launch site picker.image

Do you have the 'extra launch sites' option enabled in the difficulty settings?

Edited by zapsnh
speling
Link to comment
Share on other sites

Hi, I really like the theme, it brings a very refreshing experience. However, I've been playing with Realism Overhaul recently and I've encountered that partial failures of engines (they are provided by Kerbalism) are difficult to recognize, especially since they are at the corner of the screen.

In stock theme they are orange and easily discernable from normal engines (light-grey) and failed engines (red). With ZTheme red ones are more or less visible, but these orange ones are too close to dark grey. Is it possible to change these colors a bit? For example, make normal part icons brighter, or failures (orange and red) more saturated.

 dPawDgC.png

Link to comment
Share on other sites

20 hours ago, desert said:

Is it possible to change these colors a bit? For example, make normal part icons brighter, or failures (orange and red) more saturated.

What does it look like without ZTheme? I don't think I can really recolor it (via HUDReplacer) since it seems to already be recoloring the texture to be as red as possible.
 

I could maybe make the part icon brighter but it may look a bit bad. Also, how do you trigger a partial failure? Can you give me some steps to reproduce or a save file with a partially failed engine?

Link to comment
Share on other sites

8 hours ago, zapsnh said:

Also, how do you trigger a partial failure? Can you give me some steps to reproduce or a save file with a partially failed engine?

I've tried to reproduce it and it turns out that these failures are actually not from Kerbalism but from TestFlight. To reproduce them, install TestFlight, place few dozens engines (Swivels will do) on a tank, ignite them simultaneously and let them run for some time.

That's how failures look with stock theme:

QqqsZp3.png

Link to comment
Share on other sites

  • 2 weeks later...

Hi

Badly disappointed from KSP2 I'm back to KSP1 and tried your mod with a new career save. I really like the style of your UI, but there is one thing I'd like to change: the color of the top bar of the part-window. I'd like to change it from red to a dark grey, and I've looked into the assets of your mod but can't find a corresponding grafik file. Can you please tell me which asset it is so I can try to change it myself, or is it configurable in the config.cfg file?

Thanks in advance.

Link to comment
Share on other sites

3 hours ago, Snips said:

Hi

Badly disappointed from KSP2 I'm back to KSP1 and tried your mod with a new career save. I really like the style of your UI, but there is one thing I'd like to change: the color of the top bar of the part-window. I'd like to change it from red to a dark grey, and I've looked into the assets of your mod but can't find a corresponding grafik file. Can you please tell me which asset it is so I can try to change it myself, or is it configurable in the config.cfg file?

Thanks in advance.

I assume you're refering to the part action window (PAW). There are a number of colour settings for it in config.cfg (just look for anything starting with PAW). The PAW title bar colour is defined on line 82. All the colour values are RGBA with decimal values ranging from 0 to 1.

Link to comment
Share on other sites

2 hours ago, Aelfhe1m said:

I assume you're refering to the part action window (PAW). There are a number of colour settings for it in config.cfg (just look for anything starting with PAW). The PAW title bar colour is defined on line 82. All the colour values are RGBA with decimal values ranging from 0 to 1.

Thank you so much. Will try it when I'm back home later that day.

EDIT:
So I tried it, but unfortunatly it wont work. In my config file (installed via CKAN) line 82 is "METDisplayColorRed = 1,0,0.247,1", so I copied the config file from your github repo and changed the value, but the title bars is still in red.

Edited by Snips
Link to comment
Share on other sites

7 hours ago, Snips said:

So I tried it, but unfortunatly it wont work. In my config file (installed via CKAN) line 82 is "METDisplayColorRed = 1,0,0.247,1", so I copied the config file from your github repo and changed the value, but the title bars is still in red.

The PAW title bar is called `PAWTitleBar`. It's on line 82 for v1.1.3.1, but for v1.1.3 it's on line 76.

Link to comment
Share on other sites

12 hours ago, zapsnh said:

The PAW title bar is called `PAWTitleBar`. It's on line 82 for v1.1.3.1, but for v1.1.3 it's on line 76.

Mh, I don't know what I did wrong, but after reinstalling your mod and tweaking the value everything is fine now. Thanks for your help and keep on with this cool mod. I really like it.

Link to comment
Share on other sites

  • 4 weeks later...

Is it possible to disable just the SAS mode selection part of this? I'm talking about the prograde/retrograde, maneuver/target etc icons next to the navball in flight. I thought maybe I could try finding those icons in this mods folder and deleting them, but I can't seem to find them...

Link to comment
Share on other sites

15 hours ago, Errol said:

Is it possible to disable just the SAS mode selection part of this? I'm talking about the prograde/retrograde, maneuver/target etc icons next to the navball in flight. I thought maybe I could try finding those icons in this mods folder and deleting them, but I can't seem to find them...

Delete the following in ZTheme/PluginData/flight:

  • true_down.png
  • true_over.png
  • true_up.png
  • false_down.png
  • false_over.png
  • false_up.png
  • disabled.png
Link to comment
Share on other sites

  • 2 months later...

I downloaded some mods that add new icons to the VAB, but obviously they're made in the stock style. Is it possible for me to make my own icons that fit with ZTheme so that I can replace those icons with custom icons? If it is, how would I go about that?

Link to comment
Share on other sites

23 hours ago, GamingHen said:

I downloaded some mods that add new icons to the VAB, but obviously they're made in the stock style. Is it possible for me to make my own icons that fit with ZTheme so that I can replace those icons with custom icons? If it is, how would I go about that?

It would probably depend on how those mods implement their VAB icons. You could try to follow the HUDReplacer guide here and see if that works. If it doesn't, you can also try to see if the icons are in the mod folder and replace thw icons there.

Link to comment
Share on other sites

On 6/19/2024 at 2:05 PM, GamingHen said:

I downloaded some mods that add new icons to the VAB, but obviously they're made in the stock style. Is it possible for me to make my own icons that fit with ZTheme so that I can replace those icons with custom icons? If it is, how would I go about that?

It's a bit tricky getting it to work with modded icons, since it can depend very much on the order that the game loads the mods in and how the mods code their stuff in. Generally speaking it's very simple to replace a texture just by making a config in HUDReplacer and adding a replacement texture, but if the mods load after HUDReplacer, then it might not be able to "see" the icons existing yet. There's not really an easy way to automate this without writing your own patches for those mods. See the KAL 1000 harmony patch for a reference guide on how to write such a patch.

Edited by UltraJohn
Link to comment
Share on other sites

On 6/19/2024 at 8:05 AM, GamingHen said:

I downloaded some mods that add new icons to the VAB, but obviously they're made in the stock style. Is it possible for me to make my own icons that fit with ZTheme so that I can replace those icons with custom icons? If it is, how would I go about that?

I'm curious. What mod(s) are you speaking of?

On the same subject: Anyone wanting to use this mod along with SmartDockingAid, the icons work out of the box with ZTheme.

Link to comment
Share on other sites

On 6/20/2024 at 1:25 PM, zapsnh said:

It would probably depend on how those mods implement their VAB icons. You could try to follow the HUDReplacer guide here and see if that works. If it doesn't, you can also try to see if the icons are in the mod folder and replace thw icons there.

Thanks, I'll check it out and see if I'm able to achieve something. But I'll give you a bit more info just in case you're able to tell me right away that it won't be possible. The mod in question is Sigma EditorView which adds options to toggle the lights and open/close the doors in both the VAB and SPH. I've found the textures for those custom buttons but they are .dds files. So I quickly went into GIMP to see if I'm able to even open these textures and I was in fact able to. But I mean, if it's not possible, I'll probably just completely delete those buttons seeing as I'll probably never use them.

6 hours ago, dylsh said:

I'm curious. What mod(s) are you speaking of?

On the same subject: Anyone wanting to use this mod along with SmartDockingAid, the icons work out of the box with ZTheme.

It's Sigma EditorView. If you're not familiar with the mod, it basically makes it so that the inside of the VAB and SPH actually reflect what it looks like outside. So basically you don't have a static view of the outside. But the mod also adds the option to toggle the lights inside the VAB/SPH as well as open/close the doors. And those are the custom icons that are added.

Edit: Also, thanks for that mod suggestion. I never knew it existed, but the moment I checked the mod page, I knew I needed it

Edited by GamingHen
Link to comment
Share on other sites

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...