Jump to content

[WIP][1.8.x] SSTULabs - Low Part Count Solutions (Orbiters, Landers, Lifters) - Dev Thread [11-18-18]


Shadowmage

Recommended Posts

@Shadowmage Thank you for your continued help in answering my questions!

I am now working inside the SSTU_MODEL in order to change the statistics of the Solar Panels, and it is working great! The one thing that I cannot figure out, is how do I change the scale of the 3D model to increase the sizes for the SSTU_MODEL configs?

Thank You!

Pap

Link to comment
Share on other sites

4 minutes ago, pap1723 said:

@Shadowmage Thank you for your continued help in answering my questions!

I am now working inside the SSTU_MODEL in order to change the statistics of the Solar Panels, and it is working great! The one thing that I cannot figure out, is how do I change the scale of the 3D model to increase the sizes for the SSTU_MODEL configs?

Thank You!

Pap

Hmm... which model(s) are you trying to adjust, and for use in which parts/modules?  (lots of different stuff going on with them, some quite module/setup specific).

Generally -- you are not intended to.  The models get scaled/positioned by the module that is using them.  The model-definition just says what the unscaled size is, so the module knows how big it needs to scale it for a needed diameter.

However, there are ways to 'fake' it, but would need to know the models/modules/parts/intended use.

Link to comment
Share on other sites

Just now, Shadowmage said:

Hmm... which model(s) are you trying to adjust, and for use in which parts/modules?  (lots of different stuff going on with them, some quite module/setup specific).

Generally -- you are not intended to.  The models get scaled/positioned by the module that is using them.  The model-definition just says what the unscaled size is, so the module knows how big it needs to scale it for a needed diameter.

However, there are ways to 'fake' it, but would need to know the models/modules/parts/intended use.

As an example. I have resized the SSTU-ST-GEN-DSP-ISS to rescaleFactor = 1.83.This gives me very accurate (almost exact) sizes of the ISS Solar Array Wings. I wanted to do the same thing for the SSTU-ST-MST-ISS and I rescaled that to 1.83 as well, but the solar array model ST-MST-ISS stays at the default scale.

Link to comment
Share on other sites

9 minutes ago, pap1723 said:

As an example. I have resized the SSTU-ST-GEN-DSP-ISS to rescaleFactor = 1.83.This gives me very accurate (almost exact) sizes of the ISS Solar Array Wings. I wanted to do the same thing for the SSTU-ST-MST-ISS and I rescaled that to 1.83 as well, but the solar array model ST-MST-ISS stays at the default scale.

Ahh, yep, makes sense.  Due to the way that specific part is put together, and that it uses the SSTUModularStationCore, there is an easy solution for this specific part (most SSTU parts ignore 'rescaleFactor' entirely as things are scaled through plugin code; other station-core parts are far more complex).

The three lines in the config 'topDiameter', 'coreDiameter', and 'bottomDiameter' all determine the size of that particular part.  Set those appropriately, and that should be it.  1.875 * 1.83 = 3.43125  (probably round up to 3.5 for compatibility).  All of the adapters/etc will be automatically rescaled appropriately.


	@topDiameter = 3.5
	@coreDiameter = 3.5
	@bottomDiameter = 3.5

 

 

Hmmm... not quite there yet... but getting closer....

2Co3t53.png

Link to comment
Share on other sites

Left = Original, Right = New w/recolor support (very close at default colors)

g9y1Sf6.png

 

From the other side (left=new, right=old), with recolor set to 'black' for body, gold for hatch.

NJ41EUx.png


One part down, only like 20 more to go :)

 

Edit:

Couple more parts done....  Still need to finish the LAS/BPC... but the rest is working.

SHEAf7r.png

 

Edited by Shadowmage
Link to comment
Share on other sites

20 hours ago, Jimbodiah said:

drooooll...... 

You made the panels customizable as well?  wowowowowowowowow :sticktongue:

 

Yes, and no.  Yes they can be recolored, but not separately (they use the detail color channel for the support structure).

 

Also.. in continuing with the gold/black/red theme...

 

BT1v9pp.png

Link to comment
Share on other sites

Hey guys i just discovered something, or maybe its been discovered and im just noticing this just now, apparently the TweakEverythingContinued mod has a HUGE conflict with SSTU capsules, throws out a spam of Null...  also has issues with TweakScale as well, but thats been known for a while.  Just an observation. I uninstalled the TweakEverything mod all is normal now.  Mage the Gold looks beautiful, Amazing work. !!!   

