This article relates to the game "Counter-Strike 2". Click here for more information.
This article relates to the software/tool "Counter-Strike 2 Workshop Tools". Click here for more information.
This article's documentation is for Source 2. Click here for more information.

Level Design

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
Note.pngNote:Most of the stuff here are placeholder taken from Half-Life: Alyx Workshop Tools for now. Not all pages are fully created yet.

Getting started with CS2's Hammer Editor

Todo: Replace & Move all links from "Game Name Workshop Tools" to "Source 2/Docs/", as long if the contents of the page itself applies to other Source 2 games.

Guides

References

External links

  • Source 2 Viewer - Formerly known as VRF; Is able to open VPKs, compiled vmaps and decompile compiled assets (including maps and materials).
  • RadGen - Also known as Jimwood's Radar Generator; A program that is capable of generating radars similarly to the way Valve maps are styled.

Hammer Minimum Specs

Hammer now leverages GPU-Accelerated raytracing to both preview and bake lighting for Counter-Strike 2 Counter-Strike 2 maps, drastically speeding up compile times, even on lower-end hardware. As such, a GPU capable of raytracing is now required for Hammer to be fully functional.

GPU Minimum Specs:

  • Nvidia GeForce RTX 2060 (or Quadro/Titan equivalent)
    • Note.pngNote:Although some GTX 10 and 16 cards do support GPU-Accelerated raytracing, Hammer doesn't support GPU-Accelerated raytracing because of a lack of RT cores.
  • AMD Radeon 6600 XT (or other RDNA 2 cards)
  • Intel Arc series (tested on Battlemage)

GPU Recommended Specs:

  • Nvidia GeForce RTX 2080 Ti+ (or Quadro/Titan equivalent)
  • AMD Radeon 6800 XT+ (or other RDNA 2 cards)
  • Intel Arc series (tested on Battlemage only as of Jan 5th, 2025.)
Todo: [Obsolete-notext.png Deprecated] It is still possible to use the old CPU compiler by moving around some files or adding -lightmapcpu to resourcecompiler's run parameters; document this (probably on a subpage).
Warning.pngWarning:The deprecated CPU lighting compiler does not support the new light types introduced in Counter-Strike 2, such as emissive materials!.

Hammer - Known issues

Icon-Bug.pngBug:Since the Armory Update, a newer version of the Nvidia Studio driver may cause tool crashes when trying to preview lighting or compile a map using Path Tracing. If you are experiencing crashes, you can try the stable version of the driver: Nvidia Studio 561.09 (Tue Sep 17, 2024).
Confirm:RTX 50 series graphics card has been released, and it only support new driver. Is there any other workaround for these card, or whether if its not affected on RTX 50 series?
  (tested in: Hammer (Map Editor) on January 20, 2025 with Nvidia GeForce RTX 4060 and Windows 10 22H2 (Pro)‎)
Icon-Bug.pngBug:On some systems, running Counter-Strike 2 with Workshop Tools, will cause the memory usage to increase abnormally (memory leak).1
PlacementTip.pngWorkaround:Launch CS2 Workshop Tools by going to CS2's 🖿bin\win64 directory and launch csgocfg.exe with -steam -retail -vulkan. However this will disable GPU Path Tracing option in Hammer.
  (tested in: Hammer on 32GB RAM, NVIDIA GeForce RTX 3060 and Windows 10 21H2 (LTSC). --leonidakarlach (talk) 23:25, 30 January 2025 (PST))