Skip to content

CS2 Map MCP 1.3

Choose a tag to compare

@Rmgs123 Rmgs123 released this 04 Nov 09:53
· 7 commits to main since this release

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 by game_launch only when it is free (marks_key in settings, "" turns it off); marks keep 14 days, 300 marks or 200 MB.
  • Restart of a hung CS2 (opt-in). setup.ps1 asks once. With restart_hung_cs2 the 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_restart in the result); restart_hung_cs2_user also 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_check finds 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": true on game_screenshot views (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_mesh takes name and tags ("paved" makes the checks treat a mesh as paving). add_decal refuses an own material that is not an overlay (it would flicker against the wall).
  • The size test of docs/TOOLS.md counts LF bytes, so a checkout with CRLF line endings passes.