Jump to content

Looking for a programmer to extract a module from a mod.


Recommended Posts

We all love procedural parts, and while Procedural Parts mod can manipulate only simple shapes, TweakScale can scale parts only symmetrically, Allista has made a module for his Hangar mod, which allows to stretch the part asymmetrically in two directions length and width. The module is called HangarPartResizer, it also uses KSPAPIExtensions to bind allowed dimensions to the tech tree. I'm willing to make a mod with procedural wrap around radial tanks and looking for a programmer who would extract, rename and recompile the module. License for the mod is CC 4.0

The reason I need to extract it is because the mod has UI and many other tools that get in the way if I use the unchanged .dll library.

I tried asking Allista to do this, but he seems very busy.

Github source: https://github.com/allista/hangar/tree/master/Source

Module in question is contained inside the HangarPartResizer.cs

The part I'm going apply this plugin to is a wrap-around fuel tank, which will have a model and textures adapted for stretching:

mt0W7VF.jpg

ogu3BDG.png

Edited by Enceos
Link to comment
Share on other sites

Interesting, so it would allow you to drop a large part of empty fuel tanks, but keep the spine which means you can continue with the same rocket engine without the empty tanks, thereby minimize dead mass. It would effectively allow you to launch to Low orbit with only 2 stages, or none with advanced nuclear engines.

Edited by FreeThinker
Link to comment
Share on other sites

Interesting tank design, it was suggested in the addon affairs thread so I decided to give it a go. How do I reduce the drag of a part in current aerodynamics? In FAR they are good, in stock aerodynamics every additional radial part induces extra drag even if it's occluded from the airstream.

Edited by Enceos
Link to comment
Share on other sites

I guess what you need to do is pretend the asparatus tank is a single part which converts to multiple parts the moment you pretend to release them.

Could you please explain it a bit. I didn't quite get what I should do )

Link to comment
Share on other sites

An alternative way to aproach this problem would be to design a structural empty piece with one open side that have center node(s) with strong side jettison force (using i.e. stock decoupler module(s)). Then you wouldn't need to design new tanks, just add via MM center node to stock tanks so they could be attached to this structural piece. Why center node? Reduce wobble as the node holds tank in it's CoM.

4yfoJQ5.png

Link to comment
Share on other sites

Could you please explain it a bit. I didn't quite get what I should do )

Well as you know Allista mod allow you to store complex parts in his contain. What you need to accomplish is store 4 tanks in such a container which reappear when you jettison them (like the moment you open a container) and fall down.

- - - Updated - - -

NASA's current 'reference design' for Mars vehicles uses that jettison inline tank idea - they call it a 'saddle tank'.

http://2.bp.blogspot.com/-p5bihMOGYDY/UDEUdW3SjUI/AAAAAAAAX5E/5L_QGXm0uDs/s1600/nucleartherm1.png

It would be nice if this is some sort of magnetic system, which you can reload after returning back to Low earth orbit from a mission.

Link to comment
Share on other sites

Well as you know Allista mod allow you to store complex parts in his contain. What you need to accomplish is store 4 tanks in such a container which reappear when you jettison them (like the moment you open a container) and fall down.

Well, that's an idea for Allista's mod. But I'm looking to make these wraparound fuel tanks procedural. Extra parts like "saddle tank" truss and fuel hangar are still parts that add extra weight. We're min-maxing output here. I think wrap around tanks have a very neat shape both for lifters and for interplanetary transfer stages. They have a fairing friendly shape, which was the main problem if I wanted to have jetisonnable tanks on my probes, cause every fuel tank out there is round. Extra inline stages add an extra engine weight and increase the length of the spacecraft. Still trying to find somebody who would extract that part resizing MODULE described in the OP.

Edited by Enceos
Link to comment
Share on other sites

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