Project

General

Profile

Feedback #25858

Adding icons to the telemetry/commnet bar

Added by goufalite 5 days ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Modding
Target version:
-
Version:
Platform:
Windows
Expansion:
Core Game
Language:
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

I'd like to add an icon (a battery icon for example) to the telemetry bar. So I took a look at the API and apparently all is bound to the TelemetryUpdate class (https://kerbalspaceprogram.com/api/class_k_s_p_1_1_u_i_1_1_screens_1_1_flight_1_1_telemetry_update.html).

But there seems to be some problems:

  • The icons seem fixed (arrow_icon, control_icon,...), as we can't add more than those already existing
  • The icons refer to sprites (AU1, AU2,...). I don't know where they are stored. It could be great to add icons as png/jpg pictures like the Tech tree icons.

I already asked on the forums if a mod already does this without any answer (https://forum.kerbalspaceprogram.com/index.php?/topic/188847-how-to-add-new-commnet-icons/).

I don't have a Unity knowledge but I suppose adding images to this class might need to also update the Unity component?

Is it possible to have a better moddability of this component, or at least can I have some hints on how to do this?

Thanks!

Also available in: Atom PDF