lgbot: lane setting stops it circling you (max sideways drift before turning back)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
esefandClaude Opus 5.5 committed 2026-10-15 14:48:30 +03:00
1 parent 696d2f2dad
commit aa457014e6
5 files changed
+55 -24

No files matched your search

+10 -8
View File
@@ -48,15 +48,17 @@ Enter keeps the value in brackets; anything invalid asks again; Ctrl+C changes n
Movement levels (the details override one part, `-1` = use the level's value):
| Level | Strafe hold (ms) | Fake chance | Range | Push in / back off | Speed |
|---|---|---|---|---|---|
| 1 | 600–1000 | 0% | 450 | no | 80% |
| 2 | 400–800 | 10% | 450 | no | 90% |
| 3 | 250–600 | 25% | 400 | yes | 100% |
| 4 | 180–450 | 35% | 380 | yes | 100% |
| 5 | 120–350 | 50% | 350 | yes | 100% |
| Level | Strafe hold (ms) | Fake chance | Range | Push in / back off | Speed | Lane |
|---|---|---|---|---|---|---|
| 1 | 600–1000 | 0% | 450 | no | 80% | 600 |
| 2 | 400–800 | 10% | 450 | no | 90% | 500 |
| 3 | 250–600 | 25% | 400 | yes | 100% | 400 |
| 4 | 180–450 | 35% | 380 | yes | 100% | 350 |
| 5 | 120–350 | 50% | 350 | yes | 100% | 300 |
Underneath it's plain console settings, if you'd rather: `./rcon addbot lgbot <aim>`, `./rcon set lgbot_move <1-5>`, and `lgbot_strafe_min`, `lgbot_strafe_max`, `lgbot_fake`, `lgbot_range`, `lgbot_range_play`, `lgbot_speed`. The plugin rereads them every second. `set lgbot_debug 1` writes one line a second about its movement to `home/minqlx.log`.
Range is the distance it tries to keep (LG reaches 768). Lane is how far it may drift sideways before it turns back, so it does ADAD in front of you instead of circling (0 = no limit). With push in / back off off, it always holds its range.
Underneath it's plain console settings, if you'd rather: `./rcon addbot lgbot <aim>`, `./rcon set lgbot_move <1-5>`, and `lgbot_strafe_min`, `lgbot_strafe_max`, `lgbot_fake`, `lgbot_range`, `lgbot_range_play`, `lgbot_speed`, `lgbot_lane`. The plugin rereads them every second. `set lgbot_debug 1` writes one line a second about its movement to `home/minqlx.log`.
The bot fights the nearest human; with nobody nearby it roams like a normal bot. One lgbot at a time.