Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-15 altitude limits #1909

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions GameData/RP-0/Tree/CockpitUpgrades.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,65 @@ 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
{
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
Expand Down
4 changes: 4 additions & 0 deletions GameData/RP-0/Tree/TREE-Parts.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7132,6 +7132,8 @@
MODULE
{ name = ModuleNoEVA }
%MODULE[ModuleTagList] { tag = NoResourceCostMult }
MODULE
{ name = ModuleUnpressurizedCockpit }

}
@PART[Mark2Cockpit]:FOR[xxxRP0]
Expand All @@ -7146,6 +7148,8 @@
MODULE
{ name = ModuleNoEVA }
%MODULE[ModuleTagList] { tag = NoResourceCostMult }
MODULE
{ name = ModuleUnpressurizedCockpit }

}
@PART[Mars_CO2_Intake_10]:FOR[xxxRP0]
Expand Down
6 changes: 4 additions & 2 deletions Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,8 @@
"module_tags": [
"Cockpit",
"NoEVA",
"NoResourceCostMult"
"NoResourceCostMult",
"UnpressurizedCockpit"
]
},
{
Expand All @@ -1135,7 +1136,8 @@
"module_tags": [
"Cockpit",
"NoEVA",
"NoResourceCostMult"
"NoResourceCostMult",
"UnpressurizedCockpit"
]
},
{
Expand Down