SMILIE Posted September 4, 2014 Share Posted September 4, 2014 (edited) I wanted to see all the resources on the vessel I was building (so I can see for example if I have enough battery power) but there didn't exist anything simple like this so I tried making it myself.Resource Overview for VAB/SPHIt's a simple plugin which shows you following things in the VAB/SPH:Total/Dry MassCrew CapacityPart CountAll Resources on the vessel an their max amountIt is integrated with blizzy's toolbar as well with the stock app launcher.Total/dry mass, crew capacity and part count can be toggled on/off in the settings window. Toolbar and stock app launcher can also be enabled/disabled via the settings window.ImagesJavascript is disabled. View full albumDownloadKerbalStuffGitHubCurrent version: 1.2.0.0Changelog1.2.0.0fixed for 0.90started TWR but only works for a single stagefixed ZIP folder structure --> there should only be a ResourceOverview folder in your GameData folder, without any version number!1.0.1.1Made the texture loading for the Toolbar more failsave.1.0.1.0Recompiled for 0.25fixed spelling errorFAQI removed it from the toolbar AND app launcher, what should I do?Go to GameData/ResourceOverview/PluginData/ResourceOverview/ and open config.xmlChange the following lines from:<bool name="showToolbar">0</bool><bool name="showAppLauncher">0</bool>to<bool name="showToolbar">1</bool><bool name="showAppLauncher">1</bool>TODOShow fancy bars (like the resource panel in flight) ?!Please add feature whishes/bugs to https://github.com/phwoelfel/ResourceOverview/issuesLicensed under CC-BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0/Source Code: https://github.com/phwoelfel/ResourceOverviewThanks to the developers of Mechjeb2, RCS Build Aid, InfernalRobotics, AGExt and especially TriggerAU for his tutorial "An Adventure in Plugin Coding"! This code helped me a lot! Edited December 16, 2014 by SMILIE Link to comment Share on other sites More sharing options...
Justin Kerbice Posted October 3, 2014 Share Posted October 3, 2014 Nice plug-in ! I have a similar idea not so long ago while creating a supply ship (which is a pain without having such display of resources in VAB/SPH).One possible feature (which make it a kind of MJ) is resources amount target => suggest parts to get it.ie: I want to carry 4000 unit of Xenon gas, I enter 4000 and resource: Xe, after some time (get all parts which can contains Xe), it gives a list:radial Xe tank: 10Xe tank: 6 (+200 extra units)...It may be an extra module or even another plug-in.(but it may be very complicated in fact, with common resources and lot's of mods installed + parts filter like PartCaralog or SPO: take hidden part in account or not). Link to comment Share on other sites More sharing options...
SMILIE Posted October 4, 2014 Author Share Posted October 4, 2014 Thanks!Yeah this might be an idea for another plugin. I will look into it if I got time Link to comment Share on other sites More sharing options...
Justin Kerbice Posted October 5, 2014 Share Posted October 5, 2014 You're welcome.I didn't catch a spelling issue until looking closer at screenshots:in SettingsWindow.cs, line 46:showPartCount = GUILayout.Toggle(showPartCount, "Show Part Couht"); Link to comment Share on other sites More sharing options...
SMILIE Posted October 5, 2014 Author Share Posted October 5, 2014 Ooops thanks! Link to comment Share on other sites More sharing options...
SMILIE Posted October 7, 2014 Author Share Posted October 7, 2014 Recompiled for 0.25 and fixed the spelling error Link to comment Share on other sites More sharing options...
CjStaal Posted October 8, 2014 Share Posted October 8, 2014 Resource Overview v1.0.1.0 is NOT compatible. While launching a ship and clicking escape, pressing space center does not work. After clicking revert to, launch and VAB buttons do not work either. Link to comment Share on other sites More sharing options...
SMILIE Posted October 8, 2014 Author Share Posted October 8, 2014 Can you show me an error that indicates that my plugin is the cause? (or maybe post your output_log.txt) Link to comment Share on other sites More sharing options...
Punple Posted October 12, 2014 Share Posted October 12, 2014 I too, have narrowed that exact error to this mod. I have an assortment of mods but this kept happening every time this mod is present. I ain't no modder so I can't of course say if this ain't an incompatibility of this mod with another mod, but here goes my attempt at debugging.Method of testing: Remove mods, start a new career game. 32bit KSP. Straight to VAB, take the Command Pod Mk1 and straight to the launch pad. Step out with Jeb, walk a few feet, take surface sample and EVA report, walk back to the pod and board. Then attempt to return to the VAB or Space Center via the buttons above the altimeter.Error: When attempting to Retrieve Vessel or return to space center through the buttons above the altimeter the resource overview and IVA/EVA pictures and buttons vanish. I am not returned to the VAB nor the Space Center and can't do so even through the ESC-menu at this point. Buttons do click but don't do anything, game doesn't freeze or crash. Only way out of it is ALT+F4. ALT+F12 debug window reports an [Exception]:Nullreference.Output_log.txt from a fresh install of 32bit KSP with only Resource Overview installed:https://www.dropbox.com/s/4ubaksuxkg6qfeb/output_log.txt?dl=0Hope this helps. Link to comment Share on other sites More sharing options...
SMILIE Posted October 12, 2014 Author Share Posted October 12, 2014 Yeah thanks, this really helps! I already have an idea what the problem is and will try to fix it ASAP Link to comment Share on other sites More sharing options...
SMILIE Posted October 12, 2014 Author Share Posted October 12, 2014 Updated to version 1.0.1.1.Could it be that you moved it to another folder than ResourceOverview? It seemed that it failed to load the icon for it.The new version should now check the path and use the right one (at least for the App Launcher button) and does some exception handling. Link to comment Share on other sites More sharing options...
Punple Posted October 12, 2014 Share Posted October 12, 2014 A quick test later, it would seem it is fixed! Jeb got back to VAB allright. I'll see if it resurfaces. Link to comment Share on other sites More sharing options...
endl Posted October 20, 2014 Share Posted October 20, 2014 would it be possible to add TWR to the info panel? Link to comment Share on other sites More sharing options...
SMILIE Posted November 5, 2014 Author Share Posted November 5, 2014 would it be possible to add TWR to the info panel?Sorry I didn't have time to do something for the mod!I will look into this Link to comment Share on other sites More sharing options...
MisterFister Posted December 1, 2014 Share Posted December 1, 2014 Is this mod supposed to install to the GameData directory with a foldername that includes the version number? Many mods I've run across have the folder structure hard-coded, and often they require the folder structure to be consistent across versions. Link to comment Share on other sites More sharing options...
SMILIE Posted December 1, 2014 Author Share Posted December 1, 2014 It shouldn't do this, I might have something messed up with the packing script. Link to comment Share on other sites More sharing options...
MisterFister Posted December 1, 2014 Share Posted December 1, 2014 Should I manually rename the folder to eliminate the version number? Will it work as is? Link to comment Share on other sites More sharing options...
SMILIE Posted December 1, 2014 Author Share Posted December 1, 2014 Yes you should rename it or else it might not be able to find some icons!Maybe I can do the TWR thing today and publish a new version. Link to comment Share on other sites More sharing options...
SMILIE Posted December 16, 2014 Author Share Posted December 16, 2014 (edited) Just updated it to work with 0.90!I also started on the TWR thing but currently it only works with a single stage! I'll have to work some more on it to work properly but I don't have much time right now so it might take until after christmas before I can fix it.Also I can't select 0.90 as compatible version on KerbalStuff yet so please download it from Github until I can upload it there! Now on KerbalStuff too!1.2.0.0fixed for 0.90started TWR but only works for a single stagefixed ZIP folder structure --> there should only be a ResourceOverview folder in your GameData folder, without any version number!DownloadKerbalStuffGitHubCurrent version: 1.2.0.0 Edited December 16, 2014 by SMILIE Link to comment Share on other sites More sharing options...
endl Posted April 28, 2015 Share Posted April 28, 2015 how is 1.0 coming, i know your a busy guy but did you fix TWR staging? Link to comment Share on other sites More sharing options...
Felbourn Posted December 30, 2016 Share Posted December 30, 2016 I'm using version 1.2.1 of KSP and really wanted this mod because I am using USI (MKS and LS) and therefore there are lots of resources in most of the ships. I need to see my totals! So I forked the source and recompiled it for 1.2.1 here: https://github.com/Felbourn/ResourceOverview/releases/tag/version_1.2.1.0 I have only tested on my own computer. No promises. Also, since it's just a recompile, any previous bugs or unfinished features are still going to be there (or not there). Link to comment Share on other sites More sharing options...
zer0Kerbal Posted April 25, 2022 Share Posted April 25, 2022 On 12/29/2016 at 9:29 PM, Felbourn said: I'm using version 1.2.1 of KSP and really wanted this mod because I am using USI (MKS and LS) and therefore there are lots of resources in most of the ships. I need to see my totals! So I forked the source and recompiled it for 1.2.1 here: https://github.com/Felbourn/ResourceOverview/releases/tag/version_1.2.1.0 I have only tested on my own computer. No promises. Also, since it's just a recompile, any previous bugs or unfinished features are still going to be there (or not there). I've been looking for this! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now