Skip to content

bug: the practice radar places markers with Valve's own overview calibration and swaps to the lower-floor image on Nuke, Train and Vertigo - #283

Merged
lukepolo merged 2 commits into
mainfrom
fix/hud-radar-valve-calibration
Oct 30, 2026
Merged

lukepolo merged 2 commits into
mainfrom
fix/hud-radar-valve-calibration

Conversation

@lukepolo

@lukepolo lukepolo commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

The practice HUD radar now projects with Valve's own overview calibration and swaps to CS2's lower-floor image on Nuke, Train and Vertigo while the player stands on it, instead of mirroring the web panel's boltobserv numbers.

  • radars/metadata.json is generated from CS2's resource/overviews/<map>.txt by scripts/sync-radars.sh <dir> (resolution = scale, offset = (-pos_x, 1024·scale - pos_y), levels from verticalsections); boltobserv's data and its NOTICE entry are gone.
  • RadarProjection drops splits and projects in the plain Valve frame; Level(z, calibration) says which floor a height is on.
  • The picker toggles lower on #radar from the player's feet z (main image with no position); #radar.<map>.lower in nadehud2.css loads <map>_lower_radar.psd. Every marker is still drawn, as before.
  • Tests pin a point per map against Valve's pos_x/pos_y/scale and each lower level's altitude; the contract covers the lower toggle and its image rules.

…bration and shows the lower floor of Nuke, Train and Vertigo when the player stands on it
…ps its image by the floor the player stands on
@lukepolo lukepolo changed the title bug: the practice radar places markers with Valve's own overview calibration and shows the lower floor of Nuke, Train and Vertigo bug: the practice radar places markers with Valve's own overview calibration and swaps to the lower-floor image on Nuke, Train and Vertigo Oct 30, 2026
@lukepolo
lukepolo merged commit 5fec4a0 into main Oct 30, 2026
8 checks passed
@lukepolo
lukepolo deleted the fix/hud-radar-valve-calibration branch October 30, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant