diff --git a/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg b/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg new file mode 100644 index 00000000..42035b86 --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Patches/Payload/restock-fairing-bases.cfg @@ -0,0 +1,211 @@ +// Patches applying art changes to fairings +// Contents: +- AE-FF2 Airstream Protective Shell (1.25m) (fairingSize1) +- AE-FF2 Airstream Protective Shell (2.5m) (fairingSize2) +- AE-FF3 Airstream Protective Shell (3.75m) (fairingSize2) + +@PART[fairingSize1] +{ + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Payload/restock-fairing-base-125-1 + } + @MODULE[ModuleProceduralFairing] + { + @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 + } + + @MODULE[ModulePartVariants] + { + @VARIANT[White] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1 + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1 + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + @VARIANT[Grey] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1 + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1-blackandwhite + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + @VARIANT[Dark Grey] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1-orange + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1-orange + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + } +} + + +@PART[fairingSize2] +{ + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Payload/restock-fairing-base-25-1 + } + @MODULE[ModuleProceduralFairing] + { + @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 + } + + @MODULE[ModulePartVariants] + { + @VARIANT[White] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1 + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1 + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + @VARIANT[Grey] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1 + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1-blackandwhite + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + @VARIANT[Dark Grey] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1-orange + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1-orange + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + } +} + +// 3.75m fairing +@PART[fairingSize3] +{ + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Payload/restock-fairing-base-375-1 + } + @MODULE[ModuleProceduralFairing] + { + @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 + } + + @MODULE[ModulePartVariants] + { + @VARIANT[White] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1 + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1 + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + @VARIANT[Grey] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1 + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1-blackandwhite + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + @VARIANT[Dark Grey] + { + !TEXTURE {} + !EXTRA_INFO {} + TEXTURE + { + materialName=FairingIconShell + mainTextureURL = ReStock/Assets/Payload/restock-fairing-1-orange + } + EXTRA_INFO + { + FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-1-orange + FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-1-n + } + } + } +}