pnxenopoulos / awpy

Python library to parse, analyze and visualize Counter-Strike 2 data
http://www.awpycs.com
MIT License
361 stars 56 forks source link

Extract time information from the demo? #342

Open JanEricNitschke opened 6 days ago

JanEricNitschke commented 6 days ago

I am wondering if things like

ROUND_START_DEFAULT_TIME_IN_SECS = 20
FREEZE_DEFAULT_TIME_IN_SECS = 115
BOMB_DEFAULT_TIME_IN_SECS = 40

or tickrate are available in or could be extracted from the demo file directly?

pnxenopoulos commented 5 days ago

Ah yea, probably this is set in the cvars. I like relying on those much better. Good idea! I'll make the fix