From 57b1f94038222e3b4863950bd22e2bd354887ea9 Mon Sep 17 00:00:00 2001 From: Chris Adderley Date: Sat, 12 Jan 2019 22:55:30 -0800 Subject: [PATCH] Tab fix --- .../Patches/Payload/restock-fairing-bases.cfg | 112 ++++++++++++------ 1 file changed, 75 insertions(+), 37 deletions(-) diff --git a/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg b/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg index 41aa47db..946bb9fa 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg @@ -18,8 +18,8 @@ @nSides = 36 @pivot = 0,0.15, 0 @TextureURL = ReStock/Assets/Payload/restock-fairing-125-1 - @CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1 - @TextureNormalURL = ReStock/Assets/Payload/restock-fairing-1-n + @CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1 + @TextureNormalURL = ReStock/Assets/Payload/restock-fairing-1-n } @MODULE[ModulePartVariants] @@ -91,22 +91,22 @@ } } VARIANT - { - name = Dark + { + name = Dark displayName = #autoLOC_8007117 themeName = Dark primaryColor = #4c4f47 secondaryColor = #4c4f47 - TEXTURE - { - materialName=FairingIconShell - mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1-dark - } - EXTRA_INFO - { - FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1-dark - FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_orange_normals - } + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1-dark + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1-dark + FairingsNormalURL=Squad/Parts/Aero/fairings/fairings_orange_normals + } GAMEOBJECTS { FairingBase125White = false @@ -114,29 +114,27 @@ FairingBase125Orange = false FairingBase125Dark = true } - } + } } MODULE { - name = ModuleRestockModifyFairingMaterials - shader = KSP/Bumped Specular + name = ModuleRestockModifyFairingMaterials + COLOR_PROPERTY + { + name = _Color + color = 1.0, 1.0, 1.0, 1.0 + } + COLOR_PROPERTY + { + name = _SpecColor + color = 0.753, 0.753, 0.753, 1.0 + } - COLOR_PROPERTY - { - name = _Color - color = 1.0, 1.0, 1.0, 1.0 - } - COLOR_PROPERTY - { - name = _SpecColor - color = 1.0, 1.0, 1.0, 1.0 - } - - FLOAT_PROPERTY - { - name = _Shininess - value = 0.3 - } + FLOAT_PROPERTY + { + name = _Shininess + value = 0.3 + } } } @@ -155,8 +153,8 @@ @nSides = 24 @pivot = 0,0.15, 0 @TextureURL = ReStock/Assets/Payload/restock-fairing-1 - @CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1 - @TextureNormalURL = ReStock/Assets/Payload/restock-fairing-1-n + @CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1 + @TextureNormalURL = ReStock/Assets/Payload/restock-fairing-1-n } @MODULE[ModulePartVariants] @@ -225,6 +223,26 @@ } } } + MODULE + { + name = ModuleRestockModifyFairingMaterials + COLOR_PROPERTY + { + name = _Color + color = 1.0, 1.0, 1.0, 1.0 + } + COLOR_PROPERTY + { + name = _SpecColor + color = 0.753, 0.753, 0.753, 1.0 + } + + FLOAT_PROPERTY + { + name = _Shininess + value = 0.3 + } + } } // 3.75m fairing @@ -242,8 +260,8 @@ @nSides = 48 @pivot = 0,0.15, 0 @TextureURL = ReStock/Assets/Payload/restock-fairing-1 - @CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1 - @TextureNormalURL = ReStock/Assets/Payload/restock-fairing-1-n + @CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1 + @TextureNormalURL = ReStock/Assets/Payload/restock-fairing-1-n } @MODULE[ModulePartVariants] @@ -312,4 +330,24 @@ } } } + MODULE + { + name = ModuleRestockModifyFairingMaterials + COLOR_PROPERTY + { + name = _Color + color = 1.0, 1.0, 1.0, 1.0 + } + COLOR_PROPERTY + { + name = _SpecColor + color = 0.753, 0.753, 0.753, 1.0 + } + + FLOAT_PROPERTY + { + name = _Shininess + value = 0.3 + } + } }