GithubHelp home page GithubHelp logo

pawrep / csgo-aim-heatmaps Goto Github PK

View Code? Open in Web Editor NEW
45.0 7.0 2.0 404 KB

server plugin and processing code to generate aim heatmaps fo csgo

Mathematica 16.45% Python 14.93% SourcePawn 68.61%

csgo-aim-heatmaps's Introduction

CSGO-aim-heatmaps

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.

Usage

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's People

Contributors

pawrep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bakkes gamebook

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.