-
Notifications
You must be signed in to change notification settings - Fork 2
/
gamestate_integration_gym_csgo.cfg
42 lines (34 loc) · 1.72 KB
/
gamestate_integration_gym_csgo.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Game_State_Integration
"gym_csgo"
{
"uri" "http://127.0.0.1:1234/csgo-gsi"
"timeout" "5.0"
"buffer" "0.0025"
"throttle" "0.0025"
"heartbeat" "15.0"
"output"
{
"precision_time" "0.01"
"precision_position" "0.1"
"precision_vector" "0.1"
}
"data"
{
"provider" "1" // general info about client being listened to:
// game name, appid, client steamid, etc.
"map" "1" // map, gamemode, and current match phase
// ('warmup', 'intermission', 'gameover',
// 'live') and current score
"map_round_wins" "1" // history of round wins
"round" "1" // round phase ('freezetime', 'over', 'live'),
// bomb state ('planted', 'exploded',
// 'defused'), and round winner (if any)
"player_id" "1" // player name, clan tag, observer slot (ie key
// to press to observe this player) and team
"player_state" "1" // player state for this current round such as
// health, armor, kills this round, etc.
"player_weapons" "1" // output equipped weapons.
"player_match_stats" "1" // player stats this match such as kill,
// assists, score, deaths and MVPs
}
}