Specialist said:MadocComadrin said:Actually, they may reduce damage at longer distances. It depends if projectile speed is reduced from simulated air-resistance (I'm assuming yes because there's an item flag called itp_ignore_friction).Specialist said:Not that I know of. A crossbow bolt at 5 feet does the same damage as a bolt from 500 feet, sadly. You would probably need to make your own MT trigger and your own very long script to calculate distances, then reduce the damage delivered accordingly (or add HP back to the player)
I tested it myself just now... it does make more friction between the targets, but they always do the same damage. I set my player HP at 20, and then equipped an enemy troop with a crossbow fit to to 19 damage ranged, plus a bolt damage of +1 (for a total of 20 HP loss), and he was firing on me from over 140 feet away, then right around all the way across the map (I used the itp_ignore_gravity command in order to allow him to do it) and I died every time
That's not a rigorous test. The first thing I'd do is set up a map with various training dummies at different distances to report damage. Then I'd crank up the friction value in module.ini to make the effect more pronounced and fire at the various dummies. Your base damage was only 20, but remember in native damage is also determined based on the near-square of the speed. (that is, speed^1.9).
Edit: just multiplied that value in module.ini by 100, and already I'm noticing a drastic effect. Bolts literally slow to a crawl when fired in an arc.
Edit 2: At any other distance other than point-blank, I'm doing 0 damage, while at point-blank, I'm doing 3. I need to scale that back a bit.