Jump to content

[1.12] Stockalike Station Parts Redux (August 14, 2024)


Nertea

Recommended Posts

  On 10/1/2018 at 3:52 PM, Space_Coyote said:

I'm trying to solve a problem when it comes to the inlatable hab units when it comes to inlating them..

 

Now here's the  problem..

 

I have a spacecraft that is connected to the inflatable part and inside sai space craft are  in fact 4 Engineer Kerbals  (And I know that the max you need for any inflatable part is 3 (and that includes the Centrifuges..)

 

So I'm testing this  out on the laungch pad, the space craft connected to the inflatable part, and considering I have 4 enginner kerbals the part should inflate.. 

 

I click on inflate, and ... nothing happens, No inflation animation, nothing. I try to trasfer them into inflatable unit and they won't go..

 

(Also I am using ship Mani est to transfer crew..)

 

It would be kind o nice to explain how you inflate the habitation  unites/Centrifuges  in some hrt detailed method.)

otherwise I'm sticking to the Non Inflatable stuff. )

SO i someone can give me an idea on how to do this, that would be most appreciated..

 

Space_Coyote

Expand  

I've got the same issue.  I have Ship Manifest and MKS installed.  I verified I have enough Material Kits but it still doesn't work.  I'm going to try without Ship Manifest and see if that fixes it. 

(edit)

Minor correction, I get a message saying I need 1800.00 material kits to expand the Eclair.  I have exactly 1800 material kits on the vessel but it doesn't work.  Also adding the update that Ship Manifest is not the issue.

(Found it)

My problem wound up being a rounding issue.  I had a container capable of carrying 2000 material kits but I only loaded it with 1800.  In the save file it showed to have 1799.9999523162842. I updated the value to something just slightly over 1800 and it works fine.

Sorry for the stream of consciousness post.

Edited by Shalfar
Update
Link to comment
Share on other sites

  On 10/8/2018 at 12:24 AM, Shalfar said:

I've got the same issue.  I have Ship Manifest and MKS installed.  I verified I have enough Material Kits but it still doesn't work.  I'm going to try without Ship Manifest and see if that fixes it. 

(edit)

Minor correction, I get a message saying I need 1800.00 material kits to expand the Eclair.  I have exactly 1800 material kits on the vessel but it doesn't work.  Also adding the update that Ship Manifest is not the issue.

(Found it)

My problem wound up being a rounding issue.  I had a container capable of carrying 2000 material kits but I only loaded it with 1800.  In the save file it showed to have 1799.9999523162842. I updated the value to something just slightly over 1800 and it works fine.

Sorry for the stream of consciousness post.

Expand  

Well, I made an issue for it https://github.com/ChrisAdderley/StationPartsExpansionRedux/issues/161

  On 10/10/2018 at 12:13 PM, akasha2000 said:

This is not a serious problem

The flag of the Mobile Processing Lab MPL-LG-2 is Flag overlaps hatch I want you to fix it if possible 

This is a machine translated text.  I am sorry if English was wrong. I appreciate this wonderful mod

Expand  

Noted: https://github.com/ChrisAdderley/StationPartsExpansionRedux/issues/162

 

Link to comment
Share on other sites

Question: Are there any known mod conflicts that would cause the base frame legs to malfunction (specifically, not respond to settings set in the context menu)? Spawning the legs fresh from the VAB partially extended then hitting autolevel just makes them completely retract.

Edited by Cyrious
Link to comment
Share on other sites

  On 10/11/2018 at 11:29 PM, Someone2018 said:

For the largest rotating habitat, the mercury, it seems to be about 11 meters in diameter. How do you launch that in any sane way? Even the proposed BFR is 9 meters in diameter, and you still have to fit inside.

Expand  

Well, it folds up to 10mish, so it fits in a 7.5m expanded fairing. Couldn't make it any smaller, sahry.

  On 10/11/2018 at 11:00 PM, Cyrious said:

