Surefoot Posted January 6, 2014 Share Posted January 6, 2014 Here, a ship that exhibits the behaviour. Mods needed are MFT, stretchytanks, mechjeb2, KJR. You'll have to use hyperedit to put it in orbit somewhere, then turn on SmartASS to point in a fixed direction (prograde / retrograde), max the engine thrust then activate the stage, see it spinning Lots of roll, some yaw too (if you cut off you'll notice MJ compensating for the yaw).Get the craft file there:http://ge.tt/7LsyqgC1/v/0?cit's called BalancedTest. Quote Link to comment Share on other sites More sharing options...
likke_A_boss Posted January 10, 2014 Share Posted January 10, 2014 Ok, now I'm confused. I read your whole thread, downloaded correctly, have a lot of compatible mods and…. Nothing. I have no idea what to even do. I am in the VAB and the take says it is compatible and the log says that modular fuels tanks there, but I have no Idea how to use. Right click do nothing. Thanks! Quote Link to comment Share on other sites More sharing options...
Dreadp1r4te Posted January 10, 2014 Share Posted January 10, 2014 Ok, now I'm confused. I read your whole thread, downloaded correctly, have a lot of compatible mods and…. Nothing. I have no idea what to even do. I am in the VAB and the take says it is compatible and the log says that modular fuels tanks there, but I have no Idea how to use. Right click do nothing. Thanks!Try opening up the Action Group editor, and clicking on your fuel tank. Should see a new window appear on the left beneath your action groups. Quote Link to comment Share on other sites More sharing options...
likke_A_boss Posted January 10, 2014 Share Posted January 10, 2014 Try opening up the Action Group editor, and clicking on your fuel tank. Should see a new window appear on the left beneath your action groups.Woulda look at that. Thanks you sir! Quote Link to comment Share on other sites More sharing options...
Dreadp1r4te Posted January 10, 2014 Share Posted January 10, 2014 Woulda look at that. Thanks you sir!Glad I could help Quote Link to comment Share on other sites More sharing options...
TaranisElsu Posted January 12, 2014 Share Posted January 12, 2014 (edited) From a long discussion with NathanKell:How to make new tanks and/or make parts use MFT tanksFirst you need a TANK_DEFINITION, which has the following fields:name = the name of the TANK_DEFINITION.basemass = modifies the dry mass of the part. Use a value to replace the part's mass, like 0.01. Add " * volume" after the value to make it depend on the tank volume, like "0.0002 * volume". Or use -1 to leave the part's mass alone.One or more TANK blocks.TANK has the following fields:name = the name of the resource held in the tankamount = can be "full" which means the tank will start with maxAmount, or a number which means the tank will start with that amount (clamped so that it is not more than maxAmount), or a number% which means that percentage of maxAmount. So 50% will be maxAmount * 0.50.maxAmount = either a number, which is an absolute number of units, or a percent, which is a ratio of tank space. If the maxAmounts exceed 100% of the volume, they are allocated in order with any excess being ignored.utilization = a multiplier that is applied to the maxAmount. Can be used when storing gases under pressure, like 150 = 150bar, or can account for insulation, like LOx used to be 0.975 to account for insulation.mass = mass in tons per volume unit devoted to this tank, added to the part's base mass.temperature = the temperature the resource is stored at, i.e. close to absolute 0 for LH2 or -186C for LOxloss_rate = controls how fast the resource is lost. The boiloff = loss_rate * maxAmount * (current_temp - desired_temp) * time elapsed.note = a note about what's inside. Examples: "(requires insulation)" or "(pressurized)"fillable = a bool value that indicates whether the resource is fillable in the editor or if it always starts empty. For example, Kethane tanks launch empty and their amount cannot be changed in the editor.An example:TANK_DEFINITION{ name = Default basemass = 0.000625 * volume TANK { name = LiquidFuel amount = full maxAmount = 45% } TANK { name = Oxidizer amount = full maxAmount = 55% } TANK { name = MonoPropellant mass = 0.000625 amount = 0.0 maxAmount = 0.0 } TANK { name = XenonGas mass = 0.000625 amount = 0.0 maxAmount = 0.0 utilization = 56.0 note = (pressurized) }}When adding an MFT tank to a part, add the ModuleFuelTanks MODULE to the part's cfg file with:volume = total volume units that the tank can holdtype = the TANK_DEFINITION namebasemass = if given, it overrides the basemass specified in the TANK_DEFINITION.Example:MODULE{ name = ModuleFuelTanks volume = 400 type = Default}Note that MFT comes preconfigured with some tank definitions you can use, and they contain the following resources:Default = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasFuselage = LiquidFuel (full), Oxidizer, MonoPropellant, XenonGasStructural = LiquidFuel, Oxidizer, MonoPropellant, XenonGasCryogenic = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasJet = LiquidFuel (full)Oxy = Oxidizer (full)RCS = MonoPropellant (full)RCSHighEfficiency = MonoPropellant (full)Xenon = XenonGas (full)ServiceModule = LiquidFuel (full), Oxidizer (full), MonoPropellant (full), ElectricCharge (full)Solid = SolidFuel (full)Balloon = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasBalloonCryo = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGas Edited January 20, 2014 by TaranisElsu Corrected for v4.2 changes Quote Link to comment Share on other sites More sharing options...
Jivaii Posted January 14, 2014 Share Posted January 14, 2014 From a long discussion with NathanKell:How to make new tanks and/or make parts use MFT tanksFirst you need a TANK_DEFINITION, which has the following fields:name = the name of the TANK_DEFINITION.basemass = modifies the dry mass of the part. Use a value to replace the part's mass, like 0.01. Add " * volume" after the value to make it depend on the tank volume, like "0.0002 * volume". Or use -1 to leave the part's mass alone.One or more TANK blocks.TANK has the following fields:name = the name of the resource held in the tankamount = a ratio from 0.0 to 1.0 of the maxAmount. You can also use "full" which means the same thing as 1.0.maxAmount = either a number, which is an absolute number of units, or a percent, which is a ratio of tank space. If the maxAmounts exceed 100% of the volume, they are allocated in order with any excess being ignored.utilization = a multiplier that is applied to the maxAmount. Can be used when storing gases under pressure, like 150 = 150bar, or can account for insulation, like LOx used to be 0.975 to account for insulation.mass = mass in tons per volume unit devoted to this tank, added to the part's base mass.temperature = the temperature the resource is stored at, i.e. close to absolute 0 for LH2 or -186C for LOxloss_rate = controls how fast the resource is lost. The boiloff = loss_rate * maxAmount * (current_temp - desired_temp) * time elapsed.note = a note about what's inside. Examples: "(requires insulation)" or "(pressurized)"fillable = a bool value that indicates whether the resource is fillable in the editor or if it always starts empty. For example, Kethane tanks launch empty and their amount cannot be changed in the editor.An example:TANK_DEFINITION{ name = Default basemass = 0.000625 * volume TANK { name = LiquidFuel amount = full maxAmount = 45% } TANK { name = Oxidizer amount = full maxAmount = 55% } TANK { name = MonoPropellant mass = 0.000625 amount = 0.0 maxAmount = 0.0 } TANK { name = XenonGas mass = 0.000625 amount = 0.0 maxAmount = 0.0 utilization = 56.0 note = (pressurized) }}When adding an MFT tank to a part, add the ModuleFuelTanks MODULE to the part's cfg file with:volume = total volume units that the tank can holdtype = the TANK_DEFINITION namebasemass = if given, it overrides the basemass specified in the TANK_DEFINITION.Example:MODULE{ name = ModuleFuelTanks volume = 400 type = Default}Note that MFT comes preconfigured with some tank definitions you can use, and they contain the following resources:Default = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasFuselage = LiquidFuel (full), Oxidizer, MonoPropellant, XenonGasStructural = LiquidFuel, Oxidizer, MonoPropellant, XenonGasCryogenic = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasJet = LiquidFuel (full)Oxy = Oxidizer (full)RCS = MonoPropellant (full)RCSHighEfficiency = MonoPropellant (full)Xenon = XenonGas (full)ServiceModule = LiquidFuel (full), Oxidizer (full), MonoPropellant (full), ElectricCharge (full)Solid = SolidFuel (full)Balloon = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasBalloonCryo = LiquidFuel (full), Oxidizer (full), MonoPropellant, XenonGasThis is still somewhat confusing to me. I'm trying to get it so I can swap LFO tanks to Liquid Methane/Oxidizer tanks. Quote Link to comment Share on other sites More sharing options...
NathanKell Posted January 14, 2014 Share Posted January 14, 2014 Javaii: create a new CFG file somewhere in GameData. Call it whatever you like.cfgPut this in it, where METHANE is whatever your Liquid Methane resource's name is.@TANK_DEFINITION[Default]{ TANK { name = METHANE amount = 0.0 maxAmount = 0.0 }}Presto. Now you'll be able to remove LF and add Methane to all your type-Default tanks (most all LFO tanks). Quote Link to comment Share on other sites More sharing options...
Jivaii Posted January 15, 2014 Share Posted January 15, 2014 Javaii: create a new CFG file somewhere in GameData. Call it whatever you like.cfgPut this in it, where METHANE is whatever your Liquid Methane resource's name is.@TANK_DEFINITION[Default]{ TANK { name = METHANE amount = 0.0 maxAmount = 0.0 }}Presto. Now you'll be able to remove LF and add Methane to all your type-Default tanks (most all LFO tanks).I figured out the process of how to add new definitions so that I can swap fuel around easily, the harder part was figuring out the mix I needed. I'm good now that I've figured it all out, and thanks for replying Quote Link to comment Share on other sites More sharing options...
ModZero Posted January 17, 2014 Share Posted January 17, 2014 So, the KSPX definition of cl_small_xenonTank in MFT says 300, but original fuel tank says 3000. While 3000 might be a bit much (if dry mass scales with surface area and volume goes with 3/2 of said scale, then I think it sould be 2602, and that's quite a lot of xenon gas), 300 is actually less than the stock micro tank (700). Quote Link to comment Share on other sites More sharing options...
NathanKell Posted January 17, 2014 Share Posted January 17, 2014 Fixed. I forgot to revert it when I un-changed Xenon's density. Quote Link to comment Share on other sites More sharing options...
taniwha Posted January 18, 2014 Author Share Posted January 18, 2014 Ok, I've released MFT 4.2 (links etc in the first two posts). This includes any changes to MFT Nathan made for RF. Quote Link to comment Share on other sites More sharing options...
NathanKell Posted January 18, 2014 Share Posted January 18, 2014 TaranisElsu: note this means an update of your excellent post is necessary (since I changed how amount works). It now works as follows:If amount = full, then it will be set to maxAmount for the tank.If amount = some number, then it will be set to that number (and clamped so it's not more than the maxAmount).if amount = some number% (like 50%) then it will be set to maxAmount * this, so if amount = 50%, then the tank will start half-full. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2014 Share Posted January 28, 2014 Is there any way to turn off the debug log spam for this mod? I get something like this every time I switch to a new craft, which makes it really hard to check for any possible interactions between what I am writing and other mods.Thanks.========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.0625 basemassPV = 0.000625 volume = 100 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = LiquidFuel utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 45 maxAmount = 45}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = Oxidizer utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 55 maxAmount = 55}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = XenonGas utilization = 56 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = (pressurized) amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.00875 basemassPV = 0.0007 volume = 12.5 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = LiquidFuel utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 5.625 maxAmount = 5.625}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = Oxidizer utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 6.875 maxAmount = 6.875}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = XenonGas utilization = 56 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = (pressurized) amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.05 basemassPV = 0.001 volume = 50 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 37.1729218987963 maxAmount = 50}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.00875 basemassPV = 0.0007 volume = 12.5 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = LiquidFuel utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 5.625 maxAmount = 5.625}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = Oxidizer utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 6.875 maxAmount = 6.875}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = XenonGas utilization = 56 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = (pressurized) amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.05 basemassPV = 0.001 volume = 50 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 37.1729218987963 maxAmount = 50}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)Node Saver saved 0 nodes.(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.0625 basemassPV = 0.000625 volume = 100 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = LiquidFuel utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 12.7198847251686 maxAmount = 45}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = Oxidizer utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 15.5465238749161 maxAmount = 55}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = XenonGas utilization = 56 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = (pressurized) amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave called. Node is:=======(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)MODULE{ name = ModuleFuelTanks isEnabled = True timestamp = 108172223.281308 basemass = 0.0625 basemassPV = 0.000625 volume = 100 EVENTS { } ACTIONS { }}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = LiquidFuel utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 12.7198847251686 maxAmount = 45}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = Oxidizer utilization = 1 mass = 0 temperature = 300 loss_rate = 0 fillable = True note = amount = 15.5465238749161 maxAmount = 55}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = MonoPropellant utilization = 1 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = amount = 0 maxAmount = 0}(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)========ModuleFuelTanks.OnSave adding subNode:========(Filename: C:/BuildAgent/work/ea95e74f6e5f192d/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 54)TANK{ name = XenonGas utilization = 56 mass = 0.000625 temperature = 300 loss_rate = 0 fillable = True note = (pressurized) amount = 0 maxAmount = 0} Quote Link to comment Share on other sites More sharing options...
taniwha Posted January 29, 2014 Author Share Posted January 29, 2014 What? You don't like the information? How...Sorry, no easy way without going through the code, commenting out all the prints (Debug.Logcalls?) and recompiling. I'll get it for the next release, though. Quote Link to comment Share on other sites More sharing options...
likke_A_boss Posted January 29, 2014 Share Posted January 29, 2014 It would be nice to make that an optional thing though, I would like to keep the info. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 29, 2014 Share Posted January 29, 2014 What? You don't like the information? How...Sorry, no easy way without going through the code, commenting out all the prints (Debug.Logcalls?) and recompiling. I'll get it for the next release, though.You could easily set it up to be a configurable value. You could even have it on by default. I understand the value of the information for debugging, it would just be nice to be able to turn it off because of the frequency. Thanks! Quote Link to comment Share on other sites More sharing options...
taniwha Posted January 29, 2014 Author Share Posted January 29, 2014 Actually, I've found it rather annoying too. Also, most if not all of the prints are wrapped in compile-time debug checks, but I need to go through them all and clean things up. Quote Link to comment Share on other sites More sharing options...
Jivaii Posted February 2, 2014 Share Posted February 2, 2014 Is there a formula for figuring out the capacity for a tank if you want to add in tanks from a mod not already added? Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 2, 2014 Author Share Posted February 2, 2014 You first have to find the actual volume of the tank in cubic meters. Then just multiply that by 200 for stock fuels, or 1000 for RF, to give the tank's capacity in resource units. Keep in mind that there will be "waste space" dedicated to structure (eg, the Jumbo-64 is big enough to hold more than 6400u of LFO, but it seems the take may internally be a capsule rather than a cylinder: then the numbers work out almost perfectly). Quote Link to comment Share on other sites More sharing options...
Starwaster Posted February 3, 2014 Share Posted February 3, 2014 What? You don't like the information? How...Sorry, no easy way without going through the code, commenting out all the prints (Debug.Logcalls?) and recompiling. I'll get it for the next release, though.No, just reconfigure for release instead of debug and recompile. I was also tired of seeing all the debug information and that's what I did to get rid of it. (actually only did that because I have to reload database frequently due to parts development and the extra debugging logs were slowing it down noticeably) Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 3, 2014 Author Share Posted February 3, 2014 I'm aware of the ifdefs, but I'm not sure all the prints are controlled. Quote Link to comment Share on other sites More sharing options...
thescientist Posted February 11, 2014 Share Posted February 11, 2014 (edited) *ignore this post* Edited February 11, 2014 by thescientist Quote Link to comment Share on other sites More sharing options...
leops1984 Posted February 15, 2014 Share Posted February 15, 2014 Noticed a bug with this mod and SDHI: the default MFT values appear to be very off.Without tweaks, this is what is set up:However, the max volume is also too low to get the default values:The battery should be up to 200. Quote Link to comment Share on other sites More sharing options...
taniwha Posted February 16, 2014 Author Share Posted February 16, 2014 Ok, there is a bug with the default maximum amounts: they try to use 110% of the available volume.However, the max volume issue is possibly a bug in SDHI. Either it specifies too low a volume for the part, or it specifies too much electric charge. MFT's ServiceModule tank definition specifies 60u of electric charge for each volume unit. So the options are to up the SDHI specified volume from 902 to 3.33333333333333, change the untilization in the MFT config (or make a new tank defintion), or live with the difference. If you do change the untilization, I suggest going to 50 and upping the volume to 904. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.