Pixel loss needs to be changed for 'normal' difficulty.

Discussion in 'Other' started by Matchew, May 10, 2014.

  1. Matchew

    Matchew Subatomic Cosmonaut

    This is getting ridiculous! I don't mean to put anyone on defense, but 40% is just too much to lose on the 'Normal' difficulty setting. I would say that it shouldn't be any more than 10%, if that.

    Not to be entirely self-referential, but I wanna play casually, and not get frustrated. I go to school full-time, and I work in the evening. Some times, I neglect school and home responsibilities to get more time on Starbound, but he few hours per week I do have to play the game, I don't want to spend recouping money I lost.

    I had around 5,000 pixels in the Beta Sector, which I admit isn't much, but died twice in the course of an hour-and-a-half, and now I only have 2,000 and some change.

    The math is simple: If you lose 40% of your pixels per death, after dying twice, you only have 36% of your initial amount. You lose 64% of your initial amount when only dying twice. That is bonkers, and nigh unforgivable. I'm considering walking away from the game.

    P.S., I started an alt to get test the calculations and it gets worse at lower amounts. I don't know if there's a more complicated formula involved or not, but if the game merely takes away 40%, the computer is rounding down--Death at 10 pixels takes away 4. So far, so good; Death at 6 pixels, should leave you with an exact number of 3.6, but you can't do that, so you'd think you'd wind up with 4. You don't, you wind up with 3. Surely, you'd think that the remaining 60% of 3 pixels--that is, 1.8--would round up to 2. It doesn't! It rounds down to 1.
     
    Last edited: May 10, 2014
  2. extremist

    extremist Existential Complex

    I do strongly believe you can mod that out, I think it's okay because it has at least some challenge.
    Ask some modder or on the modding forum, I'm sure someone will help you with that.
     
  3. Archer

    Archer Spaceman Spiff

    It actually seems to be 30% according to the default config:
    Code:
      "reviveCost" : {
        "absolute" : 1,
        "percentile" : 30.0
      },
    From what I tested and found, it seems to always subtract x pixels (number behind "absolute") + y% (number behind "percentile") of your previous amount of pixels, and then rounds the number down.

    I adjusted the "percentile" value to 10.0 instead of 30.0. I had about 145 pixels and then I died, when I respawned I had 129 pixels.

    145 - 0.1*145 =
    145 - 14.5 = 130.5
    Now minus the one it gives 129.5, round it down and you indeed get 129.

    Second test - After dying I was left with 115 pixels (initially my amount of pixels was 129).
    129 - 12.9 = 116.1
    Minus one it gives 115.1, round it down and you get 115.

    So that's how it works (not sure why the word "percentile" is being used in the config, it's wrong and misleading here, should be "percentage").


    This opens quite some room for possibilities though... I can for instance remove the percentage based penalty and instead make it an absolute value... Although I think percentage is more logical because it scales up as you progress (and makes you more careful when carrying more pixels).

    I can quickly whip up a mod that makes it 10% instead of 30% (in fact I have done that already) and I'll make remove that 1 extra as well to prevent confusion.

    Will upload in a moment because I couldn't find it anywhere else in the resource section after some searching...



    EDIT: here you go http://community.playstarbound.com/index.php?resources/reduced-respawn-cost.2072/

    Also included instructions to tailor it to your own need.
     
    Last edited: May 11, 2014
  4. Matchew

    Matchew Subatomic Cosmonaut

    Thanks. I only wish I didn't have to be the one to do it. It feels like cheating, ya know?
     
  5. MysticMalevolence

    MysticMalevolence Oxygen Tank

    It's 30%; you only lose 40% if you compress pixels then refine them.
     

Share This Page