Question: Are there any known mod conflicts that would cause the base frame legs to malfunction (specifically, not respond to settings set in the context menu)? Spawning the legs fresh from the VAB partially extended then hitting autolevel just makes them completely retract.

Expand  

That seems expected behaviour. The ground is flat, the algorithm will pick the lower deployment possible that makes the slope flat.

Link to comment
Share on other sites

  On 10/11/2018 at 11:49 PM, Nertea said:

That seems expected behaviour. The ground is flat, the algorithm will pick the lower deployment possible that makes the slope flat.

Expand  

Yeah, I'm seeing that when I move the ship to the launchpad ramp; it'll bottom out the legs closest to the pad but keep the legs further away longer. Question now is why it doesnt accept leg extension commands either before or after hitting the autolevel while on a slope. I cant do something like put one base frame in the middle then use smaller frames on outriggers, then hit level to get all legs at the appropriate angle, then use the height adjustment slider to get all legs into contact with the surface.

Edited by Cyrious
Link to comment
Share on other sites

  On 10/12/2018 at 12:10 AM, Cyrious said:

Yeah, I'm seeing that when I move the ship to the launchpad ramp; it'll bottom out the legs closest to the pad but keep the legs further away longer. Question now is why it doesnt accept leg extension commands either before or after hitting the autolevel while on a slope. I cant do something like put one base frame in the middle then use smaller frames on outriggers, then hit level to get all legs at the appropriate angle, then use the height adjustment slider to get all legs into contact with the surface.

Expand  

I don't know if I fully understand your problem. Some screenshots might help.

Link to comment
Share on other sites

Hi there. Ive been looking through the source code..but Im not super great at reading code. I see in one of your patches that was made by @JadeOfMaar; these lines:

  Reveal hidden contents

Im looking to apply a patch in stock for the moment, that instead of requiring MaterialKits, it will require EC instead. I also would like it to use EC at a specified rate like reaction wheels for example. This is the modified version, However it doesnt seem to have any effect on the parts, advise? Or perhaps Im doing something not allowed by the module?

  Reveal hidden contents

if (DeployResource != "")

if (Rotating)

Both strings above are located inside ModuleDeployableCentrifuge.cs, So I was thinking that might be OK..but alas...

Thanks!!

Link to comment
Share on other sites

  On 10/16/2018 at 10:49 PM, Jesusthebird said:

Hi there. Ive been looking through the source code..but Im not super great at reading code. I see in one of your patches that was made by @JadeOfMaar; these lines:

  Reveal hidden contents

Im looking to apply a patch in stock for the moment, that instead of requiring MaterialKits, it will require EC instead. I also would like it to use EC at a specified rate like reaction wheels for example. This is the modified version, However it doesnt seem to have any effect on the parts, advise? Or perhaps Im doing something not allowed by the module?

  Reveal hidden contents

if (DeployResource != "")

if (Rotating)

Both strings above are located inside ModuleDeployableCentrifuge.cs, So I was thinking that might be OK..but alas...

Thanks!!

Expand  

Yeah... you'd have to change the module code to do that. The code there does not have any way of understanding what you mean by adding the RotationResource and RotationResourceRate.

Link to comment
Share on other sites

  On 10/16/2018 at 10:54 PM, Nertea said:

Yeah... you'd have to change the module code to do that. The code there does not have any way of understanding what you mean by adding the RotationResource and RotationResourceRate.

Expand  

Would there be some sort of workaround avaliable? Perhaps "if deployed = true, use X EC/second" or something like that? It was a longshot adding RotationResource to the cfg. But I thought id try it before asking.

Edited by Jesusthebird
Link to comment
Share on other sites

  On 10/17/2018 at 12:10 AM, Jesusthebird said:

Would there be some sort of workaround avaliable? Perhaps "if deployed = true, use X EC/second" or something like that? It was a longshot adding RotationResource to the cfg. But I thought id try it before asking.

