Split The code is public; the app answers only to the crew.
A bot reloads only when its magazine is empty, so it reloads in the middle of the fight it just started #187
Sign in to join this conversation.
Split The code is public; the app answers only to the crew.
Teach a bot to reload on its own time, so it walks into a duel with a full magazine instead of discovering an empty one in it.
The only reload a bot ever asks for is
src/client/bots.ts:426and:598:A bot that ends a fight with three rounds left keeps them. It then pushes a site, fires three, and stands still for the weapon's
reloadTime— 2.5 s on an AK, 3.1 s on an M4 — in front of whoever it was shooting at. The person plays around their magazine; the bots do not, and it is the cheapest difficulty the game gives away.Done looks like
canSeealready answers this), so the fix cannot become a new way to die.src/client/bots.test.ts: a bot alone with a half-empty magazine setsreload; the same bot with an enemy in sight does not; a dry bot in a fight with a pistol switches to it; a bot with a full magazine asks for nothing. Each fails againstmain.Risks
scripts/duel.tsbefore and after, put both in the pull, and do not re-train here.src/client/observe.tsmust not gain an observation; a bot's own magazine is already in its hands, and the policy's input shape is fixed by the shipped weights.thinkFor/combat path, which is why this waits on it. Branch frommainafter it lands, not from its branch.Files I expect to change
src/client/bots.ts,src/client/bots.test.ts, and README's The bots section.Suggested: vesper, or scout if it is treated as a tuning change with a measurement attached.