Jump to content

making sections of parts seethrough in VAB (like the stock service bays)?


Recommended Posts

It's done with a config in the part's CFG file, actually. It uses "ModuleSeeThroughObject":


MODULE
{
name = ModuleSeeThroughObject
transformName = TrussMount
shaderName = KSP/Bumped Specular (Transparent)
screenRadius = 2.0
leadModuleIndex = 0
leadModuleTgtValue = 0
}

But you can get away with a lot less than that. I added it to one of my parts (the LAS shroud in MRS) using only this:


MODULE
{
name = ModuleSeeThroughObject
transformName = LASshroud
}

By just supplying the transform's name for the entire object, the whole thing can go transparent.

Link to comment
Share on other sites

ah thanks a lot! I didn't see that when searching through monodevelop for interesting modules the other day, probably should have just checked the config for a service bay but I assumed it'd be tagged in unity instead, cheers for the info! will be useful for my service bay for the lander I'm building :D

Link to comment
Share on other sites

  • 4 months 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...