diff --git a/FuelTanksPlus.version b/FuelTanksPlus.version index 54fb57ed..faf06138 100644 --- a/FuelTanksPlus.version +++ b/FuelTanksPlus.version @@ -13,7 +13,7 @@ { "MAJOR" : 0, "MINOR" : 10, - "PATCH" : 0, + "PATCH" : 1, "BUILD" : 0 }, "KSP_VERSION" : diff --git a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt index 5e8717e5..784d4148 100644 --- a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt +++ b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus-CHANGELOG.txt @@ -1,3 +1,7 @@ +0.10.1 (2015-05-28) - Appearance tweaks. + - Altered sheen/specular on nuclear LF tanks, and size 3 "silver" tanks. + - corrected a mesh mistake on the 2.5m nuclear tanks. + 0.10 (2015-05-22) - More tanks. - Added a pair of 1.25m nose cone fuel tanks. - Added 3 tiers of single-propellant radial tanks (LF, Oxidizer, or MonoProp) diff --git a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version index 1885906b..b5603b9c 100644 --- a/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version +++ b/GameData/NecroBones/FuelTanksPlus/FuelTanksPlus.version @@ -1,36 +1,15 @@ { - "NAME" : "FuelTanksPlus (FTP)", - "URL" : "https://raw.githubusercontent.com/zer0Kerbal/FuelTanksPlus/master/FuelTanksPlus.version", - "DOWNLOAD" : "https://github.com/zer0Kerbal/FuelTanksPlus/releases/latest", - "CHANGE_LOG_URL" : "https://raw.githubusercontent.com/zer0Kerbal/FuelTanksPlus/master/changelog.md", - "GITHUB" : - { - "USERNAME" : "zer0Kerbal", - "REPOSITORY" : "FuelTanksPlus", - "ALLOW_PRE_RELEASE" : false - }, - "VERSION" : - { - "MAJOR" : 0, - "MINOR" : 10, - "PATCH" : 0, - "BUILD" : 0 - }, - "KSP_VERSION" : - { - "MAJOR" : 1, - "MINOR" : 0, - "PATCH" : 2 - }, - "KSP_VERSION_MIN" : - { - "MAJOR" : 0, - "MINOR" : 9, - "PATCH" : 0 - }, - "INSTALL_LOC" : - { - "NAME" : "FuelTanksPlus", - "DIRECTORY" : "NecroBones/FuelTanksPlus" + "NAME": "Fuel Tanks Plus", + "URL": "http://ksp.necrobones.com/files/FuelTanksPlus/FuelTanksPlus.version", + "DOWNLOAD": "https://kerbalstuff.com/mod/529/Fuel%20Tanks%20Plus", + "VERSION": { + "MAJOR": 0, + "MINOR": 10, + "PATCH": 1 + }, + "KSP_VERSION_MIN": { + "MAJOR": 1, + "MINOR": 0, + "PATCH": 1 } } \ No newline at end of file diff --git a/GameData/NecroBones/FuelTanksPlus/ReflectionLicence.txt b/GameData/NecroBones/FuelTanksPlus/ReflectionLicence.txt new file mode 100644 index 00000000..7944a4b6 --- /dev/null +++ b/GameData/NecroBones/FuelTanksPlus/ReflectionLicence.txt @@ -0,0 +1,2 @@ + +Reflection pluginis released as Public Domain as was the original plugin by Razche and modified by Starwaster. \ No newline at end of file diff --git a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.cfg b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.cfg index beb31a76..a446a1a7 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.cfg @@ -65,4 +65,57 @@ PART jettisonDirection = 0 0 1 } + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.06 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank1m + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.mu b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.mu index 59d5f2ab..eed990d1 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.mu and b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL00938-Nuke.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.cfg b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.cfg index 3b8ac8ef..e973125d 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.cfg @@ -65,4 +65,57 @@ PART jettisonDirection = 0 0 1 } + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.06 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank1m + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.mu b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.mu index a75b7bc0..819eb20d 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.mu and b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL01875-Nuke.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.cfg b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.cfg index 018b1b14..12a464db 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.cfg @@ -65,4 +65,57 @@ PART jettisonDirection = 0 0 1 } + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.06 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank1m + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.mu b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.mu index 61f3be9a..a40793e4 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.mu and b/GameData/NecroBones/FuelTanksPlus/Size1/TPtank1mL03750-Nuke.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2m-Specular.mbm b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2m-Specular.mbm new file mode 100644 index 00000000..87c73899 Binary files /dev/null and b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2m-Specular.mbm differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.cfg b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.cfg index 372f4f90..7d14c7cc 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.cfg @@ -64,5 +64,57 @@ PART jettisonForce = 0.1 jettisonDirection = 0 0 1 } + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.06 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank2m + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.mu b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.mu index 865b7c1d..41660b7f 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.mu and b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL01875-Nuke.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.cfg b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.cfg index 38522007..9994a22a 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.cfg @@ -63,5 +63,57 @@ PART jettisonForce = 0.1 jettisonDirection = 0 0 1 } + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.06 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank2m + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.mu b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.mu index 61a0f6a8..b66daaca 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.mu and b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL03750-Nuke.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.cfg b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.cfg index 7f4b4295..bdea6ed7 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.cfg @@ -64,4 +64,58 @@ PART jettisonForce = 0.1 jettisonDirection = 0 0 1 } + + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.06 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank2m + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.mu b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.mu index 5794ec66..28e484dd 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.mu and b/GameData/NecroBones/FuelTanksPlus/Size2/TPtank2mL07500-Nuke.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.cfg b/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.cfg index f8901278..1107b629 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.cfg @@ -61,5 +61,58 @@ RESOURCE maxAmount = 1320 } -// ----- DO NOT EDIT BELOW THIS POINT ------ + + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.12 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank3mShine + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.mu b/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.mu index 403f6fbd..f48b8aa7 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.mu and b/GameData/NecroBones/FuelTanksPlus/Size3/TPcone3m-Silver.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.cfg b/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.cfg index 523fea7e..617d287e 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.cfg @@ -61,5 +61,57 @@ RESOURCE maxAmount = 660 } -// ----- DO NOT EDIT BELOW THIS POINT ------ + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.12 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank3mShine + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } } diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.mu b/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.mu index adf56b0b..60419f44 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.mu and b/GameData/NecroBones/FuelTanksPlus/Size3/TPdome3m-Silver.mu differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3m-Specular.mbm b/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3m-Specular.mbm new file mode 100644 index 00000000..f889b858 Binary files /dev/null and b/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3m-Specular.mbm differ diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.cfg b/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.cfg index 3d1f9e4a..abfc7e31 100644 --- a/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.cfg +++ b/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.cfg @@ -80,4 +80,58 @@ RESOURCE maxAmount = 11880 } + //Reflection shader plugin + MODULE + { + name = DISABLED_ReflectiveShaderModule + + // Lower values for performance, higher values for aesthetics (you shouldn't ever need to go higher than 1024). + CubeMapSize = 32 + + // How deep the reflection will be ("how far the reflection camera will view") + FarClipPlane = 50000000000 + + // How far away must something be before it is reflected + NearClipPlane = 2 + + // Set to false to render all 6 faces of the CubeMap at once (six times slower~) + OneFacePerFrame = true + + // The shader to find. The reflective shaders are: + // Reflective/Diffuse + // Reflective/VertexLit + // Reflective/Bumped Diffuse + // Reflective/Bumped Specular + ShaderName = Reflective/Diffuse + realTimeReflection = False + + // The height of the parallax map. Values are accepted between 0.005 and 0.08. + ParallaxHeight = 0.01 + + // How reflective the reflection will be (Weakest 0.0 - 1.0 Strongest). + ReflectionStrength = 0.12 + //ReflectionColor = 0, 0, 0, 0 + + // Use this variable to specify which meshes to apply the shader to. + // Not using this variable will default to the first found mesh. + // Use the actual mesh name for the value. Or you could use: + // all - to replace the shader on all meshes in the model. + MeshesToChange = TPtank3mShine + + // How shiny the specularity will be (if specular). + // This value will be automatically set if it already exists on the previous shader and is not defined here. + //Shininess = 0.5 + updateRate = 115 + + // These variables should be used together only. + // These values will be automatically set if they already exist on the previous shader and are not defined here + SpecColorR = 0.8 + SpecColorG = 0.8 + SpecColorB = 0.8 + SpecColorA = 0.8 + // rimFalloff = 1.0 + // rimColor = 0.642, 0.6445, 0.6414, 1.0 + // ReflectionColor = 0.6442, 0.6445, 0.64, 0.4 + } + } diff --git a/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.mu b/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.mu index fa2d981a..64141405 100644 Binary files a/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.mu and b/GameData/NecroBones/FuelTanksPlus/Size3/TPtank3mL11250-Silver.mu differ