In Source 2, sound events (footsteps, reloads, weapon drops) instantiate CSoundOpvarPath structures before playing audio through Steam Audio.
By reading the recent sound events ring buffer from soundsystem.dll:
- Extract 3D position
(x, y, z)and event string (player.footstep.concrete). - Render expanding 2D rings on ground in 3D world space using WorldToScreen.
- Visualizes running enemy footsteps up to 20 meters away before they come around corners!