Skip to content

Commit

Permalink
Hotfix: Remove PartVariants from the Thrust Plate
Browse files Browse the repository at this point in the history
NumberNodeTweaker does not play well with PartVariants.  Fairingsides can fix themselves afterwards because they force the part position.  Dealing with this for Thrust Plates is another matter entirely.
  • Loading branch information
DRVeyl committed Jun 26, 2021
1 parent 4b7bd66 commit 36580c0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 69 deletions.
82 changes: 14 additions & 68 deletions GameData/ProceduralFairings/Patches/TexturesUnlimited.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,8 @@ KSP_TEXTURE_SET:NEEDS[TexturesUnlimited] {

}
}
MODULE
{
name = TUPartVariant
}
MODULE
{
name = SSTURecolorGUI
}
%MODULE[TUPartVariant] {}
%MODULE[SSTURecolorGUI] {}
}

@PART[RSBTrussBase]:NEEDS[TexturesUnlimited]
Expand Down Expand Up @@ -241,14 +235,8 @@ KSP_TEXTURE_SET:NEEDS[TexturesUnlimited] {

}
}
MODULE
{
name = TUPartVariant
}
MODULE
{
name = SSTURecolorGUI
}
%MODULE[TUPartVariant] {}
%MODULE[SSTURecolorGUI] {}
}

@PART[SSTUBase]:NEEDS[TexturesUnlimited]
Expand Down Expand Up @@ -286,14 +274,8 @@ KSP_TEXTURE_SET:NEEDS[TexturesUnlimited] {

}
}
MODULE
{
name = TUPartVariant
}
MODULE
{
name = SSTURecolorGUI
}
%MODULE[TUPartVariant] {}
%MODULE[SSTURecolorGUI] {}
}

// ===========================================================================
Expand All @@ -303,11 +285,9 @@ KSP_TEXTURE_SET:NEEDS[TexturesUnlimited] {
@PART[KzResizableFairingBase]:NEEDS[TexturesUnlimited] {
%MODULE[ModulePartVariants] {
%name = ModulePartVariants
%baseVariant = Original
%VARIANT[Original] {
%name = Original
%displayName = Original
%primaryColor = #ffffff
%secondaryColor = #ffffff
Expand All @@ -325,44 +305,14 @@ KSP_TEXTURE_SET:NEEDS[TexturesUnlimited] {
}
}
}
MODULE {
name = TUPartVariant
}
MODULE {
name = SSTURecolorGUI
}
%MODULE[TUPartVariant] {}
%MODULE[SSTURecolorGUI] {}
}
@PART[KzThrustPlate]:NEEDS[TexturesUnlimited] {
%MODULE[ModulePartVariants] {
%name = ModulePartVariants
%baseVariant = Original
%VARIANT[Original] {
%name = Original
%displayName = Original
%primaryColor = #ffffff
%secondaryColor = #ffffff
}
}
@MODULE[ModulePartVariants] {
VARIANT {
name = TexturesUnlimited
displayName = TU Recolor
primaryColor = #ff0000
secondaryColor = #0000ff
EXTRA_INFO {
textureSet = KzThrustPlate_recolor
}
}
}
MODULE {
name = TUPartVariant
}
MODULE {
name = SSTURecolorGUI
}
@PART[KzThrustPlate]:NEEDS[TexturesUnlimited]
{
%MODULE[KSPTextureSwitch] { textureSet = KzThrustPlate_recolor }
%MODULE[SSTURecolorGUI] {}
}
@PART[KzResizableFairingBaseRing,KzInterstageAdapter2]:NEEDS[TexturesUnlimited] {
Expand All @@ -378,10 +328,6 @@ KSP_TEXTURE_SET:NEEDS[TexturesUnlimited] {
}
}
}
MODULE {
name = TUPartVariant
}
MODULE {
name = SSTURecolorGUI
}
%MODULE[TUPartVariant] {}
%MODULE[SSTURecolorGUI] {}
}
2 changes: 1 addition & 1 deletion GameData/ProceduralFairings/ProceduralFairings.version
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"VERSION" : {
"MAJOR" : 6,
"MINOR" : 0,
"PATCH" : 0,
"PATCH" : 1,
"BUILD" : 0
},
"KSP_VERSION_MIN" : {
Expand Down
5 changes: 5 additions & 0 deletions GameData/ProceduralFairings/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
=======================================================
ProceduralFairings v6.0.1 for KSP 1.8+ (2021-06-26)
=======================================================
Hotfix: Remove PartVariants from the Thrust Plate. If TU is installed, only the recolorable version is available.

=======================================================
ProceduralFairings v6.0.0 for KSP 1.8+ (2021-06-26)
=======================================================
Expand Down

0 comments on commit 36580c0

Please sign in to comment.