Jump to content

mod changing thermometer to celcius?


EdusacconBR

Recommended Posts

kelvin is hard to understand, and its not used on a lot of countries

...

Actually Kelvin AFAIK is used in no country as official temperature scale (in contrast to Fahrenheit, which is used in many anglo saxian countries (you sound like you mistake Kelvin with Fahrenheit actually)).

Kelvin is mainly used in science (and IMHO is much easier to understand (and convert in your mind into Celsius) than Fahrenheit).

Kelvin just uses the absolute Nullpoint as Nullpoint for its scale ... which is -273.15 °C.

So, in order to convert Kelvin into Celsius you don´t have anything more to do than take the value in Kelvin -273.15

But no, I don´t know of any mods which does this automatically

Link to comment
Share on other sites

  • 6 years later...

Hello all,

Now we can!

 

I saw this subject in 4 or 5 threads I will just reply on this one.

Actually this is a subject that is annoying me for a long time now, like doing math every second to convert temperatures and check if all is ok.

 

But I found out that this is possible to get this information, without the need of any new mod, but just using one that already exist, called: KOS

It looks like this in the bottom image,  with C and F option to allow earth wide a full happiness:

ImKOtoE.png

How its done? simple

1 - Install this two mods:

ZwuLh1S.png

 

2 - Create a file with this content at: <KSP ROOT>Ships\Script\boot\temp.ks

clearscreen.
print "Display temperature".

SET gui TO GUI(200).

LOCAL label IS gui:ADDLABEL("").
SET label:STYLE:ALIGN TO "CENTER".

gui:SHOW().
UNTIL FALSE
{
    set temp to BODY:ATM:ALTITUDETEMPERATURE(altitude).
    set label:text to "Outside-Temp: "+ ROUND (temp-273.15, 1)+" C".
    //set label:text to "Outside-Temp: "+ ROUND ((temp-273.15)*9/5+32, 1)+" F".
    //set label:text to "Outside-Temp: "+ ROUND (temp-273.15, 1)+" C  Outside-Temp: "+ ROUND ((temp-273.15)*9/5+32, 1)+" F".
    WAIT (1).
}
gui:HIDE().

Made by: pmborg

 

3- At VAB in your command module part: select boot file: temp.ks

tkkcu3p.png

And that's it...

Enjoy!

Edited by pmborg
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...