Difference between revisions of "Counter-Strike: Global Offensive Events"
Zoodlebrog (talk | contribs) (Add other_death event used for chickens) |
|||
Line 209: | Line 209: | ||
=== weapon_fire_on_empty === | === weapon_fire_on_empty === | ||
{{qnotice|Every time a client fires their weapon and it's empty}} | {{qnotice|Every time a client fires their weapon and it's empty}} | ||
+ | {{begin-hl2msg|weapon_fire_on_empty|string}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|string|weapon|weapon name used}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === grenade_thrown === | ||
+ | {{qnotice|Every time a client throws their grenade}} | ||
{{begin-hl2msg|weapon_fire_on_empty|string}} | {{begin-hl2msg|weapon_fire_on_empty|string}} | ||
{{hl2msg|short|userid|}} | {{hl2msg|short|userid|}} | ||
Line 481: | Line 488: | ||
{{qnotice|}} | {{qnotice|}} | ||
{{begin-hl2msg|decoy_started|string}} | {{begin-hl2msg|decoy_started|string}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|entityid|}} | ||
+ | {{hl2msg|float|x|}} | ||
+ | {{hl2msg|float|y|}} | ||
+ | {{hl2msg|float|z|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === tagrenade_detonate === | ||
+ | {{qnotice|Every time a tagrenade explodes}} | ||
+ | {{begin-hl2msg|tagrenade_detonate|string}} | ||
{{hl2msg|short|userid|}} | {{hl2msg|short|userid|}} | ||
{{hl2msg|short|entityid|}} | {{hl2msg|short|entityid|}} | ||
Line 776: | Line 793: | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
− | === | + | === items_gifted === |
{{qnotice|-}} | {{qnotice|-}} | ||
− | {{begin-hl2msg| | + | {{begin-hl2msg|items_gifted|string}} |
{{hl2msg|byte|player|entindex of the player who sent the gift}} | {{hl2msg|byte|player|entindex of the player who sent the gift}} | ||
{{hl2msg|long|itemdef|the item definition index of the gift that was opened}} | {{hl2msg|long|itemdef|the item definition index of the gift that was opened}} | ||
Line 841: | Line 858: | ||
{{hl2msg|short|weaponrank|}} | {{hl2msg|short|weaponrank|}} | ||
{{hl2msg|string|weaponname|name of weapon being awarded}} | {{hl2msg|string|weaponname|name of weapon being awarded}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === assassination_target_killed === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|assassination_target_killed|string}} | ||
+ | {{hl2msg|short|target|player killed}} | ||
+ | {{hl2msg|short|killer|killing player (with the quest)}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 886: | Line 910: | ||
{{qnotice|-}} | {{qnotice|-}} | ||
{{begin-hl2msg|gg_leader|string}} | {{begin-hl2msg|gg_leader|string}} | ||
+ | {{hl2msg|short|playerid|user ID that is currently in the lead}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gg_team_leader === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|gg_team_leader|string}} | ||
{{hl2msg|short|playerid|user ID that is currently in the lead}} | {{hl2msg|short|playerid|user ID that is currently in the lead}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Revision as of 18:35, 13 September 2018
- Refer back to Game Events (Source) for more events.
Contents
- 1 player_death
- 2 other_death
- 3 item_purchase
- 4 bomb_beginplant
- 5 bomb_abortplant
- 6 bomb_planted
- 7 bomb_defused
- 8 bomb_exploded
- 9 bomb_dropped
- 10 bomb_pickup
- 11 defuser_dropped
- 12 defuser_pickup
- 13 announce_phase_end
- 14 cs_intermission
- 15 bomb_begindefuse
- 16 bomb_abortdefuse
- 17 hostage_follows
- 18 hostage_hurt
- 19 hostage_killed
- 20 hostage_rescued
- 21 hostage_stops_following
- 22 hostage_rescued_all
- 23 hostage_call_for_help
- 24 vip_escaped
- 25 vip_killed
- 26 player_radio
- 27 bomb_beep
- 28 weapon_fire
- 29 weapon_fire_on_empty
- 30 grenade_thrown
- 31 weapon_outofammo
- 32 weapon_reload
- 33 weapon_zoom
- 34 silencer_detach
- 35 inspect_weapon
- 36 weapon_zoom_rifle
- 37 player_spawned
- 38 item_pickup
- 39 ammo_pickup
- 40 item_equip
- 41 item_remove
- 42 enter_buyzone
- 43 exit_buyzone
- 44 buytime_ended
- 45 enter_bombzone
- 46 exit_bombzone
- 47 enter_rescue_zone
- 48 exit_rescue_zone
- 49 silencer_off
- 50 silencer_on
- 51 buymenu_open
- 52 buymenu_close
- 53 begin_new_match
- 54 round_prestart
- 55 round_poststart
- 56 round_start
- 57 round_end
- 58 round_officially_ended
- 59 grenade_bounce
- 60 hegrenade_detonate
- 61 flashbang_detonate
- 62 smokegrenade_detonate
- 63 smokegrenade_expired
- 64 molotov_detonate
- 65 decoy_detonate
- 66 decoy_started
- 67 tagrenade_detonate
- 68 inferno_startburn
- 69 inferno_expire
- 70 inferno_extinguish
- 71 decoy_firing
- 72 bullet_impact
- 73 player_footstep
- 74 player_jump
- 75 player_blind
- 76 player_falldamage
- 77 door_moving
- 78 round_freeze_end
- 79 mb_input_lock_success
- 80 mb_input_lock_cancel
- 81 nav_blocked
- 82 nav_generate
- 83 player_stats_updated
- 84 achievement_info_loaded
- 85 spec_target_updated
- 86 spec_mode_updated
- 87 hltv_changed_mode
- 88 hltv_chase
- 89 hltv_status
- 90 player_disconnect
- 91 player_spawn
- 92 player_team
- 93 cs_game_disconnected
- 94 cs_round_final_beep
- 95 cs_round_start_beep
- 96 cs_win_panel_round
- 97 cs_win_panel_match
- 98 round_announce_last_round_half
- 99 round_announce_match_point
- 100 round_announce_match_start
- 101 round_time_warning
- 102 cs_match_end_restart
- 103 cs_pre_restart
- 104 show_freezepanel
- 105 hide_freezepanel
- 106 freezecam_started
- 107 player_avenged_teammate
- 108 achievement_earned
- 109 achievement_earned_local
- 110 item_found
- 111 items_gifted
- 112 repost_xbox_achievements
- 113 match_end_conditions
- 114 round_mvp
- 115 player_decal
- 116 teamplay_round_start
- 117 client_disconnect
- 118 gg_player_levelup
- 119 ggtr_player_levelup
- 120 assassination_target_killed
- 121 ggprogressive_player_levelup
- 122 gg_killed_enemy
- 123 gg_final_weapon_achieved
- 124 gg_bonus_grenade_achieved
- 125 switch_team
- 126 gg_leader
- 127 gg_team_leader
- 128 gg_player_impending_upgrade
- 129 write_profile_data
- 130 trial_time_expired
- 131 update_matchmaking_stats
- 132 player_reset_vote
- 133 enable_restart_voting
- 134 sfuievent
- 135 start_vote
- 136 player_given_c4
- 137 gg_reset_round_start_sounds
- 138 tr_player_flashbanged
- 139 tr_highlight_ammo
- 140 tr_mark_complete
- 141 tr_mark_best_time
- 142 tr_exit_hint_trigger
- 143 bot_takeover
- 144 tr_show_finish_msgbox
- 145 tr_show_exit_msgbox
- 146 reset_player_controls
- 147 jointeam_failed
- 148 teamchange_pending
- 149 material_default_complete
- 150 cs_prev_next_spectator
- 151 cs_handle_ime_event
- 152 nextlevel_changed
- 153 seasoncoin_levelup
- 154 tournament_reward
- 155 start_halftime
player_death
Note: When a client dies
Name: | player_death | |||||||||||||||||||||||||||||||||
Structure: |
|
other_death
Note: As far as I know only used for chicken deaths at the moment
Name: | other_death | |||||||||||||||||||||||||||
Structure: |
|
item_purchase
Note:
Name: | item_purchase | |||||||||
Structure: |
|
bomb_beginplant
Note: When the bomb is starting to get planted
Name: | bomb_beginplant | ||||||
Structure: |
|
bomb_abortplant
Note: When the bomb planter stops planting the bomb
Name: | bomb_abortplant | ||||||
Structure: |
|
bomb_planted
Note: When the bomb has been planted
Name: | bomb_planted | ||||||
Structure: |
|
bomb_defused
Note: When the bomb has been defused
Name: | bomb_defused | ||||||
Structure: |
|
bomb_exploded
Note: When the bomb explodes
Name: | bomb_exploded | ||||||
Structure: |
|
bomb_dropped
Note: When the bomb is dropped by a client
Name: | bomb_dropped | ||||||
Structure: |
|
bomb_pickup
Note: When the bomb is picked up by a client
Name: | bomb_pickup | |||
Structure: |
|
defuser_dropped
Note: When the defuser is dropped by a client
Name: | defuser_dropped | |||
Structure: |
|
defuser_pickup
Note: When the defuser is picked up by a client
Name: | defuser_pickup | ||||||
Structure: |
|
announce_phase_end
Note:
Name: | announce_phase_end | |||
Structure: |
|
cs_intermission
Note:
Name: | cs_intermission | |||
Structure: |
|
bomb_begindefuse
Note: When the bomb is started to be defused
Name: | bomb_begindefuse | ||||||
Structure: |
|
bomb_abortdefuse
Note: When the bomb defusal is stopped
Name: | bomb_abortdefuse | |||
Structure: |
|
hostage_follows
Note: When the hostage begins following a client
Name: | hostage_follows | ||||||
Structure: |
|
hostage_hurt
Note: When a hostage is damaged
Name: | hostage_hurt | ||||||
Structure: |
|
hostage_killed
Note: When a hostage is killed
Name: | hostage_killed | ||||||
Structure: |
|
hostage_rescued
Note: When a hostage is rescued
Name: | hostage_rescued | |||||||||
Structure: |
|
hostage_stops_following
Note: When a hostage stops following a client
Name: | hostage_stops_following | ||||||
Structure: |
|
hostage_rescued_all
Note: When all the hostages are rescued
Name: | hostage_rescued_all | |||
Structure: |
|
hostage_call_for_help
Note: When the hostage calls for help
Name: | hostage_call_for_help | |||
Structure: |
|
vip_escaped
Note: When the VIP escapes
Name: | vip_escaped | |||
Structure: |
|
vip_killed
Note: When the VIP is killed
Name: | vip_killed | ||||||
Structure: |
|
player_radio
Note: When the player uses radio commands
Name: | player_radio | ||||||
Structure: |
|
bomb_beep
Note: Every time the bomb beep sound happens
Name: | bomb_beep | |||
Structure: |
|
weapon_fire
Note: Every time a client fires their weapon
Name: | weapon_fire | |||||||||
Structure: |
|
weapon_fire_on_empty
Note: Every time a client fires their weapon and it's empty
Name: | weapon_fire_on_empty | ||||||
Structure: |
|
grenade_thrown
Note: Every time a client throws their grenade
Name: | weapon_fire_on_empty | ||||||
Structure: |
|
weapon_outofammo
Note:
Name: | weapon_outofammo | |||
Structure: |
|
weapon_reload
Note: Every time a client reloads their weapon
Name: | weapon_reload | |||
Structure: |
|
weapon_zoom
Note: Every time a client zooms a scoped weapon
Name: | weapon_zoom | |||
Structure: |
|
silencer_detach
Note:
Name: | silencer_detach | |||
Structure: |
|
inspect_weapon
Note:
Name: | inspect_weapon | |||
Structure: |
|
weapon_zoom_rifle
Note: exists for the game instructor to let it know when the player zoomed in with a regular rifle. Different from the above weapon_zoom because we don't use this event to notify bots
Name: | weapon_zoom_rifle | |||
Structure: |
|
player_spawned
Note:
Name: | player_spawned | ||||||
Structure: |
|
item_pickup
Note: Every time an item is picked up (generally weapons)
Name: | item_pickup | |||||||||
Structure: |
|
ammo_pickup
Note:
Name: | ammo_pickup | |||||||||
Structure: |
|
item_equip
Note:
Name: | item_equip | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Structure: |
|
item_remove
Note:
Name: | item_remove | |
Structure: |
|
enter_buyzone
Note:
Name: | enter_buyzone | ||||||
Structure: |
|
exit_buyzone
Note:
Name: | exit_buyzone | ||||||
Structure: |
|
buytime_ended
Note:
Name: | buytime_ended | |||
Structure: |
|
enter_bombzone
Note:
Name: | enter_bombzone | |||||||||
Structure: |
|
exit_bombzone
Note:
Name: | exit_bombzone | |||||||||
Structure: |
|
enter_rescue_zone
Note:
Name: | enter_rescue_zone | |||
Structure: |
|
exit_rescue_zone
Note:
Name: | exit_rescue_zone | |||
Structure: |
|
silencer_off
Note:
Name: | silencer_off | |||
Structure: |
|
silencer_on
Note:
Name: | silencer_on | |||
Structure: |
|
Note:
Name: | buymenu_open | |||
Structure: |
|
Note:
Name: | buymenu_close | |||
Structure: |
|
begin_new_match
Note:
Name: | begin_new_match | |
Structure: |
|
round_prestart
Note: sent before all other round restart actions
Name: | round_prestart | |||
Structure: |
|
round_poststart
Note: sent after all other round restart actions
Name: | round_poststart | |||
Structure: |
|
round_start
Note:
Name: | round_start | |||||||||
Structure: |
|
round_end
Note:
Name: | round_end | |||||||||
Structure: |
|
round_officially_ended
Note:
Name: | round_officially_ended | |
Structure: |
|
grenade_bounce
Note: Every time a grenade bounces
Name: | grenade_bounce | |||
Structure: |
|
hegrenade_detonate
Note: Every time a hegrenade explodes
Name: | hegrenade_detonate | |||||||||||||||
Structure: |
|
flashbang_detonate
Note: Every time a flashbang detonates
Name: | flashbang_detonate | |||||||||||||||
Structure: |
|
smokegrenade_detonate
Note: Every time a smokegrenade detonates
Name: | smokegrenade_detonate | |||||||||||||||
Structure: |
|
smokegrenade_expired
Note:
Name: | smokegrenade_expired | |||||||||||||||
Structure: |
|
molotov_detonate
Note:
Name: | molotov_detonate | ||||||||||||
Structure: |
|
decoy_detonate
Note:
Name: | decoy_detonate | |||||||||||||||
Structure: |
|
decoy_started
Note:
Name: | decoy_started | |||||||||||||||
Structure: |
|
tagrenade_detonate
Note: Every time a tagrenade explodes
Name: | tagrenade_detonate | |||||||||||||||
Structure: |
|
inferno_startburn
Note:
Name: | inferno_startburn | ||||||||||||
Structure: |
|
inferno_expire
Note:
Name: | inferno_expire | ||||||||||||
Structure: |
|
inferno_extinguish
Note:
Name: | inferno_extinguish | ||||||||||||
Structure: |
|
decoy_firing
Note:
Name: | decoy_firing | |||||||||||||||
Structure: |
|
bullet_impact
Note: Every time a bullet hits something
Name: | bullet_impact | ||||||||||||
Structure: |
|
player_footstep
Note: Every time a player takes a step
Name: | player_footstep | |||
Structure: |
|
player_jump
Note: Every time a player jumps
Name: | player_jump | |||
Structure: |
|
player_blind
Note: Every time a player is blinded by a flashbang
Name: | player_blind | |||
Structure: |
|
player_falldamage
Note: Every time a player takes damage due to a fall
Name: | player_falldamage | ||||||
Structure: |
|
door_moving
Note: Every time a door is put in motion (opened)
Name: | door_moving | ||||||
Structure: |
|
round_freeze_end
Note: When the round's mp_freezetime is up
Name: | round_freeze_end | |||
Structure: |
|
mb_input_lock_success
Note:
Name: | mb_input_lock_success | |||
Structure: |
|
mb_input_lock_cancel
Note:
Name: | mb_input_lock_cancel | |||
Structure: |
|
Note: Guess: Called when an area is blocked by the nav of a map
Name: | nav_blocked | ||||||
Structure: |
|
Note: Called when a nav file does not exist for a map and bots are added
Name: | nav_generate | |||
Structure: |
|
player_stats_updated
Note: Guess: Called when the player stats (achievments) are sent to valve
Name: | player_stats_updated | |||
Structure: |
|
achievement_info_loaded
Note: -
Name: | achievement_info_loaded | |||
Structure: |
|
spec_target_updated
Note: -
Name: | spec_target_updated | |||
Structure: |
|
spec_mode_updated
Note: -
Name: | spec_target_updated | |||
Structure: |
|
hltv_changed_mode
Note: -
Name: | hltv_changed_mode | |||||||||
Structure: |
|
hltv_chase
Note:
Name: | hltv_chase | |
Structure: |
|
hltv_status
Note:
Name: | hltv_status | |
Structure: |
|
player_disconnect
Note:
Name: | player_disconnect | |
Structure: |
|
player_spawn
Note:
Name: | player_spawn | |
Structure: |
|
player_team
Note:
Name: | player_team | |
Structure: |
|
cs_game_disconnected
Note: -
Name: | cs_game_disconnected | |||
Structure: |
|
cs_round_final_beep
Note:
Name: | cs_round_final_beep | |
Structure: |
|
cs_round_start_beep
Note:
Name: | cs_round_start_beep | |
Structure: |
|
cs_win_panel_round
Note: -
Name: | cs_win_panel_round | |||||||||||||||||||||||||||
Structure: |
|
cs_win_panel_match
Note: -
Name: | cs_win_panel_match | |||
Structure: |
|
round_announce_last_round_half
Note:
Name: | round_announce_last_round_half | |
Structure: |
|
round_announce_match_point
Note:
Name: | round_announce_match_point | |
Structure: |
|
round_announce_match_start
Note:
Name: | round_announce_match_start | |
Structure: |
|
round_time_warning
Note:
Name: | round_time_warning | |
Structure: |
|
cs_match_end_restart
Note: -
Name: | cs_match_end_restart | |||
Structure: |
|
cs_pre_restart
Note: -
Name: | cs_pre_restart | |||
Structure: |
|
show_freezepanel
Note: -
Name: | show_freezepanel | ||||||||||||||||||
Structure: |
|
hide_freezepanel
Note: -
Name: | hide_freezepanel | |||
Structure: |
|
freezecam_started
Note: -
Name: | freezecam_started | |||
Structure: |
|
player_avenged_teammate
Note: -
Name: | player_avenged_teammate | ||||||
Structure: |
|
achievement_earned
Note: -
Name: | achievement_earned | ||||||
Structure: |
|
achievement_earned_local
Note: -
Name: | achievement_earned_local | ||||||
Structure: |
|
item_found
Note: -
Name: | item_found | |||||||||||||||
Structure: |
|
items_gifted
Note: -
Name: | items_gifted | |||||||||||||||
Structure: |
|
repost_xbox_achievements
Note: -
Name: | repost_xbox_achievements | |||
Structure: |
|
match_end_conditions
Note: -
Name: | match_end_conditions | ||||||||||||
Structure: |
|
round_mvp
Note: -
Name: | round_mvp | ||||||
Structure: |
|
player_decal
Note: -
Name: | player_decal | |||
Structure: |
|
teamplay_round_start
Note: -
Name: | teamplay_round_start | |||
Structure: |
|
client_disconnect
Note: -
Name: | client_disconnect | |||
Structure: |
|
gg_player_levelup
Note: -
Name: | gg_player_levelup | |||||||||
Structure: |
|
ggtr_player_levelup
Note: -
Name: | ggtr_player_levelup | |||||||||
Structure: |
|
assassination_target_killed
Note: -
Name: | assassination_target_killed | ||||||
Structure: |
|
ggprogressive_player_levelup
Note: -
Name: | ggprogressive_player_levelup | |||||||||
Structure: |
|
gg_killed_enemy
Note: -
Name: | gg_killed_enemy | |||||||||||||||
Structure: |
|
gg_final_weapon_achieved
Note: -
Name: | gg_final_weapon_achieved | |||
Structure: |
|
gg_bonus_grenade_achieved
Note: -
Name: | gg_bonus_grenade_achieved | |||
Structure: |
|
switch_team
Note: -
Name: | switch_team | |||||||||||||||
Structure: |
|
gg_leader
Note: -
Name: | gg_leader | |||
Structure: |
|
gg_team_leader
Note: -
Name: | gg_team_leader | |||
Structure: |
|
gg_player_impending_upgrade
Note: -
Name: | gg_player_impending_upgrade | |||
Structure: |
|
write_profile_data
Note: -
Name: | write_profile_data | |||
Structure: |
|
trial_time_expired
Note: fired when a player runs out of time in trial mode
Name: | trial_time_expired | |||
Structure: |
|
update_matchmaking_stats
Note: -
Name: | update_matchmaking_stats | |||
Structure: |
|
player_reset_vote
Note: -
Name: | player_reset_vote | ||||||
Structure: |
|
enable_restart_voting
Note: -
Name: | enable_restart_voting | |||
Structure: |
|
sfuievent
Note: -
Name: | sfuievent | |||||||||
Structure: |
|
start_vote
Note: -
Name: | start_vote | |||||||||
Structure: |
|
player_given_c4
Note: -
Name: | player_given_c4 | |||
Structure: |
|
gg_reset_round_start_sounds
Note: -
Name: | gg_reset_round_start_sounds | |||
Structure: |
|
tr_player_flashbanged
Note: -
Name: | tr_player_flashbanged | |||
Structure: |
|
tr_highlight_ammo
Note: not used yet because this relied on vgui panels, scaleform isn't supported yet
Name: | tr_highlight_ammo | |||
Structure: |
|
tr_mark_complete
Note: -
Name: | tr_mark_complete | |||
Structure: |
|
tr_mark_best_time
Note: -
Name: | tr_mark_best_time | |||
Structure: |
|
tr_exit_hint_trigger
Note: -
Name: | tr_exit_hint_trigger | |||
Structure: |
|
bot_takeover
Note: -
Name: | bot_takeover | |||||||||
Structure: |
|
tr_show_finish_msgbox
Note: -
Name: | tr_show_finish_msgbox | |||
Structure: |
|
tr_show_exit_msgbox
Note: -
Name: | tr_show_exit_msgbox | |||
Structure: |
|
reset_player_controls
Note: used for demos
Name: | reset_player_controls | |||
Structure: |
|
jointeam_failed
Note: -
Name: | jointeam_failed | ||||||
Structure: |
|
teamchange_pending
Note: -
Name: | teamchange_pending | ||||||
Structure: |
|
material_default_complete
Note: -
Name: | material_default_complete | |||
Structure: |
|
cs_prev_next_spectator
Note: -
Name: | cs_prev_next_spectator | |||
Structure: |
|
cs_handle_ime_event
Note: -
Name: | cs_handle_ime_event | |||||||||
Structure: |
|
nextlevel_changed
Note: a game event, name may be 32 characters long
Name: | nextlevel_changed | |||
Structure: |
|
seasoncoin_levelup
Note: -
Name: | seasoncoin_levelup | |||||||||
Structure: |
|
tournament_reward
Note: -
Name: | tournament_reward | |||||||||
Structure: |
|
start_halftime
Note:
Name: | start_halftime | |
Structure: |
|