Skip to content
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

Add Support For TF2's Player Destruction #12

Open
3 tasks
caxanga334 opened this issue Oct 12, 2021 · 0 comments
Open
3 tasks

Add Support For TF2's Player Destruction #12

caxanga334 opened this issue Oct 12, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request TF2 Team Fortress 2 related

Comments

@caxanga334
Copy link
Owner

caxanga334 commented Oct 12, 2021

Implement support for TF2's PD game mode.


AI Behavior

  • Collect Points
  • Drop Points
  • Seek and Destroy Opposing Team's Leader

Notes

  • Points are item_teamflag entities.
  • To check if a player is carrying points, check if a valid entity exists in CTFPlayer's m_hItem netprop.
  • To check how much points a flag is worth, check the CCaptureFlag's m_nPointValue netprop.
  • The CTFPlayerDestructionLogic's m_flCountdownEndTime netprop stores the next time the portal will open.

To-Do

  • Figure out how to tell if the "gate" to the capture zone is open.
@caxanga334 caxanga334 added enhancement New feature or request TF2 Team Fortress 2 related labels Oct 12, 2021
@caxanga334 caxanga334 self-assigned this Oct 12, 2021
caxanga334 added a commit that referenced this issue Oct 14, 2021
@caxanga334 caxanga334 mentioned this issue Oct 15, 2021
6 tasks
caxanga334 pushed a commit that referenced this issue Oct 29, 2022
This should prevent bots from attempting to change class if something
else is overriding a previous change.

See #12.
caxanga334 added a commit that referenced this issue Oct 29, 2022
caxanga334 added a commit that referenced this issue Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TF2 Team Fortress 2 related
Projects
None yet
Development

No branches or pull requests

1 participant