Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


server plugin and processing code to generate aim heatmaps fo csgo

Subscribe to updates I use CSGO-aim-heatmaps

Statistics on CSGO-aim-heatmaps

Number of watchers on Github 46
Number of open issues 0
Main language SourcePawn
Open pull requests 0+
Closed pull requests 0+
Last commit over 5 years ago
Repo Created over 5 years ago
Repo Last Updated about 2 years ago
Size 404 KB
Organization / Authorpawrep
Page Updated
Do you use CSGO-aim-heatmaps? Leave a review!
View CSGO-aim-heatmaps activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating CSGO-aim-heatmaps for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


The SourceMod plugin AimHeatmapData.sp calculates and saves data which can be used to generate a heatmap of the players aim accuracy. Example: http://i.imgur.com/uzZPBoZ.png

The python script PlotSmoothDensityHistrogram.py allows the plotting of hte recorded data in realtime.


Start the recording of aim data with the server command sm_aimdata_record. The server will save all aim data in ..\sourcemod\ADD_[unique ID].csv until the recording is terminated with sm_aimdata_stop. The data is recorded for all players on the server and indexed by the players userid in the first column of the output file. The second and thrid column contain x and y offsets from the enemys head.

PlotSmoothDensityHistrogram.py opens the last recorded ADD_*.csv file and plots a smooth density histogramm of the data. This plot is dynamically updated as the input file is updated. Example: http://youtu.be/eL7Y4Bj9-ho.

This work is licensed under cc-by-sa (http://creativecommons.org/licenses/by-sa/4.0/)

CSGO-aim-heatmaps list of languages used
Other projects in SourcePawn