Jump to content

[1.10.0] NanoGauges - tiny ana1og gauges for kerbalnauts -1.10.0-3463


Nereid

Recommended Posts

This is an awesome possum mod.  I thank you for taking the time to make it.  Could you add a suicide burn gauge styled like the terminal velocity gauge?  You would ride the zero down instead of up.  I like Engineering Redux  read out.  I tend to lose track of it unlike the gauges.

 

Thanks for considering it.

Link to comment
Share on other sites

  On 5/6/2016 at 9:31 AM, Nereid said:

Thisa may be a bug. You can turn  it off by holding down the hotkey (RIGHT-CTRL) and clicking the red X. But you cannot turn it on again then if the buttonb in the config is missing. I will check this.

Confirmed. Fixed in the next release (hopefully tomorrow).

This should not be very difficult in general. But a generic approch is not that easy. I can test RF myself and see how many in there. If there are to many, I need a list of the important ones.

Expand  

Let me know. I am more than willing to provide a list of the resource names used by RF. And thank you :)

Link to comment
Share on other sites

Hello, excellent mod but I can't find a way to save the gauges positions, which is a bit annoying.

Of course, I tried the "Save" button in the NanoGauges menu and then exited it by clicking "Close", but when I exit and restart KSP, all the modes are back to default settings.

I'm using 1.2 x64. I also made sure that the files were not "read-only", just in case. I however do have a 8ko "Nanogauges.dat" file in KSP/Gamedata folder, so I'd say that the info is saved but not loaded.

Thanks for any hints ! :wink:

Link to comment
Share on other sites

  On 5/10/2016 at 10:28 PM, N_Molson said:

Hello, excellent mod but I can't find a way to save the gauges positions, which is a bit annoying.

Of course, I tried the "Save" button in the NanoGauges menu and then exited it by clicking "Close", but when I exit and restart KSP, all the modes are back to default settings.

I'm using 1.2 x64. I also made sure that the files were not "read-only", just in case. I however do have a 8ko "Nanogauges.dat" file in KSP/Gamedata folder, so I'd say that the info is saved but not loaded.

Thanks for any hints ! :wink:

Expand  

Confirmed. Custom gauge positions are not working. I spend time arranging them only to restart the game and SET 1 2 and 3 along with other layouts like Standard, Launch, Orbit etc. that were edited, are defaulted when the game restarts. I deleted nanogauges.dat and re-installed the Ng Mod. ran ksp.exe as admin, Moved a few gauges and copied/pasted into Set(s) one two and three, restarted. no luck still default.

Link to comment
Share on other sites

Well it seems that the addon thinks he is doing everything right :

  Reveal hidden contents

But obviously something goes wrong...

Edited by N_Molson
Link to comment
Share on other sites

  On 5/12/2016 at 7:05 PM, N_Molson said:

Well it seems that the addon thinks he is doing everything right :

Expand  

[...]

  Quote

But obviously something goes wrong...

Expand  

This looks quite normal to me. So what do you think is going wrong?

If there is an issue with the gauge positions, then its because the fix for the gauge size has introduced this. I'm currently checking this. The sizes of 120%, 150%, etc was added later on and didn't fit well into the old concept. EDIT: I'm not sure about this anymore...

Without a QA its a little bit difficult to do regression tests with every release. Developers tend to test changed funtionality only. This is why such tests are done by other people. :wink: And even then often weird things happen...

Until this is fixed, use the previous version of NG. I will revoke the current one from spacedock and try to fix this tomorrow. But this is not an easy one.

Its late; hopefully there are not to many typos. :wink:

Edited by Nereid
Link to comment
Share on other sites

  On 5/12/2016 at 3:10 PM, CobaltMongoose said:

Confirmed. Custom gauge positions are not working. I spend time arranging them only to restart the game and SET 1 2 and 3 along with other layouts like Standard, Launch, Orbit etc. that were edited, are defaulted when the game restarts. I deleted nanogauges.dat and re-installed the Ng Mod. ran ksp.exe as admin, Moved a few gauges and copied/pasted into Set(s) one two and three, restarted. no luck still default.

