Repository navigation
CS2 Map MCP 1.3
Testers show the AI what they mean with one key, a hung CS2 no longer stops long sessions, and visual_check finds what a big town map needed its own scripts for. Checked in CS2: two F8 marks, one with a two-line note, came back with exact positions and frames, also after an automatic restart of a frozen Workshop Tools (100 s from the freeze to the retried call).
- Player marks (F8). While you walk your map in CS2 Workshop Tools, press F8 at every spot worth a fix, then Y, a note and Enter (several lines are fine). The AI reads each mark with
game_screenshot(views="marks"): the frame you saw, the map, the exact position and view, the time and your note. Nothing holds the game console while you play; the key is bound bygame_launchonly when it is free (marks_keyin settings,""turns it off); marks keep 14 days, 300 marks or 200 MB. - Restart of a hung CS2 (opt-in).
setup.ps1asks once. Withrestart_hung_cs2the server restarts a Workshop Tools session it launched after 3 minutes of "Not responding", reloads the map, binds the marks key again and retries the call once (cs2_restartin the result);restart_hung_cs2_useralso covers a session you started yourself. A game you play is never touched; unsaved Hammer edits refuse the restart. A frozen thread Windows does not flag is found too. visual_checkfinds what hangs on, stands on and stops at something: wall units off, sunk into or past the end of their wall (visual_wall_gap), units over windows, cable ends fixed to nothing, doors drawn over windows, paving edges standing over bare ground (visual_paved_slab), invisible walls (visual_bare_clip) and fences players walk through. "Props floating over a slope" now counts mesh tops and carrying props as ground: on a big town map 440 findings became 270 (grass on banks and boxes on tables are fine).- Faster looks on big maps:
"fullbright": trueongame_screenshotviews (a fast build hides objects in unbaked shadow), and the guide's batch loop: 3–8 fixes per rebuild, fast + fullbright for placement, full for the look. A frame rejected as unchanged now says whether the CS2 window lost the front or someone uses the PC. add_meshtakesnameandtags("paved"makes the checks treat a mesh as paving).add_decalrefuses an own material that is not an overlay (it would flicker against the wall).- The size test of
docs/TOOLS.mdcounts LF bytes, so a checkout with CRLF line endings passes.