diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1-n.tga b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1-n.tga new file mode 100644 index 00000000..085522d2 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1-n.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1-white.tga b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1-white.tga new file mode 100644 index 00000000..e9d9c3e3 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1-white.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.mu index 9a651342..305964de 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.mu and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.tga b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.tga new file mode 100644 index 00000000..f26eb2f3 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-1.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-2.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-2.mu new file mode 100644 index 00000000..7c77b969 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-2.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-3.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-3.mu new file mode 100644 index 00000000..cd97a099 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-3.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-4.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-4.mu new file mode 100644 index 00000000..b3dffce8 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-0625-4.mu differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-mallet-1.mu b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-mallet-1.mu new file mode 100644 index 00000000..eb062956 Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-mallet-1.mu differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1-e.tga b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1-e.tga new file mode 100644 index 00000000..ccc30186 Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1-e.tga differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1-n.tga b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1-n.tga new file mode 100644 index 00000000..de9b273a Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1-n.tga differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1.tga b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1.tga new file mode 100644 index 00000000..4e8c060d Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-srb-0625-1.tga differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-striker-1.mu b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-striker-1.mu new file mode 100644 index 00000000..6d5aa547 Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/Assets/Engine/restock-engine-striker-1.mu differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/FX/restock-fx-srb-tiny-core-1.mu b/Distribution/RestockPlus/GameData/ReStockPlus/FX/restock-fx-srb-tiny-core-1.mu new file mode 100644 index 00000000..1f445afb Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/FX/restock-fx-srb-tiny-core-1.mu differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/FX/restock-particle-blob-1.tga b/Distribution/RestockPlus/GameData/ReStockPlus/FX/restock-particle-blob-1.tga new file mode 100644 index 00000000..18a2cf27 Binary files /dev/null and b/Distribution/RestockPlus/GameData/ReStockPlus/FX/restock-particle-blob-1.tga differ diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg index 9b343b9d..38f65ef0 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg @@ -13,10 +13,78 @@ PART model = ReStockPlus/Assets/Engine/restock-engine-mallet-1 } - node_stack_bottom = 0.0, -0.9975, 0.0, 0.0, -1.0, 0.0, 0 - node_stack_top = 0.0, 0.7575, 0.0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0, -1.4, 0.0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 1.71, 0.0, 0.0, 1.0, 0.0, 0 node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = sound_vent_medium + 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-mallet-running + { + AUDIO + { + channel = Ship + clip = sound_rocket_hard + volume = 0.0 0.0 + volume = 1.0 1.0 + pitch = 0.0 0.2 + pitch = 1.0 1.0 + loop = true + } + MODEL_MULTI_PARTICLE + { + name = core + modelName = ReStockPlus/FX/restock-fx-srb-tiny-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-srb-smoke-1 + transformName = fxTransformSmoke + 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 + } + } + } TechRequired = start entryCost = 0 cost = 200 @@ -51,7 +119,7 @@ PART useEngineResponseTime = True engineAccelerationSpeed = 10.0 allowShutdown = False - fxOffset = 0, 0, 0.12 + runningEffectName = fx-mallet-running // Possible EngineType values: // Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp @@ -295,4 +363,81 @@ PART jettisonDirection = 0 0 1 useMultipleDragCubes = false } + 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 0 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 1 + } + 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 0 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 1 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg index 0be00a56..0a120cfc 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg @@ -12,9 +12,77 @@ PART { model = ReStockPlus/Assets/Engine/restock-engine-striker-1 } + EFFECTS + { + engage + { + AUDIO + { + channel = Ship + clip = sound_vent_medium + 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-striker-running + { + AUDIO + { + channel = Ship + clip = sound_rocket_hard + volume = 0.0 0.0 + volume = 1.0 1.0 + pitch = 0.0 0.2 + pitch = 1.0 1.0 + loop = true + } + MODEL_MULTI_PARTICLE + { + name = core + modelName = ReStockPlus/FX/restock-fx-srb-tiny-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-srb-smoke-1 + transformName = fxTransformSmoke + 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 + } - node_stack_bottom = 0.0, -0.9975, 0.0, 0.0, -1.0, 0.0, 0 - node_stack_top = 0.0, 0.7575, 0.0, 0.0, 1.0, 0.0, 0 + } + } + node_stack_bottom = 0.0, -3.08, 0.0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 2.8035, 0.0, 0.0, 1.0, 0.0, 0 node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 TechRequired = start @@ -52,7 +120,7 @@ PART engineAccelerationSpeed = 10.0 allowShutdown = False fxOffset = 0, 0, 0.12 - + runningEffectName = fx-striker-running // Possible EngineType values: // Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp EngineType = SolidBooster @@ -295,4 +363,81 @@ PART jettisonDirection = 0 0 1 useMultipleDragCubes = false } + 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 0 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 1 + } + 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 0 + key = 1 1 + } + greenCurve + { + key = 0 0 + key = 1 1 + } + blueCurve + { + key = 0 0 + key = 1 1 + } + alphaCurve + { + key = 0 0 + key = 1 1 + } + } } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-1.cfg index e572a01e..02f8b090 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-1.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-1.cfg @@ -16,8 +16,8 @@ PART // Attachment attachRules = 1,1,1,1,0 - node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 0 - node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 1.3941896, 0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0, -1.3941896, 0, 0.0, -1.0, 0.0, 0 node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 // Tech diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-2.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-2.cfg index e8641010..1802b855 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-2.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-2.cfg @@ -16,8 +16,8 @@ PART // Attachment attachRules = 1,1,1,1,0 - node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 0 - node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 0.6970948, 0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0, -0.6970948, 0, 0.0, -1.0, 0.0, 0 node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 // Tech diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-3.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-3.cfg index a859f683..d776227c 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-3.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-3.cfg @@ -16,8 +16,8 @@ PART // Attachment attachRules = 1,1,1,1,0 - node_stack_top = 0.0, 0.48, 0, 0.0, 1.0, 0.0, 0 - node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 0.3485474, 0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0, -0.3485474, 0, 0.0, -1.0, 0.0, 0 node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 // Tech