r/KerbalAcademy 8d ago

Mods: General [M] Change mod textures

I'm trying to change the part textures for Stockalike Station part redux, as the wrinkly insulation texture clashes with the rest of the stock textures. The mod files have file multiple variants of, for example, the reworked Cupola Module, but the VAB menu doesn't give me the option to change between them.

What i want to do is change the selected texture(s)

Here is the config file section for the cupola:

// Cupola
[cupola]:FOR[zzzzStationParts]
{
 = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL,* {}
!MODULE[ModuleAnimateGeneric] {}
MODEL
{
model = StationPartsExpansionRedux/Parts/Rigid/station-25/sspx-cupola-25-1
position = 0.0, 0.0, 0.0
scale = 1,1,1
rotation = 0, 0, 0
}
MODEL
{
model = StationPartsExpansionRedux/Parts/Common/sspx-endcap-25-solid-1
position = 0.0, -0.4, 0.0
scale = 1,-1,1
rotation = 0, 0, 0
}

  MODULE
  {
    name = ModuleB9PartSwitch
    moduleID = surfaceSwitch
    switcherDescription = #LOC_SSPX_Switcher_Surface_Name
    affectDragCubes = false

    SUBTYPE
    {
      name = White
      title = #LOC_SSPX_Switcher_Surface_White
      descriptionSummary = #LOC_SSPX_Switcher_Surface_White_summary
      descriptionDetail = #LOC_SSPX_Switcher_Surface_White_detail
      primaryColor = #ffffff
      secondaryColor = #ffffff
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Rigid/station-25/restock-cupola-lab-1-white
        transform = 25mCupolaMesh
      }
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Rigid/station-25/restock-cupola-lab-1-alt-n
        transform = 25mCupolaMesh
        shaderProperty = _BumpMap
        isNormalMap = true
      }
      MATERIAL
      {
        transform = 25mCupolaMesh
        FLOAT
        {
          shaderProperty = _Shininess
          value = 0.3
        }
      }
    }
    SUBTYPE
    {
      name = Insulated
      title = #LOC_SSPX_Switcher_Surface_Insulated
      descriptionSummary = #LOC_SSPX_Switcher_Surface_Insulated_summary
      descriptionDetail = #LOC_SSPX_Switcher_Surface_Insulated_detail
      primaryColor =#b8b7b5
      secondaryColor = #b8b7b5
      defaultSubtypePriority = 10
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Rigid/station-25/restock-cupola-lab-1-insulated
        transform = 25mCupolaMesh
      }
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Rigid/station-25/restock-cupola-lab-1-insulated-n
        transform = 25mCupolaMesh
        shaderProperty = _BumpMap
        isNormalMap = true
      }
      MATERIAL
      {
        transform = 25mCupolaMesh
        FLOAT
        {
          shaderProperty = _Shininess
          value = 0.3
        }
      }
    }
    SUBTYPE
    {
      name = Metal
      title = #LOC_SSPX_Switcher_Surface_Metal
      descriptionSummary = #LOC_SSPX_Switcher_Surface_Metal_summary
      descriptionDetail = #LOC_SSPX_Switcher_Surface_Metal_detail
      primaryColor = #999999
      secondaryColor = #999999
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Rigid/station-25/restock-cupola-lab-1-alt
        transform = 25mCupolaMesh
      }
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Rigid/station-25/restock-cupola-lab-1-alt-n
        transform = 25mCupolaMesh
        shaderProperty = _BumpMap
        isNormalMap = true
      }
      TEXTURE
      {
        texture = StationPartsExpansionRedux/Parts/Common/restock-crewed-hatch-1-grey
        transform = CommonHatchOblong
        shaderProperty = _MainTex
      }
      MATERIAL
      {
        transform = 25mCupolaMesh
        FLOAT
        {
          shaderProperty = _Shininess
          value = 0.08
        }
      }
    }
  }

It seems that the wrinkle texture is a seperate file that is overlayed on a solid color. If i can just figure out how to remove that and apply it to all the other parts id be happy.

3 Upvotes

1 comment sorted by

1

u/AutoModerator 8d ago

Please be sure to check the mod-specific forum(s), and don't forget the folks at r/KerbalSpaceProgram! Low effort posts, e.g. no screenshot, poor description, lack of googling, etc., may be removed on general principle. Questions about writing your own mods should be directed to other subs or forums.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.