M6: Bots that build
Bots now gather materials with the boathook and build with the same build command and Building.check a player's client goes through: - Gathering: an armed bot with nothing more pressing gathers from props nearby (12 m while looting, 24 m once there's nothing left to loot) up to 60 of a material, or 120 in the last three tide phases. Not within 10 s of seeing an opponent or being hit, and not when hurt. - Cover: a wall toward a shooter who catches it reloading, from ambush or worn down to 60, then waits behind it to reload or heal. - Wall and heal: a badly hurt bot that would break off walls itself off and heals where it stands instead, if it can afford a wall. - Ramps: a staircase of ramps, each from the top of the last, up to an opponent on a cliff or a steep rise (at most 5 a fight). - Breakwaters: late in the match, a bot the tide would catch before it reached dry ground, or one at the last stand, rings its cell with four breakwaters and stays inside while they hold. Measured with the new `make bot-builds` (tools/bot_builds.gd): every other bot builds and the rest are a control group. Over 40 matches, seeds 501 to 540: builders built in 53% of the fights they began with materials for a wall (12% of all fights; most fights are in the landing, before anyone has gathered), lost 58% of the fights they built in against 67% of the rest, and placed 12.1 on average against the control's 12.8. Overall fight losses (65.8% / 65.7%) and wins (20 / 20) came out level; docs/BALANCE.md has the numbers and the earlier batches that led to the careful gathering. Worst p99 tick 3.4 ms of the 12 ms budget. Closes #29 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -60,7 +60,11 @@ from it, so a whole session can be replayed from one seed.
|
||||
Bots fill empty slots. They pick a landing spot, loot, fight, bandage themselves and keep
|
||||
ahead of the tide, knowing only what a player would. They come in three difficulties,
|
||||
easy, normal and hard, which differ in reaction time, sight range and aim; a server
|
||||
mixes them unless told otherwise. Bots don't build yet, don't break crates, and don't
|
||||
mixes them unless told otherwise. Bots build too: once armed, they gather with the
|
||||
boathook (crates included) when nothing more pressing is going on. In a fight they put
|
||||
up a wall when shot from ambush, while reloading or when worn down, wall themselves off
|
||||
to heal instead of running when badly hurt, and build ramps up to someone on a cliff
|
||||
or a steep rise. At the last stand they ring their spot with breakwaters. They don't
|
||||
use powder kegs or the line thrower. Offline play is a local server filled with bots,
|
||||
the same game code as online play. A downed duo partner can be revived, within `REVIVE_SECONDS`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user