New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
team_maxAirstrikes/team_maxArtillery does not work correctly #2493
Comments
Streamable link, should be available 90 days I think: https://streamable.com/ts368r |
In scenarios where
Given this, setting the limit to 2 will always allow initially 3 airstrikes to be called, because as soon as the first airstrike is called, the counter is already decremented by one frametime, so the check for Looking at the clip, the airstrikes are called roughly at the following timestamps:
Give or take few seconds of error since I'm judging just from the video without actually seeing the exact times where airstrikes are thrown, there's nothing wrong with this clip and it's working as expected.
Whether or not the method for limiting makes sense is another question, but the current limitation method works as expected. |
So setting it to 1 would allow 2 per minute... Not very intuitive, but at least I figured out why it was way more spammy on the server since we migrated to legacy. |
FWIW ETPro seems to limit air support in similar way, there's not explicit cvars for it but the limiting seems to work the same way. |
On ETPro there is just g_heavyWeaponRestriction, which in itself worked better. Having it the same value on legacy didn't work, there was still more HW spam, that's why I enabled team_maxAirstrikes. |
Yeah the math works out a bit different, legacy has separated airstrike/artillery limits as separate limits, whereas etmain (and probably etpro) use the same limit for both. |
Since we have a cvar for both of them we should also probably have a "combined" one, meaning that we might allow 2 artilleries and 2 airstrikes, but also limit the spam to 3 of either per minute in total. |
Yeah, something like |
https://www.mediafire.com/file/e82puftaupztlp6/szkqm5.mp4/file
team_maxAirstrikes "2" should allow 2 airstrikes per minute, as per the video it happened 4 times per minute.
The text was updated successfully, but these errors were encountered: