lgbot: docs (README, ADMIN, HOW-IT-WORKS, PLAYERS), back up lgbot files
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c6a495ce2c
commit
d2fb4be349
5 files changed
+57
-6
No files matched your search
@@ -22,6 +22,44 @@ Everything below is run from the repo folder on the server machine.
|
||||
|
||||
**Careful:** `cvarlist` prints the RCON password into the server log. `./rcon` hides it from you, but avoid running it anyway.
|
||||
|
||||
## LG training bot: `./lgbot`
|
||||
|
||||
A bot that only plays LG, built to practise against: it strafes on the ground like a duelist (uneven left/right holds, fake direction changes), keeps LG range, pushes in when it's ahead on health and backs off when it's low, and never jumps or crouches. It shoots back. Aim and movement are separate, so "poor aim, best movement" is fine.
|
||||
|
||||
```
|
||||
$ ./lgbot
|
||||
Aim level 1-5 [3]: 1
|
||||
Movement level 1-5 [3]: 5
|
||||
Customize movement details? (y/N): y
|
||||
Strafe hold min ms 50-2000 [120]:
|
||||
Strafe hold max ms 50-2000 [350]: 300
|
||||
...
|
||||
lgbot in: aim 1, movement 5 (custom: strafe_max 300)
|
||||
```
|
||||
|
||||
Enter keeps the value in brackets; anything invalid asks again; Ctrl+C changes nothing. The setup is saved in `home/lgbot.json`.
|
||||
|
||||
| Command | |
|
||||
|---|---|
|
||||
| `./lgbot` | the questions above, then (re)adds the bot |
|
||||
| `./lgbot --last` | put the saved setup back, e.g. after a restart (bots don't survive one) |
|
||||
| `./lgbot show` | saved setup and whether the bot is in |
|
||||
| `./lgbot off` | remove the bot (setup stays saved) |
|
||||
|
||||
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% |
|
||||
|
||||
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`.
|
||||
|
||||
The bot fights the nearest human; with nobody nearby it roams like a normal bot. One lgbot at a time.
|
||||
|
||||
## Admins and bans: `home/baseq3/access.txt`
|
||||
|
||||
One line per player: their 64-bit Steam ID, a `|`, and `admin`, `mod` or `ban`:
|
||||
|
||||
Reference in new issue
Block a user