Expand  

Well I wrote the code, so I can change it to do this kind of thing, but it's a bit more complex than appeared initially so I am not really super excited about doing it when I have a lot of other projects on the go.

I suppose I can put it in the backlog.

Link to comment
Share on other sites

  On 10/17/2018 at 12:14 AM, Nertea said:

Well I wrote the code, so I can change it to do this kind of thing, but it's a bit more complex than appeared initially so I am not really super excited about doing it when I have a lot of other projects on the go.

I suppose I can put it in the backlog.

Expand  

No worries, Im not looking to pry for it or anything like that. If it ends up happening I welcome it tho. I appreciate the work youre doing and Im enjoying learning all the same, Ive never looked at source code before today when I realized I needed too; only coding xp I have was with rational expressions in high school(long time ago), so it can be hard sometimes for me to figure out what can and cannot be possible with a cfg. Thank you for the replies and clarification, and good luck on your projects!!

Link to comment
Share on other sites

@Nertea, I figured I'd ask for this before a 1.5 update comes out:

Can you add an orientation indicator to the re-skinned Clamp-O-Tron Docking Port and the new Telescopic Clamp-O-Tron Docking Port?  As far as I can tell, they're pretty much the same on all sides and the front is symmetric, which provides no way of knowing which way is the 0 deg orientation.  A simple decal or a line/arrow at the 0 deg position on the side or front face would suffice I think.

On a related note, can you restore Indicator Light functionality on the Clamp-O-Tron model?  I'm not sure whether your new skin is covering it or bypassing it, but the LED on/off control shows up as a redundant (and non-functional) control next to your light on/off button.  The IndicatorLights Community Extensions Mod seems amenable to better (less band-aid) solutions for compatibility.

I'll post this as a new Enhancement request on GitHub.

Thanks for the huge effort you've into all the NFT mod packs.

Link to comment
Share on other sites

  On 10/17/2018 at 2:00 AM, KSPrynk said:

Can you add an orientation indicator to the re-skinned Clamp-O-Tron Docking Port and the new Telescopic Clamp-O-Tron Docking Port?  As far as I can tell, they're pretty much the same on all sides and the front is symmetric, which provides no way of knowing which way is the 0 deg orientation.  A simple decal or a line/arrow at the 0 deg position on the side or front face would suffice I think.

Expand  

Meh. How does this work with the stock port then, which is very directionally agnostic? It's doable it's just... more work and I don't want to have more work.

  On 10/17/2018 at 2:00 AM, KSPrynk said:

 On a related note, can you restore Indicator Light functionality on the Clamp-O-Tron model?  I'm not sure whether your new skin is covering it or bypassing it, but the LED on/off control shows up as a redundant (and non-functional) control next to your light on/off button.  The IndicatorLights Community Extensions Mod seems amenable to better (less band-aid) solutions for compatibility.

 

Expand  

It would be nice to have some idea of what is required for this. Perhaps you could point the dev to this thread so I can understand what the problem is?

Link to comment
Share on other sites

  On 10/17/2018 at 2:19 AM, Nertea said:

Meh. How does this work with the stock port then, which is very directionally agnostic? It's doable it's just... more work and I don't want to have more work.

Expand  

The front face of the stock docking ports have a horizontal "window" of sorts offset from the center.  It's non-functional, but it's asymmetric.  Having a known orientation helps when using an automated docking system, like MechJeb has.

  On 10/17/2018 at 2:19 AM, Nertea said:

It would be nice to have some idea of what is required for this. Perhaps you could point the dev to this thread so I can understand what the problem is?

Expand  

I'll post in the IndicatorLights and/or IndicatorLights Community Extensions Forums and see if I can get a bite....

Edited by KSPrynk
Link to comment
Share on other sites

  On 10/17/2018 at 5:58 AM, Lord_Potato said:

