Difference between revisions of "Counter-Strike: Source Events"
(→bomb_plant) |
Peace-Maker (talk | contribs) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
:''Refer back to [[Game Events (Source)]] for more events.'' | :''Refer back to [[Game Events (Source)]] for more events.'' | ||
+ | |||
+ | All cstrike mod events can be found in cstrike\resource\modevents.res | ||
+ | |||
=== player_death === | === player_death === | ||
{{qnotice|When a client dies}} | {{qnotice|When a client dies}} | ||
{{begin-hl2msg|player_death|string}} | {{begin-hl2msg|player_death|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|user ID who died}} |
− | {{hl2msg|short|attacker}} | + | {{hl2msg|short|attacker|user ID who killed}} |
− | {{hl2msg|string|weapon}} | + | {{hl2msg|string|weapon|weapon name killer used }} |
− | {{hl2msg|bool|headshot}} | + | {{hl2msg|bool|headshot|singals a headshot}} |
+ | {{hl2msg|short|dominated|did killer dominate victim with this kill}} | ||
+ | {{hl2msg|short|revenge|did killer get revenge on victim with this kill}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 13: | Line 18: | ||
{{qnotice|When a client is damaged}} | {{qnotice|When a client is damaged}} | ||
{{begin-hl2msg|player_hurt|string}} | {{begin-hl2msg|player_hurt|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|user ID who was hurt}} |
− | {{hl2msg|short|attacker}} | + | {{hl2msg|short|attacker|user ID who attacked}} |
− | {{hl2msg|byte|health}} | + | {{hl2msg|byte|health|remaining health points}} |
− | {{hl2msg|byte|armor}} | + | {{hl2msg|byte|armor|remaining armor points}} |
− | {{hl2msg|string|weapon}} | + | {{hl2msg|string|weapon|weapon name attacker used, if not the world}} |
− | {{hl2msg|byte|dmg_health}} | + | {{hl2msg|byte|dmg_health|damage done to health}} |
− | {{hl2msg|byte|dmg_armor}} | + | {{hl2msg|byte|dmg_armor|damage done to armor}} |
− | {{hl2msg|byte|hitgroup}} | + | {{hl2msg|byte|hitgroup|hitgroup that was damaged}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 26: | Line 31: | ||
{{qnotice|When the bomb is starting to get planted}} | {{qnotice|When the bomb is starting to get planted}} | ||
{{begin-hl2msg|bomb_beginplant|string}} | {{begin-hl2msg|bomb_beginplant|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who is planting the bomb}} |
− | {{hl2msg|short|site}} | + | {{hl2msg|short|site|bombsite index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 33: | Line 38: | ||
{{qnotice|When the bomb planter stops planting the bomb}} | {{qnotice|When the bomb planter stops planting the bomb}} | ||
{{begin-hl2msg|bomb_abortplant|string}} | {{begin-hl2msg|bomb_abortplant|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who is planting the bomb}} |
− | {{hl2msg|short|site}} | + | {{hl2msg|short|site|bombsite index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 40: | Line 45: | ||
{{qnotice|When the bomb has been planted}} | {{qnotice|When the bomb has been planted}} | ||
{{begin-hl2msg|bomb_planted|string}} | {{begin-hl2msg|bomb_planted|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who planted the bomb}} |
− | {{hl2msg|short|site}} | + | {{hl2msg|short|site|bombsite index}} |
− | {{hl2msg|short|posx}} | + | {{hl2msg|short|posx|position x}} |
− | {{hl2msg|short|posy}} | + | {{hl2msg|short|posy|position y}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 49: | Line 54: | ||
{{qnotice|When the bomb has been defused}} | {{qnotice|When the bomb has been defused}} | ||
{{begin-hl2msg|bomb_defused|string}} | {{begin-hl2msg|bomb_defused|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who defused the bomb}} |
− | {{hl2msg|short|site}} | + | {{hl2msg|short|site|bombsite index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 56: | Line 61: | ||
{{qnotice|When the bomb explodes}} | {{qnotice|When the bomb explodes}} | ||
{{begin-hl2msg|bomb_exploded|string}} | {{begin-hl2msg|bomb_exploded|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who planted the bomb}} |
− | {{hl2msg|short|site}} | + | {{hl2msg|short|site|bombsite index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 63: | Line 68: | ||
{{qnotice|When the bomb is dropped by a client}} | {{qnotice|When the bomb is dropped by a client}} | ||
{{begin-hl2msg|bomb_dropped|string}} | {{begin-hl2msg|bomb_dropped|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who dropped the bomb}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 69: | Line 74: | ||
{{qnotice|When the bomb is picked up by a client}} | {{qnotice|When the bomb is picked up by a client}} | ||
{{begin-hl2msg|bomb_pickup|string}} | {{begin-hl2msg|bomb_pickup|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who picked up the bomb}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 75: | Line 80: | ||
{{qnotice|When the bomb is started to be defused}} | {{qnotice|When the bomb is started to be defused}} | ||
{{begin-hl2msg|bomb_begindefuse|string}} | {{begin-hl2msg|bomb_begindefuse|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who is defusing}} |
− | {{hl2msg|bool|haskit}} | + | {{hl2msg|bool|haskit|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 82: | Line 87: | ||
{{qnotice|When the bomb defusal is stopped}} | {{qnotice|When the bomb defusal is stopped}} | ||
{{begin-hl2msg|bomb_abortdefuse|string}} | {{begin-hl2msg|bomb_abortdefuse|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who was defusing}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 88: | Line 93: | ||
{{qnotice|When the hostage begins following a client}} | {{qnotice|When the hostage begins following a client}} | ||
{{begin-hl2msg|hostage_follows|string}} | {{begin-hl2msg|hostage_follows|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who touched the hostage}} |
− | {{hl2msg|short|hostage}} | + | {{hl2msg|short|hostage|hostage entity index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 95: | Line 100: | ||
{{qnotice|When a hostage is damaged}} | {{qnotice|When a hostage is damaged}} | ||
{{begin-hl2msg|hostage_hurt|string}} | {{begin-hl2msg|hostage_hurt|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who hurt the hostage}} |
− | {{hl2msg|short|hostage}} | + | {{hl2msg|short|hostage|hostage entity index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 102: | Line 107: | ||
{{qnotice|When a hostage is killed}} | {{qnotice|When a hostage is killed}} | ||
{{begin-hl2msg|hostage_killed|string}} | {{begin-hl2msg|hostage_killed|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who killed the hostage}} |
− | {{hl2msg|short|hostage}} | + | {{hl2msg|short|hostage|hostage entity index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 109: | Line 114: | ||
{{qnotice|When a hostage is rescued}} | {{qnotice|When a hostage is rescued}} | ||
{{begin-hl2msg|hostage_rescued|string}} | {{begin-hl2msg|hostage_rescued|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who rescued the hostage}} |
− | {{hl2msg|short|hostage}} | + | {{hl2msg|short|hostage|hostage entity index}} |
− | {{hl2msg|short|site}} | + | {{hl2msg|short|site|rescue site index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 117: | Line 122: | ||
{{qnotice|When a hostage stops following a client}} | {{qnotice|When a hostage stops following a client}} | ||
{{begin-hl2msg|hostage_stops_following|string}} | {{begin-hl2msg|hostage_stops_following|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who rescued the hostage}} |
− | {{hl2msg|short|hostage}} | + | {{hl2msg|short|hostage|hostage entity index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 124: | Line 129: | ||
{{qnotice|When all the hostages are rescued}} | {{qnotice|When all the hostages are rescued}} | ||
{{begin-hl2msg|hostage_rescued_all|string}} | {{begin-hl2msg|hostage_rescued_all|string}} | ||
− | {{hl2msg|''none''|''none''}} | + | {{hl2msg|''none''|''none''|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 130: | Line 135: | ||
{{qnotice|When the hostage calls for help}} | {{qnotice|When the hostage calls for help}} | ||
{{begin-hl2msg|hostage_call_for_help|string}} | {{begin-hl2msg|hostage_call_for_help|string}} | ||
− | {{hl2msg|short|hostage}} | + | {{hl2msg|short|hostage|hostage entity index}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 136: | Line 141: | ||
{{qnotice|When the VIP escapes}} | {{qnotice|When the VIP escapes}} | ||
{{begin-hl2msg|vip_escaped|string}} | {{begin-hl2msg|vip_escaped|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who was the VIP}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 142: | Line 147: | ||
{{qnotice|When the VIP is killed}} | {{qnotice|When the VIP is killed}} | ||
{{begin-hl2msg|vip_killed|string}} | {{begin-hl2msg|vip_killed|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|player who was the VIP}} |
− | {{hl2msg|short|attacker}} | + | {{hl2msg|short|attacker|user ID who killed the VIP}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 149: | Line 154: | ||
{{qnotice|When the player uses radio commands}} | {{qnotice|When the player uses radio commands}} | ||
{{begin-hl2msg|player_radio|string}} | {{begin-hl2msg|player_radio|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|short|slot}} | + | {{hl2msg|short|slot|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 156: | Line 161: | ||
{{qnotice|Every time the bomb beep sound happens}} | {{qnotice|Every time the bomb beep sound happens}} | ||
{{begin-hl2msg|bomb_beep|string}} | {{begin-hl2msg|bomb_beep|string}} | ||
− | {{hl2msg|long|entindex}} | + | {{hl2msg|long|entindex|c4 entity}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 162: | Line 167: | ||
{{qnotice|Every time a client fires their weapon}} | {{qnotice|Every time a client fires their weapon}} | ||
{{begin-hl2msg|weapon_fire|string}} | {{begin-hl2msg|weapon_fire|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|string|weapon}} | + | {{hl2msg|string|weapon|weapon name used}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 169: | Line 174: | ||
{{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}} | {{begin-hl2msg|weapon_fire_on_empty|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|string|weapon}} | + | {{hl2msg|string|weapon|weapon name used}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 176: | Line 181: | ||
{{qnotice|Every time a client reloads their weapon}} | {{qnotice|Every time a client reloads their weapon}} | ||
{{begin-hl2msg|weapon_reload|string}} | {{begin-hl2msg|weapon_reload|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 182: | Line 187: | ||
{{qnotice|Every time a client zooms a scoped weapon}} | {{qnotice|Every time a client zooms a scoped weapon}} | ||
{{begin-hl2msg|weapon_zoom|string}} | {{begin-hl2msg|weapon_zoom|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 188: | Line 193: | ||
{{qnotice|Every time an item is picked up (generally weapons)}} | {{qnotice|Every time an item is picked up (generally weapons)}} | ||
{{begin-hl2msg|item_pickup|string}} | {{begin-hl2msg|item_pickup|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|string|item}} | + | {{hl2msg|string|item|either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 195: | Line 200: | ||
{{qnotice|Every time a grenade bounces}} | {{qnotice|Every time a grenade bounces}} | ||
{{begin-hl2msg|grenade_bounce|string}} | {{begin-hl2msg|grenade_bounce|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 201: | Line 206: | ||
{{qnotice|Every time a hegrenade explodes}} | {{qnotice|Every time a hegrenade explodes}} | ||
{{begin-hl2msg|hegrenade_detonate|string}} | {{begin-hl2msg|hegrenade_detonate|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
+ | {{hl2msg|float|x|}} | ||
+ | {{hl2msg|float|y|}} | ||
+ | {{hl2msg|float|z|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 207: | Line 215: | ||
{{qnotice|Every time a flashbang detonates}} | {{qnotice|Every time a flashbang detonates}} | ||
{{begin-hl2msg|flashbang_detonate|string}} | {{begin-hl2msg|flashbang_detonate|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
+ | {{hl2msg|float|x|}} | ||
+ | {{hl2msg|float|y|}} | ||
+ | {{hl2msg|float|z|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
=== smokegrenade_detonate === | === smokegrenade_detonate === | ||
{{qnotice|Every time a smokegrenade detonates}} | {{qnotice|Every time a smokegrenade detonates}} | ||
− | {{begin-hl2msg| | + | {{begin-hl2msg|smokegrenade_detonate|string}} |
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
+ | {{hl2msg|float|x|}} | ||
+ | {{hl2msg|float|y|}} | ||
+ | {{hl2msg|float|z|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 219: | Line 233: | ||
{{qnotice|Every time a bullet hits something}} | {{qnotice|Every time a bullet hits something}} | ||
{{begin-hl2msg|bullet_impact}} | {{begin-hl2msg|bullet_impact}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|float|x}} | + | {{hl2msg|float|x|}} |
− | {{hl2msg|float|y}} | + | {{hl2msg|float|y|}} |
− | {{hl2msg|float|z}} | + | {{hl2msg|float|z|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 228: | Line 242: | ||
{{qnotice|Every time a player takes a step}} | {{qnotice|Every time a player takes a step}} | ||
{{begin-hl2msg|player_footstep|string}} | {{begin-hl2msg|player_footstep|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 234: | Line 248: | ||
{{qnotice|Every time a player jumps}} | {{qnotice|Every time a player jumps}} | ||
{{begin-hl2msg|player_jump|string}} | {{begin-hl2msg|player_jump|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 240: | Line 254: | ||
{{qnotice|Every time a player is blinded by a flashbang}} | {{qnotice|Every time a player is blinded by a flashbang}} | ||
{{begin-hl2msg|player_blind|string}} | {{begin-hl2msg|player_blind|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 246: | Line 260: | ||
{{qnotice|Every time a player takes damage due to a fall}} | {{qnotice|Every time a player takes damage due to a fall}} | ||
{{begin-hl2msg|player_falldamage|string}} | {{begin-hl2msg|player_falldamage|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|float|damage}} | + | {{hl2msg|float|damage|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 253: | Line 267: | ||
{{qnotice|Every time a door is put in motion (opened)}} | {{qnotice|Every time a door is put in motion (opened)}} | ||
{{begin-hl2msg|door_moving|string}} | {{begin-hl2msg|door_moving|string}} | ||
− | {{hl2msg|long|entindex}} | + | {{hl2msg|long|entindex|}} |
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 260: | Line 274: | ||
{{qnotice|When the round's mp_freezetime is up}} | {{qnotice|When the round's mp_freezetime is up}} | ||
{{begin-hl2msg|round_freeze_end|string}} | {{begin-hl2msg|round_freeze_end|string}} | ||
− | {{hl2msg|none|none}} | + | {{hl2msg|''none''|''none''|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 266: | Line 280: | ||
{{qnotice|''Guess: Called when an area is blocked by the nav of a map''}} | {{qnotice|''Guess: Called when an area is blocked by the nav of a map''}} | ||
{{begin-hl2msg|nav_blocked|string}} | {{begin-hl2msg|nav_blocked|string}} | ||
− | {{hl2msg|long|area}} | + | {{hl2msg|long|area|}} |
− | {{hl2msg|bool|blocked}} | + | {{hl2msg|bool|blocked|}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
Line 273: | Line 287: | ||
{{qnotice|Called when a nav file does not exist for a map and bots are added}} | {{qnotice|Called when a nav file does not exist for a map and bots are added}} | ||
{{begin-hl2msg|nav_generate|string}} | {{begin-hl2msg|nav_generate|string}} | ||
− | {{hl2msg|none|none}} | + | {{hl2msg|''none''|''none''|}} |
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_stats_updated === | ||
+ | {{qnotice|''Guess: Called when the player stats (achievments) are sent to valve''}} | ||
+ | {{begin-hl2msg|player_stats_updated|string}} | ||
+ | {{hl2msg|bool|forceupload|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === spec_target_updated === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|spec_target_updated|string}} | ||
+ | {{hl2msg|''none''|''none''|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === cs_win_panel_round === | ||
+ | {{qnotice|Called at the end of a round}} | ||
+ | {{begin-hl2msg|cs_win_panel_round|string}} | ||
+ | {{hl2msg|bool|show_timer_defend|}} | ||
+ | {{hl2msg|bool|show_timer_attack|}} | ||
+ | {{hl2msg|short|timer_time|}} | ||
+ | {{hl2msg|byte|final_event|defined in cs_gamerules.h}} | ||
+ | {{hl2msg|string|funfact_token|}} | ||
+ | {{hl2msg|short|funfact_player|}} | ||
+ | {{hl2msg|long|funfact_data1|}} | ||
+ | {{hl2msg|long|funfact_data2|}} | ||
+ | {{hl2msg|long|funfact_data3|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === cs_win_panel_match === | ||
+ | {{qnotice|Called at the end of the map}} | ||
+ | {{begin-hl2msg|cs_win_panel_match|string}} | ||
+ | {{hl2msg|short|t_score|}} | ||
+ | {{hl2msg|short|ct_score|}} | ||
+ | {{hl2msg|float|t_kd|}} | ||
+ | {{hl2msg|float|ct_kd|}} | ||
+ | {{hl2msg|short|t_objectives_done|}} | ||
+ | {{hl2msg|short|ct_objectives_done|}} | ||
+ | {{hl2msg|long|t_money_earned|}} | ||
+ | {{hl2msg|long|ct_money_earned|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === show_freezepanel === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|show_freezepanel|string}} | ||
+ | {{hl2msg|short|killer|entindex of the killer entity}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === hide_freezepanel === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|hide_freezepanel|string}} | ||
+ | {{hl2msg|''none''|''none''|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === freezecam_started === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|freezecam_started|string}} | ||
+ | {{hl2msg|''none''|''none''|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_avenged_teammate === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|player_avenged_teammate|string}} | ||
+ | {{hl2msg|short|avenger_id|}} | ||
+ | {{hl2msg|short|avenged_player_id|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === achievement_earned === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|achievement_earned|string}} | ||
+ | {{hl2msg|byte|player|entindex of the player}} | ||
+ | {{hl2msg|short|achievement|achievement ID}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === achievement_earned_local === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|achievement_earned_local|string}} | ||
+ | {{hl2msg|short|achievement|achievement ID}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === match_end_conditions === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|match_end_conditions|string}} | ||
+ | {{hl2msg|long|frags|}} | ||
+ | {{hl2msg|long|max_rounds|}} | ||
+ | {{hl2msg|long|win_rounds|}} | ||
+ | {{hl2msg|long|time|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === round_mvp === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|round_mvp|string}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|reason|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_decal === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|player_decal|string}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === teamplay_round_start === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|teamplay_round_start|string}} | ||
+ | {{hl2msg|bool|full_reset|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === christmas_gift_grab === | ||
+ | {{qnotice|-}} | ||
+ | {{begin-hl2msg|christmas_gift_grab|string}} | ||
+ | {{hl2msg|short|userid|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Latest revision as of 04:50, 7 January 2012
- Refer back to Game Events (Source) for more events.
All cstrike mod events can be found in cstrike\resource\modevents.res
Contents
- 1 player_death
- 2 player_hurt
- 3 bomb_beginplant
- 4 bomb_abortplant
- 5 bomb_planted
- 6 bomb_defused
- 7 bomb_exploded
- 8 bomb_dropped
- 9 bomb_pickup
- 10 bomb_begindefuse
- 11 bomb_abortdefuse
- 12 hostage_follows
- 13 hostage_hurt
- 14 hostage_killed
- 15 hostage_rescued
- 16 hostage_stops_following
- 17 hostage_rescued_all
- 18 hostage_call_for_help
- 19 vip_escaped
- 20 vip_killed
- 21 player_radio
- 22 bomb_beep
- 23 weapon_fire
- 24 weapon_fire_on_empty
- 25 weapon_reload
- 26 weapon_zoom
- 27 item_pickup
- 28 grenade_bounce
- 29 hegrenade_detonate
- 30 flashbang_detonate
- 31 smokegrenade_detonate
- 32 bullet_impact
- 33 player_footstep
- 34 player_jump
- 35 player_blind
- 36 player_falldamage
- 37 door_moving
- 38 round_freeze_end
- 39 nav_blocked
- 40 nav_generate
- 41 player_stats_updated
- 42 spec_target_updated
- 43 cs_win_panel_round
- 44 cs_win_panel_match
- 45 show_freezepanel
- 46 hide_freezepanel
- 47 freezecam_started
- 48 player_avenged_teammate
- 49 achievement_earned
- 50 achievement_earned_local
- 51 match_end_conditions
- 52 round_mvp
- 53 player_decal
- 54 teamplay_round_start
- 55 christmas_gift_grab
player_death
Note: When a client dies
Name: | player_death | ||||||||||||||||||
Structure: |
|
player_hurt
Note: When a client is damaged
Name: | player_hurt | ||||||||||||||||||||||||
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: |
|
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: |
|
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: |
|
item_pickup
Note: Every time an item is picked up (generally weapons)
Name: | item_pickup | ||||||
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: |
|
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: |
|
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: |
|
spec_target_updated
Note: -
Name: | spec_target_updated | |||
Structure: |
|
cs_win_panel_round
Note: Called at the end of a round
Name: | cs_win_panel_round | |||||||||||||||||||||||||||
Structure: |
|
cs_win_panel_match
Note: Called at the end of the map
Name: | cs_win_panel_match | ||||||||||||||||||||||||
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: |
|
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: |
|
christmas_gift_grab
Note: -
Name: | christmas_gift_grab | |||
Structure: |
|