• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] Calculate accuracy of individual shotgun shots
#1
Very simple library based on damage measurement, all it does is calculate how many pellets of a shotgun shot hit the player, and returns the amount of pellets that hit or the percentage, depending on parameters. Might be useful for accuracy measurements, and maybe you can implement some interesting tools if coupled with distance measurement and logging..

Consists of only two functions, one for Normal or Sawnoff shotgun and one for Combat shotgun. The functions should be called from within your OnPlayerGiveDamage, if the correct weaponid hits.

Configuration

None required.

Installation

Just #include the file into your script.

Download
  Reply


Messages In This Thread
Calculate accuracy of individual shotgun shots - by Markski - 2019-04-17, 02:05 PM

Forum Jump: