Repository navigation
CS2 Map MCP 1.4
You keep using your PC while the AI builds, photographs and tests, and a small change on a big map shows up in about a minute instead of a quarter of an hour. Checked in CS2 on a 24 500-node, 270 MB town map built from 41 packages: frames, map loads and input tests ran with the game behind other windows; nothing changed — 18 s; a change in one late package — 42 s; one 2400 × 2400 zone cut, built, loaded and photographed — 50 s; after partial updates the map was proved equal to a clean replay. 840 tests and the self-check (7 scenarios with real input) pass.
- Work in the background. Frames, map loads,
script_test,route_test,playtest, probes and marks no longer bring CS2 to the front: the game keeps rendering and taking console input without the focus.game_focuschooses when the window may take it:never,input_only(default — only for a step with real mouse input, then the focus goes back) oralways(as before).build_priority: low(default) runs the compiler and Blender below normal priority so the PC stays responsive.setup.ps1asks once. - Status panel.
python tools/panel.py(or"panel": true) opens a page onhttp://127.0.0.1:8717/, this PC only: what the tools do right now, jobs, the latest frames, CPU / memory / GPU load, and switches for permissions. With"heavy_builds": "ask"light bakes and releases wait until you allow each one in the panel (time and memory are shown); a job of another server process can be stopped there. - A fast loop on big maps — packages by hash.
map_edit(name, packages=[files] | "pipeline.json")replays, in one job with one load and one save, only the packages that changed and those that depend on them; the record lives in the map. Apipeline.jsonmanifest runs only the stale generators and can call tools as steps.dry_runproves the map equals a clean replay, and a release asks for that proof. A CS2 update that changes entity definitions replays what it affects; a map made earlier without packages is refused instead of doubled. - Region builds.
map_build(region=box | [boxes] | "marks")cuts one zone (or the zones around players' F8 marks) into<name>_regionand builds only that; when a region keeps most of the map, the result says so. - Offline preview.
game_screenshot(window="offline")draws the saved map without CS2, with the game's framing, from above and from the side — for placement before any build. visual_checkon big maps keeps its findings until the map or the checks change, takesboxfor one zone (exactly the full check's findings in that zone), shows shares and the busiest zones. New:visual_paved_gap,visual_paved_patch.add_figuresputs stock T and CT agents where players hold, with "the nearest opponent sees this figure" views, to judge sight lines;check_mapreminds you to delete them before release.- Riders in a low cabin.
add_controllablecarpassengers.crouch: board with Ctrl+E, get off outside a door. The rules come from measurements in CS2 (feet 1 unit over the floor: 0.10° of shake parked, 1.2° at 300 u/s; cabin 60–74 units inside; seats at least 45.3 apart);bus_bodytakeslow. E through an open doorway of a hollow body takes the wheel; a route test that circles a point it cannot turn to ends withroute_stuck. add_pipesandadd_cablestake mesh options;tools/mcp_call.pyreads argument files saved with a BOM.- New guides and specs: pipeline, background work, panel; updated competitive, vehicles, models, quality and scripting.
Upgrading from 1.3: git pull, run setup.ps1 again (it asks about the window focus), restart the MCP server in your client. After a CS2 update: tools\python-env\Scripts\python.exe tools\selfcheck.py.
Not yet checked live: the panel started automatically by the server ("panel": true; starting it by hand is checked), the "Allow once" button of heavy_builds: ask pressed by a person (covered by tests), and a driver and passengers in a low cabin as different people at once.