From f91fa82e9bfc78dc76fc301c88690bb1229e6776 Mon Sep 17 00:00:00 2001 From: Capkirk123 Date: Tue, 30 Jul 2024 20:16:02 -0400 Subject: [PATCH] Add B9PS/RF tank switching to Agena equipment rack --- .../PartConfigs/Agena_EquipmentRack_BDB.cfg | 52 +++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/GameData/ROEngines/PartConfigs/Agena_EquipmentRack_BDB.cfg b/GameData/ROEngines/PartConfigs/Agena_EquipmentRack_BDB.cfg index 5ddf9435..23ba9f55 100644 --- a/GameData/ROEngines/PartConfigs/Agena_EquipmentRack_BDB.cfg +++ b/GameData/ROEngines/PartConfigs/Agena_EquipmentRack_BDB.cfg @@ -118,11 +118,57 @@ PART } } - //Disable tank mesh switching, we can't adjust the fuel load in RF through it. MODULE { - name = ModuleB9DisableTransform - transform = Mesh_TwoBall + name = ModuleB9PartSwitch + moduleID = meshSwitchTanks + switcherDescription = Tanks + SUBTYPE + { + name = Three + title = Three RCS Tanks + transform = Mesh_ThreeBall + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + volume = 90 + basemass = 0.017 + TANK + { + name = ElectricCharge + amount = 42000 + maxAmount = 42000 + } + } + } + } + SUBTYPE + { + name = Two + title = Two RCS Tanks + transform = Mesh_TwoBall + addedMass = -0.003 + addedCost = -1 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + volume = 74 + basemass = 0.014 + TANK + { + name = ElectricCharge + amount = 42000 + maxAmount = 42000 + } + } + } + } } //Allow aft rack switching