Jump to content

UITK for KSP 2 [v2.4.2 for KSP2 v0.2.0]


munix

Recommended Posts

nWFDHtH.png

UITK for KSP 2
v2.4.2 for KSP2 v0.2.0

OohbqMf.png

Download: GitHub or SpaceDock
Source code: UitkForKsp2/UitkForKsp2 on GitHub
Documentation: uitkforksp2.github.io (WIP)
 License: MIT

UITK for KSP 2 is a library for creating user interfaces with Unity UI Toolkit in Kerbal Space Program 2 mods.

The library provides:

  • A default theme based on the KSP 2 user interface,
  • global settings to switch between automatic scaling based on resolution and manual scale for all mods,
  • APIs to load UIs pre-built in Unity from bundles, or to help create new windows and UI elements from C# code,
  • APIs for easier manipulation of UI elements (such as moving windows by dragging, or disabling game input when typing into text fields),
  • API for localization of text within UI,
  • custom controls to use in your UI, as well as an API to easily register your own custom controls.

Installation

The recommended way to install UITK for KSP 2 and most other mods is CKAN, because it automatically takes care of dependencies and mod compatibility and provides a very easy way to update all your mods at once with just a few clicks.

Recommended:

  1. Download the latest version of CKAN and place the ckan.exe file into your KSP2 folder (the one where you can find KSP2_x64.exe).
  2. Open CKAN, click the checkbox next to UITK for KSP 2 in the list of mods and click the "Apply changes" button in the toolbar at the top.

Manual:

  1. Download the latest release from GitHub or SpaceDock.
  2. Extract the zip file's content into your KSP2 folder (the one where you can find KSP2_x64.exe).

Bug reports

You can report bugs or request features on the Issues page on GitHub.

Changelog

For a comprehensive changelog, visit the Releases page on GitHub.

Edited by munix
Link to comment
Share on other sites

  • 2 weeks later...

Release v2.4.1

Changes:

  • Game input - This hotfix adds several missing input locks and changes the way inputs are unlocked after being locked, restoring them to their original states rather than enabling them all. This means you should not be seeing any logged errors from the game's UI after using UITK windows, and all inputs should now be getting locked properly, including the numeric audio keybinds.

Full Changelog: https://github.com/UitkForKsp2/UitkForKsp2/compare/v2.4.0...v2.4.1

Note: If you're using CKAN to install the update, please be patient, there's a bug in the current CKAN version which has to do with time zones, meaning it may take multiple hours after release (depending on where you live) before you can successfully download the zip.

Edited by munix
Link to comment
Share on other sites

  • 3 weeks later...
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...