Jump to content

A mod to allow editing the upgradeable buildings


Recommended Posts

I've look around a little and haven't seen any mods that allow editing the upgradeable building, i.e. changing the base costs, part count limit, size/weight restrictions, etc and possibly being able to add some intermediate upgrade levels.

I'm not familiar with the inner workings of the game so I'm not sure if such a mod is even possible given the current state of the game, but I figured I would put this out there since I haven't seen much discussion on the topic (other than asking the devs to make it more moddable).

So, in summary, is a mod to edit the upgradeable buildings possible at this point (and if so is there someone willing to work on it), or is this system too hardcoded at this point?

Link to comment
Share on other sites

I've look around a little and haven't seen any mods that allow editing the upgradeable building, i.e. changing the base costs, part count limit, size/weight restrictions, etc and possibly being able to add some intermediate upgrade levels.

I'm not familiar with the inner workings of the game so I'm not sure if such a mod is even possible given the current state of the game, but I figured I would put this out there since I haven't seen much discussion on the topic (other than asking the devs to make it more moddable).

So, in summary, is a mod to edit the upgradeable buildings possible at this point (and if so is there someone willing to work on it), or is this system too hardcoded at this point?

Id totally support this if it where possible =)

Ive been looking for a way to change the VAB a bit, the exterior view for example ( i.e. have the open door on the VAB showing the Mun for example instead of Kerbin.

Link to comment
Share on other sites

I understand that the current system is hardcoded, but even then there are ways around that, i.e. hex editing the binary or using a memory editor in-game. It sounds like we're not too far off from the next release though now that it's in experimentals and sarbian said that this system will likely have mod support so I think it's easiest just to wait at this point.

Link to comment
Share on other sites

  • 4 weeks later...

*BUMP*

1.0.2 is out now and from looking at other threads the buildings can be modded now, however this functionality is not exposed in a cfg and requires a plugin. Are there any modders with plugin experience already working on this, or at least willing to?

Link to comment
Share on other sites

Would love this. This is what I wanted more than anything from 1.0. A heavy modded install just requires more parts for the same rocket, and it sucks compromising on aesthetics just to have a functional rocket. Is there a resource that has the new information on what a modder would need to target to change these limits?

Link to comment
Share on other sites

Is there a resource that has the new information on what a modder would need to target to change these limits?

Merely replace GameVariables.Instance with a derived version that overrides the methods the modder wants to change. Say I wanted to always allow EVAs:

[KSPAddon(KSPAddon.Startup.MainMenu, true)]
public class EVAAnytime : GameVariables
{
private void Awake() // important that this be in Awake
{
GameVariables.Instance = this;
DontDestroyOnLoad(this);
}

public override bool UnlockedEVA(float astroComplexNormLevel)
{
return true;
}
}

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