Moderators: sparcdr, torhu, Tequila
(max_distance-((bullet_distance-max_distance)/degrade_constant)^2)/(max_distance/max_damage)
iap wrote:From my knowledge of guns, it's usually not the impact that is dramatically decreased with the distance, its the precision. By this I mean that the bullet just loses it's momentum and start falling. if there is a way to mimic this - it would be best. You know, you perfectly aim for the head but in the distance you hit the legs.
Sorry to tell you, but not only that you must have this condition, but you also have too add "if result < 0"...torhu wrote:Thanks, that looks interesting. Would it be possible to alter the formula so that you can remove the "if range > distance" condition and have it still work?
Sorry again, the distance calculations are the most important part of the equation.And it would be nice to have a formula with only the degrade_constant, no range.
What do you mean by that?I really expect spread to be more important than range, so maybe shouldn't put to much work into this, though.
Joe Kari wrote:Just to say that with your current formula, the damage deteriorate faster and faster, and can eventually be nullified. I'm not sure that this will be good.
Gunfight in El Paso will be... erf...
iap wrote:I didn't noticed a big difference between the pistols types, only the reloading time is different.
Joe Kari wrote:IMO, the formula should meet few things:
- the falloff should be proportional to the weapon base damage
- the damage should never fall to 0, so the falloff shouldn't be linear
This formula seems good to me:
Damage = BaseDamage * WeaponRange / ( Distance + WeaponRange )
BaseDamage: the damage of the weapon at close range (for distance=0)
Distance: the distance between the shooter and the target
WeaponRange: when Distance = WeaponRange, the target take 50% of damage.
dbozan99 wrote:Hmmm, it seems to me that we should be more involved with accuracy than damage...
Maybe we should forbid some weapon in BR mode or just start with more dollars as robbers don't attack bank in real life with pistols if it is defended by an army...Pardner wrote:If you use a cutoff, then it makes the pistols useless in Elpaso....and here is my argument..... most of the players in a BR match are using a Remington '58 and a Schofield. Using a cut off might tip gameplay in favor of the winning team even more than the money system already does.