Could you add the USI_ModuleRecycleBin module to the USI patch for the next release? I've noticed that the materialkits from disassembling parts don't go into the this pack's containers be default; I added the module in myself.

Expand  

I got a whole laundry list of MKS things I added to that patch.  Varying degree of colony controls for the command pods and the tether system.  Tomorrow I'm going to take a crack at giving the aquaculture pod some MKS function also...that one might be more complicated.  I'm trying to figure out a way to eliminate using the Tundra and Pioneer modules entirely and just use the parts from this pack, at least for the station parts.

Link to comment
Share on other sites

  On 10/17/2018 at 2:00 AM, KSPrynk said:

On a related note, can you restore Indicator Light functionality on the Clamp-O-Tron model?  I'm not sure whether your new skin is covering it or bypassing it, but the LED on/off control shows up as a redundant (and non-functional) control next to your light on/off button.  The IndicatorLights Community Extensions Mod seems amenable to better (less band-aid) solutions for compatibility.

Expand  
  On 10/17/2018 at 2:19 AM, Nertea said:

It would be nice to have some idea of what is required for this. Perhaps you could point the dev to this thread so I can understand what the problem is?

Expand  

Hi guys,

I'm the IndicatorLights author-- thanks for looping me in.  I took a look at what's going on with the docking port re-skin (and why it's causing issues for IndicatorLights).  Technical details are in a spoiler, below, but the TL;DR is that what's causing the issue is the addition of ModuleColorChanger to the reskinned docking port.  What's happening here is that ModuleColorChanger is grabbing total control of all emissive textures on the part, and preventing IndicatorLights from doing its thing with the few little indicator meshes that it adds.

ModuleColorChanger is an incredibly convenient, useful tool for doing things like cabin-light animations, which is why everyone (including Squad) uses it a lot.  :)  Unfortunately, Squad has implemented it in a sort of "ham-fisted" way, such that the "path of least resistance" (i.e. the most simple, straightforward, easiest way to use it, which of course is what everyone including Squad therefore does) results in behavior like what we're observing here.

There are a couple of ways to work around this problem.  One of them would involve some work by @Nertea to adjust the way the part is implemented; the other is a workaround that doesn't require any changes to this mod itself.  The verbose specifics are in the technical-details spoiler below, but they boil down to this:

  • Option 1:  Nertea does some refactoring to the re-skin model, along with a minor update to the ModuleColorChanger config on the part.  The result is invisible to users of this mod, but makes the part friendlier to third-party tweakers of emissive behavior, such as IndicatorLights or KSP's stock thermal overlay.
  • Option 2:  Just leave the part alone, and add an SSPX compatibility patch to the "IndicatorLights Community Extensions" mod to work around the problem.

(I've left unsaid an Option 3, "Nertea actually instruments this mod so that it has full IndicatorLights support right out of the box", because that's just my personal fantasy and it would actually be a pretty big work item for someone to add, given the large number of parts in this mod.  Just mentioning it here on the probably-tiny off chance that someone might be interested.)

Anyway, details in spoiler.  Basically, all that needs to be done is for Nertea to decide whether he feels like tweaking the docking port re-skin as described, or not.

  • If "yes", that solves the problem right there. :)  It would also fix your part so that it works with the stock F11 thermal overlay.
  • If "no" (which of course would be a perfectly reasonable answer, since the part's not "bugged" per se, and the refactor would take some of his time), then I'll follow up with @KSPrynk in the IndicatorLights Community Extensions thread about what would be involved to add a workaround for this.  (It's pretty straightforward.)

 

Short summary of what would be needed to address this matter in this mod:

  Reveal hidden contents

 

So, that's the practical "how to", and if that's all you care about, you can stop reading there.  ;)  Here's a longer, much more verbose discussion of the overall care-and-feeding of ModuleColorChanger, which I include simply because it has implications for "standard practice" when modeling stuff, and since I know Nertea's a very prolific modeler, I suspect he may be interested.

  Reveal hidden contents

Thoughts?

Link to comment
Share on other sites

Haha @Snark, I didn't need an essay of that length, just an indication of what IL actually does so I could address it! I do very much know how MCC works. It may be useful to others though. The actual solution is neither option 1 or option 2, perhaps an option 0 just pop in the included renderers and everything should be fine. Lowest amount of work.

  On 10/17/2018 at 3:41 PM, Snark said:
  •  If "yes", that solves the problem right there. :)  It would also fix your part so that it works with the stock F11 thermal overlay.
