Jump to content

Creating a new building for the KSC


Recommended Posts

OK. I know this is probably hard to do, maybe so hard that we can say it's impossible, but I'll try to get an answer anyway.

What I want to do is to add a new building in the Space center that can be clicked.

I just want a GUI to be opened when the building is clicked - something like the launch pad UI, that can be created using GUI class that we all know about.

Basically use a model in the same .MU part format.

Is that possible ?

Can I hope having this in my mod one day ?

Link to comment
Share on other sites

I don't believe the stock code that makes this happen is accessible.

That being said, you might be able to rig something to make this Kerbal Konstructs allows the placing new static instances. If you could write some code to detect clicks on these instances in the space center scene, you could use that to open a UI.

Link to comment
Share on other sites

I'm pretty sure this could be accomplished with a Kerbal Konstructs building, and a MonoBehaviour that extends the SpaceCenterBuilding class that gets added to the building's GameObject during the space center scene. You'd probably have to instantiate a new ScreenSafeGUIText for it's buildingInfoText field though.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...