ACF-Team / ACF-3

ACF
MIT License
67 stars 54 forks source link

HEAT falloff way too slow from a balance perspective [SUGGESTION] #357

Closed LengthenedGradient closed 3 months ago

LengthenedGradient commented 1 year ago

Short Description

This ties in partially with the bug I mentioned for radio fuses (https://github.com/Stooberton/ACF-3/issues/356) since you currently have to use contact fuses for antimissile guidance. In the case that you do use contact fuse / when the radio fuse sometimes fails to trigger before collision, an antimissile missile will cause an incoming atgm to believe it's impacted a prop and trigger the warhead, causing a HEAT detonation. As a result, a "HEAT" jet will continue traveling substantial distances until it impacts the tank in question (there is some drop but it is marginal), and so antimissile interceptors have even more randomness on top of the normal RNG missile damage model that makes them worse.

The issue is that, due to some experimental results, the penetration missiles like the hellfire have does not falloff until considerable distances away:

Here's a link to a graph I made of the Hellfire's penetration (https://www.desmos.com/calculator/2aoqo4ao1u). The coefficients were collected from printing them out in Lua within the get penetration call. I don't think there's any calculation errors but if you find any, do feel free to correct; it seems to match up with the penetration tests I have done.

As for fixing it, I suggest modifying the section in the else loop (after the maximum penetration) to control the falloff, https://github.com/Stooberton/ACF-3/blob/392203df7377b1ff22c8985b96dedf5ab500d7a7/lua/acf/entities/ammo_types/heat.lua#L52-L54

References (Optional)

thecraftianman commented 3 months ago

Should be closed by #386.