Jump to content

Seeking Guidance on Developing a Mod for Resource Management in Kerbal Space Program's Vehicle Editor


Recommended Posts

Greetings fellow Kerbal Space Program enthusiasts!

I'm currently working on a mod for Kerbal Space Program's vehicle editor, and I'm seeking some guidance on implementing a specific feature. My goal is to create a mod that adds a slider, accessible through a toolbar button, which displays the total amount of each resource (e.g., fuel, ore, oxidizer) available in the SPH or VAB. This slider should allow players to efficiently distribute resources by moving it, removing the same percentage of fuel from all tanks simultaneously, instead of depleting one tank at a time.

I would greatly appreciate it if any experienced modders or game developers could lend me their expertise. Here are a few questions I have:

  1. How can I code a custom slider within Kerbal Space Program's vehicle editor interface?
  2. Where can I find reference code or examples to help me with creating custom UI elements in Kerbal Space Program mods?
  3. How can I retrieve the total amount of each resource present in the SPH or VAB using modding techniques?
  4. What methods or approaches should I use to link the movement of the slider to the removal of a consistent percentage of fuel from all tanks in Kerbal Space Program?
  5. Are there any existing resources, tutorials, or examples available that can provide step-by-step guidance on coding UI elements, resource management, and mod development in Kerbal Space Program(Videos)?

Your guidance, suggestions, or even pointing me in the direction of relevant resources would be immensely helpful. Thank you all in advance for your valuable insights and support!

Edited by EnderRobber101
Some additional info
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...