Jump to content

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


Nereid

Recommended Posts

This mod is an awesome, and almost needed companion for 1.0. However it seems that the heat shield temp gauge is not working in 1.0. I tested this by attaching an ablator to some scaffolding below an engine on the pad, and it sits at zero even when the in game thermal readings show 1000 (insert temp unit here). Any chance of this getting updated to work with 1.0 instead of deadly reentry?

Link to comment
Share on other sites

The heat shield temp gauge was designed to work with Deadly Reentry. And because 1.0 uses the same resources it will be enabled but it may not work.

There was no time to check all gauges yet.

The implementation of the terminal velocity gauge is suspicious, too. I have changed it to get the code compiled again, but I'm still not sure if it works.

Well, I can disable suspicious gauges, because they may not work with 1.0 yet or I can take the risk and if it won't work somebody will tell meat least. I have decided to go with the second decision.

To check all addon specific gauges is on my list.


EDIT: Strange, the heat shield gauge should be enabled because KSP 1.0 and De do not share resources:

[LOG 16:33:09.753] NG: defining Deadly Reentry resources

[LOG 16:33:09.754] NG: optional resource 'AblativeShielding' not found

Ah! ok, heat shield temp, not heat shield. I will check this...

EDIT2: Ist because DE and 1.0 do not share resources, too:

foreach (PartResource r in part.Resources)

