Skip to content

Conversation

@sunzenshen
Copy link
Contributor

Description

Bots now attempt to cross NavAreas that involve ladders.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@sunzenshen
Copy link
Contributor Author

Testing Ideas:

This console script will pause any uncommanded bots, so that friendly bots can be collected with the use key, and the ping key can be used to order bots to go to a location at the top or bottom of a ladder:

sv_neo_bot_cmdr_enable 1;
sv_neo_bot_cmdr_debug_pause_uncommanded 1;
neo_ctg_round_timelimit 99;

Interesting places to test:

ntre_dawn_ctg:

image image image

ntre_saitama_ctg's elevator shaft is still very cursed, but at least it's no longer a roach motel for the bots:

image

ntre_threadplate_ctg:

image

(Note, the NavMesh connections around the other ladder are cursed, so this needs to be fixed from a NavMesh perspective before the bots will use this ladder as a path)

image image

@sunzenshen sunzenshen requested a review from a team January 29, 2026 03:59
@sunzenshen sunzenshen added the Bots Related to bot players label Jan 29, 2026
me->StopLookingAroundForEnemies();

// Timeout based on ladder length
float estimatedClimbTime = m_ladder->m_length / 100.0f + 2.0f;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

surprised with this value, for a vertical ladder the climb speed is 200hu regardless of class, though this value does vary with the view angle

8mb.video-kGK-Tk7LRy9k.mp4

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Admittedly I was leaning towards the longer side because I was worried about bots not having enough time budget. I don't really have a good intuition of how long ladders are on average in Hammer units.

@sunzenshen sunzenshen requested a review from a team February 1, 2026 03:59
@sunzenshen
Copy link
Contributor Author

Note: Rebased on top of the fix all warnings PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bots Related to bot players

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bots are not able to climb ladders

2 participants