Open SoulBlast35 opened 3 years ago
I think that's a limitation coded in specifically for the Flamethrower. Not sure if there's an elegant way to modify that without allowing afterburn in its entirety to last longer than 10 seconds (or adding an independent afterburn-tracking system), but I haven't taken a deep look at post-JI disassembly to see if they added support for that.
Definitely a valid issue though.
For what it's worth, the afterburn duration clamping is only set during CTFPlayerShared::Burn()
(as opposed to recalculated on every game tick), and tf2utils just got TF2Util_SetPlayerBurnDuration()
, which can bypass the clamping. In general, unclamped durations are possible.
Remaining issues then are:
Sounds good to me. Also, "bikeshedding"? Never heard that euphemism before.
The fix for this attribute works perfectly fine, even with the MvM Populator, but no matter what value you set it, it will not allow more than 10 seconds of afterburn. "afterburn duration bonus" and "weapon burn time increased" also do not allow the afterburn duration to exceed 10 seconds.