HebaruSan Posted July 1, 2017 Share Posted July 1, 2017 (edited) SmartTank Automatically scale tanks from Procedural Parts to fit a specified TWR. Dependencies: Module Manager (forum thread) Procedural Parts (forum thread for 1.3.1 and later, previous forum thread) Download: https://github.com/HebaruSan/SmartTank/releases/latest Where to report bugs: https://github.com/HebaruSan/SmartTank/issues Source and documentation: https://github.com/HebaruSan/SmartTank Localization: https://github.com/HebaruSan/SmartTank/tree/master/assets/lang License: GPL v3 Credits and acknowledgements: Language Translators Spanish Fitiales Icon from http://fontawesome.io/icon/rocket/ http://fontawesome.io/icon/arrows-v/ http://fontawesome.io/icon/arrows-h/ The textures in the animation and my sig are from Enceos's Kerbal Hacks pack Edited November 5, 2021 by HebaruSan Quote Link to comment Share on other sites More sharing options...
Nightside Posted July 1, 2017 Share Posted July 1, 2017 That's really cool! Quote Link to comment Share on other sites More sharing options...
drtedastro Posted July 1, 2017 Share Posted July 1, 2017 This looks really good. checking it out now. many thanks. cheers. Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted July 1, 2017 Share Posted July 1, 2017 (edited) Yeah. Procedurality (dunno if this word exists) to the border. btw does it acknowledge the career limits of PP? Edited July 1, 2017 by Gordon Dry Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 1, 2017 Author Share Posted July 1, 2017 12 hours ago, Nightside said: That's really cool! Thanks! 11 hours ago, drtedastro said: This looks really good. checking it out now. many thanks. cheers. Thanks! Any feedback so far? There's more to it than shown here, but I wanted to keep the GIF short and simple. 5 hours ago, Gordon Dry said: Yeah. Procedurality (dunno if this word exists) to the border. Indeed. 5 hours ago, Gordon Dry said: btw does it acknowledge the career limits of PP? I don't know; I didn't test that or write any code specific to career mode. But based on the Procedural Parts code I've seen, if my code requests a size that's not allowed, it's possible that it might be rejected. Quote Link to comment Share on other sites More sharing options...
DStaal Posted July 1, 2017 Share Posted July 1, 2017 I like the concept - but rarely do I build to the TWR. More useful I think would be one that can scale to a specified d/v. (Then you can check engines to see which has the TWR you need.) Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted July 1, 2017 Share Posted July 1, 2017 (edited) Dunno the culprit or the reason for this, but I freshly added this and "[x] Science!" and have to fight the kraken now: This is the worst issue I had for two months, total unplayability. To find out what's going on I have to start removing mods - which I hate Edited July 1, 2017 by Gordon Dry Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 1, 2017 Author Share Posted July 1, 2017 4 hours ago, DStaal said: I like the concept - but rarely do I build to the TWR. More useful I think would be one that can scale to a specified d/v. (Then you can check engines to see which has the TWR you need.) Yeah, TWR and dV are both dependent variables on tank mass, so it should be possible to add that as an option. I'll look into it. 24 minutes ago, Gordon Dry said: Dunno the culprit or the reason for this, but I freshly added this and "[x] Science!" and have to fight the kraken now: This is the worst issue I had for two months, total unplayability. To find out what's going on I have to start removing mods - which I hate Doesn't look related, and you've got tons of exceptions from other mods, including at least one that indicates incompatibility with 1.3.0. I'm going to ask the mods to delete this to avoid setting a precedent for cluttering this thread with every random crash anyone encounters. Quote Link to comment Share on other sites More sharing options...
Superfluous J Posted July 1, 2017 Share Posted July 1, 2017 This looks really cool. I've liked procedural tanks but have never liked the interface. Tools like this could propel proceduralness (a.k.a. procedurality) to the next level. Quote Link to comment Share on other sites More sharing options...
genericeventhandler Posted July 5, 2017 Share Posted July 5, 2017 Very cool, I'm trying to back port it to 1.2.2 but there are loads of changes to figure out. Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted July 9, 2017 Share Posted July 9, 2017 I got problems. I needed additional TAC-LS resources for an early career 72h manned mission. The only unlocked part that could give me these resources is a Procedural Tank. I toggled all "auto" features off and set it up manually. But it always gets a negative mass and wakes up the kraken on the launchpad. This happened with a "normal" fairing as well as with a PF. Log:https://www.dropbox.com/s/kenf4wgppb8ro09/2017-07-08-3 KSP.log.zip?dl=1 Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 9, 2017 Author Share Posted July 9, 2017 8 minutes ago, Gordon Dry said: I got problems. I appreciate that you're frustrated with a problem you're having, but if you want to report issues here, please take at least basic steps to establish that it has something to do with this mod. For example, does this problem still happen if you uninstall SmartTank? This is not a general support thread for debugging modded installs. Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 9, 2017 Author Share Posted July 9, 2017 26 minutes ago, Gordon Dry said: The only unlocked part that could give me these resources is a Procedural Tank. I notice you've got two "Tank Type" fields, one of which is presumably from Procedural Parts (my guess is it's the one that says Structural). Any idea where the other one is from (the one that says "Default")? It's possible that other mods are trying to hide the one from PP when SmartTank re-enables it. I could confirm that if I knew which mod was doing it. Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted July 9, 2017 Share Posted July 9, 2017 (edited) I asked here, could be: That adds a folder GameData\SETIrebalance\0ProceduralParts\ with several files SETI-PartMod-PP-Battery.cfg SETI-PartMod-PP-ConeLiquid.cfg SETI-PartMod-PP-Heatshield.cfg SETI-PartMod-PP-NoseCone.cfg SETI-PartMod-PP-SRB.cfg SETI-PartMod-PP-StackDecoupler.cfg SETI-PartMod-PP-Structural.cfg SETI-PartMod-PP-TankLifeSupport.cfg SETI-PartMod-PP-TankLiquid.cfg SETI-PartMod-PP-TankRCS.cfg SETI-PartMod-PP-TankXenon.cfg SETI-PP-HRB.cfg SETI-PP-ProbeCore.cfg Edit: btw a day ago I posted about an issue over there and just read the reply. Edited July 9, 2017 by Gordon Dry Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 9, 2017 Author Share Posted July 9, 2017 1 hour ago, Gordon Dry said: <snip> That doesn't really tell me anything. Please read my replies and answer the questions I ask: 1 hour ago, HebaruSan said: does this problem still happen if you uninstall SmartTank? Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted July 9, 2017 Share Posted July 9, 2017 Okay, I will test it without it. I had to exit whatsoever, so the 15 minutes until ready will begin - now. Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 9, 2017 Author Share Posted July 9, 2017 46 minutes ago, Gordon Dry said: I had to exit whatsoever, so the 15 minutes until ready will begin - now. Annoying, isn't it? Now imagine having to do that multiple times because someone reported an issue that isn't even related* to your mod! (*Speculatively, at this point.) Note that you should always do this check before you post. If you suspect a mod might be causing an issue, uninstall it and test again. If the issue still happens, or if you haven't performed this check yet, you should not report it on the forum thread of that mod. Quote Link to comment Share on other sites More sharing options...
mechanicH Posted July 24, 2017 Share Posted July 24, 2017 (edited) @HebaruSan Hi , i just discovered this mod and installed it, and it seems to be working proper, but i had a question about how the PTanks are supposed to auto scale themselves. Now it scales just fine in diameter, but does nothing in length. i have tried different combinations of engines and heavier components and played with the TWR , but it has no effect on the length of the tank. Any idea what im doing wrong. edit: forgot to mention, i do have configurable containers mod, is that a problem with this mod? Edited July 24, 2017 by mechanicH Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 25, 2017 Author Share Posted July 25, 2017 (edited) 3 hours ago, mechanicH said: @HebaruSanedit: forgot to mention, i do have configurable containers mod, is that a problem with this mod? Configurable Containers is reported by @Starwaster to be incompatible with Procedural Parts; it removes one of the needed PartModules. Given that, I would not expect it to work with SmartTank (which is essentially an automation layer on top of Procedural Parts). https://github.com/allista/ConfigurableContainers/issues/10 Edited July 25, 2017 by HebaruSan Quote Link to comment Share on other sites More sharing options...
mechanicH Posted July 25, 2017 Share Posted July 25, 2017 (edited) 1 hour ago, HebaruSan said: incompatible with Procedural Parts is there a way to fix this or make it compatible? because i would really love to take advantage of this mod and the opportunities it presents. Edited July 25, 2017 by mechanicH Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted July 25, 2017 Author Share Posted July 25, 2017 6 minutes ago, mechanicH said: is there a way to fix this or make it compatible? because i would really love to take advantage of this mod and the opportunities it presents. You could try deleting GameData/ConfigurableContainers/Parts/ProceduralParts.cfg to turn off the change that corrupts PP's tanks, or you could uninstall ConfigurableContainers. Beyond that, it's out of my hands; CC is messing with another mod's run-time data structures, which is as inadvisable as it is surprising. Quote Link to comment Share on other sites More sharing options...
mechanicH Posted July 25, 2017 Share Posted July 25, 2017 1 minute ago, HebaruSan said: You could try deleting GameData/ConfigurableContainers/Parts/ProceduralParts.cfg I will try that , i just hope that does not break the dependencies to my other mods such as SSTU. Thanks for the help and the info, , BTW i am very much enjoying Astrogator mod, thank you for your hard work on these very nice mods. Cheers Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted August 16, 2017 Author Share Posted August 16, 2017 SmartTank v0.1.1 is released. Spanish translation thanks to Fitiales Reduce CPU usage (previously ran the vessel simulator every tick, now only when the vessel changes) https://github.com/HebaruSan/SmartTank/releases/tag/v0.1.1 Quote Link to comment Share on other sites More sharing options...
Mipe Posted August 22, 2017 Share Posted August 22, 2017 Hope you don't mind me reporting this here. [ERR 18:07:27.118] ADDON BINDER: Cannot resolve assembly: TestFlightCore, Culture=neutral, PublicKeyToken=null [ERR 18:07:27.118] ADDON BINDER: Cannot resolve assembly: TestFlightCore, Culture=neutral, PublicKeyToken=null [ERR 18:07:27.140] Module SmartTankPart threw during OnStart: System.NullReferenceException: Object reference not set to an instance of an object at SmartTank.SmartTank.gravAccel (.CelestialBody b) [0x00000] in <filename unknown>:0 at SmartTank.SmartTankPart.bodyChanged (.BaseField field, System.Object o) [0x00000] in <filename unknown>:0 at SmartTank.SmartTankPart.OnStart (StartState state) [0x00000] in <filename unknown>:0 at Part.ModulesOnStart () [0x00000] in <filename unknown>:0 I get this whenever I add a procedural tank to a ship in my Galileo Planet Packs game. Unsurprisingly, the Smart Tank functionality is quite limited, only resizing the tank to match diameter. Seems that it fails to get a body to get TWR for. Quote Link to comment Share on other sites More sharing options...
HebaruSan Posted August 22, 2017 Author Share Posted August 22, 2017 2 hours ago, Mipe said: Hope you don't mind me reporting this here. Not at all, please do, and thanks! 2 hours ago, Mipe said: I get this whenever I add a procedural tank to a ship in my Galileo Planet Packs game. Unsurprisingly, the Smart Tank functionality is quite limited, only resizing the tank to match diameter. Seems that it fails to get a body to get TWR for. Aha, that stack trace suggests that any mod that deletes Kerbin will have trouble. I'll look for a reliable way to get the current home world at startup. In the meantime, you might be able to work around this by opening the settings window and picking Gael manually. 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.