Jump to content

Sigma88

Members
  • Posts

    4,248
  • Joined

  • Last visited

Status Replies posted by Sigma88

  1. hello?

    1. Sigma88

      Sigma88

      Is there anybody in there?

       

       

      Just nod if you can hear me

       

       

      Is there anyone at home?

    2. (See 1 other reply to this status update)

  2. Hopefully you haven't posted your last post, but either way thank you so much for all your contributions to kerbal kind. I've learned a lot about modding and messing with the game from you that has really added a lot of fun and depth to my experience of KSP and how software works in general. It would be a shame to lose your wisdom, but if its time to go, best of luck to you.

    1. Sigma88

      Sigma88

      don't worry, I'm not stopping with the development of my mods

      I just decided to not update the threads for my mods any longer because it has become a chore that brings very little pros and it isn't worth the free-time investment

      you can keep following my mods on github / discord and I am still interested in comments from people using my mods so feel free to comment as much as you want :D

  3. On Koperincus' GetDate(), at

     

    // Current Year

    int num1 = (int)(time / Y.value);

      // Current Day
     

    int num5 = (int)(time / D.value) - (int)(Math.Round(Y.value / D.value, 0, MidpointRounding.AwayFromZero) * num1);

    based on the comment just above that code, I would have thought

    int num5 = (int)(time / D.value) - (int) Math.Round(num1 * Y.value / D.value, 0, MidpointRounding.AwayFromZero);

    so that you assume all the years before the current year have had enough leap days to sum to the number of days closest to the last change of astronomical year; then the first day after each astronomical year-change is day 1

    If D = 1000 and Y= 10'400 to have 10.4 solar days in a solar year, then

    time = 105'000   =>   num1 = 10years,  num5 = 105 - 104 = 1days

    ( instead of the current code's  num1 = 10years, num5 = 105 - 10 × 10 = 5days )

    1. Sigma88

      Sigma88

      actually, it wouldn't be

      num5 = 105 - 10 × 10 = 5days

       

      it would be

      num5 = 105 - 10 × 11 = -5days

       

      so clearly there's something wrong

      I still need to test this more, as of now the results for time 1 would be Year 0 and Day 0

       

      but it should be Year 1 and Day 1 instead

       

      I'm not sure if the +1 gets added later or what (probably yes)

    2. (See 1 other reply to this status update)

  4. On Koperincus' GetDate(), at

     

    // Current Year

    int num1 = (int)(time / Y.value);

      // Current Day
     

    int num5 = (int)(time / D.value) - (int)(Math.Round(Y.value / D.value, 0, MidpointRounding.AwayFromZero) * num1);

    based on the comment just above that code, I would have thought

    int num5 = (int)(time / D.value) - (int) Math.Round(num1 * Y.value / D.value, 0, MidpointRounding.AwayFromZero);

    so that you assume all the years before the current year have had enough leap days to sum to the number of days closest to the last change of astronomical year; then the first day after each astronomical year-change is day 1

    If D = 1000 and Y= 10'400 to have 10.4 solar days in a solar year, then

    time = 105'000   =>   num1 = 10years,  num5 = 105 - 104 = 1days

    ( instead of the current code's  num1 = 10years, num5 = 105 - 10 × 10 = 5days )

    1. Sigma88

      Sigma88

      @OHara you are probably right

      I'll try to bug test this tonight :)

    2. (See 1 other reply to this status update)

  5. To whom it may concern. @Thomas P. @Sigma88 Is it possible to remove all KSC buildings except for the launchpad and then center it?

    1. Sigma88

      Sigma88

      not using kopernicus

      you need to write a plugin

×
×
  • Create New...