{

if (r.info!=null && Resources.ABLATIVE_SHIELDING!=null && r.info.id==Resources.ABLATIVE_SHIELDING.id)

{

EDIT3: fixed. I will just add the SHIELD gauge for stock heatshields and release then.

Edited by Nereid
Link to comment
Share on other sites

Due to popular demands I have implemented an option to resize the gauges. Well, they are not really resizable, but their size on screen can be set to 100%, 110%, 120% or 150%. You will have to restart KSP to see any effect.

HEAT gauge is working on stock heatshields now.

Some new gauges: Ablator, ORE, Drill Temperature.

Link to comment
Share on other sites

Well... KSP 1.0.2 is out now.

It's to late for me to test FF against 1.0.2 or to fix it, if it's broken. We have to wait until tomorrow...

It was way to late. This belongs to the FF thread... well..

Edited by Nereid
Link to comment
Share on other sites

Just open the configuration (button in the stock toolbar or blizzys toolbar). There is an option "Size (restart required)". You can choose 100%, 110%, 120% and 150%. Restart KSP and reset all gauge positions (if necessary, they may be drawn out of the screen otherwise).

Edited by Nereid
Link to comment
Share on other sites

New in 0.7.8-1011:

  • Biome gauge
  • Coordinates gauges

Fixed in 0.7.9-1027:

  • V ACCEL shows an acceleration on descent when the vessel is actually deccelerating

Terminal velocity seems to be not trustworthy in KSP 1.0.x. I will have to redo the calculations. The fix for 1.0.x seems not to work. Minor issue. Until fixed, please ignore this gauge.

Edited by Nereid
Link to comment
Share on other sites

@Nereid: Thank you for the prompt answer. For some reason the option did not appear on my side. I reinstalled the mod and deleted NanoGauges.dat and now everything is fine.

Also a couple of suggestions.

Why not use the proper "latitude" and "longitude" names instead of the generic "coordinates" for the new gauges?

Do you have plans to make the new text gauges conform a bit better with well the gauges theme by making then mechanical same as default KSP altimeter?

Link to comment
Share on other sites

The name of the gauges is some kind of work in progress. You can change the graphics yourself if you wish (folder Resources).

The gauges were motivated by a request of a biome gauge. But there are 57 biomes and creating a "mechanical gauge" for this is quite lot of work (and will break for every new biome). The coordinate gauges were just some kind of spin off, because it was so easy.

But I'm thinking of creating some generic implementation that will show the letters in some mechanical way. But for now I have to fix FF and the Vt gauge first.

Edited by Nereid
Link to comment
Share on other sites

Just sent you a pull request to make the Q gauge work under nuFAR, with a couple of other nuFAR updates attached. Hope it's useful.

Thank you! I was just coming to this thread to report that the Q gauge didn't work under nuFAR. :-)

Link to comment
Share on other sites

Thank you for the feedback.

The next version of NG will include an option to disable the heat markers in flight. I knew there is another mod out there that does this. But its simple and the marker are annoying. So I will include it as an option, because I need it myself.

0.7.10 has a new hotkey for a quick hide of all gauges: NUMLOCK. It's currently not configurable. Maybee I will add this as an option, too.

PS: If anybody has any idea how to get the Vt gauge to work again, please tell. SQUAD had changed some part of the API and my fix was more or less just a syntactical fix. The math seems to be broken now. :(

Edited by Nereid
Link to comment
Share on other sites

PS: If anybody has any idea how to get the Vt gauge to work again, please tell. SQUAD had changed some part of the API and my fix was more or less just a syntactical fix. The math seems to be broken now. :(

Is this just for non-FAR types? It seems to work for me. Mind you, I haven't checked the numbers are right, but they look plausible.

Link to comment
Share on other sites

Is this just for non-FAR types? It seems to work for me. Mind you, I haven't checked the numbers are right, but they look plausible.

Vt should not depend on FAR. I have tested it, and I thought it were not right. But maybe I was just wrong. I have a reference sheet for kerbin and some other celestial bodies. I will have to check this again. If it works, its pure randomness.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

First off, everything is working great for me.. over 80 mods running on a RSS/RP-0 build. Amazing job :)

However, the fuel/oxidizer/mono and consumption gauges don't work with Real Fuels (obviously). How would I modify this gauge to point to, Kerosene for example?:

"public override string GetName()

{

return "Liquid Fuel";

}

public override string GetDescription()

{

return "Remaining liquid fuel in percent.";

}"

What would be really sweet is if it could be told to look for any of the possible fuels (or oxidizers, etc.) on the craft, total them all, and return a new, actual percentage.. I love coding, I just don't have the time these days to learn a new one.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
.....

I would like to request annuator lights to signal certain conditions (f.e. gear up/down)

I was thinking about this a while ago for air brakes and flaps. Maybe I will add something like this in the near future.

If the current build of NG isn't working with 1.0.5 please tell. It works for me now, but I'm not using all of its features.

- - - Updated - - -

First off, everything is working great for me.. over 80 mods running on a RSS/RP-0 build. Amazing job :)

However, the fuel/oxidizer/mono and consumption gauges don't work with Real Fuels (obviously). How would I modify this gauge to point to, Kerosene for example?:

"public override string GetName()

{

return "Liquid Fuel";

}

public override string GetDescription()

{

return "Remaining liquid fuel in percent.";

}"

What would be really sweet is if it could be told to look for any of the possible fuels (or oxidizers, etc.) on the craft, total them all, and return a new, actual percentage.. I love coding, I just don't have the time these days to learn a new one.

I'm not using Real fuels myself. But I will see what I can do...

Link to comment
Share on other sites

I wonder if it is possible to provide a generic resource gauge, so I can just say "give me a gauge for Karbonite" and up it pops?

Possible? Yes. But worth the effort? I think no. I have written a generic class for any resource. So adding a new one is a simple task (just derive it, with new resource identificators). But the skins are handcrafted for each gauge (this may change of course). And the scales are handcrafted too (so each resource gets some nice color and the gauges look a bit different).

I will have to add RF to my development instalation of KSP. Then it should be a matter of minutes to add the resource gauges you are missing.

Link to comment
Share on other sites

Any thoughts on the new air requirement vs. intake air resource for jet engines? Is it a simple switch to a different active variable with a 0-100% range?

I don't know how multiple intakes at various angles affect things, but it would be nice to know how current AOA is affecting performance, for instance.

Cheers for the updates!

Link to comment
Share on other sites

Any thoughts on the new air requirement vs. intake air resource for jet engines? Is it a simple switch to a different active variable with a 0-100% range?

No. But interesting: Did I miss anything? What's new in the air intake/requirement part of the game?

- - - Updated - - -

I wonder if it is possible to provide a generic resource gauge, so I can just say "give me a gauge for Karbonite" and up it pops?

Ok, now I understand your point here. Real Fuels provide us with a really huge amount of resources:

[LOG 11:20:02.349] NG: loading resource CarbonDioxide of id -609904529
[LOG 11:20:02.349] NG: loading resource Chemicals of id -1607531903
[LOG 11:20:02.350] NG: loading resource Food of id 2195582
[LOG 11:20:02.350] NG: loading resource Hydrates of id -381710816
[LOG 11:20:02.351] NG: loading resource Hydrogen of id -381306240
[LOG 11:20:02.351] NG: loading resource Karbonite of id 141533173
[LOG 11:20:02.352] NG: loading resource Karborundum of id -1300151334
[LOG 11:20:02.352] NG: loading resource LqdCO2 of id -2011747961
[LOG 11:20:02.353] NG: loading resource LqdCO of id 73652235
[LOG 11:20:02.353] NG: loading resource Metals of id -1993694612
[LOG 11:20:02.353] NG: loading resource Minerals of id -1297976599
[LOG 11:20:02.354] NG: loading resource MetallicOre of id -998641629
[LOG 11:20:02.354] NG: loading resource Organics of id 1381032712
[LOG 11:20:02.355] NG: loading resource Oxygen of id -1918734912
[LOG 11:20:02.355] NG: loading resource Polymers of id 626609093
[LOG 11:20:02.356] NG: loading resource Rock of id 2552709
[LOG 11:20:02.356] NG: loading resource RocketParts of id 134918220
[LOG 11:20:02.357] NG: loading resource SpareParts of id -1383644567
[LOG 11:20:02.357] NG: loading resource Substrate of id -1760464671
[LOG 11:20:02.357] NG: loading resource Uraninite of id 1240177643
[LOG 11:20:02.358] NG: loading resource Waste of id 83350266
[LOG 11:20:02.358] NG: loading resource WasteWater of id -2035364291
[LOG 11:20:02.359] NG: loading resource Water of id 83350775
[LOG 11:20:02.359] NG: loading resource ArgonGas of id -1530578940
[LOG 11:20:02.360] NG: loading resource Boron of id 64372292
[LOG 11:20:02.360] NG: loading resource DepletedUranium of id 1846092044
[LOG 11:20:02.361] NG: loading resource EnrichedUranium of id -513340461
[LOG 11:20:02.361] NG: loading resource LqdHydrogen of id -598665505
[LOG 11:20:02.362] NG: loading resource StoredCharge of id 109903959
[LOG 11:20:02.362] NG: loading resource Actinides of id -2093771616
[LOG 11:20:02.363] NG: loading resource Aluminium of id 1704176441
[LOG 11:20:02.363] NG: loading resource Alumina of id 761549017
[LOG 11:20:02.363] NG: loading resource Antimatter of id 1074900163
[LOG 11:20:02.364] NG: loading resource ChargedParticles of id -1522907011
[LOG 11:20:02.364] NG: loading resource DepletedFuel of id -594506303
[LOG 11:20:02.365] NG: loading resource ExoticMatter of id -1840868749
[LOG 11:20:02.365] NG: loading resource Fluorine of id -2035556306
[LOG 11:20:02.366] NG: loading resource IntakeAtm of id -1909417042
[LOG 11:20:02.366] NG: loading resource KryptonGas of id -1570298652
[LOG 11:20:02.367] NG: loading resource NeonGas of id -791753469
[LOG 11:20:02.367] NG: loading resource Lithium of id 1847195216
[LOG 11:20:02.368] NG: loading resource LqdAmmonia of id -1163820007
[LOG 11:20:02.368] NG: loading resource LqdDeuterium of id -984330891
[LOG 11:20:02.369] NG: loading resource LqdHe3 of id -2011742473
[LOG 11:20:02.369] NG: loading resource LqdHelium of id 155437969
[LOG 11:20:02.370] NG: loading resource LqdTritium of id -1341523047
[LOG 11:20:02.370] NG: loading resource LqdNitrogen of id 411171321
[LOG 11:20:02.370] NG: loading resource Megajoules of id -1960769700
[LOG 11:20:02.371] NG: loading resource Plutonium-238 of id -230117135
[LOG 11:20:02.371] NG: loading resource ThF4 of id 2604610
[LOG 11:20:02.372] NG: loading resource ThermalPower of id 1839823822
[LOG 11:20:02.372] NG: loading resource UraniumNitride of id 566395322
[LOG 11:20:02.373] NG: loading resource VacuumPlasma of id -896077449
[LOG 11:20:02.373] NG: loading resource WasteHeat of id 1319372810
[LOG 11:20:02.374] NG: loading resource Aerozine50 of id -1914072318
[LOG 11:20:02.374] NG: loading resource AK20 of id 2010088
[LOG 11:20:02.374] NG: loading resource AK27 of id 2010095
[LOG 11:20:02.375] NG: loading resource Aniline of id 807695280
[LOG 11:20:02.375] NG: loading resource AvGas of id 63615556
[LOG 11:20:02.376] NG: loading resource CaveaB of id 2011350126
[LOG 11:20:02.376] NG: loading resource ClF3 of id 2102006
[LOG 11:20:02.377] NG: loading resource ClF5 of id 2102008
[LOG 11:20:02.377] NG: loading resource Diborane of id -137714984
[LOG 11:20:02.378] NG: loading resource Ethane of id 2085734847
[LOG 11:20:02.378] NG: loading resource Ethanol of id 233271235
[LOG 11:20:02.379] NG: loading resource Ethanol75 of id 835359201
[LOG 11:20:02.379] NG: loading resource Ethanol90 of id 835359258
[LOG 11:20:02.380] NG: loading resource Ethylene of id -1336430832
[LOG 11:20:02.380] NG: loading resource FLOX30 of id 2076667852
[LOG 11:20:02.381] NG: loading resource FLOX70 of id 2076667976
[LOG 11:20:02.381] NG: loading resource FLOX88 of id 2076668015
[LOG 11:20:02.382] NG: loading resource Furfuryl of id 1562908755
[LOG 11:20:02.382] NG: loading resource Helium of id -2137070734
[LOG 11:20:02.383] NG: loading resource HNIW of id 2222260
[LOG 11:20:02.383] NG: loading resource HTP of id 71876
[LOG 11:20:02.383] NG: loading resource HTPB of id 2228222
[LOG 11:20:02.384] NG: loading resource Hydrazine of id 1052049128
[LOG 11:20:02.384] NG: loading resource Hydyne of id -2118823491
[LOG 11:20:02.385] NG: loading resource IRFNA-III of id -1923366260
[LOG 11:20:02.385] NG: loading resource IRFNA-IV of id 215050602
[LOG 11:20:02.386] NG: loading resource IWFNA of id 70078603
[LOG 11:20:02.386] NG: loading resource Kerosene of id 380108096
[LOG 11:20:02.387] NG: loading resource LeadBallast of id -1513611001
[LOG 11:20:02.387] NG: loading resource LqdFluorine of id 2042051725
[LOG 11:20:02.388] NG: loading resource LqdMethane of id 673500141
[LOG 11:20:02.388] NG: loading resource LqdOxygen of id 373773791
[LOG 11:20:02.388] NG: loading resource Methane of id -1674792916
[LOG 11:20:02.389] NG: loading resource Methanol of id -378972426
[LOG 11:20:02.389] NG: loading resource MMH of id 76456
[LOG 11:20:02.390] NG: loading resource MON1 of id 2372293
[LOG 11:20:02.390] NG: loading resource MON3 of id 2372295
[LOG 11:20:02.391] NG: loading resource MON10 of id 73541131
[LOG 11:20:02.391] NG: loading resource MON15 of id 73541136
[LOG 11:20:02.391] NG: loading resource MON20 of id 73541162
[LOG 11:20:02.392] NG: loading resource MON25 of id 73541167
[LOG 11:20:02.392] NG: loading resource NGNC of id 2394414
[LOG 11:20:02.393] NG: loading resource N2F4 of id 2373970
[LOG 11:20:02.393] NG: loading resource Nitrogen of id 628530586
[LOG 11:20:02.394] NG: loading resource NitrousOxide of id 576233837
[LOG 11:20:02.394] NG: loading resource NTO of id 77641
[LOG 11:20:02.395] NG: loading resource OF2 of id 78139
[LOG 11:20:02.395] NG: loading resource PBAN of id 2448799
[LOG 11:20:02.395] NG: loading resource Pentaborane of id 1755996825
[LOG 11:20:02.396] NG: loading resource PSPC of id 2465590
[LOG 11:20:02.396] NG: loading resource Syntin of id -1803609871
[LOG 11:20:02.397] NG: loading resource TEATEB of id -1824376319
[LOG 11:20:02.397] NG: loading resource Tonka250 of id -948163612
[LOG 11:20:02.398] NG: loading resource Tonka500 of id -948160884
[LOG 11:20:02.398] NG: loading resource UDMH of id 2600042
[LOG 11:20:02.399] NG: loading resource UH25 of id 2603030
[LOG 11:20:02.399] NG: loading resource LiquidFuel of id 374119730
[LOG 11:20:02.399] NG: loading resource Oxidizer of id -1823983486
[LOG 11:20:02.400] NG: loading resource SolidFuel of id 650317537
[LOG 11:20:02.400] NG: loading resource MonoPropellant of id 2001413032
[LOG 11:20:02.401] NG: loading resource XenonGas of id 1447111193
[LOG 11:20:02.401] NG: loading resource ElectricCharge of id 1576437329
[LOG 11:20:02.402] NG: loading resource IntakeAir of id -1909417378
[LOG 11:20:02.402] NG: loading resource EVA Propellant of id -792463147

But some kind of generic approach ingame is just to much at the moment. Can you tell me what kind of resources are important?

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