Skip to content

[TF] Fix and rework Pyro bot airblast #1486

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Bitl
Copy link
Contributor

@Bitl Bitl commented Aug 10, 2025

Description

This PR overhauls Pyro bot airblast functionality to reflect more projectiles. The previous implementation only functioned with a few projectiles and ignores other projectiles such as:

  • The Flying Guillotine cleavers
  • Huntsman Arrows
  • Pipebombs/Cannonbals
  • Sandman balls
  • Crusader's Crossbow healing bolts
  • Flares
  • Stickybombs
  • and others

This implementation allows the Pyro bot to recognize each of the above as projectiles and deflect them. In easy and normal difficulties however, the Pyro bot only recognizes Cow Mangler Energy Balls and Rockets as deflectable projectiles.

In addition, this makes bot airblasts more responsive as the IsLineOfSightClear() seems to return false if there's a projectile in front of the Pyro. This also removes tf_bot_pyro_deflect_tolerance, as the dot product is always 0 when there's a projectile in front of the Pyro.

TheBetaM added a commit to TheBetaM/tf-solo that referenced this pull request Aug 10, 2025
- Implement ValveSoftware#838
- Implement ValveSoftware#1486
- Engineer improvements
- Seek and destroy improvements
- Fix setup idle in symmetrical point maps
@Bitl
Copy link
Contributor Author

Bitl commented Aug 10, 2025

Forgot to upload videos of this in action

Devenv.Hqqk7bw0bv-1.mp4
Devenv.Vwooyfoun2-1.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant