Jump to content

[1.12.x] Margo's Resource Monitors


Recommended Posts

HOW... DID... THIS... HAPPEN??? Gene Kerman fumed... "We were so close to comet Linux-GG... SO CLOSE... The whole planet tuned in and watching, and... and the batteries died???"

"It was not our fault!!!" Bob Kerman complained. "The Probe turned sideways, and the solar panels weren't aligned properly."

"Oh... so you're saying it's the Engineering team again?" Bill Kerman shot back. "Typical..."

"Oh, would you two just stop!" Val shouted. "Haven't we had enough without you starting again?"

For several minutes the bickering went on, until a somewhat meek voice spoke up from the back of the conference room.

"Sir... Ma'am, please... if I may???" young Margo Kerman interjected. "Perhaps... perhaps... if we had some sort of automated resource monitor?"

"A... what?" Gene started to ask, but was cut off by Dr von Kerman, who had stayed mostly out of it until now.

"Yeees... yeees..." von Kerman nodded. "A device to automatically monitor the resources, and give us a warning if something is amiss... yeees... this could work"

Gene looked over at young Margo and smiled. She had only been on the staff a few days, and already she was making a good impression.

"OK, Margo... you have ten days before our next scheduled launch." Gene nodded. "Make it so."

=====

After having too many vessels run out of resources during timewarp and other nonsense, I wrote this mod to monitor the resources on my vessels

This mod will allow you to set monitors on any resource in any/all vessels in the game.  An alarm will sound if the level is passed, any time warping will be safely stopped and you will be transported to the vessel in question.

Optionally this will interface with the Haystack Continued mod, if it is installed.

The following windows are used to set up and configure the alerts.

Resource Monitor

    There are two variants of this window, the Common Resource Monitors, used on the SpaceCenter screen, and the Vessel Resource Monitors, used in the Flight scene.

  •     The Common Resource Monitors are a set of monitors that you can set up, to either be applied automatically to all new vessels, or applied manually when first setting up a vessel which doesn't have any monitors set up.
  • u3rlN4g.png

 

  •     The Vessel Resource Monitors window is used to configure monitors for the currently active vessel.
  • rodwIBT.png

    The only difference between these windows is in the top part.  

Clicking on a resource button will bring up a window similar to this (it changes depending on the available resources)

ILhPcgJ.png

Clicking on the Alarm button will bring up the following:

LyvXrSS.png

    The Vessel Resource Monitor can interface with the Haystack mod, to allow you to find a vessel and then to get a vessel from Haystack.

    
Both windows have a toggle to only allow common resources for new monitors.  Common resources are defined in a config file, and can be modified by a player at any time, and the changes will be available the next time the game starts.  The file is called Defaults.cfg, and stores two different types of information.

The first is the list of common resources, the default common resources are:

  • ElectricCharge
  • LiquidFuel
  • Oxidizer
  • MonoPropellant
  • XenonGas
  • Ore

The second is a set of default monitors.  These monitor definitions are normally only used the first time a game is loaded, after a game is loaded those definitions are ignored.  However, there is an option on the Settings page to reload them.

Monitors will only work on vessels that have a ModuleCommand (ie: probe cores, manned, etc);

Settings

There are a number of self-explanatory settings in the stock settings page:

WXf1VmT.png

 

Note:  This does NOT work on unloaded vessels

Dependencies

Reviewed by Kottabos Games

 

Availability

Now available via CKAN

 

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 1 month later...
9 minutes ago, Daniel Prates said:

Ah, too bad. In my dreams, DI would be (more)perfect if maldunctions were managed on their own pannel. The sound+color system is good but not perfect, for deeply buried parts for instance. 

In any case, thanks for yet another useful mod!

 Now, you don't want it too easy, do you?

Link to comment
Share on other sites

  • 3 weeks later...

Odd... GUI allows only to change alarm sound for Ore? Editing the cfg works fine.

And pardon my ignorance, but how exactly is the Haystack integration supposed to work? Any RTFM?

As per my understanding, the Common Resource Monitor acts as template? I'd suggest to add a "disabled" setting here, with the idea that I can add all the common monitors to any vessel, but as per my needs, only have have selected monitors active. This way I don't have to delete some default monitors, only to have to add them including specific settings/margins if required on a per vessel base with tedious adjustments (50 absolute, or 10%, or whatever value), but simply enable this or that monitor as predefined.

Edited by VoidSquid
Link to comment
Share on other sites

  • 1 year later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...