Page 1 of 2

0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 10:50 am
by GreaseMonkey
Currently, in 0.76, a headshot from a rifle can actually do less than 100 damage. This is the only version of Ace of Spades where, assuming the server doesn't blatantly ignore your hit, a headshot from a rifle is not a guaranteed kill.

Damage is calculated by the following function:
Code: Select all
    def get_damage(self, value, position1, position2):
        falloff = 1 - ((distance_3d_vector(position1, position2)**1.5)*0.0004)
        return math.ceil(self.damage[value] * falloff)
In the case of a rifle headshot, self.damage[value] is 180, and distance_3d_vector(position1, position2) is <= 127.5.
The worst-case value for falloff is 0.42412892067755303, leaving a worst-case for headshot damage at 77.

I feel this is completely unnecessary. But we have the power to change this, and it's very easy.

All we need to do is set the headshot damage to 250, which will result in a minimum damage of 107, meaning that all headshots from the rifle are one-hit kills.

I have this set up in my fork (OK, I use 1800 damage, but you merely have to guarantee all damage is >= 100). This is the only thing from my understanding that's stopping Korakoff from wanting to touch 0.76. While I don't have a very strong opinion on this, I do feel that suddenly not guaranteeing that a righteously-earnt headshot is a 1-hit kill is stupid, and a completely unnecessary change (seeing as earlier versions of 0.76 used 200 for the headshot damage value, I feel this was a deliberate and quite frankly blasphemous nerf).

Who's with me on this one?

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 11:00 am
by Chase_UC
Hm, I remember doing some testing with the rifle at long range just to see how big the damage falloff was (it dropped down by up to 25 HP when at fog range and when shooting someone at their torso). Can't remember if the same was with headshots, but yeah, I fully support this. Not sure if this was an oversight by Ben regarding the damage values or something, but it's dumb imo.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 11:10 am
by topo
Yes. Please do this for the league (if not during this season, before the next one starts), dan.
I'm going to go do this for minit right now. Edit: done

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 1:09 pm
by Willy
yes yes yes yes

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 1:43 pm
by TheVetNoob
doubt i'll ever be able to hit a shot at that range but yesyesyes

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 3:25 pm
by Sonarpulse
Pity it doesn't actually do parabolic trajectories. Seeing that damage ≈ range with a linear trajectory is bullshit, I fully support this change.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 4:47 pm
by TheWildMuffin
Will wrote:
yes yes yes yes

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 5:30 pm
by Xtra
TheWildMuffin wrote:
Will wrote:
yes yes yes yes

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 6:24 pm
by ThisFrickinSite
I would enjoy this change.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 10:56 pm
by GreaseMonkey
16-0 in 12 hours.

StackOverflow, Sonarpulse, infogulch, Lensman: apply this patch to your repos.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sat Aug 03, 2013 11:45 pm
by KomradeKorakoff
alfkjelafjlkajlfkjklejfe rifle speed can be changed too :ooo

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sun Aug 04, 2013 1:01 am
by colorpinpoint
Nope. I tried it out and didn't like it. I'm pretty used to the rc10 settings and it just feels weird when I tried both Minit and a Private server settings.

Edit: Apparently the damage doesn't affect me but like Korakoff said, you can change the speed which really made it feel weird. I'm all for changing damage but not speed.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sun Aug 04, 2013 2:22 am
by Eraaaaz
Yes, its so annoying as the rifle spread in 0.75 ... huh will I be able to take him out 100% or will I fail because of the dropoff/spread. These little things can change an entire game. Especially in the league.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sun Aug 04, 2013 2:39 am
by TOG~ROY
Not sure if my opinion even counts but, changing the damage would be probably for the best.

Re: 0.76 proposal: Make all rifle headshots one shot kills

Posted: Sun Aug 04, 2013 2:46 am
by Lemon
hankey wrote:
Yes, its so annoying as the rifle spread in 0.75 ... huh will I be able to take him out 100% or will I fail because of the dropoff/spread. These little things can change an entire game. Especially in the league.
I have died many times due to that in the league. While it could benifitial, I suggest we shouldn't make the change till after season 2.