Link to comment
Share on other sites

Hello @Shadowmage, Is there a way to add resizability to parts which dont have it ?

I am playing around with the Service Modules, Specifically Series C but i dont really see where i could add the option to resize it, obviosly tweakscale doesnt work :wink:

 

Forget the above - actually my only problem is the side Fairings - what scale should i use if i change the SM's Scale from 3.75m to 2.5m ?

Edited by Jasseji
Link to comment
Share on other sites

6 hours ago, Jasseji said:

I am playing around with the Service Modules, Specifically Series C but i dont really see where i could add the option to resize it,

The service modules are not intended to be resized or scaled.

Link to comment
Share on other sites

I just discovered the SRB thrust curve GUI :) never knew it was there.

@Jasseji: I have a set of the CM/CMX/BPC/SM that are rescaled, just for some reason my SM blows up (one of the fairings is doing something I think). If you care to share how you did it?

Edited by Jimbodiah
Link to comment
Share on other sites

32 minutes ago, Jimbodiah said:

I just discovered the SRB thrust curve GUI :) never knew it was there.

Hehe, maybe someday I should document all of these features (I even forget some of them exist).

Someday....

 

33 minutes ago, Jimbodiah said:

@Jasseji: I have a set of the CM/CMX/BPC/SM that are rescaled, just for some reason my SM blows up (one of the fairings is doing something I think). If you care to share how you did it?

I don't think the fairings should be causing any explosion issues; they only have colliders when specifically enabled by the user (the 'Colliders' button in the right-click menu).  They should, by default, have no colliders and simply phase through other objects/parts when jettisoned.  This was done/made optional specifically because of explosion-related issues with the fairings;  their placement is a bit too precise considering the sloppy setup that most other parts' colliders have.

But...to aid in your debugging, there is this handy little mod:

It adds a right-click button to the parts to enable rendering a wireframe of any colliders on the part.  I've already used it for a fair bit of debugging on parts as it is quicker than trying to import the .mu model into Blender (at least it is quicker when I actually have access to KSP).

Link to comment
Share on other sites

@tater

My screenshot-framing skills are not quite up to the task (at least not in the 5 free minutes I had), but I thought I would post this up:

DasiKsK.png


Also seem to be missing some of the atmosphere decay effects for the nice golden sunrise/sunset; probably just didn't get SVE/etc setup properly.  Still.... pretty close :)

Free InternetCookie(tm) ( :rep: ) to the first person who can do better than the screenshot in my post.

Link to comment
Share on other sites

3 hours ago, Rodger said:

Just a suggestion, but I would really love some different ratio end caps for the spherical tanks, eg to have a 3.75m diameter tank have a truss end cap for 2.5m.

Adding more ratios for those models is not something I will be doing in the foreseeable future.  Each new ratio (or perhaps 3-4 models) requires a new AO texture, which adds ~4mb of textures.  That really starts to add up quickly.  It also takes many hours to make up each of those models, more time to setup configs, etc.  Additionally, the ratios are making less and less sense when used with SSTU, as they are only applicable for a specific sizes, and are useless when using non-stock-KSP-sized parts.

TL;DR -- use the procedural fairing parts as adapters; that is one of the major reasons for their existence.

Link to comment
Share on other sites

Hmm.. I wonder what this 'Repack Chute' button does?

DqB95y7.png

 

Oh... heh...I guess it does what it says on the tin.  :)

u9aofAG.png

(currently requires a lvl2 engineer in career mode, but can change to w/e level, or even a per-part config for repair skill needed; perhaps some can be repaired by anyone?)

Link to comment
Share on other sites

@Shadowmage Your the king! as always.

 

Now, if you could release your tool to everyone it would be awesome. I want to be able to repaint these nuclear reactor with orange stripe before Nertea release his radiation mod. Otherwise Jeb will die from radiation sickness for sure, don't you have any compassion for Jeb?

Edited by RedParadize
Link to comment
Share on other sites

9 minutes ago, RedParadize said:

@Shadowmage Your the king! as always.

 

Now, if you could release your tool to everyone it would be awesome. I want to be able to repaint these nuclear reactor with orange stripe before Nertea release his radiation mod. Otherwise Jeb will die from radiation sickness for sure, don't you have any compassion for Jeb?

You need to create color masks for each texture you use and assign the custom shader.  In this specific case Nertea would need to do some extra work to make that functional.

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