From 14fcd1aeee4797c44e2652b84fb1bb7fb6b1e448 Mon Sep 17 00:00:00 2001 From: SilveiraMarcel Date: Thu, 11 Jul 2019 12:54:46 -0300 Subject: [PATCH 1/5] Add files via upload --- .../CommunityResourcePack/CRP_fuel_cells.cfg | 62 +++++ .../ConnectedLivingSpace/CLS_Shuttle.cfg | 20 ++ Compatibility/HullCamVDS.cfg | 26 ++ Compatibility/KIS/KIS.cfg | 20 ++ Compatibility/MechJeb.cfg | 7 + .../RemoteTech/remotetech_Ku_antenna.cfg | 34 +++ Compatibility/RemoteTech/remotetech_Pods.cfg | 15 + Compatibility/TAC-LS/TAC_LS.cfg | 44 +++ Compatibility/USI-LS/Supply.cfg | 77 ++++++ Compatibility/USI-LS/USI-LS.cfg | 13 + Compatibility/USI-LS/USI-LS.cfg.txt | 261 ++++++++++++++++++ 11 files changed, 579 insertions(+) create mode 100644 Compatibility/CommunityResourcePack/CRP_fuel_cells.cfg create mode 100644 Compatibility/ConnectedLivingSpace/CLS_Shuttle.cfg create mode 100644 Compatibility/HullCamVDS.cfg create mode 100644 Compatibility/KIS/KIS.cfg create mode 100644 Compatibility/MechJeb.cfg create mode 100644 Compatibility/RemoteTech/remotetech_Ku_antenna.cfg create mode 100644 Compatibility/RemoteTech/remotetech_Pods.cfg create mode 100644 Compatibility/TAC-LS/TAC_LS.cfg create mode 100644 Compatibility/USI-LS/Supply.cfg create mode 100644 Compatibility/USI-LS/USI-LS.cfg create mode 100644 Compatibility/USI-LS/USI-LS.cfg.txt diff --git a/Compatibility/CommunityResourcePack/CRP_fuel_cells.cfg b/Compatibility/CommunityResourcePack/CRP_fuel_cells.cfg new file mode 100644 index 0000000..257644e --- /dev/null +++ b/Compatibility/CommunityResourcePack/CRP_fuel_cells.cfg @@ -0,0 +1,62 @@ +//----------- CRP fuel cell ------------------------------------------------ +//Electric power for the orbiter's subsystems was provided by a set of three hydrogen-oxygen fuel cells +//which provided power to the entire Shuttle stack (including the SRBs and ET) from T-minus 3m30s up +//through the end of the mission. The hydrogen and oxygen for the fuel cells was kept in pairs of cryogenic +//storage tanks in the mid-fuselage underneath the payload bay liner, and a variable number of such tanks +//could be installed (up to five) depending on the requirements of the mission. + +@PART[benjee10_shuttle_midFuselage]:NEEDS[CommunityResourcePack]:FOR[Benjee10_shuttleOrbiter] +{ + //Removes the LiquidFuel and the Oxidizer + !RESOURCE[LiquidFuel] {} + !RESOURCE[Oxidizer] {} + + RESOURCE //H2 for 336 hours (16 days) of use with three fuel cells, + { + name = Hydrogen + amount = 10000 + maxAmount = 50000 + } + RESOURCE // O2 for 336 hours (16 days) of use with three fuel cells + { + name = Oxygen + amount = 5000 + maxAmount = 25000 + } + RESOURCE + { + name = Water + amount = 0 + maxAmount = 5 + } + + @MODULE[ModuleResourceConverter] + { + !INPUT_RESOURCE[LiquidFuel] {} + !INPUT_RESOURCE[Oxidizer] {} + //Using FlowMode STAGE_PRIORITY_FLOW allows for a future EDO or using Universal Storage parts + INPUT_RESOURCE + { + ResourceName = Hydrogen + Ratio = 0.010 + FlowMode = STAGE_PRIORITY_FLOW + } + INPUT_RESOURCE + { + ResourceName = Oxygen + Ratio = 0.005 + FlowMode = STAGE_PRIORITY_FLOW + } + @OUTPUT_RESOURCE[ElectricCharge] + { + %Ratio = 7 + %DumpExcess = false + } + OUTPUT_RESOURCE + { + ResourceName = Water + Ratio = 0.000006599 + DumpExcess = true + } + } +} \ No newline at end of file diff --git a/Compatibility/ConnectedLivingSpace/CLS_Shuttle.cfg b/Compatibility/ConnectedLivingSpace/CLS_Shuttle.cfg new file mode 100644 index 0000000..811a9c7 --- /dev/null +++ b/Compatibility/ConnectedLivingSpace/CLS_Shuttle.cfg @@ -0,0 +1,20 @@ + +//OV-100 Forward Fuselage Module +@PART[benjee10_shuttle_forwardFuselage]:HAS[!MODULE[ModuleConnectedLivingSpace]]:NEEDS[ConnectedLivingSpace] +{ + MODULE + { + name = ModuleConnectedLivingSpace + passable = true + } +} + +//OV-100 Payload Bay Docking Adapter +@PART[benjee10_shuttle_ODS]:HAS[!MODULE[ModuleConnectedLivingSpace]]:NEEDS[ConnectedLivingSpace] +{ + MODULE + { + name = ModuleConnectedLivingSpace + passable = true + } +} \ No newline at end of file diff --git a/Compatibility/HullCamVDS.cfg b/Compatibility/HullCamVDS.cfg new file mode 100644 index 0000000..0d936d9 --- /dev/null +++ b/Compatibility/HullCamVDS.cfg @@ -0,0 +1,26 @@ +//HullCameraVDS +//Add a camera to the docing port adapter +@PART[benjee10_shuttle_ODS]:NEEDS[HullCameraVDS]:FOR[Benjee10_shuttleOrbiter] +{ + @description ^= :$: Live feed by Hullcam VDS.: + MODULE + { + name = MuMechModuleHullCameraZoom + cameraName = DockingCam + cameraForward = 0, 0, 1 + cameraUp = 0, 1, 0 + cameraPosition = -0.400, 0.600, -0.500 + cameraFoVMax = 60 + cameraFoVMin = 10 + cameraMode = 1 + + // cameraMode = 1 // bw docking + // cameraMode = 2 // bw film docking + // cameraMode = 3 // static + // cameraMode = 4 // bw tv + // cameraMode = 5 // color film + // cameraMode = 6 // color grainy tv docking + // cameraMode = 7 // color tv docking + // cameraMode = 8 // night vision + } +} \ No newline at end of file diff --git a/Compatibility/KIS/KIS.cfg b/Compatibility/KIS/KIS.cfg new file mode 100644 index 0000000..2c45221 --- /dev/null +++ b/Compatibility/KIS/KIS.cfg @@ -0,0 +1,20 @@ +//---------- KIS container for airlock and labs ---------------------------------------- +//It's nice to have a container near the airlock, so why not make the airlock a cointainer itself +//OV-100 Payload Bay Docking Adapter +@PART[benjee10_shuttle_ODS]:NEEDS[KIS] +{ + %MODULE[ModuleKISInventory] + { + maxVolume = 600 + externalAccess = true + internalAccess = true + slotsX = 5 + slotsY = 4 + slotSize = 50 + itemIconResolution = 128 + selfIconResolution = 128 + openSndPath = KIS/Sounds/containerOpen + closeSndPath = KIS/Sounds/containerClose + defaultMoveSndPath = KIS/Sounds/itemMove + } +} diff --git a/Compatibility/MechJeb.cfg b/Compatibility/MechJeb.cfg new file mode 100644 index 0000000..fd1767a --- /dev/null +++ b/Compatibility/MechJeb.cfg @@ -0,0 +1,7 @@ +//Adds MechJebCore to the shuttle cockpit +//Is using MJ cheating? Hey, don't judge. +@PART[benjee10_shuttle_forwardFuselage]:FOR[Benjee10_shuttleOrbiter]:NEEDS[MechJeb] +{ + %MODULE[MechJebCore] + {} +} \ No newline at end of file diff --git a/Compatibility/RemoteTech/remotetech_Ku_antenna.cfg b/Compatibility/RemoteTech/remotetech_Ku_antenna.cfg new file mode 100644 index 0000000..4bdfda5 --- /dev/null +++ b/Compatibility/RemoteTech/remotetech_Ku_antenna.cfg @@ -0,0 +1,34 @@ +//OV-100 Ku Band Antenna +@PART[benjee10_shuttle_kuBand]:NEEDS[RemoteTech] +{ + !MODULE[ModuleDataTransmitter] {} + + //RT does not handle ModuleDeployableAntenna very well, so we change it to a ModuleAnimateGeneric + @MODULE[ModuleDeployableAntenna] + { + %name=ModuleAnimateGeneric + %allowManualControl = false + %actionAvailable = false + %eventAvailableFlight = false + %eventAvailableEditor = false + %eventAvailableEVA = false + } + + %MODULE[ModuleRTAntenna] { + %Mode0DishRange = 0 + %Mode1DishRange = 500000000 + %EnergyCost = 0.12 + %MaxQ = 6000 + %DishAngle = 25.0 + + %DeployFxModules = 0 + + %TRANSMITTER { + %PacketInterval = 0.1 + %PacketSize = 2 + %PacketResourceCost = 20.0 + } + } + + %MODULE[ModuleSPUPassive] {} +} \ No newline at end of file diff --git a/Compatibility/RemoteTech/remotetech_Pods.cfg b/Compatibility/RemoteTech/remotetech_Pods.cfg new file mode 100644 index 0000000..4282b48 --- /dev/null +++ b/Compatibility/RemoteTech/remotetech_Pods.cfg @@ -0,0 +1,15 @@ +//OV-100 Ku Band Antenna +@PART[benjee10_shuttle_forwardFuselage]:NEEDS[RemoteTech] +{ + %MODULE[ModuleSPU] {} + + %MODULE[ModuleRTAntennaPassive] { + %OmniRange = 5E5 //500 km + + %TRANSMITTER { + %PacketInterval = 0.8 + %PacketSize = 2 + %PacketResourceCost = 10.0 + } + } +} \ No newline at end of file diff --git a/Compatibility/TAC-LS/TAC_LS.cfg b/Compatibility/TAC-LS/TAC_LS.cfg new file mode 100644 index 0000000..0e9da23 --- /dev/null +++ b/Compatibility/TAC-LS/TAC_LS.cfg @@ -0,0 +1,44 @@ +// Copying what TAC does, add two hours of electricity per crew member to command pods +@PART[benjee10_shuttle_aftFuselage]:NEEDS[TacLifeSupport]:FOR[Benjee10_shuttleOrbiter] +{ + @RESOURCE[ElectricCharge] + { + @amount = 800 + @maxAmount = 800 + } + @mass -= 0.238 + // Life Support resources for 6 kerbals. + //These resources will last 25 Earth days. + %RESOURCE[Food] + { + %amount = 219.37 + %maxAmount = 219.37 + } + %RESOURCE[Oxygen] + { + %amount = 22207.44 + %maxAmount = 22207.44 + } + %RESOURCE[Water] + { + %amount = 144.99 + %maxAmount = 144.99 + } + %RESOURCE[Waste] + { + %amount = 0 + %maxAmount = 19.95 + } + %RESOURCE[CarbonDioxide] + { + %amount = 0 + %maxAmount = 2220.74 + } + %RESOURCE[WasteWater] + { + %amount = 0 + %maxAmount = 184.64 + } + + +} diff --git a/Compatibility/USI-LS/Supply.cfg b/Compatibility/USI-LS/Supply.cfg new file mode 100644 index 0000000..b46ce5f --- /dev/null +++ b/Compatibility/USI-LS/Supply.cfg @@ -0,0 +1,77 @@ +B9_TANK_TYPE:NEEDS[B9PartSwitch,USILifeSupport] +{ + name = bdbSupplyUsils + tankMass = 0.0015 + tankCost = 1.5 + + RESOURCE + { + name = Supplies + unitsPerVolume = 4.9 + } + RESOURCE + { + name = Mulch + unitsPerVolume = 0.1 + percentFilled = 0 + } +} + +B9_TANK_TYPE:NEEDS[B9PartSwitch,USILifeSupport] +{ + name = bdbSupplyUsilsF + tankMass = 0.0015 + tankCost = 1.75 + + RESOURCE + { + name = Fertilizer + unitsPerVolume = 5 + } +} +B9_TANK_TYPE:NEEDS[B9PartSwitch,USILifeSupport] +{ + name = bdbSupplyUsiMach + tankMass = 0.0015 + tankCost = 1.5 + + RESOURCE + { + name = Machinery + unitsPerVolume = 2.5 + } +} + +@PART[bluedog*,Bluedog*]:HAS[@MODULE[ModuleB9PartSwitch]:HAS[#switcherDescription[Cargo]]]:NEEDS[B9PartSwitch,USILifeSupport]:AFTER[Bluedog_DB_1] +{ + @MODULE[ModuleB9PartSwitch] + { + SUBTYPE + { + name = LifeSupport + tankType = bdbSupplyUsils + addedMass = #$../../tank_mass$ + @addedMass *= -1 + addedCost = #$../../tank_plus_fuel_cost$ + @addedCost *= -1 + } + SUBTYPE + { + name = Fertilizer + tankType = bdbSupplyUsilsF + addedMass = #$../../tank_mass$ + @addedMass *= -1 + addedCost = #$../../tank_plus_fuel_cost$ + @addedCost *= -1 + } + SUBTYPE + { + name = Machinery + tankType = bdbSupplyUsiMach + addedMass = #$../../tank_mass$ + @addedMass *= -1 + addedCost = #$../../tank_plus_fuel_cost$ + @addedCost *= -1 + } + } +} diff --git a/Compatibility/USI-LS/USI-LS.cfg b/Compatibility/USI-LS/USI-LS.cfg new file mode 100644 index 0000000..a7d0e59 --- /dev/null +++ b/Compatibility/USI-LS/USI-LS.cfg @@ -0,0 +1,13 @@ + +//USI has a VERY high mass flow rate per kerbal, so the shuttle would be too heavy +//to carry 30 Earth days of Supplies for 6 crewmembers (7.8t) so it its substantially nerfed +@PART[benjee10_shuttle_aftFuselage]:NEEDS[USILifeSupport]:BEFORE[Benjee10_shuttleOrbiter] +{ + @cost += 6480 // supplies * $2.5 + RESOURCE + { + name = Supplies + amount = 518 //enough for 12 crew*days: 2 Earth days for 6 crewmembers + maxAmount = 2592 //enough for 60 crew*days: 10 Earth days for 6 crewmembers + } +} diff --git a/Compatibility/USI-LS/USI-LS.cfg.txt b/Compatibility/USI-LS/USI-LS.cfg.txt new file mode 100644 index 0000000..e4dafd8 --- /dev/null +++ b/Compatibility/USI-LS/USI-LS.cfg.txt @@ -0,0 +1,261 @@ +@PART[bluedog_Agena_ResupplyContainer]:NEEDS[USILifeSupport] +{ + @description ^= :$: Holds up to 21 Kerbal-days of Snacks.: + RESOURCE + { + name = Supplies + // 21 Kerbal-days + amount = 0 + maxAmount = 341 + } +} + +@PART[bluedog_Gemini_Resupply_Capsule]:NEEDS[USILifeSupport] +{ + @description ^= :$: Holds up to 45 Kerbal-days of Snacks.: + RESOURCE + { + name = Supplies + // 45 Kerbal-days + amount = 0 + maxAmount = 729 + } +} + +@PART[bluedog_MOL_KISmodule]:NEEDS[USILifeSupport] +{ // This is the largest of these three, right? I have not unlocked it yet... + @description ^= :a week: 3 crew members for 30 days: + RESOURCE + { + name = Supplies + // 3*30 Kerbal-days + amount = 0 + maxAmount = 1458 + } +} + +@PART[bluedog_Gemini_Crew_A]:NEEDS[USILifeSupport] +{ + @description ^= :$: Comes stocked with 1 week of Snacks, and can hold up to a 2 week supply: + RESOURCE + { + name = Supplies + // 14*2 Kerbal-days max + amount = 227 + maxAmount = 454 + } + + RESOURCE + { + name = Mulch + amount = 0 + maxAmount = 50 // Guessing... + } + +// MODULE +// { +// name = ModuleHabitation +// KerbalMonths = 0.94 // 14d/30d * 2 Kerbals, rounded up +// } + +} + +@PART[bluedog_Gemini_Crew_B]:NEEDS[USILifeSupport] +{ + @description ^= :$: Includes Snacks for 2 days for each passenger, and can hold up to a 4 day supply.: + RESOURCE + { + name = Supplies + // 4*4 Kerbal-days max + // More seats, but less duration, assuming this module in a crew shuttle mode. + amount = 130 + maxAmount = 260 + } + + RESOURCE + { + name = Mulch + amount = 0 + maxAmount = 50 // Guessing... + } + +// MODULE +// { +// name = ModuleHabitation +// KerbalMonths = 0.54 // 4d/30d * 4 Kerbals, rounded up +// } + +} + +@PART[bluedog_Gemini_MalhenaSM]:NEEDS[USILifeSupport] +{ + RESOURCE + { + name = Supplies + // 2*7 Kerbal-days max, 3.5 default + // I have no idea how to value this part... Any ideas? + amount = 114 + maxAmount = 227 + } +} + +@PART[bluedog_mercuryPod]:NEEDS[USILifeSupport] +{ + @description ^= :$: Comes complete with 3 days of HSNPT. (Healthy Squeezable Nutrient Pellet Tubes): + RESOURCE + { + name = Supplies + // 1*3 Kerbal-days + // 3 days may be generous here... + amount = 48.6 + maxAmount = 48.6 + } + + RESOURCE + { + name = Mulch + amount = 0 + maxAmount = 10 //Hope you can hold it!... + } + +// MODULE +// { +// name = ModuleHabitation +// KerbalMonths = 0.1 // 3d/30d * 1 Kerbals, rounded up +// } + + @RESOURCE[ElectricCharge] + { + @amount += 648 // 3d * 6h/d * 60m/h * 60s/m * 0.01ec/s + } + +} + +@PART[bluedog_MOL_Hab]:NEEDS[USILifeSupport] +{ + @description ^= :$: Includes 45-days of Snacks, and 120-days of Sanity-Saving* Living Space. (*Sanity retention not guaranteed.): + MODULE + { + name = ModuleHabitation + KerbalMonths = 4 + } + + RESOURCE + { + name = Supplies + // 3*45 Kerbal-days + amount = 2187 + maxAmount = 2187 + } + + RESOURCE + { + name = Mulch + amount = 0 + maxAmount = 200 + } + + @RESOURCE[ElectricCharge] + { + @amount += 216 // 1d * 6h/d * 60m/h * 60s/m * 0.01ec/s + } +} + +@PART[bluedog_MOL_Lab]:NEEDS[USILifeSupport] +{ + @description ^= :$: Includes CO2 and Dirty Sock Scrubbers. Includes a Bonus 30-day supply of Sanity-Saving Living Space. (*Sanity retention not guaranteed.): + MODULE + { + name = ModuleLifeSupportRecycler + CrewCapacity = 3 + RecyclePercent = .4 // Guessing on the efficiency here. + ConverterName = Recycler + tag = Recycler + StartActionName = Start Recycler + StopActionName = Stop Recycler + + INPUT_RESOURCE + { + ResourceName = ElectricCharge + Ratio = 1 + } + } + + MODULE + { + name = ModuleHabitation + KerbalMonths = 1 // Hey, space is space... + } +} + +@PART[bluedog_Apollo_Block2_ServiceModule]:NEEDS[USILifeSupport] +{ + @description ^= :cells,;cells, snacks,: + @description ^= :Kerbin.:Kerbin. Includes sufficient tankage for up to 6 days of Soylent Snacks. (100% Kale, we promise!) : + RESOURCE + { + name = Supplies + // 3*3 Kerbal-days default, 6 K-d max. + // I’m not sure how best to do this. Some supplies are in the SM? + amount = 146 + maxAmount = 292 + } + + RESOURCE + { + name = Mulch + amount = 0 + maxAmount = 50 // Guessing... + } +} + +@PART[bluedog_Apollo_Block2_Capsule]:NEEDS[USILifeSupport] +{ + @description ^= :$: Includes ample (Ample = 3 days) storage for assorted Snacks, NOMS, Sammiches, and other delicacies. Includes a Bonus CO2 and Dirty Sock Scrubber at No Extra Charge. (Bubbles Sold Separately.): + RESOURCE + { + name = Supplies + amount = 109 // 3d w/ recycling for 3 kerbals + maxAmount = 218 // 218 + 292 = 510, should be enough for 3 kerbals * 14 days w/ recycling. + } + + RESOURCE + { + name = Mulch + amount = 0 + maxAmount = 100 //Guessing... + } + + MODULE + { + name = ModuleLifeSupportRecycler + CrewCapacity = 3 + RecyclePercent = .25 // This fits the above numbers for a 14 day max mission. + ConverterName = Recycler + tag = Recycler + StartActionName = Start Recycler + StopActionName = Stop Recycler + + INPUT_RESOURCE + { + ResourceName = ElectricCharge + Ratio = 1 + } + } + +// MODULE +// { +// name = ModuleHabitation +// KerbalMonths = 0.54 // 4d/30d * 4 Kerbals, rounded up +// } +} + +@PART[bluedog*,Bluedog*]:HAS[@RESOURCE[Supplies]]:NEEDS[USILifeSupport]:AFTER[Bluedog_DB] +{ + supcostmult = #$@RESOURCE_DEFINITION[Supplies]/unitCost$ + supcost = #$/RESOURCE[Supplies]/maxAmount$ + @supcost *= #$supcostmult$ + @cost += #$supcost$ + !supcostmult = del + !supcost = del +} From 3f21cce4a82823127b8a4772eaa3abab0e92a165 Mon Sep 17 00:00:00 2001 From: SilveiraMarcel Date: Thu, 11 Jul 2019 13:48:15 -0300 Subject: [PATCH 2/5] Update HullCamVDS.cfg --- Compatibility/HullCamVDS.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Compatibility/HullCamVDS.cfg b/Compatibility/HullCamVDS.cfg index 0d936d9..5a510de 100644 --- a/Compatibility/HullCamVDS.cfg +++ b/Compatibility/HullCamVDS.cfg @@ -7,7 +7,7 @@ { name = MuMechModuleHullCameraZoom cameraName = DockingCam - cameraForward = 0, 0, 1 + cameraForward = 0, 0, -1 cameraUp = 0, 1, 0 cameraPosition = -0.400, 0.600, -0.500 cameraFoVMax = 60 @@ -23,4 +23,4 @@ // cameraMode = 7 // color tv docking // cameraMode = 8 // night vision } -} \ No newline at end of file +} From 55f32a8141ec773d03edd9d0172d7fa90d0a9c3e Mon Sep 17 00:00:00 2001 From: SilveiraMarcel Date: Thu, 11 Jul 2019 13:48:43 -0300 Subject: [PATCH 3/5] Delete Supply.cfg --- Compatibility/USI-LS/Supply.cfg | 77 --------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 Compatibility/USI-LS/Supply.cfg diff --git a/Compatibility/USI-LS/Supply.cfg b/Compatibility/USI-LS/Supply.cfg deleted file mode 100644 index b46ce5f..0000000 --- a/Compatibility/USI-LS/Supply.cfg +++ /dev/null @@ -1,77 +0,0 @@ -B9_TANK_TYPE:NEEDS[B9PartSwitch,USILifeSupport] -{ - name = bdbSupplyUsils - tankMass = 0.0015 - tankCost = 1.5 - - RESOURCE - { - name = Supplies - unitsPerVolume = 4.9 - } - RESOURCE - { - name = Mulch - unitsPerVolume = 0.1 - percentFilled = 0 - } -} - -B9_TANK_TYPE:NEEDS[B9PartSwitch,USILifeSupport] -{ - name = bdbSupplyUsilsF - tankMass = 0.0015 - tankCost = 1.75 - - RESOURCE - { - name = Fertilizer - unitsPerVolume = 5 - } -} -B9_TANK_TYPE:NEEDS[B9PartSwitch,USILifeSupport] -{ - name = bdbSupplyUsiMach - tankMass = 0.0015 - tankCost = 1.5 - - RESOURCE - { - name = Machinery - unitsPerVolume = 2.5 - } -} - -@PART[bluedog*,Bluedog*]:HAS[@MODULE[ModuleB9PartSwitch]:HAS[#switcherDescription[Cargo]]]:NEEDS[B9PartSwitch,USILifeSupport]:AFTER[Bluedog_DB_1] -{ - @MODULE[ModuleB9PartSwitch] - { - SUBTYPE - { - name = LifeSupport - tankType = bdbSupplyUsils - addedMass = #$../../tank_mass$ - @addedMass *= -1 - addedCost = #$../../tank_plus_fuel_cost$ - @addedCost *= -1 - } - SUBTYPE - { - name = Fertilizer - tankType = bdbSupplyUsilsF - addedMass = #$../../tank_mass$ - @addedMass *= -1 - addedCost = #$../../tank_plus_fuel_cost$ - @addedCost *= -1 - } - SUBTYPE - { - name = Machinery - tankType = bdbSupplyUsiMach - addedMass = #$../../tank_mass$ - @addedMass *= -1 - addedCost = #$../../tank_plus_fuel_cost$ - @addedCost *= -1 - } - } -} From 6d133e2693ed0131d0274f3cc5222dc1826ade57 Mon Sep 17 00:00:00 2001 From: SilveiraMarcel Date: Thu, 11 Jul 2019 13:48:59 -0300 Subject: [PATCH 4/5] Delete USI-LS.cfg.txt --- Compatibility/USI-LS/USI-LS.cfg.txt | 261 ---------------------------- 1 file changed, 261 deletions(-) delete mode 100644 Compatibility/USI-LS/USI-LS.cfg.txt diff --git a/Compatibility/USI-LS/USI-LS.cfg.txt b/Compatibility/USI-LS/USI-LS.cfg.txt deleted file mode 100644 index e4dafd8..0000000 --- a/Compatibility/USI-LS/USI-LS.cfg.txt +++ /dev/null @@ -1,261 +0,0 @@ -@PART[bluedog_Agena_ResupplyContainer]:NEEDS[USILifeSupport] -{ - @description ^= :$: Holds up to 21 Kerbal-days of Snacks.: - RESOURCE - { - name = Supplies - // 21 Kerbal-days - amount = 0 - maxAmount = 341 - } -} - -@PART[bluedog_Gemini_Resupply_Capsule]:NEEDS[USILifeSupport] -{ - @description ^= :$: Holds up to 45 Kerbal-days of Snacks.: - RESOURCE - { - name = Supplies - // 45 Kerbal-days - amount = 0 - maxAmount = 729 - } -} - -@PART[bluedog_MOL_KISmodule]:NEEDS[USILifeSupport] -{ // This is the largest of these three, right? I have not unlocked it yet... - @description ^= :a week: 3 crew members for 30 days: - RESOURCE - { - name = Supplies - // 3*30 Kerbal-days - amount = 0 - maxAmount = 1458 - } -} - -@PART[bluedog_Gemini_Crew_A]:NEEDS[USILifeSupport] -{ - @description ^= :$: Comes stocked with 1 week of Snacks, and can hold up to a 2 week supply: - RESOURCE - { - name = Supplies - // 14*2 Kerbal-days max - amount = 227 - maxAmount = 454 - } - - RESOURCE - { - name = Mulch - amount = 0 - maxAmount = 50 // Guessing... - } - -// MODULE -// { -// name = ModuleHabitation -// KerbalMonths = 0.94 // 14d/30d * 2 Kerbals, rounded up -// } - -} - -@PART[bluedog_Gemini_Crew_B]:NEEDS[USILifeSupport] -{ - @description ^= :$: Includes Snacks for 2 days for each passenger, and can hold up to a 4 day supply.: - RESOURCE - { - name = Supplies - // 4*4 Kerbal-days max - // More seats, but less duration, assuming this module in a crew shuttle mode. - amount = 130 - maxAmount = 260 - } - - RESOURCE - { - name = Mulch - amount = 0 - maxAmount = 50 // Guessing... - } - -// MODULE -// { -// name = ModuleHabitation -// KerbalMonths = 0.54 // 4d/30d * 4 Kerbals, rounded up -// } - -} - -@PART[bluedog_Gemini_MalhenaSM]:NEEDS[USILifeSupport] -{ - RESOURCE - { - name = Supplies - // 2*7 Kerbal-days max, 3.5 default - // I have no idea how to value this part... Any ideas? - amount = 114 - maxAmount = 227 - } -} - -@PART[bluedog_mercuryPod]:NEEDS[USILifeSupport] -{ - @description ^= :$: Comes complete with 3 days of HSNPT. (Healthy Squeezable Nutrient Pellet Tubes): - RESOURCE - { - name = Supplies - // 1*3 Kerbal-days - // 3 days may be generous here... - amount = 48.6 - maxAmount = 48.6 - } - - RESOURCE - { - name = Mulch - amount = 0 - maxAmount = 10 //Hope you can hold it!... - } - -// MODULE -// { -// name = ModuleHabitation -// KerbalMonths = 0.1 // 3d/30d * 1 Kerbals, rounded up -// } - - @RESOURCE[ElectricCharge] - { - @amount += 648 // 3d * 6h/d * 60m/h * 60s/m * 0.01ec/s - } - -} - -@PART[bluedog_MOL_Hab]:NEEDS[USILifeSupport] -{ - @description ^= :$: Includes 45-days of Snacks, and 120-days of Sanity-Saving* Living Space. (*Sanity retention not guaranteed.): - MODULE - { - name = ModuleHabitation - KerbalMonths = 4 - } - - RESOURCE - { - name = Supplies - // 3*45 Kerbal-days - amount = 2187 - maxAmount = 2187 - } - - RESOURCE - { - name = Mulch - amount = 0 - maxAmount = 200 - } - - @RESOURCE[ElectricCharge] - { - @amount += 216 // 1d * 6h/d * 60m/h * 60s/m * 0.01ec/s - } -} - -@PART[bluedog_MOL_Lab]:NEEDS[USILifeSupport] -{ - @description ^= :$: Includes CO2 and Dirty Sock Scrubbers. Includes a Bonus 30-day supply of Sanity-Saving Living Space. (*Sanity retention not guaranteed.): - MODULE - { - name = ModuleLifeSupportRecycler - CrewCapacity = 3 - RecyclePercent = .4 // Guessing on the efficiency here. - ConverterName = Recycler - tag = Recycler - StartActionName = Start Recycler - StopActionName = Stop Recycler - - INPUT_RESOURCE - { - ResourceName = ElectricCharge - Ratio = 1 - } - } - - MODULE - { - name = ModuleHabitation - KerbalMonths = 1 // Hey, space is space... - } -} - -@PART[bluedog_Apollo_Block2_ServiceModule]:NEEDS[USILifeSupport] -{ - @description ^= :cells,;cells, snacks,: - @description ^= :Kerbin.:Kerbin. Includes sufficient tankage for up to 6 days of Soylent Snacks. (100% Kale, we promise!) : - RESOURCE - { - name = Supplies - // 3*3 Kerbal-days default, 6 K-d max. - // I’m not sure how best to do this. Some supplies are in the SM? - amount = 146 - maxAmount = 292 - } - - RESOURCE - { - name = Mulch - amount = 0 - maxAmount = 50 // Guessing... - } -} - -@PART[bluedog_Apollo_Block2_Capsule]:NEEDS[USILifeSupport] -{ - @description ^= :$: Includes ample (Ample = 3 days) storage for assorted Snacks, NOMS, Sammiches, and other delicacies. Includes a Bonus CO2 and Dirty Sock Scrubber at No Extra Charge. (Bubbles Sold Separately.): - RESOURCE - { - name = Supplies - amount = 109 // 3d w/ recycling for 3 kerbals - maxAmount = 218 // 218 + 292 = 510, should be enough for 3 kerbals * 14 days w/ recycling. - } - - RESOURCE - { - name = Mulch - amount = 0 - maxAmount = 100 //Guessing... - } - - MODULE - { - name = ModuleLifeSupportRecycler - CrewCapacity = 3 - RecyclePercent = .25 // This fits the above numbers for a 14 day max mission. - ConverterName = Recycler - tag = Recycler - StartActionName = Start Recycler - StopActionName = Stop Recycler - - INPUT_RESOURCE - { - ResourceName = ElectricCharge - Ratio = 1 - } - } - -// MODULE -// { -// name = ModuleHabitation -// KerbalMonths = 0.54 // 4d/30d * 4 Kerbals, rounded up -// } -} - -@PART[bluedog*,Bluedog*]:HAS[@RESOURCE[Supplies]]:NEEDS[USILifeSupport]:AFTER[Bluedog_DB] -{ - supcostmult = #$@RESOURCE_DEFINITION[Supplies]/unitCost$ - supcost = #$/RESOURCE[Supplies]/maxAmount$ - @supcost *= #$supcostmult$ - @cost += #$supcost$ - !supcostmult = del - !supcost = del -} From faddee1488f4df55e2d60993345f482f7adb3acb Mon Sep 17 00:00:00 2001 From: SilveiraMarcel Date: Thu, 11 Jul 2019 13:49:23 -0300 Subject: [PATCH 5/5] Update USI-LS.cfg --- Compatibility/USI-LS/USI-LS.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compatibility/USI-LS/USI-LS.cfg b/Compatibility/USI-LS/USI-LS.cfg index a7d0e59..6680d57 100644 --- a/Compatibility/USI-LS/USI-LS.cfg +++ b/Compatibility/USI-LS/USI-LS.cfg @@ -1,7 +1,7 @@ //USI has a VERY high mass flow rate per kerbal, so the shuttle would be too heavy //to carry 30 Earth days of Supplies for 6 crewmembers (7.8t) so it its substantially nerfed -@PART[benjee10_shuttle_aftFuselage]:NEEDS[USILifeSupport]:BEFORE[Benjee10_shuttleOrbiter] +@PART[benjee10_shuttle_forwardFuselage]:NEEDS[USILifeSupport]:BEFORE[Benjee10_shuttleOrbiter] { @cost += 6480 // supplies * $2.5 RESOURCE