From 54de957780da5dcce538c56b77341bed907472ab Mon Sep 17 00:00:00 2001 From: ChrisAdderley Date: Thu, 14 Feb 2019 15:22:27 -0800 Subject: [PATCH] Template out configs --- .../Patches/Coupling/restock-decouplers.cfg | 97 ++++ .../Patches/Coupling/restock-docking.cfg | 128 +++-- .../Patches/Coupling/restock-separators.cfg | 55 +++ Distribution/Restock/changelog.txt | 11 + .../ReStockPlus/Localization/en-us.cfg | 24 +- .../Aero/1875/restock-nosecone-1875-1.cfg | 73 +++ .../Parts/Engine/1875/restock-srb-anvil-1.cfg | 444 ++++++++++++++++++ .../FuelTank/375/restock-nosecone-375-1.cfg | 99 ++++ 8 files changed, 863 insertions(+), 68 deletions(-) create mode 100644 Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-decouplers.cfg create mode 100644 Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-separators.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Aero/1875/restock-nosecone-1875-1.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/1875/restock-srb-anvil-1.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/375/restock-nosecone-375-1.cfg diff --git a/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-decouplers.cfg b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-decouplers.cfg new file mode 100644 index 00000000..890d020d --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-decouplers.cfg @@ -0,0 +1,97 @@ +// Patches applying art changes to decouplers +// Contents: +// - TD-06 Decoupler (Decoupler_0) +// - TD-12 Decoupler (Decoupler_1) +// - TD-25 Decoupler (Decoupler_2) +// - TD-37 Decoupler (Decoupler_3) +// - TD-38K Decoupler (radialDecoupler) +// - TD-70 Decoupler (radialDecoupler2) +// - Hydraulic Detachment Manifold (radialDecoupler1-2) + +// TD-06 Decoupler +@PART[Decoupler_0] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-0625-1 + } + + %rescaleFactor = 1 +} +// TD-12 Decoupler +@PART[Decoupler_1] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-125-1 + } + + %rescaleFactor = 1 +} +// TD-25 Decoupler +@PART[Decoupler_2] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-25-1 + } + + %rescaleFactor = 1 +} +// TD-37 Decoupler +@PART[Decoupler_3] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-375-1 + } + + %rescaleFactor = 1 +} + +// TT-38K Decoupler +@PART[radialDecoupler] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-radial-1 + } + + %rescaleFactor = 1 +} + +// TT-70 Decoupler +@PART[radialDecoupler2] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-radial-2 + } + + %rescaleFactor = 1 +} + +// HDM +@PART[radialDecoupler1-2] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-decoupler-radial-2 + } + + %rescaleFactor = 1 +} diff --git a/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg index edc43162..9a3f3f3b 100644 --- a/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg +++ b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-docking.cfg @@ -8,16 +8,16 @@ // Clamp-O-Tron Jr @PART[dockingPort3] { - @author = Chris Adderley (Nertea) + @author = Chris Adderley (Nertea) - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Coupling/restock-docking-0625 - } + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-docking-0625 + } - %rescaleFactor = 1 - MODULE + %rescaleFactor = 1 + MODULE { name = ModuleColorChanger shaderProperty = _EmissiveColor @@ -53,44 +53,41 @@ key = 0 1 } } - } - +} // Inline Clamp-O-Tron @PART[dockingPortLateral] { - @author = Passinglurker + @author = Passinglurker - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Coupling/125/Re_dockingPortInline/restock-inlinedockingport-mk1-1 - } - - - %rescaleFactor = 1 - %manufacturer = #autoLOC_501624 + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/125/Re_dockingPortInline/restock-inlinedockingport-mk1-1 + } + %rescaleFactor = 1 + %manufacturer = #autoLOC_501624 } // Clamp-O-Tron @PART[dockingPort2] { - @author = Chris Adderley (Nertea) + @author = Chris Adderley (Nertea) - !mesh = DELETE - !MODEL {} - MODEL - { - model = ReStock/Assets/Coupling/restock-docking-125-1 - } - MODEL - { - model = ReStock/Assets/Command/restock-hatch-common-round-white-1 - position = 0.0, -0.072, 0.0 + !mesh = DELETE + !MODEL {} + MODEL + { + model = ReStock/Assets/Coupling/restock-docking-125-1 + } + MODEL + { + model = ReStock/Assets/Command/restock-hatch-common-round-white-1 + position = 0.0, -0.072, 0.0 scale = 0.908,0.908,0.908 rotation = 180, 0, 0 - } + } - %rescaleFactor = 1 - MODULE + %rescaleFactor = 1 + MODULE { name = ModuleColorChanger shaderProperty = _EmissiveColor @@ -126,34 +123,33 @@ key = 0 1 } } - } +} // Clamp-O-Tron Shielded @PART[dockingPort1] { - @author = Chris Adderley (Nertea) + @author = Chris Adderley (Nertea) - !mesh = DELETE - !MODEL {} - MODEL - { - model = ReStock/Assets/Coupling/restock-docking-shielded-125-1 - } - MODEL - { - model = ReStock/Assets/Command/restock-hatch-common-round-white-1 - position = 0.0, -0.085, 0.0 + !mesh = DELETE + !MODEL {} + MODEL + { + model = ReStock/Assets/Coupling/restock-docking-shielded-125-1 + } + MODEL + { + model = ReStock/Assets/Command/restock-hatch-common-round-white-1 + position = 0.0, -0.085, 0.0 scale = 0.908,0.908,0.908 rotation = 180, 0, 0 - } + } - %rescaleFactor = 1 + %rescaleFactor = 1 - @MODULE[ModuleAnimateGeneric] + @MODULE[ModuleAnimateGeneric] { @animationName = PortExtend - } - MODULE + MODULE { name = ModuleColorChanger shaderProperty = _EmissiveColor @@ -287,29 +283,29 @@ rotatorsName = ShldCylBottom03 } - } + } } // Clamp-O-Tron Sr @PART[dockingPortLarge] { - @author = Chris Adderley (Nertea) + @author = Chris Adderley (Nertea) - !mesh = DELETE - !MODEL {} - MODEL { - model = ReStock/Assets/Coupling/restock-docking-25-1 - } - MODEL - { - model = ReStock/Assets/Command/restock-hatch-common-round-white-1 - position = 0.0, -0.085, 0.0 + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-docking-25-1 + } + MODEL + { + model = ReStock/Assets/Command/restock-hatch-common-round-white-1 + position = 0.0, -0.085, 0.0 scale = 0.821,0.821,0.821 rotation = 180, 0, 0 - } + } - %rescaleFactor = 1 - MODULE + %rescaleFactor = 1 + MODULE { name = ModuleColorChanger shaderProperty = _EmissiveColor @@ -345,4 +341,4 @@ key = 0 1 } } - } +} diff --git a/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-separators.cfg b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-separators.cfg new file mode 100644 index 00000000..08aa7a2a --- /dev/null +++ b/Distribution/Restock/GameData/ReStock/Patches/Coupling/restock-separators.cfg @@ -0,0 +1,55 @@ +// Patches applying art changes to separators +// Contents: +// - TS-06 Separator (Separator_0) +// - TS-12 Separator (Separator_1) +// - TS-25 Separator (Separator_2) +// - TS-37 Separator (Separator_3) + +// TS-06 Separator +@PART[Separator_0] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-separator-0625-1 + } + + %rescaleFactor = 1 +} +// TS-12 Separator +@PART[Separator_1] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-separator-125-1 + } + + %rescaleFactor = 1 +} +// TS-25 Separator +@PART[Separator_2] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-separator-25-1 + } + + %rescaleFactor = 1 +} +// TS-37 Separator +@PART[Separator_3] { + @author = Chris Adderley (Nertea) + + !mesh = DELETE + !MODEL {} + MODEL { + model = ReStock/Assets/Coupling/restock-separator-375-1 + } + + %rescaleFactor = 1 +} diff --git a/Distribution/Restock/changelog.txt b/Distribution/Restock/changelog.txt index 6770414c..1ac7461d 100644 --- a/Distribution/Restock/changelog.txt +++ b/Distribution/Restock/changelog.txt @@ -28,6 +28,17 @@ - Clamp-O-Tron Docking Port (Nertea) - Clamp-O-Tron Sr. Docking Port (Nertea) - Clamp-O-Tron Shielded Port (Nertea) + - TD-06 Decoupler (Nertea) + - TD-12 Decoupler (Nertea) + - TD-25 Decoupler (Nertea) + - TD-37 Decoupler (Nertea) + - TD-38K Decoupler (Nertea) + - TD-70 Decoupler (Nertea) + - Hydraulic Detachment Manifold (Nertea) + - TS-06 Separator (Nertea) + - TS-12 Separator (Nertea) + - TS-25 Separator (Nertea) + - TS-37 Separator (Nertea) - Aero - Small Nose Cone (Nertea) - Aerodynamic Nose Cone (Nertea) diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg index 179592fc..eb1ee8b2 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Localization/en-us.cfg @@ -37,6 +37,10 @@ Localization #LOC_RestockPlus_restock-engine-srb-striker_description = Extending the Mallet with additional segments can provide more boom than your integration team knows what to do with! #LOC_RestockPlus_restock-engine-srb-striker_tags = a moar (more motor rocket srb restock + #LOC_RestockPlus_restock-engine-srb-anvil_title = STS-1 'Anvil' Solid Rocket Booster + #LOC_RestockPlus_restock-engine-srb-anvil_description = + #LOC_RestockPlus_restock-engine-srb-anvil_tags = a moar (more motor rocket shuttle ssrb srb restock + // RCS #LOC_RestockPlus_restock-rcs-block-dual-1_title = RV-102 RCS Thruster Block #LOC_RestockPlus_restock-rcs-block-dual-1_description = A spin on a classic, the 102 model removes two of the 105's engines for fewer confusing directions of thrust. @@ -73,7 +77,7 @@ Localization // Fuel Tanks #LOC_RestockPlus_restock-fuel-tank-rcs-radial-tiny-1_title = Stratus-V Miniature Monopropellant Tank #LOC_RestockPlus_restock-fuel-tank-rcs-radial-tiny-1_description = A teensy, tiny RCS fuel tank for microscale satellites and decorating larger ships. - #LOC_RestockPlus_restock-fuel-tank-rcs-radial-tiny-1_tags = + #LOC_RestockPlus_restock-fuel-tank-rcs-radial-tiny-1_tags = restock #LOC_RestockPlus_restock-fuel-tank-375-4_title = Kerbodyne S3-1800 Tank #LOC_RestockPlus_restock-fuel-tank-375-4_description = A special compact tank filling a particular hole in Kerbodyne's heavy part lineup. Now you can make Kerosene pancakes! @@ -98,6 +102,23 @@ Localization #LOC_RestockPlus_restock-docking-375-1_description = When the thrill of docking enormous objects in space disappears, one must logically proceed to humongous objects. This even larger docking port is the result of 6 months of R&D to define the precise meaning of the word 'humongous'. #LOC_RestockPlus_restock-docking-375-1_tags = restock berth capture connect couple dock fasten join moor socket + #LOC_RestockPlus_restock-decoupler-1875-1_title = TD-18 Decoupler + #LOC_RestockPlus_restock-decoupler-1875-1_description = + #LOC_RestockPlus_restock-decoupler-1875-1_tags = restock + + #LOC_RestockPlus_restock-separator-1875-1_title = TS-18 Separator + #LOC_RestockPlus_restock-separator-1875-1_description = + #LOC_RestockPlus_restock-separator-1875-1_tags = restock + + // Aerodynamic + #LOC_RestockPlus_restock-nosecone-1875-1_title = Protective Rocket Nose Mk18 + #LOC_RestockPlus_restock-nosecone-1875-1_description = For capping off those medium size boosters, you can't beat the Mark 18, unless you're the Mark 19. + #LOC_RestockPlus_restock-nosecone-1875-1_tags = restock + + #LOC_RestockPlus_restock-nosecone-375-1_title = Kerbodyne S3-3600 Nosecone + #LOC_RestockPlus_restock-nosecone-375-1_description = A specialized and monstrous nosecone with revolutionary fuel-containing capabilities. + #LOC_RestockPlus_restock-nosecone-375-1_tags = restock fuel fueltank ?lfo liquid oxidizer propellant rocket tank + // Structural #LOC_RestockPlus_restock-adapter-hollow-25-375-1_title = Kerbodyne ADTP-2-3A #LOC_RestockPlus_restock-adapter-hollow-25-375-1_description = A gutted version of the 2-3, which allows the storage of spacecraft components in its core. @@ -130,7 +151,6 @@ Localization #LOC_RestockPlus_restock-goocanister-625-1_description = After an unfortunate accident where a technician attempted to stack delicate machinery on the classic Mystery Goo™ canister, FLOOYD Dynamics Labs saw a market opportunity for a version with a flat top and bottom. #LOC_RestockPlus_restock-goocanister-625-1_tags = experiment research science 0.625 restock - // Communications #LOC_RestockPlus_restock-relay-radial-2_title = HG-20 High Gain Antenna #LOC_RestockPlus_restock-relay-radial-2_description = A longer range version of the HG-5 that can handle either direct communications or short range relays, using 4 different dishes. diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Aero/1875/restock-nosecone-1875-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Aero/1875/restock-nosecone-1875-1.cfg new file mode 100644 index 00000000..3e2c52aa --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Aero/1875/restock-nosecone-1875-1.cfg @@ -0,0 +1,73 @@ +// ReStock+ 0.1.0 +// 1.875m Nosecone +PART +{ + name = restock-nosecone-1875-1 + module = Part + author = Chris Adderley (Nertea) + + MODEL + { + model = ReStockPlus/Assets/FuelTank/restock-nosecone-1875-1 + scale = 1.0, 1.0, 1.0 + } + scale = 1 + rescaleFactor = 1 + + // Attachment + attachRules = 1,1,1,1,0 + node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 1 + + // Tech + TechRequired = highPerformanceFuelSystems + entryCost = 12900 + + // Info + cost = 1625 + category = FuelTank + subcategory = 0 + title = #LOC_RestockPlus_restock-nosecone-1875-1_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-nosecone-1875-1_description + tags = #LOC_RestockPlus_restock-nosecone-1875-1_tags + bulkheadProfiles = size3 + + // Parameters + mass = 1.125 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.3 + angularDrag = 2 + crashTolerance = 6 + maxTemp = 2000 + breakingForce = 350 + breakingTorque = 350 + + MODULE + { + name = ModulePartVariants + baseVariant = BlackAndWhite + VARIANT + { + name = BlackAndWhite + displayName = #autoLOC_8007122 + themeName = White + primaryColor = #ffffff + secondaryColor = #000000 + GAMEOBJECTS + { + } + } + VARIANT + { + name = Orange + displayName = #autoLOC_8007123 + themeName = Orange + primaryColor = #f49841 + secondaryColor = #4c4f47 + GAMEOBJECTS + { + } + } + } +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/1875/restock-srb-anvil-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/1875/restock-srb-anvil-1.cfg new file mode 100644 index 00000000..3425d17c --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/1875/restock-srb-anvil-1.cfg @@ -0,0 +1,444 @@ +// ReStock+ 0.1.0 +// 1.875m SRB +PART +{ + name = restock-srb-anvil-1 + module = Part + author = Chris Adderley (Nertea) + rescaleFactor = 1 + scale = 1 + MODEL + { + model = ReStockPlus/Assets/Engine/restock-engine-anvil-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-anvil-running + { + AUDIO + { + channel = Ship + clip = sound_rocket_hard + volume = 0.0 0.0 + volume = 0.01 0.4 + volume = 1.0 1.0 + pitch = 0.0 0.2 + pitch = 0.01 0.6 + pitch = 1.0 1.8 + 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, -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 + entryCost = 0 + cost = 200 + category = Engine + subcategory = 0 + title = #LOC_RestockPlus_restock-engine-srb-anvil_title + description = #LOC_RestockPlus_restock-engine-srb-anvil_description + attachRules = 1,1,1,1,0 + mass = 0.45 + heatConductivity = 0.06 // 1/2 default + skinInternalConductionMult = 4.0 + emissiveConstant = 0.5 // yes, it's white. But let's claim it's an emissive white... + dragModelType = default + maximum_drag = 0.3 + minimum_drag = 0.2 + angularDrag = 2 + crashTolerance = 7 + maxTemp = 2000 // = 3600 + stagingIcon = SOLID_BOOSTER + bulkheadProfiles = size0, srf + tags = #LOC_RestockPlus_restock-engine-srb-anvil_tags + MODULE + { + name = ModuleEnginesFX + thrustVectorTransformName = thrustTransform + throttleLocked = True + exhaustDamage = True + ignitionThreshold = 0.1 + minThrust = 0 + maxThrust = 125 + heatProduction = 545 + useEngineResponseTime = True + engineAccelerationSpeed = 10.0 + allowShutdown = False + fxOffset = 0, 0, 0.12 + runningEffectName = fx-anvil-running + // Possible EngineType values: + // Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp + EngineType = SolidBooster + exhaustDamageDistanceOffset = 0.6 + + PROPELLANT + { + name = SolidFuel + ratio = 1.0 + DrawGauge = True + } + atmosphereCurve + { + key = 0 165 + key = 1 140 + key = 6 0.001 + } + } + + RESOURCE + { + name = SolidFuel + amount = 160 + maxAmount = 160 + } + MODULE + { + name = ModuleTestSubject + useStaging = True + useEvent = True + situationMask = 60 + CONSTRAINT + { + // disable all but home + type = SITUATION + value = 0 + body = _NotHome + prestige = Trivial + } + CONSTRAINT + { + // disable all but home + type = SITUATION + value = 0 + body = _NotHome + prestige = Significant + } + 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 = GT + value = 0 // this just registers altitude as something to care about + situationMask = 8 + } + 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 = 0 + situationMask = 8 + prestige = Significant + } + CONSTRAINT + { + type = SPEED + test = LT + value = 900 + situationMask = 8 + prestige = Significant + } + CONSTRAINT + { + type = SPEED + test = GT + value = 300 + situationMask = 8 + prestige = Exceptional + } + CONSTRAINT + { + type = SPEED + test = LT + value = 1200 + 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 = ModuleSurfaceFX + thrustProviderModuleIndex = 0 + fxMax = 0.7 + maxDistance = 50 + falloff = 2 + thrustTransformName = thrustTransform + } + + MODULE + { + name = ModuleJettison + jettisonName = ShroudSRB + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + jettisonDirection = 0 0 1 + useMultipleDragCubes = false + } + MODULE + { + name = FXModuleThrottleEffects + fxModuleNames = heatColor + responseSpeed = 1.0 + dependOnEngineState = True + dependOnThrottle = True + } + MODULE + { + name = FXModuleThrottleEffects + fxModuleNames = throttleColor + responseSpeed = 1.0 + dependOnEngineState = True + dependOnThrottle = True + } + + MODULE + { + name = ModuleColorChanger + moduleID = heatColor + animRate = 0.025 + shaderProperty = _EmissiveColor + excludedRenderers = EngineCore + toggleInEditor = false + toggleInFlight = false + redCurve + { + key = 0 0 1 1 + key = 1 1 1 1 + } + greenCurve + { + key = 0 0 1 1 + key = 1 1 1 1 + } + blueCurve + { + key = 0 0 1 1 + key = 1 1 1 1 + } + alphaCurve + { + key = 0 0 1 1 + key = 1 1 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/375/restock-nosecone-375-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/375/restock-nosecone-375-1.cfg new file mode 100644 index 00000000..b1b28753 --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/FuelTank/375/restock-nosecone-375-1.cfg @@ -0,0 +1,99 @@ +// ReStock+ 0.1.0 +// 3.75m fuelled nosecone + +PART +{ + name = restock-nosecone-375-1 + module = Part + author = Chris Adderley (Nertea) + + MODEL + { + model = ReStockPlus/Assets/FuelTank/restock-nosecone-375-1 + scale = 1.0, 1.0, 1.0 + } + MODEL + { + model = ReStock/Assets/FuelTank/restock-endcap-fueltank-375-orange + scale = 1.0, -1.0, 1.0 + position = 0.0, -0.48, 0.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, 3 + node_stack_bottom = 0.0, -0.48, 0, 0.0, -1.0, 0.0, 3 + + // Tech + TechRequired = highPerformanceFuelSystems + entryCost = 12900 + + // Info + cost = 1625 + category = FuelTank + subcategory = 0 + title = #LOC_RestockPlus_restock-nosecone-375-1_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-nosecone-375-1_description + tags = #LOC_RestockPlus_restock-nosecone-375-1_tags + bulkheadProfiles = size3 + + // 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 + } + MODULE + { + name = ModulePartVariants + baseVariant = BlackAndWhite + VARIANT + { + name = BlackAndWhite + displayName = #autoLOC_8007122 + themeName = White + primaryColor = #ffffff + secondaryColor = #000000 + GAMEOBJECTS + { + TankTiny = true + TankTinySOFI = false + } + } + VARIANT + { + name = Orange + displayName = #autoLOC_8007123 + themeName = Orange + primaryColor = #f49841 + secondaryColor = #4c4f47 + GAMEOBJECTS + { + TankTiny = false + TankTinySOFI = true + } + } + } +}