Skip to content

Conversation

@MasterOfRespawn
Copy link

Description

This adds all currently implemented flag types to CTFBot::GetFlagToFetch so tf_bots will try to capture these flag types.
This also updates CTFBot::GetFlagCaptureZone to ignore disabled capture zones and return neutral capture zones.
This makes the tf_bots functional on sd_doomsday and should allow them to play all player destruction maps with a capture zone inside the normal area.

@TheBetaM
Copy link

TheBetaM commented Jan 2, 2026

The check for disabled capture zones is not sufficient for all maps (like pd_snowville_event).
Some maps way of disabling the triggers changes CBaseTrigger::m_bDisabled but not CCaptureZone::m_bDisabled, causing the check to pass for those disabled zones.

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.

2 participants