Expand  

I'm currently investigating this. Maybe I have introduced this with the new layout options, maybe later on. Its a high priority issue and should be fixed in one or two days. I will do my best to fix this until late friday evening (CEST).

 

EDIT:

??? Why is there a             

 configuration.ResetAllWindowPositions(gauges);

following the settings (and window positions) load?

Ok, this was causing this. I will upload a hotfix for this...

Edited by Nereid
Link to comment
Share on other sites

It should (!) be fixed in: 1.1.13-2311.

 

Please let me know if there are still issues.

  On 5/12/2016 at 10:48 PM, N_Molson said:

Thank you very much. Tell me if more info can help, I can set the Log on "TRACE" and post it again if you want.

Expand  

Please try 1.1.13-2311.

It's 01:00 AM now. I will go to sleep now. Well... literally "nightly fix" and "nightly build" :wink: 

Link to comment
Share on other sites

  On 5/10/2016 at 10:28 PM, N_Molson said:
  On 5/12/2016 at 10:50 PM, Nereid said:

It should (!) be fixed in: 1.1.13-2311.

 

Please let me know if there are still issues.

Please try 1.1.13-2311.

It's 01:00 AM now. I will go to sleep now. Well... literally "nightly fix" and "nightly build" :wink: 

Expand  

You sir are a wizard!  Nice work once again!

Expand  
Link to comment
Share on other sites

  On 5/12/2016 at 11:43 PM, N_Molson said:

1:41AM here :P

But good news, as it seems we have a winner ! Nice work ! :cool:

Expand  

Not really. 

Because unfortunately this hotfix has still an issue and there was a purpose for the call of

ResetAllWindowPositions

If you start NG for the very first time or if you delete the Nanogauges.dat, all gauges are stacked on the top left position. If this is the case, just reset the positions in the config window.  (fixed)

At the end this was caused by the gauge size option, because this was added later on and only works if the gauge scale value was set before they are created. 
Just before KSP 1.1 I was adding a new layout feature for a more convenient standard positions. But this layout needs the gauges to be created first. 

And now there is a chicken egg problem:

1. load config first to get the gauge scaling working
2. create the gauges first to adjust the default positions

The last broken release had done it this way:

1. load config (and set positions)
2. create gauges
3. reset positions to default

Which obviously ignores the stored positions completely.

There is no other way as to fix the gauge scaling to be adjustable at runtime and not only at the very first start of NG. And then the order should be

1. create gauges
2. reset positions to default
3. load config (and set positions)

And such kind of bugs are the reason why developing software is an expensive task. You need quite a few people to write software and avoid such issues. Software architects that creates the basic design, a team of developers, a team leader, some people for quality assurance, some testers, a group of people for version control and release management, often a database administrator (if you are using a database), a group of system admins, sometimes specialists for certain frameworks, ...

Edited by Nereid
Link to comment
Share on other sites

  On 5/11/2016 at 1:40 AM, Minowara said:

The seismometer's gauge is fully working now, but it seems that TAC's life support gauge for solid waste is missing.

Expand  

It should be there "Waste gauge enabled (TAC life suppord required)". If not, then NG do not find the corresponding resource.

Link to comment
Share on other sites

  On 5/13/2016 at 6:25 AM, Nereid said:

If you start NG for the very first time or if you delete the Nanogauges.dat, all gauges are stacked on the top left position. If this is the case, just reset the positions in the config window. 

Expand  

I think this is fixed, too. I will upload the new release ASAP...

 

Done

Edited by Nereid
Link to comment
Share on other sites

 

  On 5/11/2016 at 1:40 AM, Minowara said:

The seismometer's gauge is fully working now, but it seems that TAC's life support gauge for solid waste is missing.

Expand  

You were right. It is fixed in 1.2.1.

 

There is a new feature in NG 1.2.1: Profiles.

After enabling profiles (in the configuration window) the gauge sets are switched automatically if the vessel enters a new situation. E.g. if a vessel establish a stable orbit the ORBIT gauge set (or some other set) is shown. If you are leaving an orbit to the suborbital situation (i.e. descending to the surface) the gauge set LAND  is automatically selected. There are three hotkeys to select a gauge set on keypress, too.