Expand  

I mean IMO that's Squad's problem, not ours. It effectively means that the thermal overlay doesn't work for any section of a part for which MCC is applied, which is fairly unacceptable for a lot of things (goodbye engine throttle overheat glows for example). I don't think there's a point separating out all the glowing bits from every mesh, particularly since glows extend beyond just windows, so in some cases you're separating out chunk of contiguous meshes, leading to potential mesh seams and inconsistent smoothing, and even weirder looks than simply a missing thermal overlay.

  On 10/17/2018 at 5:58 AM, Lord_Potato said:

Could you add the USI_ModuleRecycleBin module to the USI patch for the next release? I've noticed that the materialkits from disassembling parts don't go into the this pack's containers be default; I added the module in myself.

Expand  

I accept PRs for other mods' functions as I don't consider myself well versed enough in their systems to add them.

  On 10/17/2018 at 7:19 AM, PolecatEZ said:

I got a whole laundry list of MKS things I added to that patch.  Varying degree of colony controls for the command pods and the tether system.  Tomorrow I'm going to take a crack at giving the aquaculture pod some MKS function also...that one might be more complicated.  I'm trying to figure out a way to eliminate using the Tundra and Pioneer modules entirely and just use the parts from this pack, at least for the station parts.

Expand  

That'd be great if you want to add it. I'd like to work towards a 1.5 release within the next few days, if you want something in that please let me know.

Link to comment
Share on other sites

  On 10/17/2018 at 4:30 PM, Nertea said:

Haha @Snark, I didn't need an essay of that length, just an indication of what IL actually does so I could address it! I do very much know how MCC works. It may be useful to others though.

Expand  

Heh, yeah, sorry 'bout that.  I figured there was a good chance you already knew that stuff, but in any case it might be handy for other folks.

  On 10/17/2018 at 4:30 PM, Nertea said:

The actual solution is neither option 1 or option 2, perhaps an option 0 just pop in the included renderers and everything should be fine. Lowest amount of work.

Expand  

Yes, that sounds pretty reasonable.  If we just relegate the F11 overlay problem to Squad, then if you just put an "includedRenderer" directive for just the specific existing mesh (or meshes) where the lit-up portion of the model is, then that would work nicely-- it would stop the part from tinkering with any add-on meshes that get added by third-party mods such as IndicatorLights.

Link to comment
Share on other sites

  On 10/17/2018 at 2:27 AM, KSPrynk said:
  On 10/17/2018 at 2:19 AM, Nertea said:

Meh. How does this work with the stock port then, which is very directionally agnostic? It's doable it's just... more work and I don't want to have more work.

Expand  

The front face of the stock docking ports have a horizontal "window" of sorts offset from the center.  It's non-functional, but it's asymmetric.  Having a known orientation helps when using an automated docking system, like MechJeb has.

Expand  

@Nertea This was the problem we worked on that involved rotating where the shocks met. With that change it's easy to visually tell the top by looking at the point where the shocks meet. I don't think you've added that modified part to SSPRX yet, but you've already completed the work  :D 

Link to comment
Share on other sites

  On 10/17/2018 at 4:30 PM, Nertea said:

That'd be great if you want to add it. I'd like to work towards a 1.5 release within the next few days, if you want something in that please let me know.

Expand  

