-
Notifications
You must be signed in to change notification settings - Fork 20
Bots - Shoot at breakables #1328
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
Bots - Shoot at breakables #1328
Conversation
15dd788 to
d581569
Compare
sunzenshen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Behavior LGTM, though there was one time initially where a bot wouldn't break the glass, though I didn't see that behavior again in later attempts:
bot_break_glass_for_objective_fluke_failure_to_compute.mp4
Expert bots use secondary to break glass:
bot_break_glass_for_objective_expert_use_secondary.mp4
Novices did not swap weapon to break glass:
bot_break_glass_for_objective_novice_use_primary.mp4
(Used noclip to grab the ghost and toss it behind breakable glass if random spawn did not put the ghost behind glass.)
|
Also in this spot they often miss the door if a part of the door is broken which means the auto lean makes them lean around the remaining part of the door they are trying to destroy |
|
Looking at the code I don't see anywhere where the bot turns specifically to look at the breakable when they open fire, would it make sense to turn the bot towards the breakable entity? |
|
Also surely hard/expert bots should use their knife if they have one |
Rainyan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nullsystem Could you please rebase this on top of current master to resolve the conflict (I was running into a crash that I can't repro on master, so maybe it's already resolved in some change)?
* The bots should now able to fire at breakables and continue on their path * Hard/Expert bots will also utilize secondary if possible to shoot at breakables instead * fixes NeotokyoRebuild#1327
d581569 to
33a9f4b
Compare

Description
path
breakables instead
Toolchain
Linked Issues