Author Topic: [Solved] How is a thrown knife's damage & speed calculated?  (Read 3097 times)

0 Members and 1 Guest are viewing this topic.

Offline STM1993

  • Rainbow Warrior
  • *****
  • Posts: 2072
  • It's been a long time.
[Solved] How is a thrown knife's damage & speed calculated?
« on: September 25, 2012, 09:00:25 am »
I noticed it wouldn't be right for the normal damage formula of dmg*spd to work with knife, otherwise it would always 1-hit kill no matter the speed or hitbox. I also noticed that the knife speed doesn't really tally with a gun's bullet speed.

As far as I know,
* Stab damage is the exact damage stated in the damage setting.
* Fully charged throw has x2 speedof the stated knife speed.

I also found that:
* Dmg 150,000, speed 134. In this exact setting, uncharged knife thrown point-blank(same spot as target) at torso is a 1-hit kill. Anything less doesn't kill.
* Halved damage to 75,000. Speed needs to be 267 to kill.
* Damage 100,000. Speed 200 is just enough to kill. Anything less for dmg/spd won't work.
* In the above 3 points, the total damage is always at least 2,000,000 for the knife to kill.

So how exactly is a thrown knife's damage and speed calculated?


FINAL EDIT:
Finally got the correct numbers. Problem solved.

Knife stab = Dmg
Knife throw = Dmg*Spd (same as bullet)
Uncharged spd = 3/4 of weapons.ini speed
Fully charged spd = 3/2 of weapons.ini speed
« Last Edit: September 28, 2012, 10:52:17 am by STM1993 »

13th_account

  • Guest
Re: How is a thrown knife's damage & speed calculated?
« Reply #1 on: September 25, 2012, 09:30:48 am »
It could be extrapolated using the damage formula from http://wiki.soldat.nl/Health and how you sleuthed out that the speed was halved for uncharged throws.

150,000 / (134 / 2) * X = 150,000
150,000 / (267 / 2) * X = 75,000
150,000 / (200 / 2) * X = 100,000

Seems 66.667 fits nicely as X. So maybe the knife's stab damage is just divided by 66.667 when it's thrown.

Offline STM1993

  • Rainbow Warrior
  • *****
  • Posts: 2072
  • It's been a long time.
Re: How is a thrown knife's damage & speed calculated?
« Reply #2 on: September 28, 2012, 10:45:52 am »
Okay. I finally got the correct numbers.

Uncharged throw is 3/4 of the weapons.ini speed.
A fully charged throw is double, so that's 3/2 of the weapons.ini speed.

That explains everything.