Juggernaut bots can alt-fire grenades#1840
Open
sunzenshen wants to merge 1 commit intoNeotokyoRebuild:masterfrom
Open
Juggernaut bots can alt-fire grenades#1840sunzenshen wants to merge 1 commit intoNeotokyoRebuild:masterfrom
sunzenshen wants to merge 1 commit intoNeotokyoRebuild:masterfrom
Conversation
Contributor
Author
bot-jgr-alt-fire-grenade.mp4 |
abd5b95 to
ce35846
Compare
DESTROYGIRL
requested changes
Mar 21, 2026
Comment on lines
+197
to
+198
| pPlayer->ViewPunchReset(); | ||
| AddViewKick(); |
Contributor
There was a problem hiding this comment.
Getting a lot of asserts from bots using the gun here, I don't mind just being lazy because we're already letting them cheat by skipping the wind up. Maybe its from firing the gun without "actually" having fired it through the route guns expect to be fired but whatever
Suggested change
| pPlayer->ViewPunchReset(); | |
| AddViewKick(); | |
| if (!pPlayer->IsBot()) | |
| { | |
| pPlayer->ViewPunchReset(); | |
| AddViewKick(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Exposed an interface to the BALC that allows firing the alt fire grenades without having to hold down a key, the latter action being quite difficult for bots to do consistently. Also added retreat logic for Juggernaut bots when their gun overheats, now that the secondary fire expends significant heat.
Toolchain