Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Gun Range Effectiveness formula?

Asked by
Mineloxer 187
6 years ago

I have a gun that I want to add range effectiveness to. Basically, the longer the distance to the target(measured in studs) the lower the damage. I am not the best at math, so I need someone to help me out here.

The variables I am working with is Rangeand Raw Damage. Feel free to suggest/add other variables to make this a bit easier and understandable. I can provide you more information if you need. Thanks.

0
The easiest way would be Raw Damage-Range or then dampen it such as Raw Damage-Range/3 for example lukeb50 631 — 6y
0
You would use the magnitude which is the distance between the two points User#5423 17 — 6y
0
I see, thanks. Mineloxer 187 — 6y

Answer this question