I'll work on it tonight, I got a little side-tracked trying to turn Kerbin-Gael into a binary planetary system.  It works, but it basically screws up Kerbin's reference points when you actually launch from there, so I think I'll need to dig into Kopernicus a little deeper for a fix.  Shelfing it for now.

Add-ons planned for the MKS patch:

- Tethering added to cradles and command pods.  Just one tether needs to be somewhere in the whole colony, so it doesn't need spammed on everything.

- Pioneering function added to all command pods. (Kolony Rewards check)

- Logistics control function added to larger command pods (Orbital Logistics).

- Empty Machinery/Material Kit resources added where appropriate

- Aquaculture will get advanced function for making organics/fertilizer.

- Switch between Hab and Living Space function on Kerbitat pods.

- I'm balancing based on ball-parking between mass and kerbal crew count.

The above will get Kolonies "mid-level functional".  If I can figure out how to tack on decal transforms, I can patch in variants for the parts that have appropriate external labeling and full functions for other pods - workshop, medical center, etc.  It might require building an entire part file for each though, which is beyond the scope of patching.

------

 

Proceeding with the conversion.

Slapped together 2 parts made from the 3.75 that should replicate the functions of the missing Assembler/Refinery combo.  Was going to make the Eclair into an inflatable workshop using Ranger Inflatable values, and discovered the Ranger Workshop was completely OP compared to anything else...so no production for him!  Mwahaha.

Everything else is done, I'm just doing a balance pass right now and then I'll upload the final version to the Git.  If Nertea wants to do some cool models (we discussed transform labels on existing ones also) instead of my hack jobs, that would be a bonus.

 

Current Patch notes for MKS Compatibility (in testing):

  • Aquaculture Unit has Advanced Agroponics Unit functionality - Everything in it requires Farmers (Fish Farmers!)
    • 4 Configurable fish tanks allow it to produce food from Fertilizer and Dirt/Water or Substrate/Water
    • Or produce Organics from Dirt or Substrate
    • Or simply be nice to look at (adds to hab timer)
  • Greenhouse Units have a Composter that increases Aquaculture's efficiency.  Requires Biologists.
  • Smaller inflatable rings have composting toilets.  Everybody poops better in artificial gravity.
  • The Asylum, Pilgrim, and Mercury have MedBay function - Eats colony supplies at a rapid rate to cure "Tourists", Medics very useful there.
  • The Hostel and Mercury have long term colony functions - Eats ColonySupplies to push back hab timers over the whole colony.
  • Airlocks now let your Engineers or Mechanics perform automatic maintenance if you assign them to it.
  • Ground Tethers lock your base solidly in place on the ground.  You only need to click it once for the whole colony.
  • Command Modules can now check for Kolony Rewards and participate in Logistics.  Quartermasters helpful.
  • Modules contribute to Kolony rewards and efficiency percentages as appropriate.
  • Two extra parts fill in the gaps for the production chain (Deluxe Refinery and Assembly Plant), you must use the smelters and refineries for other tasks.  These are fused together hack jobs and hopefully we can get some better models in the far future.
  • Smaller inflatables got a workshop efficiency module.  Highly recommend bringing one because default converter values suck.

* You will need to use the MKS processors, drills, and Ranger packs (the side mounts) for some things - fuel, fertilizer, and dirt sifting.

* You should not have any need for Pioneer, Tundra, or Caribou basic parts.

* Please use Near Future Atomic/Nuclear/Solar/Heat stuff for power distribution needs.


From Previous version
* Inflatables and Deployables use MaterialKits and (unlike MKS parts) can be deployed internally by anyone.
* Station cores can distribute power and resources
* Several parts have training academy functionality

Edited by PolecatEZ
Update
Link to comment
Share on other sites

I'm having issues installing this mod, the game wont load and this error shows up

  Reveal hidden contents

KSP:1.3.1

Mods:

  Reveal hidden contents

LOG file

 

Link to comment
Share on other sites

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