From 19684d156f386411e8a12df0cb630932ae618e40 Mon Sep 17 00:00:00 2001 From: Capkirk123 Date: Sun, 31 Aug 2025 17:29:42 -0400 Subject: [PATCH 1/2] Create spaceplane landing gear --- GameData/RP-1/Tree/ECM-Parts.cfg | 4 + GameData/RP-1/Tree/TREE-Parts.cfg | 64 ++++++++++++ .../data/Kerbal_Foundries_2.json | 98 ++++++++++++++++++- .../data/Stock__RO_Addition.json | 88 ++++++++++++++++- .../Parts Browser/data/Stock__RO_Config.json | 8 +- 5 files changed, 253 insertions(+), 9 deletions(-) diff --git a/GameData/RP-1/Tree/ECM-Parts.cfg b/GameData/RP-1/Tree/ECM-Parts.cfg index 4aad8d034fc..426cf26b6f7 100644 --- a/GameData/RP-1/Tree/ECM-Parts.cfg +++ b/GameData/RP-1/Tree/ECM-Parts.cfg @@ -106,6 +106,8 @@ FuelCellArray = 10000, fuelCells GearFixed = 1 GearFree = 1 + GearLargeSpaceplane = 300,GearLarge + GearMediumSpaceplane = 200,GearMedium GearSmall = 1 Griffon101 = 1 Griffon88 = 1 @@ -143,6 +145,8 @@ KAS-PortPylonPwr = KAS-PortPylon KAS-W2 = KAS-W1 KAXjumpJet = B9-Engine-VA1 + KF-ALG-Large-Spaceplane = 300,KF-ALG-Large + KF-ALG-Medium-Spaceplane = 150,KF-ALG-Medium KF-ScrewDrive = wheelsEarly KF-TrackInverting = wheelsEarly KF-TrackLong = wheelsEarly diff --git a/GameData/RP-1/Tree/TREE-Parts.cfg b/GameData/RP-1/Tree/TREE-Parts.cfg index 570a605c036..5956983a830 100644 --- a/GameData/RP-1/Tree/TREE-Parts.cfg +++ b/GameData/RP-1/Tree/TREE-Parts.cfg @@ -1993,6 +1993,14 @@ RP0conf = true @description ^=:$: From Stock (RO Config) mod } +@PART[GearLargeSpaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 30 + %entryCost = 0 + RP0conf = true + @description ^=:$: From Stock (RO Addition) mod +} @PART[GearMedium]:FOR[xxxRP0] { %TechRequired = highSpeedFlight @@ -2001,6 +2009,14 @@ RP0conf = true @description ^=:$: From Stock (RO Config) mod } +@PART[GearMediumSpaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 20 + %entryCost = 0 + RP0conf = true + @description ^=:$: From Stock (RO Addition) mod +} @PART[GearSmall]:FOR[xxxRP0] { %TechRequired = unlockParts @@ -2009,6 +2025,14 @@ RP0conf = true @description ^=:$: From Stock (RO Config) mod } +@PART[GearSmallSpaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 12 + %entryCost = 1 + RP0conf = true + @description ^=:$: From Stock (RO Addition) mod +} @PART[GooExperiment]:FOR[xxxRP0] { %TechRequired = postWarAvionics @@ -2850,6 +2874,14 @@ RP0conf = true @description ^=:$: From Kerbal Foundries 2 mod } +@PART[KF-ALG-Large-Spaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 30 + %entryCost = 0 + RP0conf = true + @description ^=:$: From Kerbal Foundries 2 mod +} @PART[KF-ALG-Medium]:FOR[xxxRP0] { %TechRequired = matureSupersonic @@ -2858,6 +2890,14 @@ RP0conf = true @description ^=:$: From Kerbal Foundries 2 mod } +@PART[KF-ALG-Medium-Spaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 20 + %entryCost = 0 + RP0conf = true + @description ^=:$: From Kerbal Foundries 2 mod +} @PART[KF-ALG-Small]:FOR[xxxRP0] { %TechRequired = unlockParts @@ -2866,6 +2906,14 @@ RP0conf = true @description ^=:$: From Kerbal Foundries 2 mod } +@PART[KF-ALG-Small-Spaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 10 + %entryCost = 1 + RP0conf = false + @description ^=:$: From Kerbal Foundries 2 mod +} @PART[KF-ALG-SmallSide]:FOR[xxxRP0] { %TechRequired = unlockParts @@ -2874,6 +2922,14 @@ RP0conf = true @description ^=:$: From Kerbal Foundries 2 mod } +@PART[KF-ALG-SmallSide-Spaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 12 + %entryCost = 1 + RP0conf = true + @description ^=:$: From Kerbal Foundries 2 mod +} @PART[KF-ScrewDrive]:FOR[xxxRP0] { %TechRequired = lunarRatedHeatshields @@ -19968,6 +20024,14 @@ RP0conf = true @description ^=:$: From Stock (RO Config) mod } +@PART[SmallGearBaySpaceplane]:FOR[xxxRP0] +{ + %TechRequired = prototypeSpaceplanes + %cost = 6 + %entryCost = 1 + RP0conf = true + @description ^=:$: From Stock (RO Addition) mod +} @PART[SmallPointLight]:FOR[xxxRP0] { %TechRequired = unlockParts diff --git a/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json b/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json index b4c2f9c9382..6e484fb2500 100644 --- a/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json +++ b/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json @@ -7,7 +7,7 @@ "cost": 15, "entry_cost": 300, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "1960", "technology": "highSpeedFlight", "era": "02-SAT", @@ -22,6 +22,29 @@ "identical_part_name": "", "module_tags": [] }, + { + "name": "KF-ALG-Large-Spaceplane", + "title": "Adjustable Landing Gear (Large) (Spaceplane)", + "description": "", + "mod": "Kerbal Foundries 2", + "cost": 30, + "entry_cost": "0", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "era": "02-SAT", + "ro": true, + "rp0": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "300,KF-ALG-Large", + "identical_part_name": "", + "module_tags": [] + }, { "name": "KF-ALG-Medium", "title": "Adjustable Landing Gear (Medium)", @@ -30,7 +53,7 @@ "cost": 10, "entry_cost": 150, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "1952", "technology": "matureSupersonic", "era": "01-PW", @@ -45,6 +68,29 @@ "identical_part_name": "", "module_tags": [] }, + { + "name": "KF-ALG-Medium-Spaceplane", + "title": "Adjustable Landing Gear (Medium) (Spaceplane)", + "description": "", + "mod": "Kerbal Foundries 2", + "cost": 20, + "entry_cost": "0", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "era": "01-PW", + "ro": true, + "rp0": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "150,KF-ALG-Medium", + "identical_part_name": "", + "module_tags": [] + }, { "name": "KF-ALG-Small", "title": "Adjustable Landing Gear (Small)", @@ -53,7 +99,7 @@ "cost": 5, "entry_cost": 1, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "0", "technology": "unlockParts", "era": "00-START", @@ -68,6 +114,27 @@ "identical_part_name": "", "module_tags": [] }, + { + "name": "KF-ALG-Small-Spaceplane", + "title": "Adjustable Landing Gear (Small) (Spaceplane)", + "description": "", + "mod": "Kerbal Foundries 2", + "cost": "10", + "entry_cost": "1", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "ro": false, + "orphan": false, + "rp0_conf": false, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "", + "identical_part_name": "", + "module_tags": [] + }, { "name": "KF-ALG-SmallSide", "title": "Adjustable Landing Gear (Small - Side)", @@ -76,7 +143,7 @@ "cost": 6, "entry_cost": 1, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "0", "technology": "unlockParts", "era": "00-START", @@ -91,6 +158,29 @@ "identical_part_name": "", "module_tags": [] }, + { + "name": "KF-ALG-SmallSide-Spaceplane", + "title": "Adjustable Landing Gear (Small - Side) (Spaceplane)", + "description": "", + "mod": "Kerbal Foundries 2", + "cost": 12, + "entry_cost": 1, + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "era": "00-START", + "ro": true, + "rp0": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "", + "identical_part_name": "", + "module_tags": [] + }, { "name": "KF-ScrewDrive", "title": "Screw Drive", diff --git a/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json b/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json index 674368470c0..1a153467336 100644 --- a/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json +++ b/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json @@ -1,4 +1,67 @@ [ + { + "name": "GearLargeSpaceplane", + "title": "LY-99 Extra Large Landing Gear (Spaceplane)", + "description": "", + "mod": "Stock (RO Addition)", + "cost": "30", + "entry_cost": "0", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "ro": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "300,GearLarge", + "identical_part_name": "", + "module_tags": [] + }, + { + "name": "GearMediumSpaceplane", + "title": "LY-60 Large Landing Gear (Spaceplane)", + "description": "", + "mod": "Stock (RO Addition)", + "cost": "20", + "entry_cost": "0", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "ro": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "200,GearMedium", + "identical_part_name": "", + "module_tags": [] + }, + { + "name": "GearSmallSpaceplane", + "title": "LY-35 Medium Landing Gear (Spaceplane)", + "description": "", + "mod": "Stock (RO Addition)", + "cost": "12", + "entry_cost": "1", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", + "ro": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "", + "identical_part_name": "", + "module_tags": [] + }, { "name": "RO-E1", "title": "E-1", @@ -224,6 +287,29 @@ "identical_part_name": "Spin Motor Small", "module_tags": [] }, + { + "name": "RO_ServiceBay_300", + "title": "", + "description": "", + "mod": "Stock (RO Addition)", + "cost": 340, + "entry_cost": 6750, + "category": "MATERIALS", + "info": "Cargo", + "year": "1961", + "technology": "materialsScienceHuman", + "era": "03-HUMAN", + "ro": true, + "rp0": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "", + "identical_part_name": "", + "module_tags": [] + }, { "name": "RO_boeing702", "title": "Boeing 702 Satellite Bus", @@ -351,4 +437,4 @@ "identical_part_name": "", "module_tags": [] } -] +] \ No newline at end of file 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 6f078241587..8ae100d70d7 100644 --- a/Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json +++ b/Source/Tech Tree/Parts Browser/data/Stock__RO_Config.json @@ -306,7 +306,7 @@ "cost": 1, "entry_cost": 1, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "0", "technology": "unlockParts", "era": "00-START", @@ -329,7 +329,7 @@ "cost": 2, "entry_cost": 1, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "0", "technology": "unlockParts", "era": "00-START", @@ -398,7 +398,7 @@ "cost": 6, "entry_cost": 1, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "0", "technology": "unlockParts", "era": "00-START", @@ -3269,7 +3269,7 @@ "cost": 3, "entry_cost": 1, "category": "FLIGHT", - "info": "", + "info": "Landing Gear", "year": "0", "technology": "unlockParts", "era": "00-START", From 18c7f2d9def68e5ac79068634be6c1904f9de81a Mon Sep 17 00:00:00 2001 From: Capkirk123 Date: Sun, 31 Aug 2025 17:32:37 -0400 Subject: [PATCH 2/2] Fix some typos --- GameData/RP-1/Tree/TREE-Parts.cfg | 2 +- .../data/Kerbal_Foundries_2.json | 4 +- .../data/Stock__RO_Addition.json | 41 ++++++++++++++----- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/GameData/RP-1/Tree/TREE-Parts.cfg b/GameData/RP-1/Tree/TREE-Parts.cfg index 5956983a830..046bdacecc4 100644 --- a/GameData/RP-1/Tree/TREE-Parts.cfg +++ b/GameData/RP-1/Tree/TREE-Parts.cfg @@ -2911,7 +2911,7 @@ %TechRequired = prototypeSpaceplanes %cost = 10 %entryCost = 1 - RP0conf = false + RP0conf = true @description ^=:$: From Kerbal Foundries 2 mod } @PART[KF-ALG-SmallSide]:FOR[xxxRP0] diff --git a/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json b/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json index 6e484fb2500..82c1720c3dd 100644 --- a/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json +++ b/Source/Tech Tree/Parts Browser/data/Kerbal_Foundries_2.json @@ -125,9 +125,9 @@ "info": "Landing Gear", "year": "1965", "technology": "prototypeSpaceplanes", - "ro": false, + "ro": true, "orphan": false, - "rp0_conf": false, + "rp0_conf": true, "spacecraft": "", "engine_config": "", "upgrade": false, diff --git a/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json b/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json index 1a153467336..942b1695a35 100644 --- a/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json +++ b/Source/Tech Tree/Parts Browser/data/Stock__RO_Addition.json @@ -310,6 +310,29 @@ "identical_part_name": "", "module_tags": [] }, + { + "name": "RO_ServiceBay_300", + "title": "", + "description": "", + "mod": "Stock (RO Addition)", + "cost": 340, + "entry_cost": 6750, + "category": "MATERIALS", + "info": "Cargo", + "year": "1961", + "technology": "materialsScienceHuman", + "era": "03-HUMAN", + "ro": true, + "rp0": true, + "orphan": false, + "rp0_conf": true, + "spacecraft": "", + "engine_config": "", + "upgrade": false, + "entry_cost_mods": "", + "identical_part_name": "", + "module_tags": [] + }, { "name": "RO_boeing702", "title": "Boeing 702 Satellite Bus", @@ -415,19 +438,17 @@ ] }, { - "name": "RO_ServiceBay_300", - "title": "", + "name": "SmallGearBaySpaceplane", + "title": "LY-10 Small Landing Gear (Spaceplane)", "description": "", "mod": "Stock (RO Addition)", - "cost": 340, - "entry_cost": 6750, - "category": "MATERIALS", - "info": "Cargo", - "year": "1961", - "technology": "materialsScienceHuman", - "era": "03-HUMAN", + "cost": "6", + "entry_cost": "1", + "category": "SPACEPLANES", + "info": "Landing Gear", + "year": "1965", + "technology": "prototypeSpaceplanes", "ro": true, - "rp0": true, "orphan": false, "rp0_conf": true, "spacecraft": "",