diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-ion-0625.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-ion-0625.cfg index 944fc440..7173a269 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-ion-0625.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-ion-0625.cfg @@ -67,909 +67,3 @@ jettisonDirection = 0 0 1 } } - -// Spider -@PART[radialEngineMini] -{ - @author = Chris Adderley (Nertea) - - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Engine/restock-engine-spider-1 - } - !EFFECTS {} - EFFECTS - { - engage - { - AUDIO - { - channel = Ship - clip = sound_vent_soft - volume = 1.0 - pitch = 2.0 - loop = false - } - } - flameout - { - PREFAB_PARTICLE - { - prefabName = fx_exhaustSparks_flameout_2 - transformName = thrustTransform - oneShot = true - } - AUDIO - { - channel = Ship - clip = sound_explosion_low - volume = 1.0 - pitch = 2.0 - loop = false - } - } - fx-spider-running - { - AUDIO - { - channel = Ship - clip = sound_rocket_mini - volume = 0.0 0.0 - volume = 1.0 0.3 - pitch = 0.0 0.75 - pitch = 1.0 1.5 - loop = true - } - - MODEL_MULTI_PARTICLE - { - name = core - modelName = ReStock/FX/restock-fx-ant-1 - transformName = fxTransform - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - } - } - @MODULE[ModuleEnginesFX] - { - @runningEffectName = fx-spider-running - } - @MODULE[ModuleGimbal] - { - @gimbalTransformName = B_Gimbal - } - MODULE - { - name = FXModuleLookAtConstraint - CONSTRAINLOOKFX - { - targetName = CylTop001 - rotatorsName = Cyl001 - } - CONSTRAINLOOKFX - { - targetName = CylTop002 - rotatorsName = Cyl002 - } - CONSTRAINLOOKFX - { - targetName = Cyl001 - rotatorsName = CylTop001 - } - CONSTRAINLOOKFX - { - targetName = Cyl002 - rotatorsName = CylTop002 - } - } - !MODULE[FXModuleAnimateThrottle] {} - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = heatColor - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = throttleColor - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } - - MODULE - { - name = ModuleColorChanger - moduleID = heatColor - animRate = 0.05 - shaderProperty = _EmissiveColor - excludedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } - MODULE - { - name = ModuleColorChanger - moduleID = throttleColor - animRate = 1 - shaderProperty = _EmissiveColor - includedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } -} - -// Spark -@PART[liquidEngineMini] -{ - @author = Chris Adderley (Nertea) - - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Engine/restock-engine-spark-1 - } - %node_attach = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 3 - @attachRules = 1,1,1,0,0 - !EFFECTS {} - EFFECTS - { - engage - { - AUDIO - { - channel = Ship - clip = sound_vent_medium - volume = 1.0 - pitch = 2.0 - loop = false - } - } - disengage - { - AUDIO - { - channel = Ship - clip = sound_vent_soft - loop = false - } - } - flameout - { - PREFAB_PARTICLE - { - prefabName = fx_exhaustSparks_flameout_2 - transformName = thrustTransform - oneShot = true - } - AUDIO - { - channel = Ship - clip = sound_explosion_low - volume = 1.0 - pitch = 2.0 - loop = false - } - } - fx-spark-running - { - AUDIO - { - channel = Ship - clip = sound_rocket_mini - volume = 0.0 0.0 - volume = 1.0 1.0 - pitch = 0.0 0.75 - pitch = 1.0 0.95 - loop = true - } - - MODEL_MULTI_PARTICLE - { - name = core - modelName = ReStock/FX/restock-fx-spark-core-1 - transformName = fxTransformCore - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - MODEL_MULTI_PARTICLE - { - name = plume - modelName = ReStock/FX/restock-fx-spark-plume-1 - transformName = fxTransformPlume - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - MODEL_MULTI_PARTICLE - { - name = turbo - modelName = ReStock/FX/restock-fx-spark-turbo-1 - transformName = fxTransformTurbo - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - } - } - MODULE - { - name = FXModuleLookAtConstraint - - // Basic - - CONSTRAINLOOKFX - { - targetName = CylBot001 - rotatorsName = CylTop001 - } - CONSTRAINLOOKFX - { - targetName = CylBot002 - rotatorsName = CylTop002 - } - CONSTRAINLOOKFX - { - targetName = CylTop001 - rotatorsName = CylBot001 - } - CONSTRAINLOOKFX - { - targetName = CylTop002 - rotatorsName = CylBot002 - } - CONSTRAINLOOKFX - { - targetName = CylBot003 - rotatorsName = CylTop003 - } - CONSTRAINLOOKFX - { - targetName = CylBot004 - rotatorsName = CylTop004 - } - CONSTRAINLOOKFX - { - targetName = CylTop003 - rotatorsName = CylBot003 - } - CONSTRAINLOOKFX - { - targetName = CylTop004 - rotatorsName = CylBot004 - } - CONSTRAINLOOKFX - { - targetName = CylBot005 - rotatorsName = CylTop005 - } - CONSTRAINLOOKFX - { - targetName = CylBot006 - rotatorsName = CylTop006 - } - CONSTRAINLOOKFX - { - targetName = CylTop005 - rotatorsName = CylBot005 - } - CONSTRAINLOOKFX - { - targetName = CylTop006 - rotatorsName = CylBot006 - } - - } - @MODULE[ModuleGimbal] - { - @gimbalTransformName = B_Gimbal - } - MODULE - { - name = ModulePartVariants - baseVariant = Size0 - VARIANT - { - name = Size0 - displayName = #LOC_Restock_variant-engine_size0 - primaryColor = #999999 - secondaryColor = #da8544 - GAMEOBJECTS - { - SparkBasic = true - CylBot001 = false - CylBot002 = false - CylBot003 = true - CylBot004 = true - CylBot005 = false - CylBot006 = false - SparkCompact = false - SparkBoattail = false - AdditionalColliders = false - } - } - VARIANT - { - name = Boattail - displayName = #LOC_Restock_variant-engine_boattail - primaryColor = #da8544 - secondaryColor = #999999 - GAMEOBJECTS - { - SparkBasic = false - CylBot001 = false - CylBot002 = false - CylBot003 = false - CylBot004 = false - CylBot005 = true - CylBot006 = true - SparkCompact = false - SparkBoattail = true - AdditionalColliders = true - } - - } - VARIANT - { - name = Compact - displayName = #LOC_Restock_variant-engine_compact - primaryColor = #999999 - secondaryColor = #555555 - GAMEOBJECTS - { - SparkBasic = false - CylBot001 = true - CylBot002 = true - CylBot003 = false - CylBot004 = false - CylBot005 = false - CylBot006 = false - SparkCompact = true - SparkBoattail = false - AdditionalColliders = true - - } - } - } - @MODULE[ModuleEnginesFX] - { - %runningEffectName = fx-spark-running - } - !MODULE[FXModuleAnimateThrottle] {} - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = heatColor - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = throttleColor - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } - - MODULE - { - name = ModuleColorChanger - moduleID = heatColor - animRate = 0.0005 - shaderProperty = _EmissiveColor - excludedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } - MODULE - { - name = ModuleColorChanger - moduleID = throttleColor - animRate = 1 - shaderProperty = _EmissiveColor - includedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } - @MODULE[ModuleJettison] - { - @jettisonName = ShroudSparkBasic - } -} - -// Twitch -@PART[smallRadialEngine] -{ - @author = Chris Adderley (Nertea) - - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Engine/restock-engine-twitch-1 - } - !EFFECTS {} - EFFECTS - { - engage - { - AUDIO - { - channel = Ship - clip = sound_vent_medium - volume = 1.0 - pitch = 2.0 - loop = false - } - } - disengage - { - AUDIO - { - channel = Ship - clip = sound_vent_soft - loop = false - } - } - flameout - { - PREFAB_PARTICLE - { - prefabName = fx_exhaustSparks_flameout_2 - transformName = thrustTransform - oneShot = true - } - AUDIO - { - channel = Ship - clip = sound_explosion_low - volume = 1.0 - pitch = 2.0 - loop = false - } - } - fx-twitch-running - { - AUDIO - { - channel = Ship - clip = sound_rocket_mini - volume = 0.0 0.0 - volume = 1.0 1.0 - pitch = 0.0 0.8 - pitch = 1.0 1.0 - loop = true - } - MODEL_MULTI_PARTICLE - { - name = turbo - modelName = ReStock/FX/restock-fx-spark-turbo-1 - transformName = fxTransformTurbo - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - MODEL_MULTI_PARTICLE - { - name = core - modelName = ReStock/FX/restock-fx-spark-core-1 - transformName = fxTransformCore - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - MODEL_MULTI_PARTICLE - { - name = plume - modelName = ReStock/FX/restock-fx-spark-plume-1 - transformName = fxTransformPlume - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - } - } - MODULE - { - name = FXModuleLookAtConstraint - - // Ringed - CONSTRAINLOOKFX - { - targetName = CyBotRad001 - rotatorsName = CylTopRad001 - } - CONSTRAINLOOKFX - { - targetName = CyBotRad002 - rotatorsName = CylTopRad002 - } - CONSTRAINLOOKFX - { - targetName = CylTopRad001 - rotatorsName = CyBotRad001 - } - CONSTRAINLOOKFX - { - targetName = CylTopRad002 - rotatorsName = CyBotRad002 - } - } - @MODULE[ModuleEnginesFX] - { - runningEffectName = fx-twitch-running - } - @MODULE[ModuleGimbal] - { - @gimbalTransformName = B_Gimbal - } - !MODULE[FXModuleAnimateThrottle] {} - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = heatColor - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = throttleColor - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } - - MODULE - { - name = ModuleColorChanger - moduleID = heatColor - animRate = 0.05 - shaderProperty = _EmissiveColor - excludedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } - MODULE - { - name = ModuleColorChanger - moduleID = throttleColor - animRate = 1 - shaderProperty = _EmissiveColor - includedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } - -} - -// Puff -@PART[omsEngine] -{ - @author = Chris Adderley (Nertea) - - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Engine/restock-engine-puff-1 - } - !EFFECTS {} - EFFECTS - { - engage - { - AUDIO - { - channel = Ship - clip = sound_vent_soft - volume = 1.0 - pitch = 2.0 - loop = false - } - } - flameout - { - PREFAB_PARTICLE - { - prefabName = fx_exhaustSparks_flameout_2 - transformName = thrustTransform - oneShot = true - } - AUDIO - { - channel = Ship - clip = sound_explosion_low - volume = 1.0 - pitch = 2.0 - loop = false - } - } - fx-puff-running - { - AUDIO - { - channel = Ship - clip = sound_rocket_mini - volume = 0.0 0.0 - volume = 1.0 0.5 - pitch = 0.0 0.5 - pitch = 1.0 1.0 - loop = true - } - - MODEL_MULTI_PARTICLE - { - name = plume - modelName = ReStock/FX/restock-fx-puff-1 - transformName = fxTransform - emission = 0.0 0.0 - emission = 0.01 0.1 - emission = 0.075 0.25 - emission = 1.0 1.0 - speed = 0.0 0.35 - speed = 1.0 1.0 - } - } - } - - MODULE - { - name = FXModuleLookAtConstraint - - // Ringed - CONSTRAINLOOKFX - { - targetName = Cyl005 - rotatorsName = CylTop005 - } - CONSTRAINLOOKFX - { - targetName = Cyl006 - rotatorsName = CylTop006 - } - CONSTRAINLOOKFX - { - targetName = CylTop005 - rotatorsName = Cyl005 - } - CONSTRAINLOOKFX - { - targetName = CylTop006 - rotatorsName = Cyl006 - } - - } - @MODULE[ModuleEnginesFX] - { - @runningEffectName = fx-puff-running - } - - !MODULE[FXModuleAnimateThrottle] {} - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = heatColor - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleThrottleEffects - fxModuleNames = throttleColor - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } - - MODULE - { - name = ModuleColorChanger - moduleID = heatColor - animRate = 0.05 - shaderProperty = _EmissiveColor - excludedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } - MODULE - { - name = ModuleColorChanger - moduleID = throttleColor - animRate = 1 - shaderProperty = _EmissiveColor - includedRenderer = EngineCore - toggleInEditor = false - toggleInFlight = false - redCurve - { - key = 0 1 - key = 1 1 - } - greenCurve - { - key = 0 1 - key = 1 1 - } - blueCurve - { - key = 0 1 - key = 1 1 - } - alphaCurve - { - key = 0 0 - key = 1 1 - } - } -} diff --git a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-25.cfg b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-25.cfg index e4e48488..e282e619 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-25.cfg @@ -239,28 +239,38 @@ } @MODULE[ModulePartVariants] { - @VARIANT[White] + !VARIANT[White] {} + !VARIANT[Orange] {} + VARIANT { - !TEXTURE {} - !GAMEOBJECTS {} + name = Orange + displayName = #autoLOC_8007123 + themeName = Orange + primaryColor = #f49841 + secondaryColor = #4c4f47 GAMEOBJECTS { - 25TankLargeGrey = false - 25TankLargeOrange = false - 25TankLargeWhite = true + 25TankLargeGrey = false + 25TankLargeOrange = true + 25TankLargeWhite = false } } - @VARIANT[Orange] + VARIANT { - !TEXTURE {} - !GAMEOBJECTS {} + name = White + displayName = #autoLOC_8007122 + themeName = BlackAndWhite + primaryColor = #ffffff + secondaryColor = #000000 GAMEOBJECTS { 25TankLargeGrey = false - 25TankLargeOrange = true - 25TankLargeWhite = false + 25TankLargeOrange = false + 25TankLargeWhite = true } } + + VARIANT { name = Metallic diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-engine-srb-gimbal.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-engine-srb-gimbal.cfg index 39add959..5aa9f6d1 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-engine-srb-gimbal.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-engine-srb-gimbal.cfg @@ -1,7 +1,7 @@ // Adds gimballing to SRBs // Kickback -@PART[MassiveBooster] { +@PART[MassiveBooster]:NEEDS[!BetterSRBs] { MODULE { name = ModuleGimbal @@ -11,7 +11,7 @@ } // Thumper -@PART[solidBooster1-1] { +@PART[solidBooster1-1]:NEEDS[!BetterSRBs] { MODULE { @@ -22,7 +22,7 @@ } // Hammer -@PART[solidBooster] { +@PART[solidBooster]:NEEDS[!BetterSRBs] { MODULE { name = ModuleGimbal @@ -32,7 +32,7 @@ } // Flea -@PART[solidBooster_sm] { +@PART[solidBooster_sm]:NEEDS[!BetterSRBs] { MODULE { name = ModuleGimbal