From 9b3d479b94d873dd24187c86d7f139bedda32841 Mon Sep 17 00:00:00 2001 From: ChrisAdderley Date: Fri, 25 Jan 2019 09:48:12 -0800 Subject: [PATCH] Initial configs for new 0.625m parts --- .../FuelTank/restock-fueltanks-0625.cfg | 1 + .../Engine/0625/restock-engine-torch.cfg | 524 ++++++++++++++++++ .../Engine/0625/restock-srb-mallet-1.cfg | 15 +- .../Engine/0625/restock-srb-striker-1.cfg | 15 +- .../FuelTank/0625/restock-fueltank-0625-1.cfg | 62 +++ .../FuelTank/0625/restock-fueltank-0625-2.cfg | 62 +++ .../FuelTank/0625/restock-fueltank-0625-3.cfg | 62 +++ .../Payload/0625/restock-fairing-0625-1.cfg | 2 + .../FuelTanks/restock-oscar-b-volume-fix.cfg | 17 + 9 files changed, 748 insertions(+), 12 deletions(-) create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-engine-torch.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-1.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-2.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-3.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Payload/0625/restock-fairing-0625-1.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Patches/FuelTanks/restock-oscar-b-volume-fix.cfg 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 07d1c516..45eb41c5 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-0625.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/FuelTank/restock-fueltanks-0625.cfg @@ -11,4 +11,5 @@ MODEL { model = ReStock/Assets/FuelTank/restock-fueltank-0625-1 } + } diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-engine-torch.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-engine-torch.cfg new file mode 100644 index 00000000..5cc1e36b --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-engine-torch.cfg @@ -0,0 +1,524 @@ +// ReStock+ 0.1.0 +// Torch (0.625m lifter engine) + +PART +{ + + // --- general parameters --- + name = restock-engine-torch + module = Part + author = Chris Adderley (Nertea) + + // --- asset parameters --- + MODEL + { + model = ReStockPlus/Assets/Engine/restock-engine-torch-1 + scale = 1.0, 1.0, 1.0 + } + scale = 1.0 + rescaleFactor = 1 + + + // --- node definitions --- + node_attach = 0.0, 0.598, 0.0, 0.0, 1.0, 0.0, 0 + node_stack_top = 0.0, 0.598, 0.0, 0.0, 1.0, 0.0, 0 + node_stack_bottom = 0.0, -1.75, 0.0, 0.0, -1.0, 0.0, 0 + + + // --- 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 = smokePoint + oneShot = true + } + AUDIO + { + channel = Ship + clip = sound_explosion_low + volume = 1.0 + pitch = 2.0 + loop = false + } + } + fx-torch-running + { + AUDIO + { + channel = Ship + clip = sound_rocket_spurts + 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 = ReStock/FX/restock-fx-torch-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-torch-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 + } + PREFAB_PARTICLE + { + prefabName = fx_smokeTrail_veryLarge + transformName = smokePoint + emission = 0.0 0.0 + emission = 0.05 0.0 + emission = 0.075 0.25 + emission = 1.0 1.25 + speed = 0.0 0.25 + speed = 1.0 1.0 + localOffset = 0, 0, 1 + } + } + } + + // --- editor parameters --- + TechRequired = veryHeavyRocketry + entryCost = 38800 + cost = 9100 + category = Engine + subcategory = 0 + title = #LOC_RestockPlus_restock-engine-torch_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-engine-torch_description + + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,1,1,0,0 + bulkheadProfiles = size0, srf + + // --- standard part parameters --- + mass = 7.0 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 2 + crashTolerance = 20 + maxTemp = 2000 + + breakingForce = 50 + breakingTorque = 50 + + tags = #LOC_RestockPlus_restock-engine-torch_tags + + MODULE + { + name = ModuleEnginesFX + engineID = MainExhaust + thrustVectorTransformName = thrustTransform + exhaustDamage = True + runningEffectName = fx-torch-running + ignitionThreshold = 0.1 + minThrust = 0 + maxThrust = 1000 + 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 345 + key = 1 295 + key = 12 0.001 + } + } + MODULE + { + name = ModuleAlternator + RESOURCE + { + name = ElectricCharge + rate = 1.0 + } + } + + MODULE + { + name = ModuleGimbal + gimbalTransformName = B_Gimbal + gimbalRange = 3 + gimbalResponseSpeed = 6 + useGimbalResponseSpeed = true + } + MODULE + { + name = ModulePartVariants + baseVariant = Size0 + VARIANT + { + name = Size0 + displayName = #LOC_Restock_variant-engine_size0 + primaryColor = #000000 + secondaryColor = #999999 + GAMEOBJECTS + { + Var_25Boat = false + } + NODES + { + + } + } + VARIANT + { + name = Boattail + displayName = #LOC_Restock_variant-engine_boattail + primaryColor = #999999 + secondaryColor = #000000 + GAMEOBJECTS + { + Var_25Boat = true + } + NODES + { + } + } + VARIANT + { + name = Compact + displayName = #LOC_Restock_variant-engine_compact + primaryColor = #ffffff + secondaryColor = #f69449 + GAMEOBJECTS + { + + } + NODES + { + } + } + } + + 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 = CylTop001 + rotatorsName = CylBot001 + } + CONSTRAINLOOKFX + { + targetName = CylBot001 + rotatorsName =CylTop001 + } + + } + MODULE + { + name = ModuleJettison + jettisonName = Fairing0625,Fairing0625_Compact + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + jettisonDirection = 0 0 1 + + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 0 + fxMax = 1.0 + maxDistance = 70 + falloff = 2 + thrustTransformName = thrustTransform + } + 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-mallet-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg index d15060c1..30eac3b1 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 @@ -1,3 +1,6 @@ +// ReStock+ 0.1.0 +// Small 0625m SRB + PART { name = restock-srb-mallet-1 @@ -19,8 +22,8 @@ PART cost = 200 category = Engine subcategory = 0 - title = - description = + title = + description = attachRules = 1,1,1,1,0 mass = 0.45 heatConductivity = 0.06 // 1/2 default @@ -49,12 +52,12 @@ PART engineAccelerationSpeed = 10.0 allowShutdown = False fxOffset = 0, 0, 0.12 - + // Possible EngineType values: // Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp EngineType = SolidBooster exhaustDamageDistanceOffset = 0.6 - + PROPELLANT { name = SolidFuel @@ -280,7 +283,7 @@ PART falloff = 2 thrustTransformName = thrustTransform } - + MODULE { name = ModuleJettison @@ -291,5 +294,5 @@ PART jettisonForce = 5 jettisonDirection = 0 0 1 useMultipleDragCubes = false - } + } } 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 a75dbad2..d2f00508 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 @@ -1,3 +1,6 @@ +// ReStock+ 0.1.0 +// Small 0625m SRB + PART { name = restock-srb-striker-1 @@ -19,8 +22,8 @@ PART cost = 200 category = Engine subcategory = 0 - title = - description = + title = + description = attachRules = 1,1,1,1,0 mass = 0.45 heatConductivity = 0.06 // 1/2 default @@ -49,12 +52,12 @@ PART engineAccelerationSpeed = 10.0 allowShutdown = False fxOffset = 0, 0, 0.12 - + // Possible EngineType values: // Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp EngineType = SolidBooster exhaustDamageDistanceOffset = 0.6 - + PROPELLANT { name = SolidFuel @@ -280,7 +283,7 @@ PART falloff = 2 thrustTransformName = thrustTransform } - + MODULE { name = ModuleJettison @@ -291,5 +294,5 @@ PART jettisonForce = 5 jettisonDirection = 0 0 1 useMultipleDragCubes = false - } + } } 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 new file mode 100644 index 00000000..f018e50a --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-1.cfg @@ -0,0 +1,62 @@ +// ReStock+ 0.1.0 +// 0.625m fuel tank, longest version +PART +{ + name = restock-fuel-tank-0625-1 + module = Part + author = Chris Adderley (Nertea) + + MODEL + { + model = ReStock/Assets/FuelTank/restock-fueltank-0625-1 + scale = 1.0, 1.0, 1.0 + } + scale = 1 + rescaleFactor = 1 + + // 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_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 + + // Tech + TechRequired = highPerformanceFuelSystems + entryCost = 12900 + + // Info + cost = 1625 + category = FuelTank + subcategory = 0 + title = #LOC_RestockPlus_restock-fuel-tank-0625-1_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-fuel-tank-0625-1_description + tags = #LOC_RestockPlus_restock-fuel-tank-0625-1_tags + bulkheadProfiles = size0, srf + + // Parameters + mass = 1.125 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 6 + maxTemp = 2000 + breakingForce = 350 + breakingTorque = 350 + + + // Resources + RESOURCE + { + name = LiquidFuel + amount = 810 + maxAmount = 810 + } + RESOURCE + { + name = Oxidizer + amount = 990 + maxAmount = 990 + } +} 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 new file mode 100644 index 00000000..83df5ddd --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-2.cfg @@ -0,0 +1,62 @@ +// ReStock+ 0.1.0 +// 0.625m fuel tank, medium version +PART +{ + name = restock-fuel-tank-0625-2 + module = Part + author = Chris Adderley (Nertea) + + MODEL + { + model = ReStock/Assets/FuelTank/restock-fueltank-0625-2 + scale = 1.0, 1.0, 1.0 + } + scale = 1 + rescaleFactor = 1 + + // 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_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 + + // Tech + TechRequired = highPerformanceFuelSystems + entryCost = 12900 + + // Info + cost = 1625 + category = FuelTank + subcategory = 0 + title = #LOC_RestockPlus_restock-fuel-tank-0625-2_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-fuel-tank-0625-2_description + tags = #LOC_RestockPlus_restock-fuel-tank-0625-2_tags + bulkheadProfiles = size0, srf + + // Parameters + mass = 1.125 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 6 + maxTemp = 2000 + breakingForce = 350 + breakingTorque = 350 + + + // Resources + RESOURCE + { + name = LiquidFuel + amount = 810 + maxAmount = 810 + } + RESOURCE + { + name = Oxidizer + amount = 990 + maxAmount = 990 + } +} 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 new file mode 100644 index 00000000..eac91cec --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/0625/restock-fueltank-0625-3.cfg @@ -0,0 +1,62 @@ +// ReStock+ 0.1.0 +// 0.625m fuel tank, small version +PART +{ + name = restock-fuel-tank-0625-3 + module = Part + author = Chris Adderley (Nertea) + + MODEL + { + model = ReStock/Assets/FuelTank/restock-fueltank-0625-3 + scale = 1.0, 1.0, 1.0 + } + scale = 1 + rescaleFactor = 1 + + // 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_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 + + // Tech + TechRequired = highPerformanceFuelSystems + entryCost = 12900 + + // Info + cost = 1625 + category = FuelTank + subcategory = 0 + title = #LOC_RestockPlus_restock-fuel-tank-0625-3_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-fuel-tank-0625-3_description + tags = #LOC_RestockPlus_restock-fuel-tank-0625-3_tags + bulkheadProfiles = size0, srf + + // Parameters + mass = 1.125 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 6 + maxTemp = 2000 + breakingForce = 350 + breakingTorque = 350 + + + // Resources + RESOURCE + { + name = LiquidFuel + amount = 810 + maxAmount = 810 + } + RESOURCE + { + name = Oxidizer + amount = 990 + maxAmount = 990 + } +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Payload/0625/restock-fairing-0625-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Payload/0625/restock-fairing-0625-1.cfg new file mode 100644 index 00000000..8d46912d --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Payload/0625/restock-fairing-0625-1.cfg @@ -0,0 +1,2 @@ +// ReStock+ 0.1.0 +// 0.625m fairing base diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Patches/FuelTanks/restock-oscar-b-volume-fix.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/FuelTanks/restock-oscar-b-volume-fix.cfg new file mode 100644 index 00000000..28e573fe --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Patches/FuelTanks/restock-oscar-b-volume-fix.cfg @@ -0,0 +1,17 @@ +// Fixes the stock Oscar-B's fuel volume to be consistent with everything (it isn't) + +@PART[miniFuelTank]:AFTER[ReStock] +{ + @mass = + + @RESOURCE[LiquidFuel] + { + @amount = + @maxAmount = + } + @RESOURCE[LiquidFuel] + { + @amount = + @maxAmount = + } +}