diff --git a/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-0625.mu b/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-0625.mu index c9e2c957..4c513e09 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-0625.mu and b/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-0625.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1-n.tga b/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1-n.tga new file mode 100644 index 00000000..f72375e0 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1-n.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1.mu index f5596048..83c165f7 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1.mu and b/Distribution/Restock/GameData/ReStock/Assets/Coupling/restock-docking-25-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-e.tga b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-e.tga index 00325a45..658296df 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-e.tga and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-e.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-n.tga b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-n.tga index a119e0c4..7a901568 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-n.tga and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1-n.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1.tga b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1.tga index 6ca4213e..03b5a914 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1.tga and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-1.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2-e.tga b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2-e.tga new file mode 100644 index 00000000..9357f7bd Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2-e.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2-n.tga b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2-n.tga new file mode 100644 index 00000000..8f0ef188 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2-n.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2.tga b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2.tga new file mode 100644 index 00000000..33d22e62 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-batteries-2.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-0625-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-0625-1.mu new file mode 100644 index 00000000..372c5068 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-0625-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-125-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-125-1.mu index e82bc987..fe20e170 100644 Binary files a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-125-1.mu and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-125-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-25-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-25-1.mu new file mode 100644 index 00000000..8e75e87f Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-25-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-radial-med-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-radial-med-1.mu new file mode 100644 index 00000000..a76994a6 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-radial-med-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-radial-small-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-radial-small-1.mu new file mode 100644 index 00000000..e8817403 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Electrical/restock-battery-radial-small-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1-e.tga b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1-e.tga new file mode 100644 index 00000000..7e9d80b7 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1-e.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1-n.tga b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1-n.tga new file mode 100644 index 00000000..dfcecdbd Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1-n.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1.tga b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1.tga new file mode 100644 index 00000000..b0625e00 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-dawn-1.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-engine-dawn-1.mu b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-engine-dawn-1.mu new file mode 100644 index 00000000..b609e712 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/Engine/restock-engine-dawn-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-0625-1.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-0625-1.mu new file mode 100644 index 00000000..f88424ab Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-0625-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-125-1.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-125-1.mu new file mode 100644 index 00000000..9fe0ef5f Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-125-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-radial-1.mu b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-radial-1.mu new file mode 100644 index 00000000..d499dcaf Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-fueltank-xenon-radial-1.mu differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-xenon-1-n.tga b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-xenon-1-n.tga new file mode 100644 index 00000000..3220a5d0 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-xenon-1-n.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-xenon-1.tga b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-xenon-1.tga new file mode 100644 index 00000000..5a87cfc7 Binary files /dev/null and b/Distribution/Restock/GameData/ReStock/Assets/FuelTank/restock-xenon-1.tga differ diff --git a/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg b/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg index d985a4bc..5989d099 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Electrical/restock-batteries.cfg @@ -3,7 +3,23 @@ // - Z-200 Rechargeable Battery Bank (batteryBankMini) // - Z-1K Rechargeable Battery Bank (batteryBank) // - Z-4K Rechargeable Battery Bank (batteryBankLarge) +// - Z-100 Rechargeable Battery Pack (batteryPack) +// - Z-400 Rechargeable Battery (ksp_r_largeBatteryPack) +// 0.625m battery bank +@PART[batteryBankMini] +{ + @author = Chris Adderley (Nertea) + !mesh = DELETE + !MODEL,* {} + MODEL + { + model = ReStock/Assets/Electrical/restock-battery-0625-1 + position = 0.0, 0.0, 0.0 + scale = 1,1,1 + rotation = 0, 0, 0 + } +} // 1.25m battery bank @PART[batteryBank] { @@ -18,3 +34,45 @@ rotation = 0, 0, 0 } } +// 2.5m battery bank +@PART[batteryBankLarge] +{ + @author = Chris Adderley (Nertea) + !mesh = DELETE + !MODEL,* {} + MODEL + { + model = ReStock/Assets/Electrical/restock-battery-25-1 + position = 0.0, 0.0, 0.0 + scale = 1,1,1 + rotation = 0, 0, 0 + } +} +// Small radial battery +@PART[batteryPack] +{ + @author = Chris Adderley (Nertea) + !mesh = DELETE + !MODEL,* {} + MODEL + { + model = ReStock/Assets/Electrical/restock-battery-radial-small-1 + position = 0.0, 0.0, 0.0 + scale = 1,1,1 + rotation = 0, 0, 0 + } +} +// Large radial battery +@PART[ksp_r_largeBatteryPack] +{ + @author = Chris Adderley (Nertea) + !mesh = DELETE + !MODEL,* {} + MODEL + { + model = ReStock/Assets/Electrical/restock-battery-radial-med-1 + position = 0.0, 0.0, 0.0 + scale = 1,1,1 + rotation = 0, 0, 0 + } +} 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 new file mode 100644 index 00000000..944fc440 --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Patches/Engine/restock-engines-ion-0625.cfg @@ -0,0 +1,975 @@ +// Patches applying art changes to ion engines +// Contents: +// - IX-6315 "Dawn" Electric Propulsion System (ionEngine) + +// Dawn +@PART[ionEngine] +{ + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Engine/restock-engine-dawn-1 + } + @MODULE[ModuleEnginesFX] + { + @runningEffectName = fx-ant-running + @fxOffset = 0, 0, 0 + } + !MODULE[FXModuleAnimateThrottle] {} + MODULE + { + name = FXModuleThrottleEffects + fxModuleNames = throttleColor + responseSpeed = 1.0 + dependOnEngineState = True + dependOnThrottle = True + } + MODULE + { + name = ModuleColorChanger + moduleID = throttleColor + animRate = 1 + shaderProperty = _EmissiveColor + includedRenderer = IonEngine + 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 = ModuleJettison + jettisonName = ShroudAnt + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + 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-xenon.cfg b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-xenon.cfg new file mode 100644 index 00000000..ff55b74f --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-xenon.cfg @@ -0,0 +1,42 @@ +// Patches applying art changes to Xenon fuel tanks +// Contents: +// - PB-X150 Xenon Container (xenonTank) +// - PB-X750 Xenon Container (xenonTankLarge) +// - PB-X50R Xenon Container (xenonTankRadial) + +// Tiny Xenon tank +@PART[xenonTank] +{ + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/FuelTank/restock-fueltank-xenon-0625-1 + } +} + +// Small Xenon tank +@PART[xenonTankLarge] +{ + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/FuelTank/restock-fueltank-xenon-125-1 + } +} + + +// Radial Xenon tank +@PART[xenonTankRadial] +{ + @author = Chris Adderley (Nertea) + + //!mesh = DELETE + //!MODEL {} + MODEL { + model = ReStock/Assets/FuelTank/restock-fueltank-xenon-radial-1 + } +} diff --git a/Distribution/Restock/changelog.txt b/Distribution/Restock/changelog.txt index 35e7d945..3a4fb47f 100644 --- a/Distribution/Restock/changelog.txt +++ b/Distribution/Restock/changelog.txt @@ -39,6 +39,9 @@ - Kerbodyne S3-3600 Tank (Nertea) - Kerbodyne S3-7200 Tank (Nertea) - Kerbodyne S3-14400 Tank (Nertea) + - PB-X150 Xenon Container (Nertea) + - PB-X750 Xenon Container (Nertea) + - PB-X50R Xenon Container (Nertea) - Engines - Separatron I (Nertea) - Flea (Nertea) @@ -58,7 +61,12 @@ - LFB KR-1x2 "Twin-Boar" Liquid Fuel Engine (Nertea) - Kerbodyne KR-2L+ "Rhino" Liquid Fuel Engine (Nertea) - S3 KS-25x4 "Mammoth" Liquid Fuel Engine (Nertea) + - IX-6315 "Dawn" Electric Propulsion System (Nertea) - Electrical + - Z-200 Rechargeable Battery Bank (Nertea) - Z-1K Rechargeable Battery Bank (Nertea) + - Z-4K Rechargeable Battery Bank (Nertea) + - Z-400 Rechargeable Battery (Nertea) + - Z-100 Rechargeable Battery Pack (Nertea) - PB-NUK Radioisotope Thermoelectric Generator (Beale) - Engines are all surface attachable