r/csmapmakers • • 28d ago

Map Release Built a full Panorama menu + cs_script aim trainer as a CS2 Workshop map (Alpha 0.1)

Post image

Sharing a project I've been working on: an aim-training map where everything runs from a single cs_script and a custom Panorama HUD layout.

Some things I learned that might help others:

  • Panorama has a panel id budget: above roughly 1300 referenced ids the script loses control of later panels ("The maximum number of panel ids has been reached"). I keep the HUD around 1050 ids by using multi-line labels and CSS classes instead of one id per element.
  • Rebuilding the HUD while the map is loaded hot-reloads it and can leave the menu broken until the next map load: disconnect before each build.
  • Workshop maps can't use hidehud, so the native HUD stays; sv_disable_radar 1 from the script does hide the radar.
  • Saves use the script's save data with a versioned migration step.

Features: 12 exercises, ranks, daily warmup playlist, stats with a radar chart, a shooting range with bots.

Happy to answer questions about the Panorama / cs_script side.

https://steamcommunity.com/sharedfiles/filedetails/?id=3833383921

2 Upvotes

0 comments sorted by