[TF2] Allow bots to realize decloaking spies#1828
Open
inco-cc wants to merge 1 commit intoValveSoftware:masterfrom
Open
[TF2] Allow bots to realize decloaking spies#1828inco-cc wants to merge 1 commit intoValveSoftware:masterfrom
inco-cc wants to merge 1 commit intoValveSoftware:masterfrom
Conversation
|
An after and before are just the same recordings. No difference. |
There's sound to it, showing that the bot is aware of the Spy. |
Contributor
Author
|
Sorry, I forgot to mention this in the original comment. GitHub mutes videos by default, so you need to unmute them manually. I've edited the comment to explain this. |
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.
This allows bots to realize a spy that is decloaking. Currently, bots will only realize a spy that is cloaking, due to
TF_COND_STEALTHEDbeing removed immediately when decloaking.This replaces the condition check with the new proposed
CTFPlayerShared::IsFullyVisible, which will check if the spy is either partially or fully cloaked.Please note that the comparison videos shown below require audio to be unmuted to hear the bot call the player a spy. The bot does not attack the player due to the round being in the setup phase.
Before:
before.webm
After:
after.webm