Edited by Nereid
Link to comment
Share on other sites

  On 5/9/2016 at 11:44 PM, Minowara said:

Let me know. I am more than willing to provide a list of the resource names used by RF. And thank you :)

Expand  

Well, there are many resources in RF. I can do 5 or 6 but not all. We can add some kind of generic gauges that can be assigned to a specific resource, but they will get generic names (like "G1", "G2", ...).

Anyway. I have added an indicated airspeed gauge and because I cant do all or even most resources  of RF, I will release this minor change now.

 

EDIT: I have added a list of hotkeys on the first page of this thread:

Hotkeys:

  • RIGHT-CTRL: disable gauges / drag as group
  • RIGHT-CTRL-TAB: hide/unhide gauges
  • RIGHT-CTRL-DEL: hide/unhide gauges
  • RIGHT-CTRL-BCKSPC: reset all gauge positions and their enabled/disabled states to their defaults
  • NUMLOCK: hide/unhide gauges
  • RIGHT-CTRL-1: select STANDARD gauge set
  • RIGHT-CTRL-2: select LAUNCH gauge set
  • RIGHT-CTRL-3: select LAND gauge set
  • RIGHT-CTRL-4: select DOCKING gauge set
  • RIGHT-CTRL-5: select ORBIT gauge set
  • RIGHT-CTRL-6: select FLIGHT gauge set
  • RIGHT-CTRL-7: select S1 gauge set
  • RIGHT-CTRL-8: select S2 gauge set
  • RIGHT-CTRL-9: select S3 gauge set

Changed in 1.2.5

Edited by Nereid
Link to comment
Share on other sites

  • 3 months later...

hi all i was just wondering is there any plan to update the ckan repository for this plugin or are we awaiting 1.2

 

ps just want to clarify this is not a demand and in no way feel that the author is obligated to do anything

but really love this mod and would hate to see it fade

Link to comment
Share on other sites

  • 1 month later...
  On 9/2/2016 at 5:47 PM, hawk_za said:

hi all i was just wondering is there any plan to update the ckan repository for this plugin or are we awaiting 1.2

but really love this mod and would hate to see it fade

Expand  

I can't say anything about ckan. But I have already updated it for the KSP 1.2 pre release.

But I will wait until the official release of KSP 1.2 to upload it.

Edited by Nereid
Link to comment
Share on other sites

Update:

The indicator gauge (gear, brakes, airbrakes, flaps, afterburner) is working again. And because of the hotkey conflicts with the default KSP hotkeys (especially action groups) I will make them configurable.

Edited by Nereid
Link to comment
Share on other sites

Updated to  1.3.6-2654.

Warning: if you install this update all of your previous saved NanoGauges hotkey definitions are reset to their defaults because of a change in the config file structure.

This version has two changes:

  1. It fixes the minor bug that caused the gauges to be shown at launch regardless if the gauges should be shown in flight or not.
  2. A missing hotkey is added.
  3. It splits the SUBORBITAL profile into three profiles:
    1. FLIGHT TO SUBORBITAL: changes the gauge set, if the vessel situation changes from FLIGHT to  SUBORBITAL
    2. ORBIT TO SUBORBITAL: changes the gauge set, if the vessel situation changes from ORBIT to  SUBORBITAL
    3. OTHER TO SUBORBITAL: changes the gauge set, if the vessel situation changes from any other situation to  SUBORBITAL

This makes the SUBORBITAL profile more useful:

If it is enabled and

  • you launch your vessel, it will now automatically switch to ORBIT (or whatever you choose), if the vessel situation changes to SUBORBITAL.
  • you leave an ORBIT to a descending path, it will now automatically switch to LAND (or whatever you choose)

"OTHER TO SUBORBITAL" is the default for all other situation changes (e.g. if you change the vessel)

And a note: There are new hotkeys (since 1.3.5): PGUP/PGDOWN now switches between gauge sets. If you do not like those hotkeys, change or disable them in the config.

Link to comment
Share on other sites

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...