From 87204f4d534b8a4dd99ea3e551382375c4d00469 Mon Sep 17 00:00:00 2001 From: Capkirk123 Date: Sun, 11 Aug 2024 01:53:10 -0400 Subject: [PATCH] More FFT configs (#2987) * Actually configure FFT fuel tanks and some fixes * Switch to using RF Tanks Switch to using RF tanks instead of stock resource tanks because I was tired of fighting part costs --- .../FarFutureTechnologies/FFT_RO.cfg | 664 +++++++++++++++++- 1 file changed, 656 insertions(+), 8 deletions(-) diff --git a/GameData/RealismOverhaul/RO_SuggestedMods/FarFutureTechnologies/FFT_RO.cfg b/GameData/RealismOverhaul/RO_SuggestedMods/FarFutureTechnologies/FFT_RO.cfg index 932b83ec53..6d75c9716a 100644 --- a/GameData/RealismOverhaul/RO_SuggestedMods/FarFutureTechnologies/FFT_RO.cfg +++ b/GameData/RealismOverhaul/RO_SuggestedMods/FarFutureTechnologies/FFT_RO.cfg @@ -6,13 +6,43 @@ { @unitCost = 316 } +//create a basic RF tank definition so we can use RF tanks +TANK_DEFINITION +{ + name = FissionParticles + basemass = 0.000267 * volume + baseCost = -1 * volume + TANK + { + name = FissionParticles + amount = full + maxAmount = 100% + cost = 0 + mass = 0 + } +} //Cm-245 ~$2000/gram 2000, $365/gram 1965, 0.365 funds/gram //Density 1.0 //pulse unit ~2 kg, of which 42.8g is Cm-245 -//~7.8 funds per liter, round up to 10 to account for transmission lines and magnets and stuff +//~7.8 funds per liter @RESOURCE_DEFINITION[FissionPellets] { - @unitCost = 10 + @unitCost = 7.8 +} +//create a basic RF tank definition so we can use RF tanks +TANK_DEFINITION +{ + name = FissionPellets + basemass = 0.000267 * volume + baseCost = -1 * volume + TANK + { + name = FissionPellets + amount = full + maxAmount = 100% + cost = 0 + mass = 0 + } } //We're assuming weapons grade plutonium, enriched U-235 is expensive //~$5240/gram 2007, $796/gram 1965, 0.796 funds/gram @@ -22,6 +52,21 @@ { @unitCost = 16 } +//create a basic RF tank definition so we can use RF tanks +TANK_DEFINITION +{ + name = NuclearSaltWater + basemass = 0.000267 * volume + baseCost = -1 * volume + TANK + { + name = NuclearSaltWater + amount = full + maxAmount = 100% + cost = 0 + mass = 0 + } +} // ================================================================================= //Fission fragment rocket @@ -296,7 +341,7 @@ %RSSROConfig = True @rescaleFactor = 2.0 //~10 meters diameter? - @title = 10 m "Mini-Mag" Orion + @title = 10 m "Mini-Mag" Orion Drive %skinTempTag = Steel %internalTempTag = Instruments %skinInsulationTag = True @@ -305,7 +350,7 @@ %specLevel = concept //operational, prototype, concept, speculative, altHist, sciFi @mass = 110.010 //7115 kg pulsed power system + 102895 kg mag-nozzle - //Steady state power and radiators left as excercise to user + //Steady state power and radiators left as exercise to user @MODULE[ModuleEngines*] { @maxThrust = 642 @@ -368,7 +413,7 @@ %RSSROConfig = True @rescaleFactor = 4.0 //~20 meters diameter? - @title = 20 m "Mini-Mag" Orion + @title = 20 m "Mini-Mag" Orion Drive //Orion is well understood, Z-machine should achieve desired performance... %specLevel = concept //operational, prototype, concept, speculative, altHist, sciFi @@ -413,16 +458,38 @@ { %RSSROConfig = True + @title = 10 m "Mini-Mag" Orion Pulse Unit Magazine @rescaleFactor = 2.0 //~10 meters diameter? %skinTempTag = Steel %internalTempTag = Instruments %skinInsulationTag = True //481625 kg propellant over ~4 tanks? - @RESOURCE[FissionPellets] + !RESOURCE,* {} + MODULE { - @amount = 120406 - @maxAmount = 120406 + name = ModuleFuelTanks + type = FissionPellets + volume = 120406 + basemass = -1 + baseCost = -1 + } +} ++PART[fft-fueltank-targets-5-1]:FOR[RealismOverhaul] +{ + @name = RO-fft20mMMOtank + + @title = 20 m "Mini-Mag" Orion Pulse Unit Magazine + @rescaleFactor = 4.0 //~20 meters diameter? + @mass *= 8 //twice the size, 2^3 times the mass + %skinTempTag = Steel + %internalTempTag = Instruments + %skinInsulationTag = True + + //2^3 times propellant load + @MODULE[ModuleFuelTanks] + { + @volume = 963248 } } @@ -507,3 +574,584 @@ } } } +@PART[fft-fueltank-fission-5-1]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 20 m Fissiles Tank (Long) + //treat this as just a SM-IV level water tank at 50% utilization + @mass = 361.912 + //original size 5x4 meters + @rescaleFactor = 4.0 //~20 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + !RESOURCE,* {} + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 2453274 + basemass = -1 + baseCost = -1 + } + //Why is this even here? there's only one variant + !MODULE[ModuleB9PartSwitch] {} +} +@PART[fft-fueltank-fission-5-2]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 20 m Fissiles Tank (Short) + //treat this as just a SM-IV level water tank at 50% utilization + @mass = 180.956 + //original size 5x2 meters + @rescaleFactor = 4.0 //~20 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + !RESOURCE,* {} + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 1256637 + basemass = -1 + baseCost = -1 + } + //Why is this even here? there's only one variant + !MODULE[ModuleB9PartSwitch] {} +} +@PART[fft-fueltank-fission-25-1]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 10 m Fissiles Tank (Long) + //treat this as just a SM-IV level water tank at 50% utilization + @mass = 113.097 + //original size 2.5x5 meters + @rescaleFactor = 4.0 //~10 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + //Stock fuel tanks have some incredibly unhelpful properties wrt cost, so we're using RF tanks + //first, delete the existing resource and fuel switcher + !RESOURCE[NuclearSaltWater] {} + !MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]] {} + + //then, add a fuel tank. Volume has to be zero for it to work properly, which means it doesn't + //initialize properly and you have to hit the button a few times, but you can't win them all. + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 0 + basemass = -1 + baseCost = -1 + } + //finally, create a new B9PS module using MFT tank switching + //the tank will start with it's set cost, and cost will be removed as fuel is removed, so that part + //cost needs to be set to (desired part cost) + (full tank resource cost). + //For tank switches, add/subtract cost so the formula adds up with the new propellant load + MODULE + { + name = ModuleB9PartSwitch + moduleID = meshSwitchType + switcherDescription = Contents + SUBTYPE + { + name = NSW + title = Nuclear Salt Water + descriptionSummary = + descriptionDetail = A cautiously decanted solution of uranium salts, supplied in proportion with water. Spicy! + primaryColor = #c78c40 + secondaryColor = #777777 + transform = NSWTank + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = NuclearSaltWater + volume = 785398 + } + } + } + SUBTYPE + { + name = FissionDust + title = Fissionable Particles + descriptionSummary = + descriptionDetail = Nanoparticles of fissionable isotopes, kept in a suspended boric acid solution. + primaryColor = #583232 + secondaryColor = #777777 + transform = PlasmaTank + addedMass = 0 + addedCost = -7602640 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = FissionParticles + volume = 15708 + } + } + } + } + @MODULE[ModuleB9PartSwitch]:HAS[#moduleID[structureSwitch]] + { + @SUBTYPE[Inline] + { + @title = 5m + @descriptionDetail = 5m Mount + } + } +} +@PART[fft-fueltank-fission-25-2]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 10 m Fissiles Tank (Medium) + //treat this as just a SM-IV level water tank at 50% utilization + @mass = 56.549 + //original size 2.5x2.5 meters + @rescaleFactor = 4.0 //~10 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + //Stock fuel tanks have some incredibly unhelpful properties wrt cost, so we're using RF tanks + //first, delete the existing resource and fuel switcher + !RESOURCE[NuclearSaltWater] {} + !MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]] {} + + //then, add a fuel tank. Volume has to be zero for it to work properly, which means it doesn't + //initialize properly and you have to hit the button a few times, but you can't win them all. + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 0 + basemass = -1 + baseCost = -1 + } + //finally, create a new B9PS module using MFT tank switching + //the tank will start with it's set cost, and cost will be removed as fuel is removed, so that part + //cost needs to be set to (desired part cost) + (full tank resource cost). + //For tank switches, add/subtract cost so the formula adds up with the new propellant load + MODULE + { + name = ModuleB9PartSwitch + moduleID = meshSwitchType + switcherDescription = Contents + SUBTYPE + { + name = NSW + title = Nuclear Salt Water + descriptionSummary = + descriptionDetail = A cautiously decanted solution of uranium salts, supplied in proportion with water. Spicy! + primaryColor = #c78c40 + secondaryColor = #777777 + transform = NSWTank + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = NuclearSaltWater + volume = 392699 + } + } + } + SUBTYPE + { + name = FissionDust + title = Fissionable Particles + descriptionSummary = + descriptionDetail = Nanoparticles of fissionable isotopes, kept in a suspended boric acid solution. + primaryColor = #583232 + secondaryColor = #777777 + transform = PlasmaTank + addedMass = 0 + addedCost = -3801320 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = FissionParticles + volume = 7854 + } + } + } + } + @MODULE[ModuleB9PartSwitch]:HAS[#moduleID[structureSwitch]] + { + @SUBTYPE[Inline] + { + @title = 5m + @descriptionDetail = 5m Mount + } + } +} +@PART[fft-fueltank-fission-25-3]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 10 m Fissiles Tank (Short) + //treat this as just a SM-IV level water tank at 50% utilization + @mass = 28.274 + //original size 2.5x2.5 meters + @rescaleFactor = 4.0 //~10 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + //Stock fuel tanks have some incredibly unhelpful properties wrt cost, so we're using RF tanks + //first, delete the existing resource and fuel switcher + !RESOURCE[NuclearSaltWater] {} + !MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]] {} + + //then, add a fuel tank. Volume has to be zero for it to work properly, which means it doesn't + //initialize properly and you have to hit the button a few times, but you can't win them all. + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 0 + basemass = -1 + baseCost = -1 + } + //finally, create a new B9PS module using MFT tank switching + //the tank will start with it's set cost, and cost will be removed as fuel is removed, so that part + //cost needs to be set to (desired part cost) + (full tank resource cost). + //For tank switches, add/subtract cost so the formula adds up with the new propellant load + MODULE + { + name = ModuleB9PartSwitch + moduleID = meshSwitchType + switcherDescription = Contents + SUBTYPE + { + name = NSW + title = Nuclear Salt Water + descriptionSummary = + descriptionDetail = A cautiously decanted solution of uranium salts, supplied in proportion with water. Spicy! + primaryColor = #c78c40 + secondaryColor = #777777 + transform = NSWTank + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = NuclearSaltWater + volume = 188850 + } + } + } + SUBTYPE + { + name = FissionDust + title = Fissionable Particles + descriptionSummary = + descriptionDetail = Nanoparticles of fissionable isotopes, kept in a suspended boric acid solution. + primaryColor = #583232 + secondaryColor = #777777 + transform = PlasmaTank + addedMass = 0 + addedCost = -1780668 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = FissionParticles + volume = 3927 + } + } + } + } + @MODULE[ModuleB9PartSwitch]:HAS[#moduleID[structureSwitch]] + { + @SUBTYPE[Inline] + { + @title = 5m + @descriptionDetail = 5m Mount + } + } +} +@PART[fft-fueltank-fission-radial-1]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 3.2 m Fissiles Tank (Long) + @mass = 22.619 + //original size 0.8x6 meters + @rescaleFactor = 4.0 //~3.2 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + //Stock fuel tanks have some incredibly unhelpful properties wrt cost, so we're using RF tanks + //first, delete the existing resource and fuel switcher + !RESOURCE[NuclearSaltWater] {} + !MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]] {} + + //then, add a fuel tank. Volume has to be zero for it to work properly, which means it doesn't + //initialize properly and you have to hit the button a few times, but you can't win them all. + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 0 + basemass = -1 + baseCost = -1 + } + //finally, create a new B9PS module using MFT tank switching + //the tank will start with it's set cost, and cost will be removed as fuel is removed, so that part + //cost needs to be set to (desired part cost) + (full tank resource cost). + //For tank switches, add/subtract cost so the formula adds up with the new propellant load + MODULE + { + name = ModuleB9PartSwitch + moduleID = meshSwitchType + switcherDescription = Contents + SUBTYPE + { + name = NSW + title = Nuclear Salt Water + descriptionSummary = + descriptionDetail = A cautiously decanted solution of uranium salts, supplied in proportion with water. Spicy! + primaryColor = #c78c40 + secondaryColor = #777777 + transform = NSWTank + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = NuclearSaltWater + volume = 157080 + } + } + } + SUBTYPE + { + name = FissionDust + title = Fissionable Particles + descriptionSummary = + descriptionDetail = Nanoparticles of fissionable isotopes, kept in a suspended boric acid solution. + primaryColor = #583232 + secondaryColor = #777777 + transform = PlasmaTank + addedMass = 0 + addedCost = -1833248 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = FissionParticles + volume = 2152 + } + } + } + } +} +@PART[fft-fueltank-fission-radial-2]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 3.2 m Fissiles Tank (Medium) + @mass = 11.310 + //original size 0.8x3 meters + @rescaleFactor = 4.0 //~3.2 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + //Stock fuel tanks have some incredibly unhelpful properties wrt cost, so we're using RF tanks + //first, delete the existing resource and fuel switcher + !RESOURCE[NuclearSaltWater] {} + !MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]] {} + + //then, add a fuel tank. Volume has to be zero for it to work properly, which means it doesn't + //initialize properly and you have to hit the button a few times, but you can't win them all. + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 0 + basemass = -1 + baseCost = -1 + } + //finally, create a new B9PS module using MFT tank switching + //the tank will start with it's set cost, and cost will be removed as fuel is removed, so that part + //cost needs to be set to (desired part cost) + (full tank resource cost). + //For tank switches, add/subtract cost so the formula adds up with the new propellant load + MODULE + { + name = ModuleB9PartSwitch + moduleID = meshSwitchType + switcherDescription = Contents + SUBTYPE + { + name = NSW + title = Nuclear Salt Water + descriptionSummary = + descriptionDetail = A cautiously decanted solution of uranium salts, supplied in proportion with water. Spicy! + primaryColor = #c78c40 + secondaryColor = #777777 + transform = NSWTank + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = NuclearSaltWater + volume = 78540 + } + } + } + SUBTYPE + { + name = FissionDust + title = Fissionable Particles + descriptionSummary = + descriptionDetail = Nanoparticles of fissionable isotopes, kept in a suspended boric acid solution. + primaryColor = #583232 + secondaryColor = #777777 + transform = PlasmaTank + addedMass = 0 + addedCost = -916624 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = FissionParticles + volume = 1076 + } + } + } + } +} +@PART[fft-fueltank-fission-radial-3]:FOR[RealismOverhaul] +{ + %RSSROConfig = True + + @title = 3.2 m Fissiles Tank (Short) + @mass = 5.655 + //original size 0.8x1.5 meters + @rescaleFactor = 4.0 //~3.2 meters diameter? + %skinTempTag = Aluminum + %internalTempTag = Aluminum + + //Assuming we use high-enriched fuel, and build it big, NSWR should work... + //Nevermind, according to https://discord.com/channels/319857228905447436/541475381157298177/1238909979927249038 NSWR doesn't really work as described + %specLevel = sciFi //operational, prototype, concept, speculative, altHist, sciFi + + //Stock fuel tanks have some incredibly unhelpful properties wrt cost, so we're using RF tanks + //first, delete the existing resource and fuel switcher + !RESOURCE[NuclearSaltWater] {} + !MODULE[ModuleB9PartSwitch]:HAS[#moduleID[fuelSwitch]] {} + + //then, add a fuel tank. Volume has to be zero for it to work properly, which means it doesn't + //initialize properly and you have to hit the button a few times, but you can't win them all. + MODULE + { + name = ModuleFuelTanks + type = NuclearSaltWater + volume = 0 + basemass = -1 + baseCost = -1 + } + //finally, create a new B9PS module using MFT tank switching + //the tank will start with it's set cost, and cost will be removed as fuel is removed, so that part + //cost needs to be set to (desired part cost) + (full tank resource cost). + //For tank switches, add/subtract cost so the formula adds up with the new propellant load + MODULE + { + name = ModuleB9PartSwitch + moduleID = meshSwitchType + switcherDescription = Contents + SUBTYPE + { + name = NSW + title = Nuclear Salt Water + descriptionSummary = + descriptionDetail = A cautiously decanted solution of uranium salts, supplied in proportion with water. Spicy! + primaryColor = #c78c40 + secondaryColor = #777777 + transform = NSWTank + addedMass = 0 + addedCost = 0 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = NuclearSaltWater + volume = 39270 + } + } + } + SUBTYPE + { + name = FissionDust + title = Fissionable Particles + descriptionSummary = + descriptionDetail = Nanoparticles of fissionable isotopes, kept in a suspended boric acid solution. + primaryColor = #583232 + secondaryColor = #777777 + transform = PlasmaTank + addedMass = 0 + addedCost = -458312 + MODULE + { + IDENTIFIER { name = ModuleFuelTanks } + DATA + { + type = FissionParticles + volume = 538 + } + } + } + } +}