-
Posts
370 -
Joined
-
Last visited
Reputation
222 ExcellentRecent Profile Visitors
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
That is just the spacer used to separate lines in the log. If you don't see any specific textures listed in between, you need to hover over your mouse on the element you want to grab (if using the hotkey D.)- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
I haven't myself run into a problem of the game creating stock alarms by itself. Do you have a way to reproduce this? Potentially could it be another mod that is making the alarms?
- 8 replies
-
- alarm clock
- qol
-
(and 2 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Just a quick update, I am taking a small break currently due to being busy with real life and work at the moment. When I have the time I will continue adding the requested features! Should hopefully be soon™.- 258 replies
-
- 1
-
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
I like it!- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
@Nazalassa Hey thanks! I wish there was some easy way to automate this, but unfortunately it's going to be a per-element case where I have to individually write code for every single piece of text in the game. The same goes for adding custom opacity values to textures. Actually thinking about it some more, I have a few ideas I'll have to test when I have the time to do so. The challenge is figuring out how to dynamically link the cfg file to the text elements in game. How would the cfg files be formatted to support this? I wonder if every text element has a designated internal name, just like the textures do.. I'll see what I can come up with On a side note, I have thought about changing the license of the mod, since I never really intended to use the current one, but I just picked whatever at the time to get started. Not sure how I go about that in terms of CKAN metadata. Anyone know?- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Hi! You can do that without using this mod, by using the default hotkey to hide the UI (F2), but you'll still have to recreate the custom overlay yourself.- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Yeah you could replace the navball_bg texture, but the needles would still only move within the original positions. You could probably overwrite that with a mod however. From a quick look, that might be possible by changing the RotationalGauge property of GeeGauge. There's a value for maxRot, and possibly changing the clamping in the SetValue() method. Same for the throttle gauge.- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
I will definetely look into it, as I feel like it wouldn't make sense NOT to implement it in a mod that's all about customizing the UI! With that said, it's a lot of work to do, which is why I've so far only included the ones people have asked me to add. When I designed this mod originally, the intent was for everything to be automated by replacing just textures, without requiring modifying stock code, or adding any more bespoke logic. But that only works for 99% of textures, with a few exceptions like the PAW and the KAL window, etc. And ofcourse all text would then need to be manually coded in. If you're up for the task, it would help a lot with a list of elements that needs to be included, such as like you said, the pause/load/save menu. Preferably screenshots with outlines of each element. (I quickly lose track of what is what ingame from just a list of words )- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Most text is stored in the TextMeshProUGUI components. You can set the color directly on these. Here's an example of how I did it with some of the PAW stuff.- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[1.12.x] ZTheme v1.1.3 - A dark theme for KSP (2024-02-27)
UltraJohn replied to zapsnh's topic in KSP1 Mod Development
Btw, I wouldn't really recommend doing this loop in a method that runs during gameplay. I would imagine it's gonna cause a cpu time spike whenever your navball changes. Instead I think you should run this once on Start() and cache the reference to the Texture2D object.- 116 replies
-
- 1
-
-
- ui
- HUDReplacer
-
(and 1 more)
Tagged with:
-
[1.12.x] ZTheme v1.1.3 - A dark theme for KSP (2024-02-27)
UltraJohn replied to zapsnh's topic in KSP1 Mod Development
Did you use the LoadingBufferMask class? I wonder what would happen if you were to run: LoadingBufferMask.Instance.Hide(); Edit: I nevermind, that's an internal property.- 116 replies
-
- ui
- HUDReplacer
-
(and 1 more)
Tagged with:
-
[1.12.x] ZTheme v1.1.3 - A dark theme for KSP (2024-02-27)
UltraJohn replied to zapsnh's topic in KSP1 Mod Development
It actually sounds feasible, though not something I'm going to implement. I reckon you'd have to go into the two classes ThrottleGauge and GeeGauge, recreate these two classes to have a LinearGauge property instead of a RotationalGauge. Then finally figure out where these two classes are originally instantiated and use a harmony patch to replace the instantiation with the new version. Though honestly I doubt it would be that easy lol. I think the scope of this change alters too much the original code of the game for it to be included in HUDReplacer.- 116 replies
-
- ui
- HUDReplacer
-
(and 1 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Can you screenshot it? And probably post a zip with those textures, so I can try them out myself and see if I can replicate it. Also just checking to make sure, but it wouldn't happen to be from TUFX post processing or something like that?- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Glad you're having fun! If you mean these, then I have no problem changing the color of these buttons by just recoloring the texture itself. Is there a specific one that doesn't work?- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
-
[WIP] [1.12.x] HUDReplacer - (v1.2.11-beta)
UltraJohn replied to UltraJohn's topic in KSP1 Mod Development
Ah alright then.- 258 replies
-
- totm may 2023
- hud
-
(and 3 more)
Tagged with:
