diff --git a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-125.cfg b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-125.cfg index c31d8299..0135694d 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-125.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-125.cfg @@ -7,7 +7,7 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Structural/restock-nosecone-125-1 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-25.cfg b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-25.cfg index d5b09ec2..0f854456 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Aerodynamic/restock-aero-25.cfg @@ -7,7 +7,7 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Structural/restock-nosecone-25-1 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Control/restock-sas.cfg b/Distribution/Restock/GameData/ReStock/Patches/Control/restock-sas.cfg index 7a3d6c99..92f5815d 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Control/restock-sas.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Control/restock-sas.cfg @@ -7,7 +7,7 @@ @author = Andrew Cassidy !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Control/restock-reactionwheel-625-1 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg index 16e61726..694d7383 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg @@ -8,7 +8,7 @@ @author = Passinglurker !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Coupling/125/Re_dockingPortInline/restock-inlinedockingport-mk1-1 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-rtg.cfg b/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-rtg.cfg index 412a0603..02b0ff32 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-rtg.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-rtg.cfg @@ -7,7 +7,7 @@ @author = Beale !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Electrical/restock-rtg-1 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg index 6b1c1f21..b14bee4f 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-0625.cfg @@ -16,24 +16,92 @@ MODEL { model = ReStock/Assets/Engine/restock-engine-ant-1 } + !EFFECTS {} + EFFECTS + { + } + @MODULE[ModuleEnginesFX] + { + @runningEffectName = fx-ant-running + } + !MODULE[FXModuleAnimateThrottle] {} MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-ant-heat-1 - layer = 1 - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-ant-throttle-1 - layer = 2 - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } + { + 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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } // Spider @@ -46,24 +114,14 @@ MODEL { model = ReStock/Assets/Engine/restock-engine-spider-1 } - MODULE + !EFFECTS {} + EFFECTS { - name = FXModuleAnimateThrottle - animationName = restock-spider-heat-1 - layer = 1 - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-spider-throttle-1 - layer = 2 - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } + } + @MODULE[ModuleEnginesFX] + { + @runningEffectName = fx-spider-running + } MODULE { name = FXModuleLookAtConstraint @@ -88,6 +146,84 @@ rotatorsName = CylTop020 } } + !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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } // Spark @@ -100,24 +236,10 @@ MODEL { model = ReStock/Assets/Engine/restock-engine-spark-1 } - MODULE + !EFFECTS {} + EFFECTS { - name = FXModuleAnimateThrottle - animationName = restock-spark-heat-1 - layer = 1 - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-spark-throttle-1 - layer = 2 - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } + } MODULE { name = FXModuleLookAtConstraint @@ -227,6 +349,88 @@ } } } + @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.05 + shaderProperty = _EmissiveColor + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } // Twitch @@ -239,24 +443,10 @@ MODEL { model = ReStock/Assets/Engine/restock-engine-twitch-1 } - MODULE + !EFFECTS {} + EFFECTS { - name = FXModuleAnimateThrottle - animationName = restock-twitch-throttle-1 - layer = 1 - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-twitch-throttle-1 - layer = 2 - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } + } MODULE { name = FXModuleLookAtConstraint @@ -283,6 +473,88 @@ rotatorsName = CylTop020 } } + @MODULE[ModuleEnginesFX] + { + @runningEffectName = fx-twitch-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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } // Puff @@ -295,6 +567,10 @@ MODEL { model = ReStock/Assets/Engine/restock-engine-puff-1 } + !EFFECTS {} + EFFECTS + { + } MODULE { name = ModulePartVariants @@ -384,22 +660,87 @@ rotatorsName = CylBot020 } } + @MODULE[ModuleEnginesFX] + { + @runningEffectName = fx-puff-running + } + + !MODULE[FXModuleAnimateThrottle] {} MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-puff-throttle-1 - layer = 1 - responseSpeed = 0.005 - dependOnEngineState = True - dependOnThrottle = True - } - MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-puff-throttle-1 - layer = 2 - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } + { + 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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg index 4f2c896f..904f975c 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-125.cfg @@ -17,6 +17,25 @@ model = ReStock/Assets/Engine/restock-engine-nerv-1 } @manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate + + !fx_exhaustFlame_blue = DELETE + !fx_exhaustLight_blue = DELETE + !fx_smokeTrail_light = DELETE + !sound_vent_medium = DELETE + !sound_rocket_hard = DELETE + !sound_vent_soft = DELETE + !sound_explosion_low = DELETE + + !EFFECTS {} + EFFECTS + { + } + + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-nerv-running + } @MODULE[FXModuleAnimateThrottle] { @animationName = restock-vector-heat-1 @@ -59,7 +78,14 @@ model = ReStock/Assets/Engine/restock-engine-vector-1 } @bulkheadProfiles = srf, size1, size2 + node_attach = 0.0,0,0.0 , 0.0, 1.0, 0.0, 1 + + !EFFECTS {} + EFFECTS + { + } + MODULE { name = ModulePartVariants @@ -161,6 +187,10 @@ } } } + @MODULE[ModuleEnginesFX] + { + %runningEffectName = fx-vector-running + } MODULE { name = ModuleJettison @@ -252,7 +282,20 @@ model = ReStock/Assets/Engine/restock-engine-terrier-1 } %rescaleFactor = 1 - + + !fx_exhaustFlame_blue = DELETE + !fx_exhaustLight_blue = DELETE + !fx_smokeTrail_light = DELETE + !sound_vent_medium = DELETE + !sound_rocket_hard = DELETE + !sound_vent_soft = DELETE + !sound_explosion_low = DELETE + + !EFFECTS {} + EFFECTS + { + } + @bulkheadProfiles = srf, size1 @node_stack_top = 0.0, 28.75, 0.0, 0.0, 1.0, 0.0, 1 @node_stack_bottom = 0.0, -47.281375, 0.0, 0.0, -1.0, 0.0, 1 @@ -273,7 +316,7 @@ LV_909_Compact = false Shroud909 = true } - + } VARIANT { @@ -288,7 +331,7 @@ LV_909_Compact = false Shroud909 = false } - + } VARIANT { @@ -303,9 +346,14 @@ LV_909_Compact = true Shroud909 = false } - + } } + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-terrier-running + } @MODULE[ModuleJettison] { @jettisonName = Shroud909 @@ -315,8 +363,85 @@ { @gimbalTransformName = 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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + } // Reliant @@ -330,10 +455,26 @@ model = ReStock/Assets/Engine/restock-engine-reliant-1 } %rescaleFactor = 1 + + !fx_exhaustFlame_blue = DELETE + !fx_exhaustLight_blue = DELETE + !fx_smokeTrail_light = DELETE + !fx_exhaustSparks_flameout = DELETE + !sound_vent_medium = DELETE + !sound_rocket_hard = DELETE + !sound_vent_soft = DELETE + !sound_explosion_low = DELETE + + !EFFECTS {} + EFFECTS + { + } + @bulkheadProfiles = srf, size1 @node_attach = 0.0,0,0.0 , 0.0, 1.0, 0.0, 1 @node_stack_top = 0.0, 9.0182625, 0.0, 0.0, 1.0, 0.0 @node_stack_bottom = 0.0, -9.0925375, 0.0, 0.0, -1.0, 0.0 + MODULE { name = ModulePartVariants @@ -351,7 +492,7 @@ LV_T30_Boattail = false ShroudT30 = true } - + } VARIANT { @@ -366,7 +507,7 @@ LV_T30_Boattail = true ShroudT30 = true } - + } VARIANT { @@ -381,9 +522,14 @@ LV_T30_Boattail = false ShroudT30 = true } - + } } + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-reliant-running + } MODULE { name = ModuleJettison @@ -396,20 +542,84 @@ useMultipleDragCubes= false } - @MODULE[FXModuleAnimateThrottle] - { - @animationName = restock-reliant-heat-1 - %layer = 1 - } - MODULE - { - name = FXModuleAnimateThrottle - animationName = restock-reliant-throttle-1 - layer = 2 - responseSpeed = 1.0 - dependOnEngineState = True - dependOnThrottle = True - } + !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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } @@ -428,6 +638,7 @@ rescaleFactor =1.0 @node_stack_top = 0.0, 9.0182625, 0.0, 0.0, 1.0, 0.0 @node_stack_bottom = 0.0, -7.179225, 0.0, 0.0, -1.0, 0.0 + !fx_exhaustFlame_blue = DELETE !fx_exhaustLight_blue = DELETE !fx_smokeTrail_light = DELETE @@ -436,19 +647,19 @@ !sound_rocket_hard = DELETE !sound_vent_soft = DELETE !sound_explosion_low = DELETE - - EFFECTS + + EFFECTS { engage { - AUDIO - { - channel = Ship - clip = sound_vent_medium - volume = 1.0 - pitch = 2.0 - loop = false - } + AUDIO + { + channel = Ship + clip = sound_vent_medium + volume = 1.0 + pitch = 2.0 + loop = false + } } flameout { @@ -459,13 +670,13 @@ oneShot = true } AUDIO - { - channel = Ship - clip = sound_explosion_low - volume = 1.0 - pitch = 2.0 - loop = false - } + { + channel = Ship + clip = sound_explosion_low + volume = 1.0 + pitch = 2.0 + loop = false + } } fx-swivel-running { @@ -482,7 +693,7 @@ MODEL_MULTI_PARTICLE { modelName = Restock/FX/restock-swivel-core - transformName = fxTransform + transformName = fxCoreTransform emission = 0.0 0.0 emission = 0.01 0.1 emission = 0.075 0.25 @@ -493,7 +704,7 @@ MODEL_MULTI_PARTICLE { modelName = Restock/FX/restock-swivel-plume - transformName = fxTransform + transformName = fxPlumeTransform emission = 0.0 0.0 emission = 0.01 0.1 emission = 0.075 0.25 @@ -501,17 +712,13 @@ speed = 0.0 0.35 speed = 1.0 1.0 } - } - - } - + @MODULE[ModuleEngines] { - @name = ModuleEnginesFX - %runningEffectName = fx-swivel-running - + @name = ModuleEnginesFX + %runningEffectName = fx-swivel-running } MODULE { @@ -532,7 +739,7 @@ Gimbal_Boattail = false Gimbal_Compact = false } - + } VARIANT { @@ -549,7 +756,7 @@ Gimbal_Boattail = true Gimbal_Compact = false } - + } VARIANT { @@ -566,7 +773,7 @@ Gimbal_Boattail = false Gimbal_Compact = true } - + } } MODULE @@ -652,10 +859,87 @@ targetName = Piston06Anchor rotatorsName = Piston06Target } - + } - !MODULE[FXModuleAnimateThrottle] = {} - - + !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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + + } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg index c5734f27..d3ad9610 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-25.cfg @@ -19,7 +19,7 @@ rotation = 0, 0, 0 } !EFFECTS {} - EFFECTS + EFFECTS { engage { @@ -49,7 +49,7 @@ loop = false } } - running_closed + fx-twinboar-running { AUDIO { @@ -63,7 +63,7 @@ } MODEL_MULTI_PARTICLE { - modelName = Restock/FX/restock-swivel-core + modelName = Restock/FX/restock-boar-core transformName = fxTransform emission = 0.0 0.0 emission = 0.01 0.1 @@ -74,7 +74,7 @@ } MODEL_MULTI_PARTICLE { - modelName = Restock/FX/restock-swivel-plume + modelName = Restock/FX/restock-boar-plume transformName = fxTransform emission = 0.0 0.0 emission = 0.01 0.1 @@ -83,16 +83,17 @@ speed = 0.0 0.35 speed = 1.0 1.0 } - } - - } - + @MODULE[ModuleGimbal] { @gimbalTransformName = B_Gimbal } + @MODULE[ModuleEnginesFX] + { + @runningEffectName = fx-twinboar-running + } MODULE { name = FXModuleLookAtConstraint @@ -138,11 +139,87 @@ targetName = CylBot008 rotatorsName = CylTop008 } - - + + } !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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg index 878ae4e0..c78d2627 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-liquid-375.cfg @@ -12,10 +12,13 @@ model = ReStock/Assets/Engine/restock-engine-rhino-1 } %rescaleFactor = 1 - - + + #node_stack_bottom02 = 0.0, -2.536873, 0.0, 0.0, -1.0, 0.0, 3 - + !EFFECTS {} + EFFECTS + { + } MODULE { name = ModulePartVariants @@ -30,9 +33,9 @@ { Var_375 = true Var_Compact = false - Fairing375 = true + Fairing375 = true } - NODES + NODES { node_stack_top = 0.0, 1.487975, 0.0, 0.0, 1.0, 0.0, 3 } @@ -54,7 +57,11 @@ node_stack_top = 0.0,0.495,0.0 , 0.0, 1.0, 0.0, 2 } } - } + } + @MODULE[ModuleEnginesFX] + { + %runningEffectName = fx-rhino-running + } MODULE { name = ModuleJettison @@ -66,10 +73,10 @@ jettisonDirection = 0 0 1 useMultipleDragCubes= false } - + @MODULE[ModuleGimbal] { - + @gimbalTransformName = B_Gimbal } MODULE @@ -87,7 +94,7 @@ targetName = LowerPiston002 rotatorsName = UpperPiston002 } - + CONSTRAINLOOKFX { targetName = UpperPiston001 @@ -124,8 +131,15 @@ MODEL { model = ReStock/Assets/Engine/restock-engine-mammoth-1 } + !EFFECTS {} + EFFECTS + { + } %rescaleFactor = 1 - + @MODULE[ModuleEnginesFX] + { + %runningEffectName = fx-mammoth-running + } @MODULE[FXModuleAnimateThrottle] { @animationName = restock-mammoth-heat-1 diff --git a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg index 34e29a81..64ecad60 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-srb-125.cfg @@ -16,6 +16,14 @@ model = ReStock/Assets/Engine/restock-engine-srb-kickback-1 } %rescaleFactor = 1 + !EFFECTS {} + EFFECTS + { + } + @MODULE[ModuleEnginesFX] + { + %runningEffectName = fx-kickback-running + } MODULE { name = FXModuleLookAtConstraint @@ -78,6 +86,22 @@ } %rescaleFactor = 1 + !fx_exhaustFlame_yellow = DELETE + !fx_smokeTrail_medium = DELETE + !fx_exhaustSparks_yellow = DELETE + !sound_vent_medium = DELETE + !sound_rocket_hard = DELETE + !sound_vent_soft = DELETE + !sound_explosion_low = DELETE + + EFFECTS + { + } + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-thumper-running + } MODULE { name = FXModuleLookAtConstraint @@ -138,17 +162,28 @@ !MODEL {} MODEL { model = ReStock/Assets/Engine/restock-engine-srb-hammer-1 - } %rescaleFactor = 1 @scale = 1 @node_stack_bottom = 0.0, -1.5640875, 0.0, 0.0, -1.0, 0.0, 1 @node_stack_top = 0.0, 1.2818375, 0.0, 0.0, 1.0, 0.0, 1 @node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1 - - @fx_exhaustFlame_yellow = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running - @fx_exhaustSparks_yellow = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running - @fx_smokeTrail_medium = 0.0, -1.4084125, 0.0, 0.0, 1.0, 0.0, running + + !fx_exhaustFlame_yellow = DELETE + !fx_smokeTrail_medium = DELETE + !fx_exhaustSparks_yellow = DELETE + !sound_vent_medium = DELETE + !sound_rocket_hard = DELETE + !sound_vent_soft = DELETE + !sound_explosion_low = DELETE + EFFECTS + { + } + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-hammer-running + } @MODULE[FXModuleAnimateThrottle] { @animationName = restock-srb-hammer-heat-1 @@ -166,7 +201,21 @@ model = ReStock/Assets/Engine/restock-engine-srb-flea-1 } %rescaleFactor = 1 - + EFFECTS + { + } + !fx_exhaustFlame_yellow = DELETE + !fx_smokeTrail_medium = DELETE + !fx_exhaustSparks_yellow = DELETE + !sound_vent_medium = DELETE + !sound_rocket_hard = DELETE + !sound_vent_soft = DELETE + !sound_explosion_low = DELETE + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-hammer-running + } MODULE { name = FXModuleAnimateThrottle @@ -186,7 +235,19 @@ model = ReStock/Assets/Engine/restock-engine-srb-separatron-1 } %rescaleFactor = 1 - ODULE + + !fx_exhaustFlame_yellow_tiny = DELETE + !fx_smokeTrail_medium = DELETE + !fx_exhaustSparks_yellow = DELETE + !sound_vent_medium = DELETE + !sound_rocket_mini = DELETE + !sound_vent_soft = DELETE + @MODULE[ModuleEngines] + { + @name = ModuleEnginesFX + %runningEffectName = fx-separatron-running + } + MODULE { name = FXModuleAnimateThrottle animationName = restock-srb-separatron-heat-1 @@ -194,4 +255,4 @@ dependOnEngineState = True dependOnThrottle = True } -} \ No newline at end of file +} diff --git a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-0625.cfg b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-0625.cfg index 5f839cbf..c27e2d2c 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-0625.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-0625.cfg @@ -7,7 +7,7 @@ @author = Beale !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/FuelTank/restock-fueltank-oscarb-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 1b4d98c7..90597455 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-25.cfg @@ -39,9 +39,9 @@ !GAMEOBJECTS {} GAMEOBJECTS { - 25TankTinyGrey = false - 25TankTinyOrange = true - 25TankTinyWhite = false + 25TankTinyGrey = false + 25TankTinyOrange = true + 25TankTinyWhite = false } } VARIANT @@ -53,9 +53,9 @@ secondaryColor = #000000 GAMEOBJECTS { - 25TankTinyGrey = false - 25TankTinyOrange = false - 25TankTinyWhite = true + 25TankTinyGrey = false + 25TankTinyOrange = false + 25TankTinyWhite = true } } VARIANT @@ -67,9 +67,9 @@ secondaryColor = #6f6e6d GAMEOBJECTS { - 25TankTinyGrey = true - 25TankTinyOrange = false - 25TankTinyWhite = false + 25TankTinyGrey = true + 25TankTinyOrange = false + 25TankTinyWhite = false } } } @@ -110,9 +110,9 @@ !GAMEOBJECTS {} GAMEOBJECTS { - 25TankMedGrey = false - 25TankMedOrange = true - 25TankMedWhite = false + 25TankMedGrey = false + 25TankMedOrange = true + 25TankMedWhite = false } } VARIANT @@ -124,9 +124,9 @@ secondaryColor = #000000 GAMEOBJECTS { - 25TankMedGrey = false - 25TankMedOrange = false - 25TankMedWhite = true + 25TankMedGrey = false + 25TankMedOrange = false + 25TankMedWhite = true } } VARIANT @@ -138,9 +138,9 @@ secondaryColor = #6f6e6d GAMEOBJECTS { - 25TankMedGrey = true - 25TankMedOrange = false - 25TankMedWhite = false + 25TankMedGrey = true + 25TankMedOrange = false + 25TankMedWhite = false } } } @@ -180,9 +180,9 @@ !GAMEOBJECTS {} GAMEOBJECTS { - 25TankSmallGrey = false - 25TankSmallOrange = true - 25TankSmallWhite = false + 25TankSmallGrey = false + 25TankSmallOrange = true + 25TankSmallWhite = false } } VARIANT @@ -194,9 +194,9 @@ secondaryColor = #000000 GAMEOBJECTS { - 25TankSmallGrey = false - 25TankSmallOrange = false - 25TankSmallWhite = true + 25TankSmallGrey = false + 25TankSmallOrange = false + 25TankSmallWhite = true } } VARIANT @@ -208,9 +208,9 @@ secondaryColor = #6f6e6d GAMEOBJECTS { - 25TankSmallGrey = true - 25TankSmallOrange = false - 25TankSmallWhite = false + 25TankSmallGrey = true + 25TankSmallOrange = false + 25TankSmallWhite = false } } } @@ -245,9 +245,9 @@ !GAMEOBJECTS {} GAMEOBJECTS { - 25TankLargeGrey = false - 25TankLargeOrange = false - 25TankLargeWhite = true + 25TankLargeGrey = false + 25TankLargeOrange = false + 25TankLargeWhite = true } } @VARIANT[Orange] @@ -256,9 +256,9 @@ !GAMEOBJECTS {} GAMEOBJECTS { - 25TankLargeGrey = false - 25TankLargeOrange = true - 25TankLargeWhite = false + 25TankLargeGrey = false + 25TankLargeOrange = true + 25TankLargeWhite = false } } VARIANT @@ -270,9 +270,9 @@ secondaryColor = #6f6e6d GAMEOBJECTS { - 25TankLargeGrey = true - 25TankLargeOrange = false - 25TankLargeWhite = false + 25TankLargeGrey = true + 25TankLargeOrange = false + 25TankLargeWhite = false } } } diff --git a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-375.cfg b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-375.cfg index b7a7813a..52f564b9 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-375.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-375.cfg @@ -14,15 +14,15 @@ } MODEL { model = ReStock/Assets/FuelTank/restock-endcap-fueltank-375-orange - position = 0.0, 0.96, 0.0 - scale = 1,1,1 - rotation = 0, 0, 0 + position = 0.0, 0.96, 0.0 + scale = 1,1,1 + rotation = 0, 0, 0 } MODEL { model = ReStock/Assets/FuelTank/restock-endcap-fueltank-375-orange - position = 0.0, -0.967, 0.0 - scale = 1,-1,1 - rotation = 0, 0, 0 + position = 0.0, -0.967, 0.0 + scale = 1,-1,1 + rotation = 0, 0, 0 } %rescaleFactor = 1 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-125.cfg b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-125.cfg index 6c0fab90..9eee2f2e 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-125.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-125.cfg @@ -8,7 +8,7 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Structural/restock-adapter-125-0625-1 } @@ -19,7 +19,7 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Structural/restock-adapter-125-0625-2 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg index 35cb1ae9..c0f39bfb 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-25.cfg @@ -8,7 +8,7 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Structural/restock-adapter-25-125-1 } @@ -19,7 +19,7 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/Structural/restock-adapter-25-125-2 } diff --git a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-375.cfg b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-375.cfg index 1fab59b7..420a57df 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-375.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Structural/restock-structural-375.cfg @@ -6,9 +6,9 @@ @author = Chris Adderley !mesh = DELETE - !MODEL = {} + !MODEL {} MODEL { model = ReStock/Assets/FuelTank/restock-adapter-375-solid-1 } %rescaleFactor = 1 -} \ No newline at end of file +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg index 5733823f..57467381 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg @@ -9,9 +9,25 @@ Localization en-us { - #LOC_RestockPlus_restock-engine-375-3_title = - #LOC_RestockPlus_restock-engine-375-3_description = - #LOC_RestockPlus_restock-engine-375-3_tags = + #LOC_RestockPlus_restock-engine-corgi_title = KR-10U 'Corgi' + #LOC_RestockPlus_restock-engine-corgi_description = + #LOC_RestockPlus_restock-engine-corgi_tags = + + #LOC_RestockPlus_restock-engine-boar_title = KR-1 'Boar' + #LOC_RestockPlus_restock-engine-boar_description = + #LOC_RestockPlus_restock-engine-boar_tags = + + #LOC_RestockPlus_restock-engine-pug_title = LV-303 'Pug' + #LOC_RestockPlus_restock-engine-pug_description = + #LOC_RestockPlus_restock-engine-pug_tags = + + #LOC_RestockPlus_restock-engine-lug_title = LV-T15 'Lug' + #LOC_RestockPlus_restock-engine-lug_description = + #LOC_RestockPlus_restock-engine-lug_tags = + + #LOC_RestockPlus_restock-drone-core-375-1_title = + #LOC_RestockPlus_restock-drone-core-375-1_description = + #LOC_RestockPlus_restock-drone-core-375-1_tags = #LOC_RestockPlus_restock-battery-375-1_title = #LOC_RestockPlus_restock-battery-375-1_description = diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/25/restock-engine-boar.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/25/restock-engine-boar.cfg new file mode 100644 index 00000000..ec4e8eec --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/25/restock-engine-boar.cfg @@ -0,0 +1,453 @@ +// Boar (2.5m lifter engine) + +PART +{ + + // --- general parameters --- + name = restock-engine-25-boar + module = Part + author = Chris Adderley + + // --- asset parameters --- + MODEL + { + model = RestockPlus/Assets/Engine/restock-engine-375-3 + scale = 1.0, 1.0, 1.0 + } + scale = 1.0 + rescaleFactor = 1 + + + // --- node definitions --- + node_stack_top = 0.0, 2.499, 0.0, 0.0, 1.0, 0.0, 2 + node_stack_bottom = 0.0, -3.849, 0.0, 0.0, -1.0, 0.0, 2 + + + // --- FX definitions --- + + 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 + } + } + } + + // --- editor parameters --- + TechRequired = veryHeavyRocketry + entryCost = 26800 + cost = 15200 + category = Engine + subcategory = 0 + title = #LOC_RestockPlus_restock-engine-boar_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-engine-boar_description + + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,0,1,0,0 + bulkheadProfiles = size2, size1, srf + + // --- standard part parameters --- + mass = 3 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 2 + crashTolerance = 20 + maxTemp = 2000 + + breakingForce = 5000 + breakingTorque = 5000 + + tags = #LOC_RestockPlus_restock-engine-375-3_tags + + MODULE + { + name = ModuleEnginesFX + engineID = MainExhaust + thrustVectorTransformName = thrustTransform + exhaustDamage = True + runningEffectName = fx-gc-core + powerEffectName = fx-gc-plume + ignitionThreshold = 0.1 + minThrust = 0 + maxThrust = 1540 + heatProduction = 5 + fxOffset = 0, 0, 0 + EngineType = LiquidFuel + exhaustDamageDistanceOffset = 1.5 + PROPELLANT + { + name = LiquidFuel + ratio = 0.9 + DrawGauge = True + } + PROPELLANT + { + name = Oxidizer + ratio = 1.1 + } + atmosphereCurve + { + key = 0 328 + key = 1 309 + key = 12 0.001 + } + } + MODULE + { + name = ModuleAlternator + RESOURCE + { + name = ElectricCharge + rate = 3.0 + } + } + + MODULE + { + name = ModuleGimbal + gimbalTransformName = GimbalBone + gimbalRange = 3 + gimbalResponseSpeed = 6 + useGimbalResponseSpeed = true + } + + + MODULE + { + name = ModuleTestSubject + useStaging = True + useEvent = True + situationMask = 121 + CONSTRAINT + { + type = REPEATABILITY + value = ALWAYS + prestige = Trivial + } + CONSTRAINT + { + type = REPEATABILITY + value = BODYANDSITUATION + prestige = Significant + } + CONSTRAINT + { + type = REPEATABILITY + value = ONCEPERPART + prestige = Exceptional + } + CONSTRAINT + { + type = ALTITUDEENV + test = GT + value = 4000 + prestige = Trivial + } + CONSTRAINT + { + type = ALTITUDEENV + test = LT + value = 8000 + prestige = Trivial + } + CONSTRAINT + { + type = ALTITUDEENV + test = GT + value = 2000 + prestige = Significant + } + CONSTRAINT + { + type = ALTITUDEENV + test = LT + value = 4000 + prestige = Significant + } + CONSTRAINT + { + type = ALTITUDEENV + test = GT + value = 1000 + prestige = Exceptional + } + CONSTRAINT + { + type = ALTITUDEENV + test = LT + value = 2000 + prestige = Exceptional + } + CONSTRAINT + { + type = ALTITUDE + test = LT + value = 300000 + situationMask = 16 + body = _NotSun + } + CONSTRAINT + { + type = ALTITUDE + test = LT + value = 600000 + situationMask = 32 + body = _NotSun + } + CONSTRAINT + { + type = SPEED + test = GT + value = 0 + situationMask = 8 + prestige = Trivial + } + CONSTRAINT + { + type = SPEED + test = LT + value = 600 + situationMask = 8 + prestige = Trivial + } + CONSTRAINT + { + type = SPEED + test = GT + value = 300 + situationMask = 8 + prestige = Significant + } + CONSTRAINT + { + type = SPEED + test = LT + value = 1200 + situationMask = 8 + prestige = Significant + } + CONSTRAINT + { + type = SPEED + test = GT + value = 600 + situationMask = 8 + prestige = Exceptional + } + CONSTRAINT + { + type = SPEED + test = LT + value = 2500 + situationMask = 8 + prestige = Exceptional + } + CONSTRAINT + { + type = SPEEDENV + test = LT + value = 200 + prestige = Trivial + } + CONSTRAINT + { + type = SPEEDENV + test = GT + value = 100 + prestige = Trivial + } + CONSTRAINT + { + type = SPEEDENV + test = LT + value = 100 + prestige = Significant + } + CONSTRAINT + { + type = SPEEDENV + test = GT + value = 50 + prestige = Significant + } + CONSTRAINT + { + type = SPEEDENV + test = LT + value = 50 + prestige = Exceptional + } + CONSTRAINT + { + type = SPEEDENV + test = GT + value = 20 + prestige = Exceptional + } + } + + MODULE + { + name = FXModuleLookAtConstraint + CONSTRAINLOOKFX + { + targetName = CylUpper001 + rotatorsName = CylLower001 + } + CONSTRAINLOOKFX + { + targetName = CylUpper002 + rotatorsName =CylLower002 + } + CONSTRAINLOOKFX + { + targetName = CylUpper003 + rotatorsName = CylLower003 + } + CONSTRAINLOOKFX + { + targetName = CylLower001 + rotatorsName = CylUpper001 + } + CONSTRAINLOOKFX + { + targetName = CylLower002 + rotatorsName = CylUpper002 + } + CONSTRAINLOOKFX + { + targetName = CylLower003 + rotatorsName = CylUpper003 + } + } + MODULE + { + name = ModuleJettison + jettisonName = SHROUD01 + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + jettisonDirection = 0 0 1 + + MODULE + { + name = FlagDecal + textureQuadName = Flag + } + + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 0 + fxMax = 1.0 + maxDistance = 70 + falloff = 2 + thrustTransformName = thrustTransform + } + !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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-375-3.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg similarity index 78% rename from Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-375-3.cfg rename to Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg index 1a58b208..a3227029 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-375-3.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg @@ -1,29 +1,27 @@ -// 3.75m orbital engine +// Corgi (3.75m orbital engine) + PART { // --- general parameters --- - name = restock-engine-375-3 + name = restock-engine-375-corgi module = Part author = Chris Adderley // --- asset parameters --- MODEL { - model = RestockPlus/Assets/Engine/restock-engine-375-3 + model = RestockPlus/Assets/Engine/restock-engine-corgi scale = 1.0, 1.0, 1.0 } scale = 1.0 rescaleFactor = 1 - // --- node definitions --- node_stack_top = 0.0, 2.499, 0.0, 0.0, 1.0, 0.0, 3 node_stack_bottom = 0.0, -3.849, 0.0, 0.0, -1.0, 0.0, 3 - // --- FX definitions --- - EFFECTS { engage @@ -64,7 +62,7 @@ PART subcategory = 0 title = #LOC_RestockPlus_restock-engine-375-3_title manufacturer = #autoLOC_501638 - description = #LOC_RestockPlus_restock-engine-375-3_description + description = #LOC_RestockPlus_restock-engine-corgi_description // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision attachRules = 1,0,1,0,0 @@ -82,7 +80,7 @@ PART breakingForce = 5000 breakingTorque = 5000 - tags = #LOC_RestockPlus_restock-engine-375-3_tags + tags = #LOC_RestockPlus_restock-engine-corgi_tags MODULE { @@ -126,15 +124,6 @@ PART rate = 3.0 } } - MODULE - { - name = FXModuleAnimateThrottle - animationName = GasCore25-2_Throttle - dependOnEngineState = True - responseSpeed = 1.0 - layer = 2 - } - MODULE { @@ -379,5 +368,83 @@ PART falloff = 2 thrustTransformName = thrustTransform } + !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 + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 1 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 0 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-liquid-engine-thrust-rebalance b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-liquid-engine-thrust-rebalance new file mode 100644 index 00000000..10384eb7 --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/Engine/restock-liquid-engine-thrust-rebalance @@ -0,0 +1,100 @@ +// Various patches to make engines behave like the design sheet + +// 0.625m +@PART[microEngine]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 2 + } +} +@PART[radialEngineMini]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 2 + } +} +@PART[liquidEngineMini]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 18 + } +} +@PART[smallRadialEngine]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 16 + } +} +@PART[omsEngine]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 20 + } +} + +// 1.25m +@PART[nuclearEngine]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 60 + } +} +@PART[SSME]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 750 + } +} +@PART[liquidEngine3]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 80 + } +} +@PART[liquidEngine2]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 200 + } +} +@PART[liquidEngine]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 300 + } +} + +// 2.5m +@PART[Size2LFB]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 2200 + } +} + +// 3.75m +@PART[Size3AdvancedEngine]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 1200 + } +} +@PART[Size3EngineCluster]:AFTER[ReStock] +{ + @MODULE[ModuleEnginesFX] + { + @maxThrust = 3000 + } +}