Jump to content

How to build a mod for the user interface?


Recommended Posts

I have found plenty of information about modding parts in KSP, but I'm more interested in modding the UI. I'm a UI designer and frontend web developer, but completely new to modding games. I spend so much time in KSP though, I can't help but notice some UI tweaks I'd like to try out.

I have some development experience, though mostly with web languages. Are there any tips or tutorials on doing a mod that touches the UI of the game itself? Even just the ability to replace underlying image assets would be perfect, but I wasn't able to find anything obvious by hunting through the directories of the game folder and couldn't find any mods I could base my work off. Alternatively, are there any developers who'd like to team up with a designer to try a GUI mod out?

Link to comment
Share on other sites

  • 2 weeks later...
Are there any tips or tutorials on doing a mod that touches the UI of the game itself? Even just the ability to replace underlying image assets would be perfect

I'm not certain, but I believe you can mod the in-game UI with [thread=107471]TextureReplacer[/thread]. If you want to go above and beyond what TextureReplacer can do, it still might be a good place to start code-wise.

Link to comment
Share on other sites

I did not really look into it before but I doubt you can do it easily. The stock UI is done with ezgui and as far as I know you can't insert, move or edit stuff easily.

I am not even sure there are many mods that uses ezGUI for their UI. Maybe Lazor System, I can't look at its code right now so I can't check. KSPAPIExtensions play a bit with ezgui for its tweakable but you ll need to understand how it works.

TLDR version : it is a pain to do.

But I'd be pleased it someone proved me wrong :)

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