From 8e0c3363621675fe8ef5f9fd3c9bcd794733e13d Mon Sep 17 00:00:00 2001 From: LPG Date: Sun, 2 Apr 2023 13:12:11 -0400 Subject: [PATCH] X-15 altitude limits 125km to begin with, roughly matching history. 1Gm (because the partmodule has no off switchs) in the mercury node to throw people a bone without twisting the tree out of shape --- GameData/RP-0/Tree/CockpitUpgrades.cfg | 42 +++++++++++++++++++ GameData/RP-0/Tree/TREE-Parts.cfg | 4 ++ .../Parts Browser/data/Stock__RO_Config.json | 6 ++- 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/GameData/RP-0/Tree/CockpitUpgrades.cfg b/GameData/RP-0/Tree/CockpitUpgrades.cfg index 287d7651ea0..08781ea8309 100644 --- a/GameData/RP-0/Tree/CockpitUpgrades.cfg +++ b/GameData/RP-0/Tree/CockpitUpgrades.cfg @@ -10,10 +10,29 @@ PARTUPGRADE description = Upgrades the X-1 cockpit to X-2 specification. Service ceiling is increased to 75km.\nAfter paying the entry cost of this upgrade, all freshly built and KCT-edited vessels will acquire it automatically. } +PARTUPGRADE +{ + name = X15CockpitUpgrade + partIcon = Mark1Cockpit + // mercury and vostok's node: all the prereqs make sense (life support, flight control, heat shielding, + // material science) plus "whatever extra is needed to build an orbit-capable spacecraft". + // Could instead add an extra node between hypersonic flight and prototype spaceplanes, + // but the idea isn't to encourage orbital X-15 as a viable alternate path; it's to acknowledge + // that after unlocking the capsule node AND the x-15 node, an orbital x-15 cockpit won't hurt + // game balance that much. + techRequired = basicCapsules + entryCost = 40000 + cost = 0 + title = X-15 cockpit upgrade + manufacturer = Generic + description = Upgrades the X-15 cockpit for space operation. Service ceiling is (mostly) removed.\nAfter paying the entry cost of this upgrade, all freshly built and KCT-edited vessels will acquire it automatically. +} + @PART[RP0Nose-Cockpit|X1_Crew|RO-X1Cockpit]:FOR[zRP-0] { @MODULE[ModuleUnpressurizedCockpit],* { + // X-1A altitude record 27km %crewDeathAltitude = 30000 UPGRADES @@ -21,12 +40,35 @@ PARTUPGRADE UPGRADE { name__ = X2CockpitUpgrade + // X-2 altitude record 38km: +10km isn't much of an upgrade. We'll step on X-15's territory + // a little, it still keeps its spot as karman-line-beater. crewDeathAltitude = 75000 } } } } +@PART[Mark1Cockpit|Mark2Cockpit]:FOR[zRP-0] +{ + @MODULE[ModuleUnpressurizedCockpit],* + { + // Historical X-15 altitude record is 108km. Give it a bit more, but low enough below 140km + // to keep "space low" mostly out of reach. + %crewDeathAltitude = 125000 + + UPGRADES + { + UPGRADE + { + name__ = X15CockpitUpgrade + // No way to remove the limit altogether, so just raise it to 1Gm, enough to go anywhere in Earth's SOI. + // Nobody would try going interplanetary with it, right? + crewDeathAltitude = 1000000000 + } + } + } +} + // Aviation Cockpits Century Fighter cockpits // F-104 official record 31.5km in 1959, unofficial record 36.8km in 1963 // These come a node after the X-1 75km upgrade, so won't step on its feet diff --git a/GameData/RP-0/Tree/TREE-Parts.cfg b/GameData/RP-0/Tree/TREE-Parts.cfg index d447e60160e..b20b4b42046 100644 --- a/GameData/RP-0/Tree/TREE-Parts.cfg +++ b/GameData/RP-0/Tree/TREE-Parts.cfg @@ -7132,6 +7132,8 @@ MODULE { name = ModuleNoEVA } %MODULE[ModuleTagList] { tag = NoResourceCostMult } + MODULE + { name = ModuleUnpressurizedCockpit } } @PART[Mark2Cockpit]:FOR[xxxRP0] @@ -7146,6 +7148,8 @@ MODULE { name = ModuleNoEVA } %MODULE[ModuleTagList] { tag = NoResourceCostMult } + MODULE + { name = ModuleUnpressurizedCockpit } } @PART[Mars_CO2_Intake_10]:FOR[xxxRP0] diff --git a/Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json b/Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json index 6520300ddfa..db774431343 100644 --- a/Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json +++ b/Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json @@ -1108,7 +1108,8 @@ "module_tags": [ "Cockpit", "NoEVA", - "NoResourceCostMult" + "NoResourceCostMult", + "UnpressurizedCockpit" ] }, { @@ -1135,7 +1136,8 @@ "module_tags": [ "Cockpit", "NoEVA", - "NoResourceCostMult" + "NoResourceCostMult", + "UnpressurizedCockpit" ] }, {