Difference between revisions of "Left 4 Dead Events"

From AlliedModders Wiki
Jump to: navigation, search
(player_ledgerelease)
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
:''Refer back to [[Game Events (Source)]] for more events.''
 
=== player_death ===
 
=== player_death ===
{{qnotice|None}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|player_death|string}}
 
{{begin-hl2msg|player_death|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|user ID who died}}
{{hl2msg|long|entityid}}
+
{{hl2msg|long|entityid|entity ID who died, userid should be used first, to get the dead Player.  Otherwise, it is not a player, so use this.}}
{{hl2msg|short|attacker}}
+
{{hl2msg|short|attacker|user ID who killed}}
{{hl2msg|string|attackername}}
+
{{hl2msg|string|attackername|What type of zombie, so we don't have zombie names}}
{{hl2msg|long|attackerentid}}
+
{{hl2msg|long|attackerentid|if killer not a player, the entindex of who killed.  Again, use attacker first}}
{{hl2msg|bool|headshot}}
+
{{hl2msg|string|weapon|weapon name killer used}}
{{hl2msg|boot|attackerisbot}}
+
{{hl2msg|bool|headshot|singals a headshot}}
{{hl2msg|string|victimname}}
+
{{hl2msg|bool|attackerisbot|is the attacker a bot}}
{{hl2msg|bool|victimisbot}}
+
{{hl2msg|string|victimname|What type of zombie, so we don't have zombie names}}
{{hl2msg|bool|abort}}
+
{{hl2msg|bool|victimisbot|is the victim a bot}}
{{hl2msg|long|type}}
+
{{hl2msg|bool|abort|did the victim abort}}
{{hl2msg|float|victim_x}}
+
{{hl2msg|long|type|damage type}}
{{hl2msg|float|victim_y}}
+
{{hl2msg|float|victim_x|}}
{{hl2msg|float|victim_z}}
+
{{hl2msg|float|victim_y|}}
 +
{{hl2msg|float|victim_z|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
 
=== player_hurt ===
 
=== player_hurt ===
{{qnotice|None}}<br>
+
{{qnotice|Registers all playable classes (Hunter, Smoker, Boomer, Tank, Survivors). See infected_hurt for Witch and Common Infected}}<br>
 
{{begin-hl2msg|player_hurt|string}}
 
{{begin-hl2msg|player_hurt|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|1|local|Not networked}}
{{hl2msg|short|attacker}}
+
{{hl2msg|short|userid|user ID who was hurt}}
{{hl2msg|long|attackerentid}}
+
{{hl2msg|short|attacker|user id who attacked}}
{{hl2msg|short|health}}
+
{{hl2msg|long|attackerentid|entity id who attacked, if attacker not a player, and userid therefore invalid}}
{{hl2msg|byte|armor}}
+
{{hl2msg|short|health|remaining health points}}
{{hl2msg|string|weapon}}
+
{{hl2msg|byte|armor|remaining armor points}}
{{hl2msg|short|dmg_health}}
+
{{hl2msg|string|weapon|weapon name attacker used, if not the world}}
{{hl2msg|byte|dmg_armor}}
+
{{hl2msg|short|dmg_health|damage done to health}}
{{hl2msg|byte|hitgroup}}
+
{{hl2msg|byte|dmg_armor|damage done to armor}}
{{hl2msg|long|type}}
+
{{hl2msg|byte|hitgroup|hitgroup that was damaged}}
 +
{{hl2msg|long|type|damage type}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== player_team ===
 
=== player_team ===
{{qnotice|When a player Changes Team}}<br>
+
{{qnotice|player change his team}}<br>
{{begin-hl2msg|player_team|string|}}
+
{{begin-hl2msg|player_team|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|user ID on server}}
{{hl2msg|byte|team}}
+
{{hl2msg|byte|team|team id}}
{{hl2msg|byte|oldteam}}
+
{{hl2msg|byte|oldteam|old team id}}
{{hl2msg|bool|disconnect}}
+
{{hl2msg|bool|disconnect|team change because player disconnects}}
{{hl2msg|string|name}}
+
{{hl2msg|string|name|}}
{{hl2msg|bool|isbot}}
+
{{hl2msg|bool|isbot|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== player_bot_replace ===
 
=== player_bot_replace ===
{{qnotice|When a player replaces a bot}}<br>
+
{{qnotice|Bot replaced a player}}<br>
 
{{begin-hl2msg|player_bot_replace|string}}
 
{{begin-hl2msg|player_bot_replace|string}}
{{hl2msg|short|player}}
+
{{hl2msg|short|player|user ID of the player}}
{{hl2msg|short|bot}}
+
{{hl2msg|short|bot|user ID of the bot}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== bot_player_replace ===
 
=== bot_player_replace ===
{{qnotice|When a bot replaces a player}}<br>
+
{{qnotice|Player replaced a bot}}<br>
 
{{begin-hl2msg|bot_player_replace|string}}
 
{{begin-hl2msg|bot_player_replace|string}}
{{hl2msg|short|bot}}
+
{{hl2msg|short|bot|user ID of the bot}}
{{hl2msg|short|player}}
+
{{hl2msg|short|player|user ID of the player}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== player_afk ===
 
=== player_afk ===
{{qnotice|When a bot replaces a player}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|player_afk|string}}
 
{{begin-hl2msg|player_afk|string}}
{{hl2msg|short|player}}
+
{{hl2msg|short|player|user ID of the player}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== weapon_fire ===
 
=== weapon_fire ===
{{qnotice|When a weapon is fired}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|weapon_fire|string}}
 
{{begin-hl2msg|weapon_fire|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|1|local|don't network this, its way too spammy}}
{{hl2msg|string|weapon}}
+
{{hl2msg|short|userid|}}
{{hl2msg|short|weaponid}}
+
{{hl2msg|string|weapon|used weapon name}}
{{hl2msg|short|count}}
+
{{hl2msg|short|weaponid|used weapon ID}}
 +
{{hl2msg|short|count|number of bullets}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
 
=== weapon_fire_on_empty ===
 
=== weapon_fire_on_empty ===
{{qnotice|When a weapon is fired while empty}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|weapon_fire_on_empty|string}}
 
{{begin-hl2msg|weapon_fire_on_empty|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|1|local|don't network this, its way too spammy}}
{{hl2msg|string|weapon}}
+
{{hl2msg|short|userid|}}
{{hl2msg|short|count}}
+
{{hl2msg|string|weapon|weapon name used}}
 +
{{hl2msg|short|count|number of bullets}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== weapon_reload ===
 
=== weapon_reload ===
{{qnotice|When a weapon is reloaded}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|weapon_reload|string}}
 
{{begin-hl2msg|weapon_reload|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
{{hl2msg|bool|manual}}
+
{{hl2msg|bool|manual|player manually started the reload}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== weapon_zoom ===
 
=== weapon_zoom ===
{{qnotice|When a weapon is reloaded}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|weapon_zoom|string}}
 
{{begin-hl2msg|weapon_zoom|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== ability_use ===
 
=== ability_use ===
{{qnotice|When an ability is used}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|ability_use|string}}
 
{{begin-hl2msg|ability_use|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
{{hl2msg|string|ability}}
+
{{hl2msg|string|ability|ability classname}}
{{hl2msg|short|context}}
+
{{hl2msg|short|context|enum of the way it was used (different for each ability)}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== ammo_pickup ===
 
=== ammo_pickup ===
{{qnotice|When a player receives ammo}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|ammo_pickup|string}}
 
{{begin-hl2msg|ammo_pickup|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|The player who got some ammo from a weapon_ammo_spawner}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== item_pickup ===
 
=== item_pickup ===
{{qnotice|When a player receives an item}}<br>
+
{{qnotice|}}<br>
 
{{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}}
 
 
=== grenade_bounce ===
 
=== grenade_bounce ===
{{qnotice|When a grenade bounces}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|grenade_bounce|string}}
 
{{begin-hl2msg|grenade_bounce|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== hegrenade_detonate ===
 
=== hegrenade_detonate ===
{{qnotice|When a grenade explodes}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|hegrenade_detonate|string}}
 
{{begin-hl2msg|hegrenade_detonate|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== bullet_impact ===
 
=== bullet_impact ===
{{qnotice|When a bullet projectile impacts}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|bullet_impact|string}}
 
{{begin-hl2msg|bullet_impact|string}}
{{hl2msg|userid|short}}
+
{{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}}
 
 
=== player_footstep ===
 
=== player_footstep ===
{{qnotice|When a player makes a footstep}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|player_footstep|string}}
 
{{begin-hl2msg|player_footstep|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== player_jump ===
 
=== player_jump ===
{{qnotice|When a player jumps}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|player_jump|string}}
 
{{begin-hl2msg|player_jump|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== player_blind ===
 
=== player_blind ===
{{qnotice|When a player is blinded}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|player_blind|string}}
 
{{begin-hl2msg|player_blind|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== player_falldamage ===
 
=== player_falldamage ===
{{qnotice|When a player receives fall damage}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|player_falldamage|string}}
 
{{begin-hl2msg|player_falldamage|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|Who got hurt}}
{{hl2msg|float|damage}}
+
{{hl2msg|float|damage|for how much}}
{{hl2msg|short|causer}}
+
{{hl2msg|short|causer|Who caused them to do so (if anyone)}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
+
=== player_ledge_grab ===
=== player_ledgegrab ===
+
{{qnotice|}}<br>
{{qnotice|When a player grabs on a ledge}}<br>
+
{{begin-hl2msg|player_ledge_grab|string}}
{{begin-hl2msg|player_ledgegrab|string}}
+
{{hl2msg|short|userid|Who grabbed the ledge}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|causer|Who caused them to do so (if anyone)}}
{{hl2msg|short|causer}}
+
{{hl2msg|bool|has_upgrade|whether they have an upgrade to help themself.}}
{{hl2msg|bool|has_upgrade}}
 
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
+
=== player_ledge_release ===
=== player_ledgerelease ===
+
{{qnotice|}}<br>
{{qnotice|When a player lets go of a ledge}}<br>
+
{{begin-hl2msg|player_ledge_release|string}}
{{begin-hl2msg|player_ledgerelease|string}}
+
{{hl2msg|short|userid|person who released from the ledge}}
{{hl2msg|userid|short}}
 
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== door_moving ===
 
=== door_moving ===
{{qnotice|When a door moves}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|door_moving|string}}
 
{{begin-hl2msg|door_moving|string}}
{{hl2msg|entindex|long}}
+
{{hl2msg|long|entindex|}}
{{hl2msg|userid|short}}
+
{{hl2msg|short|userid|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== door_open ===
 
=== door_open ===
{{qnotice|When a door is opened}}<br>
+
{{qnotice|}}<br>
 
{{begin-hl2msg|door_open|string}}
 
{{begin-hl2msg|door_open|string}}
{{hl2msg|userid|short}}
+
{{hl2msg|short|userid|Who opened the door}}
{{hl2msg|checkpoint|bool}}
+
{{hl2msg|bool|checkpoint|Is the door a checkpoint door}}
{{hl2msg|closed|bool}}
+
{{hl2msg|bool|closed|Was the door closed when it started opening?}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== door_close ===
 
=== door_close ===
{{qnotice|When a door is closed}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|door_close|string}}
{{hl2msg|checkpoint|bool}}
+
{{hl2msg|short|userid|Who closed the door}}
 +
{{hl2msg|bool|checkpoint|Is the door a checkpoint door}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== door_unlocked ===
 
=== door_unlocked ===
{{qnotice|When a door is unlocked}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|door_unlocked|string}}
{{hl2msg|checkpoint|bool}}
+
{{hl2msg|short|userid|Who opened the door}}
 +
{{hl2msg|bool|checkpoint|Is the door a checkpoint door}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== rescue_door_open ===
 
=== rescue_door_open ===
{{qnotice|When a rescue door is opened}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|rescue_door_open|string}}
{{hl2msg|entindex|long}}
+
{{hl2msg|short|userid|Who opened the door}}
 +
{{hl2msg|long|entindex|door that opened}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== waiting_checkpoint_door_used ===
 
=== waiting_checkpoint_door_used ===
 
{{qnotice|Someone tried to open a checkpoint door that is locked till everyone loads in}}<br>
 
{{qnotice|Someone tried to open a checkpoint door that is locked till everyone loads in}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|waiting_checkpoint_door_used|string}}
{{hl2msg|entindex|long}}
+
{{hl2msg|short|userid|player who tried to open it}}
 +
{{hl2msg|long|entindex|door that was used}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== waiting_door_used_versus ===
 
=== waiting_door_used_versus ===
 
{{qnotice|Someone tried to open a checkpoint door that is locked till everyone loads in}}<br>
 
{{qnotice|Someone tried to open a checkpoint door that is locked till everyone loads in}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|waiting_door_used_versus|string}}
{{hl2msg|entindex|long}}
+
{{hl2msg|short|userid|player who tried to open it}}
 +
{{hl2msg|long|entindex|door that was used}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== waiting_checkpoint_button_used ===
 
=== waiting_checkpoint_button_used ===
 +
{{qnotice|Someone tried to push a button that's locked until everyone is gathered}}<br>
 +
{{begin-hl2msg|waiting_checkpoint_button_used|string}}
 +
{{hl2msg|short|userid|player who tried to open it}}
 +
{{end-hl2msg}}
 +
=== success_checkpoint_button_used ===
 
{{qnotice|Someone pushed a button that's locked until everyone is gathered}}<br>
 
{{qnotice|Someone pushed a button that's locked until everyone is gathered}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|success_checkpoint_button_used|string}}
 +
{{hl2msg|short|userid|player who openned it}}
 +
{{end-hl2msg}}
 +
=== round_freeze_end ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|round_freeze_end|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== round_start_pre_entity ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|round_start_pre_entity|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== round_start_post_nav ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|round_start_post_nav|string}}
 +
{{hl2msg|None|None|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== nav_blocked ===
 
=== nav_blocked ===
{{qnotice|When Nav is blocked}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|area|long}}
+
{{begin-hl2msg|nav_blocked|string}}
{{hl2msg|blocked|bool}}
+
{{hl2msg|long|area|}}
 +
{{hl2msg|bool|blocked|}}
 +
{{end-hl2msg}}
 +
=== nav_generate ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|nav_generate|string}}
 +
{{hl2msg|None|None|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== round_end_message ===
 
=== round_end_message ===
{{qnotice|When a game round ends}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|winner|byte}}
+
{{begin-hl2msg|round_end_message|string}}
{{hl2msg|reason|byte}}
+
{{hl2msg|byte|winner|winner team/user i}}
{{hl2msg|message|string}}
+
{{hl2msg|byte|reason|reson why team won}}
 +
{{hl2msg|string|message|end round message}}
 +
{{end-hl2msg}}
 +
=== vote_ended ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|vote_ended|string}}
 +
{{hl2msg|None|None|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== vote_started ===
 
=== vote_started ===
{{qnotice|When a ingame vote is created}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|issue|string}}
+
{{begin-hl2msg|vote_started|string}}
{{hl2msg|param1|string}}
+
{{hl2msg|string|issue|}}
{{hl2msg|team|byte}}
+
{{hl2msg|string|param1|}}
{{hl2msg|initiator|long}}
+
{{hl2msg|byte|team|}}
 +
{{hl2msg|long|initiator|entity id of the player who initiated the vote}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== vote_changed ===
 
=== vote_changed ===
{{qnotice|When a ingame vote is changed}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|yesVotes|byte}}
+
{{begin-hl2msg|vote_changed|string}}
{{hl2msg|noVotes|bytes}}
+
{{hl2msg|byte|yesVotes|}}
{{hl2msg|potentialVotes|byte}}
+
{{hl2msg|byte|noVotes|}}
 +
{{hl2msg|byte|potentialVotes|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== vote_passed ===
 
=== vote_passed ===
{{qnotice|When a ingame vote is passed}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|details|string}}
+
{{begin-hl2msg|vote_passed|string}}
{{hl2msg|param1|string}}
+
{{hl2msg|string|details|}}
{{hl2msg|team|byte}}
+
{{hl2msg|string|param1|}}
 +
{{hl2msg|byte|team|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== vote_failed ===
 
=== vote_failed ===
{{qnotice|When a ingame vote failed}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|team|byte}}
+
{{begin-hl2msg|vote_failed|string}}
 +
{{hl2msg|byte|team|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== vote_cast_yes ===
 
=== vote_cast_yes ===
{{qnotice|When a player votes yes on ingame vote}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|team|byte}}
+
{{begin-hl2msg|vote_cast_yes|string}}
{{hl2msg|entityid|long}}
+
{{hl2msg|byte|team|}}
 +
{{hl2msg|long|entityid|entity id of the voter}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== vote_cast_no ===
 
=== vote_cast_no ===
{{qnotice|When a player votes no on ingame vote}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|team|byte}}
+
{{begin-hl2msg|vote_cast_no|string}}
{{hl2msg|entityid|long}}
+
{{hl2msg|byte|team|}}
 +
{{hl2msg|long|entityid|entity id of the voter}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== infected_hurt ===
 
=== infected_hurt ===
{{qnotice|When an infected is hurt}}<br>
+
{{qnotice|Registers for non-playable classes (Common Infected, Witch). See player_hurt for other playable classes}}<br>
{{begin-hl2msg|local|1}}
+
{{begin-hl2msg|infected_hurt|string}}
{{hl2msg|attacker|short}}
+
{{hl2msg|1|local|don't network this, its way too spammy}}
{{hl2msg|entityid|long}}
+
{{hl2msg|short|attacker|player userid who attacked}}
{{hl2msg|hitgroup|byte}}
+
{{hl2msg|long|entityid|entity id of infected}}
{{hl2msg|amount|short}}
+
{{hl2msg|byte|hitgroup|hitgroup that was damaged}}
{{hl2msg|type|long}}
+
{{hl2msg|short|amount|how much damage was done}}
 +
{{hl2msg|long|type|damage type}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== infected_death ===
 
=== infected_death ===
{{qnotice|When an infected is killed}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|attacker|short}}
+
{{begin-hl2msg|infected_death|string}}
{{hl2msg|headshot|bool}}
+
{{hl2msg|short|attacker|user ID who killed}}
{{hl2msg|minigun|bool}}
+
{{hl2msg|bool|headshot|singals a headshot}}
{{hl2msg|blast|bool}}
+
{{hl2msg|bool|minigun|singals a minigun kill}}
 +
{{hl2msg|bool|blast|singals a death from blast damage}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== hostname_changed ===
 
=== hostname_changed ===
{{qnotice|When the server hostname changes}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|hostname|string}}
+
{{begin-hl2msg|hostname_changed|string}}
 +
{{hl2msg|string|hostname|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== difficulty_changed ===
 
=== difficulty_changed ===
{{qnotice|When the server difficulty changes}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|newDifficulty|short}}
+
{{begin-hl2msg|difficulty_changed|string}}
{{hl2msg|oldDifficulty|short}}
+
{{hl2msg|short|newDifficulty|}}
 +
{{hl2msg|short|oldDifficulty|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== finale_start ===
 
=== finale_start ===
{{qnotice|When the campaign finale begins}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|rushes|short}}
+
{{begin-hl2msg|finale_start|string}}
 +
{{hl2msg|short|rushes|}}
 +
{{end-hl2msg}}
 +
=== finale_rush ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|finale_rush|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== finale_escape_start ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|finale_escape_start|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== finale_vehicle_ready ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|finale_vehicle_ready|string}}
 +
{{hl2msg|None|None|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== finale_vehicle_leaving ===
 
=== finale_vehicle_leaving ===
{{qnotice|When the finale vehicle is leaving}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|survivorcount|short}}
+
{{begin-hl2msg|finale_vehicle_leaving|string}}
 +
{{hl2msg|short|survivorcount|number of survivors that made it out}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== finale_win ===
 
=== finale_win ===
{{qnotice|When the finale in completed}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|map_name|string}}
+
{{begin-hl2msg|finale_win|string}}
{{hl2msg|difficulty|short}}
+
{{hl2msg|string|map_name|}}
 +
{{hl2msg|short|difficulty|}}
 +
{{end-hl2msg}}
 +
=== mission_lost ===
 +
{{qnotice|As in, the survivor team failed.  Opposite of finale_win, but not necessarily during the finale.}}<br>
 +
{{begin-hl2msg|mission_lost|string}}
 +
{{hl2msg|None|None|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== finale_radio_start ===
 
=== finale_radio_start ===
{{qnotice|When the radio is used to begin the finale}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|health|short}}
+
{{begin-hl2msg|finale_radio_start|string}}
 +
{{hl2msg|short|health|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== finale_radio_damaged ===
 
=== finale_radio_damaged ===
{{qnotice|When the finale radio is damaged}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|health|short}}
+
{{begin-hl2msg|finale_radio_damaged|string}}
 +
{{hl2msg|short|health|}}
 +
{{end-hl2msg}}
 +
=== final_reportscreen ===
 +
{{qnotice|Right before the final report screen comes up, let awards possibly fire}}<br>
 +
{{begin-hl2msg|final_reportscreen|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== map_transition ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|map_transition|string}}
 +
{{hl2msg|None|None|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
+
=== player_transitioned ===
=== player_transistioned ===
+
{{qnotice|}}<br>
{{qnotice|When a player finishes transistioning}}<br>
+
{{begin-hl2msg|player_transitioned|string}}
{{begin-hl2msg|userid|short}}
+
{{hl2msg|short|userid|the person that just finished transitioning}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== heal_begin ===
 
=== heal_begin ===
{{qnotice|When a survivors begins to heal}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|heal_begin|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person doing the healing}}
 +
{{hl2msg|short|subject|person being healed}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== heal_success ===
 
=== heal_success ===
{{qnotice|When a survivors completes a heal}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|heal_success|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person doing the healing}}
{{hl2msg|health_restored|short}}
+
{{hl2msg|short|subject|person being healed}}
 +
{{hl2msg|short|health_restored|amount of health restored}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== heal_end ===
 
=== heal_end ===
{{qnotice|When a survivors ends a heal}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|heal_end|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person doing the healing}}
 +
{{hl2msg|short|subject|person being healed}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== heal_interrupted ===
 
=== heal_interrupted ===
{{qnotice|When a survivors ends a heal}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|heal_interrupted|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person who was being healed, but moved.}}
 +
{{hl2msg|short|subject|person being healed}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== give_weapon ===
 
=== give_weapon ===
{{qnotice|When a weapon is given to a survivor}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|give_weapon|string}}
{{hl2msg|recipient|short}}
+
{{hl2msg|short|userid|The giver of the weapon}}
{{hl2msg|weapon|short}}
+
{{hl2msg|short|recipient|The recipient of the weapon}}
 +
{{hl2msg|short|weapon|The ID of the weapon given}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== pills_used ===
 
=== pills_used ===
{{qnotice|When a survivor uses pills}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|pills_used|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person who had the pills}}
 +
{{hl2msg|short|subject|person swallowing the pills}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== pills_used_fail ===
 
=== pills_used_fail ===
{{qnotice|When a survivor fails using pills}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|pills_used_fail|string}}
 +
{{hl2msg|short|userid|person who tried to use the pills}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== revive_begin ===
 
=== revive_begin ===
{{qnotice|When a survivor begins to revive a fallen player}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|revive_begin|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person doing the reviving}}
 +
{{hl2msg|short|subject|person being revived}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== revive_success ===
 
=== revive_success ===
{{qnotice|When a survivor revives a fallen player}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|revive_success|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person doing the reviving}}
{{hl2msg|lastlife|bool}}
+
{{hl2msg|short|subject|person who was revived}}
{{hl2msg|ledge_hang|bool}}
+
{{hl2msg|bool|lastlife|person revived will die if they fall again}}
 +
{{hl2msg|bool|ledge_hang|1 if person revived was ledge hanging}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
 
 
=== revive_end ===
 
=== revive_end ===
{{qnotice|When a survivor stops reviving a fallen player}}<br>
+
{{qnotice|}}<br>
{{begin-hl2msg|userid|short}}
+
{{begin-hl2msg|revive_end|string}}
{{hl2msg|subject|short}}
+
{{hl2msg|short|userid|person doing the reviving}}
{{hl2msg|ledge_hang|bool}}
+
{{hl2msg|short|subject|person being revived}}
 +
{{hl2msg|bool|ledge_hang|person is ledge hanging}}
 +
{{end-hl2msg}}
 +
=== drag_begin ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|drag_begin|string}}
 +
{{hl2msg|short|userid|person doing the dragging}}
 +
{{hl2msg|short|subject|person being dragged}}
 +
{{end-hl2msg}}
 +
=== drag_end ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|drag_end|string}}
 +
{{hl2msg|short|userid|person doing the dragging}}
 +
{{hl2msg|short|subject|person being dragged}}
 +
{{end-hl2msg}}
 +
=== player_incapacitated ===
 +
{{qnotice|when a player becomes incapacitated}}<br>
 +
{{begin-hl2msg|player_incapacitated|string}}
 +
{{hl2msg|short|userid|person who became incapacitated}}
 +
{{hl2msg|short|attacker|user ID who made us incapacitated}}
 +
{{hl2msg|long|attackerentid|if attacker not player, entindex of who made us incapacitated}}
 +
{{hl2msg|string|weapon|weapon name attacker used}}
 +
{{hl2msg|long|type|damage type}}
 +
{{hl2msg|bool|has_upgrade|does this player have an upgrade that lets them help themselves?}}
 +
{{end-hl2msg}}
 +
=== player_incapacitated_start ===
 +
{{qnotice|when a player is about to become incapacitated, so you can see his last living state}}<br>
 +
{{begin-hl2msg|player_incapacitated_start|string}}
 +
{{hl2msg|short|userid|person who became incapacitated}}
 +
{{hl2msg|short|attacker|user ID who made us incapacitated}}
 +
{{hl2msg|long|attackerentid|if attacker not player, entindex of who made us incapacitated}}
 +
{{hl2msg|string|weapon|weapon name attacker used}}
 +
{{hl2msg|long|type|damage type}}
 +
{{end-hl2msg}}
 +
=== player_entered_start_area ===
 +
{{qnotice|when a player spawns into the player start area}}<br>
 +
{{begin-hl2msg|player_entered_start_area|string}}
 +
{{hl2msg|short|userid|person who entered}}
 +
{{end-hl2msg}}
 +
=== player_first_spawn ===
 +
{{qnotice|when a player spawns for the first time in a given mission}}<br>
 +
{{begin-hl2msg|player_first_spawn|string}}
 +
{{hl2msg|short|userid|person who spawned}}
 +
{{hl2msg|string|map_name|}}
 +
{{hl2msg|bool|isbot|}}
 +
{{end-hl2msg}}
 +
=== player_left_start_area ===
 +
{{qnotice|when a player leaves the player start area}}<br>
 +
{{begin-hl2msg|player_left_start_area|string}}
 +
{{hl2msg|short|userid|person who left}}
 +
{{end-hl2msg}}
 +
=== player_entered_checkpoint ===
 +
{{qnotice|when a basecombatcharacter enters a checkpoint area}}<br>
 +
{{begin-hl2msg|player_entered_checkpoint|string}}
 +
{{hl2msg|short|userid|player who entered}}
 +
{{hl2msg|long|entityid|If not a player, the entity index of the one entering}}
 +
{{hl2msg|long|door|Entindex of the checkpoint door the player entered to get here.}}
 +
{{hl2msg|long|area|}}
 +
{{hl2msg|string|doorname|name of the entity they see}}
 +
{{end-hl2msg}}
 +
=== player_left_checkpoint ===
 +
{{qnotice|when a player leaves a checkpoint area}}<br>
 +
{{begin-hl2msg|player_left_checkpoint|string}}
 +
{{hl2msg|short|userid|player who left}}
 +
{{hl2msg|long|entityid|If not a player, the entity index of the one exiting}}
 +
{{hl2msg|long|area|}}
 +
{{end-hl2msg}}
 +
=== player_shoved ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_shoved|string}}
 +
{{hl2msg|short|userid|player index who was shoved}}
 +
{{hl2msg|short|attacker|player index who attacked them}}
 +
{{end-hl2msg}}
 +
=== entity_shoved ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|entity_shoved|string}}
 +
{{hl2msg|short|entityid|the entity index of the one who was shoved}}
 +
{{hl2msg|short|attacker|player index who attacked them}}
 +
{{end-hl2msg}}
 +
=== player_jump_apex ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_jump_apex|string}}
 +
{{hl2msg|short|userid|player who jumped}}
 +
{{end-hl2msg}}
 +
=== player_blocked ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_blocked|string}}
 +
{{hl2msg|short|userid|player index who was trying to move}}
 +
{{hl2msg|short|blocker|player index who kept them from moving}}
 +
{{end-hl2msg}}
 +
=== player_now_it ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_now_it|string}}
 +
{{hl2msg|short|userid|Player who is now it}}
 +
{{hl2msg|short|attacker|player that did the it-ing}}
 +
{{hl2msg|bool|exploded|whether it was vomit or explosion}}
 +
{{hl2msg|bool|infected|is the vomit infectious}}
 +
{{end-hl2msg}}
 +
=== player_no_longer_it ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_no_longer_it|string}}
 +
{{hl2msg|short|userid|Player who is now no longer it}}
 +
{{end-hl2msg}}
 +
=== witch_harasser_set ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|witch_harasser_set|string}}
 +
{{hl2msg|short|userid|Player who woke up the witch}}
 +
{{hl2msg|long|witchid|Entindex of witch woken up}}
 +
{{end-hl2msg}}
 +
=== witch_spawn ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|witch_spawn|string}}
 +
{{hl2msg|long|witchid|Entindex of witch spawning right now.}}
 +
{{end-hl2msg}}
 +
=== witch_killed ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|witch_killed|string}}
 +
{{hl2msg|short|userid|Player who killed the witch}}
 +
{{hl2msg|long|witchid|Entindex of witch that was killed.}}
 +
{{hl2msg|bool|oneshot|TRUE if the Witch was killed with one shot}}
 +
{{end-hl2msg}}
 +
=== tank_spawn ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tank_spawn|string}}
 +
{{hl2msg|short|userid|User ID of the tank spawning now}}
 +
{{hl2msg|long|tankid|Entindex of tank spawning right now.}}
 +
{{end-hl2msg}}
 +
=== melee_kill ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|melee_kill|string}}
 +
{{hl2msg|short|userid|Player who bashed the infected}}
 +
{{hl2msg|long|entityid|Entindex of infected what got killed}}
 +
{{hl2msg|bool|ambush|Infected was unaware when killed}}
 +
{{end-hl2msg}}
 +
=== area_cleared ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|area_cleared|string}}
 +
{{hl2msg|short|userid|person who cleared the area}}
 +
{{hl2msg|long|area|id of the cleared area}}
 +
{{end-hl2msg}}
 +
=== award_earned ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|award_earned|string}}
 +
{{hl2msg|short|userid|player who earned the award}}
 +
{{hl2msg|long|entityid|client likes ent id}}
 +
{{hl2msg|long|subjectentid|entity id of other party in the award, if any}}
 +
{{hl2msg|short|award|id of award earned}}
 +
{{end-hl2msg}}
 +
=== tongue_grab ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tongue_grab|string}}
 +
{{hl2msg|short|userid|player who did the grabbing}}
 +
{{hl2msg|short|victim|player that got grabbed}}
 +
{{end-hl2msg}}
 +
=== tongue_broke_bent ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tongue_broke_bent|string}}
 +
{{hl2msg|short|userid|Tongue owner}}
 +
{{end-hl2msg}}
 +
=== tongue_broke_victim_died ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tongue_broke_victim_died|string}}
 +
{{hl2msg|short|userid|Tongue owner}}
 +
{{end-hl2msg}}
 +
=== tongue_release ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tongue_release|string}}
 +
{{hl2msg|short|userid|The tongue owner}}
 +
{{hl2msg|short|victim|The (now released) victim}}
 +
{{hl2msg|long|distance|Distance the victim was dragged.}}
 +
{{end-hl2msg}}
 +
=== choke_start ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|choke_start|string}}
 +
{{hl2msg|short|userid|The choker}}
 +
{{hl2msg|short|victim|The person being choked}}
 +
{{hl2msg|bool|has_upgrade|Does the victim have an upgrade to help themeselves with?}}
 +
{{end-hl2msg}}
 +
=== choke_end ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|choke_end|string}}
 +
{{hl2msg|short|userid|The choker}}
 +
{{hl2msg|short|victim|The person being choked}}
 +
{{end-hl2msg}}
 +
=== choke_stopped ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|choke_stopped|string}}
 +
{{hl2msg|short|userid|Who stopped it}}
 +
{{hl2msg|short|victim|And who was being choked}}
 +
{{end-hl2msg}}
 +
=== tongue_pull_stopped ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tongue_pull_stopped|string}}
 +
{{hl2msg|short|userid|Who stopped it}}
 +
{{hl2msg|short|victim|And who was being pulled}}
 +
{{end-hl2msg}}
 +
=== lunge_shove ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|lunge_shove|string}}
 +
{{hl2msg|short|userid|player who did the lunging}}
 +
{{hl2msg|short|victim|player that got lunged}}
 +
{{end-hl2msg}}
 +
=== lunge_pounce ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|lunge_pounce|string}}
 +
{{hl2msg|short|userid|player who did the lunging}}
 +
{{hl2msg|short|victim|player that got lunged}}
 +
{{hl2msg|long|distance|Distance from pounce start to contact}}
 +
{{hl2msg|bool|has_upgrade|Does the victim have an upgrade to help themeselves with?}}
 +
{{end-hl2msg}}
 +
=== pounce_end ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|pounce_end|string}}
 +
{{hl2msg|short|userid|Who stopped it}}
 +
{{hl2msg|short|victim|And who was being pounced}}
 +
{{end-hl2msg}}
 +
=== pounce_stopped ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|pounce_stopped|string}}
 +
{{hl2msg|short|userid|Who stopped it}}
 +
{{hl2msg|short|victim|And who was being pounced}}
 +
{{end-hl2msg}}
 +
=== fatal_vomit ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|fatal_vomit|string}}
 +
{{hl2msg|short|userid|Who vomited}}
 +
{{hl2msg|short|victim|And who was killed or incapped}}
 +
{{end-hl2msg}}
 +
=== survivor_call_for_help ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|survivor_call_for_help|string}}
 +
{{hl2msg|short|userid|The actual player entity who is awaiting rescue.}}
 +
{{hl2msg|long|subject|SurvivorRescue entity representing the player who needs to be rescued from the closet (used for position)}}
 +
{{end-hl2msg}}
 +
=== survivor_rescued ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|survivor_rescued|string}}
 +
{{hl2msg|short|rescuer|player that did the rescuing}}
 +
{{hl2msg|short|victim|the survivor being rescued}}
 +
{{end-hl2msg}}
 +
=== survivor_rescue_abandoned ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|survivor_rescue_abandoned|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== relocated ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|relocated|string}}
 +
{{hl2msg|short|userid|player who was relocated}}
 +
{{end-hl2msg}}
 +
=== respawning ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|respawning|string}}
 +
{{hl2msg|short|userid|player who started respawning}}
 +
{{end-hl2msg}}
 +
=== tank_frustrated ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tank_frustrated|string}}
 +
{{hl2msg|short|userid|player who was culled}}
 +
{{end-hl2msg}}
 +
=== weapon_given ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|weapon_given|string}}
 +
{{hl2msg|short|userid|player who got the weapon}}
 +
{{hl2msg|short|giver|player that did the giving}}
 +
{{hl2msg|short|weapon|weapon id given}}
 +
{{hl2msg|short|weaponentid|weapon entity id}}
 +
{{end-hl2msg}}
 +
=== weapon_give_duplicate_fail ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|weapon_give_duplicate_fail|string}}
 +
{{hl2msg|short|userid|player who almost got the weapon}}
 +
{{hl2msg|short|giver|player that tried to give it}}
 +
{{hl2msg|short|weapon|weapon id given}}
 +
{{end-hl2msg}}
 +
=== break_breakable ===
 +
{{qnotice|Override from gameevents.res}}<br>
 +
{{begin-hl2msg|break_breakable|string}}
 +
{{hl2msg|short|userid|userid of breaker}}
 +
{{hl2msg|long|entindex|entindex of thing breaking}}
 +
{{hl2msg|byte|material|BREAK_GLASS, BREAK_WOOD, etc}}
 +
{{hl2msg|bool|hulkonly|SF_BREAK_HULK_ONLY}}
 +
{{end-hl2msg}}
 +
=== achievement_earned ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|achievement_earned|string}}
 +
{{hl2msg|byte|player|entindex of the player}}
 +
{{hl2msg|short|achievement|achievement ID}}
 +
{{end-hl2msg}}
 +
=== spec_target_updated ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|spec_target_updated|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== spawner_give_item ===
 +
{{qnotice|A spawner has given a player an item (weapon, pills, ammo, health kit, etc)}}<br>
 +
{{begin-hl2msg|spawner_give_item|string}}
 +
{{hl2msg|short|userid|Item recipient}}
 +
{{hl2msg|string|item|Name of item given}}
 +
{{hl2msg|long|spawner|entindex of the spawner entity}}
 +
{{end-hl2msg}}
 +
=== create_panic_event ===
 +
{{qnotice|A panic event has been created, though not necessarily started}}<br>
 +
{{begin-hl2msg|create_panic_event|string}}
 +
{{hl2msg|short|userid|player who was started the panic}}
 +
{{end-hl2msg}}
 +
=== explain_pills ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|explain_pills|string}}
 +
{{hl2msg|long|subject|The weapon_pain_pills spawner that will be indicated}}
 +
{{end-hl2msg}}
 +
=== explain_weapons ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|explain_weapons|string}}
 +
{{hl2msg|long|subject|The weapon_pain_pills spawner that will be indicated}}
 +
{{end-hl2msg}}
 +
=== entity_visible ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|entity_visible|string}}
 +
{{hl2msg|short|userid|The player who sees the entity}}
 +
{{hl2msg|long|subject|Entindex of the entity they see}}
 +
{{hl2msg|string|classname|Classname of the entity they see}}
 +
{{hl2msg|string|entityname|name of the entity they see}}
 +
{{end-hl2msg}}
 +
=== boomer_near ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|boomer_near|string}}
 +
{{hl2msg|short|userid|The boomer}}
 +
{{hl2msg|short|victim|The survivor whom the boomer has gotten very close to}}
 +
{{end-hl2msg}}
 +
=== explain_pre_radio ===
 +
{{qnotice|explain the rescue radio will remind you to ready for the finale}}<br>
 +
{{begin-hl2msg|explain_pre_radio|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|}}
 +
{{end-hl2msg}}
 +
=== started_pre_radio ===
 +
{{qnotice|explain the rescue radio will remind you to ready for the finale}}<br>
 +
{{begin-hl2msg|started_pre_radio|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|}}
 +
{{end-hl2msg}}
 +
=== explain_radio ===
 +
{{qnotice|explain the rescue radio will start the finale}}<br>
 +
{{begin-hl2msg|explain_radio|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|}}
 +
{{end-hl2msg}}
 +
=== explain_gas_truck ===
 +
{{qnotice|explain how pulling the lever on the gas truck will start the finale}}<br>
 +
{{begin-hl2msg|explain_gas_truck|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The lever}}
 +
{{end-hl2msg}}
 +
=== explain_panic_button ===
 +
{{qnotice|explain that pressing this button will start a panic event.}}<br>
 +
{{begin-hl2msg|explain_panic_button|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The panic button}}
 +
{{end-hl2msg}}
 +
=== explain_elevator_button ===
 +
{{qnotice|explain how to operate the hospital elevator button.}}<br>
 +
{{begin-hl2msg|explain_elevator_button|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The button}}
 +
{{end-hl2msg}}
 +
=== explain_lift_button ===
 +
{{qnotice|explain how to operate the lift button.}}<br>
 +
{{begin-hl2msg|explain_lift_button|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The lift button}}
 +
{{end-hl2msg}}
 +
=== explain_church_door ===
 +
{{qnotice|explain how to provoke the crazy church guy.}}<br>
 +
{{begin-hl2msg|explain_church_door|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The saferoom door}}
 +
{{end-hl2msg}}
 +
=== explain_emergency_door ===
 +
{{qnotice|explain how to open the emergency door.}}<br>
 +
{{begin-hl2msg|explain_emergency_door|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The door}}
 +
{{end-hl2msg}}
 +
=== explain_crane ===
 +
{{qnotice|explain how to lower the box on the crane.}}<br>
 +
{{begin-hl2msg|explain_crane|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The lever/button}}
 +
{{end-hl2msg}}
 +
=== explain_bridge ===
 +
{{qnotice|explain how to close the gates to make a bridge.}}<br>
 +
{{begin-hl2msg|explain_bridge|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The button}}
 +
{{end-hl2msg}}
 +
=== explain_gas_can_panic ===
 +
{{qnotice|explain how to shoot the gas can.}}<br>
 +
{{begin-hl2msg|explain_gas_can_panic|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The gas can}}
 +
{{end-hl2msg}}
 +
=== explain_van_panic ===
 +
{{qnotice|explain how to start the van.}}<br>
 +
{{begin-hl2msg|explain_van_panic|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The van}}
 +
{{end-hl2msg}}
 +
=== explain_mainstreet ===
 +
{{qnotice|explain how to lower the forklift}}<br>
 +
{{begin-hl2msg|explain_mainstreet|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The forklift}}
 +
{{end-hl2msg}}
 +
=== explain_train_lever ===
 +
{{qnotice|explain how to operate the train lever.}}<br>
 +
{{begin-hl2msg|explain_train_lever|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The lever on box car}}
 +
{{end-hl2msg}}
 +
=== explain_disturbance ===
 +
{{qnotice|explain that disturbances (car alarm) attract infected horde}}<br>
 +
{{begin-hl2msg|explain_disturbance|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|long|subject|The source of disturbance}}
 +
{{end-hl2msg}}
 +
=== use_target ===
 +
{{qnotice|a new use target has been found}}<br>
 +
{{begin-hl2msg|use_target|string}}
 +
{{hl2msg|long|targetid|Entindex of the use target}}
 +
{{hl2msg|string|classname|classname of the use target}}
 +
{{hl2msg|bool|isprop|is this a prop that can be carried}}
 +
{{end-hl2msg}}
 +
=== player_use ===
 +
{{qnotice|a new use target has been found}}<br>
 +
{{begin-hl2msg|player_use|string}}
 +
{{hl2msg|short|userid|userid of user}}
 +
{{hl2msg|long|targetid|Entindex of the used entity}}
 +
{{end-hl2msg}}
 +
=== friendly_fire ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|friendly_fire|string}}
 +
{{hl2msg|short|attacker|player who fired the weapon}}
 +
{{hl2msg|short|victim|player who got shot}}
 +
{{hl2msg|short|guilty|player who was at fault}}
 +
{{hl2msg|long|type|damage type}}
 +
{{end-hl2msg}}
 +
=== gameinstructor_draw ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|gameinstructor_draw|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== gameinstructor_nodraw ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|gameinstructor_nodraw|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== player_talking_state ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_talking_state|string}}
 +
{{hl2msg|byte|player|}}
 +
{{hl2msg|bool|istalking|}}
 +
{{end-hl2msg}}
 +
=== weapon_pickup ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|weapon_pickup|string}}
 +
{{hl2msg|byte|context|split screen message context}}
 +
{{hl2msg|byte|weaponid|}}
 +
{{hl2msg|byte|weaponslot|}}
 +
{{end-hl2msg}}
 +
=== hunter_punched ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|hunter_punched|string}}
 +
{{hl2msg|short|userid|player who caused ignition}}
 +
{{hl2msg|long|hunteruserid|user ID of Hunter}}
 +
{{hl2msg|bool|islunging|TRUE if the Hunter was in the act of lunging}}
 +
{{end-hl2msg}}
 +
=== hunter_headshot ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|hunter_headshot|string}}
 +
{{hl2msg|short|userid|player who made the headshot}}
 +
{{hl2msg|long|hunteruserid|user ID of Hunter}}
 +
{{hl2msg|bool|islunging|TRUE if the Hunter was in the act of lunging}}
 +
{{end-hl2msg}}
 +
=== zombie_ignited ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|zombie_ignited|string}}
 +
{{hl2msg|short|userid|player who caused ignition}}
 +
{{hl2msg|long|entityid|entity ID of Tank}}
 +
{{hl2msg|string|victimname|"Witch", "Tank", "Hunter", "Smoker", or "Infected"}}
 +
{{end-hl2msg}}
 +
=== boomer_exploded ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|boomer_exploded|string}}
 +
{{hl2msg|short|userid|Boomer that exploded}}
 +
{{hl2msg|short|attacker|player who caused the explosion}}
 +
{{hl2msg|bool|splashedbile|Exploding boomer splashed bile on Survivors}}
 +
{{end-hl2msg}}
 +
=== non_pistol_fired ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|non_pistol_fired|string}}
 +
{{hl2msg|short|userid|User that fired a non-pistol weapon}}
 +
{{end-hl2msg}}
 +
=== weapon_fire_at_40 ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|weapon_fire_at_40|string}}
 +
{{hl2msg|short|userid|}}
 +
{{hl2msg|string|weapon|used weapon name}}
 +
{{hl2msg|short|weaponid|used weapon ID}}
 +
{{hl2msg|short|count|number of bullets}}
 +
{{end-hl2msg}}
 +
=== player_hurt_concise ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|player_hurt_concise|string}}
 +
{{hl2msg|short|userid|user ID who was hurt}}
 +
{{hl2msg|long|attackerentid|entity id who attacked, if attacker not a player, and userid therefore invalid}}
 +
{{hl2msg|short|dmg_health|damage done to health}}
 +
{{end-hl2msg}}
 +
=== tank_killed ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|tank_killed|string}}
 +
{{hl2msg|short|userid|user ID of dead tank}}
 +
{{hl2msg|short|attacker|user id of killer}}
 +
{{hl2msg|bool|solo|TRUE if a player single-handedly killed the Tank}}
 +
{{end-hl2msg}}
 +
=== achievement_write_failed ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|achievement_write_failed|string}}
 +
{{hl2msg|None|None|}}
 +
{{end-hl2msg}}
 +
=== ghost_spawn_time ===
 +
{{qnotice|}}<br>
 +
{{begin-hl2msg|ghost_spawn_time|string}}
 +
{{hl2msg|short|userid|user ID of the player that is becoming a ghost}}
 +
{{hl2msg|short|spawntime|How long of a wait until player is a ghost}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}

Latest revision as of 11:29, 10 December 2009

Refer back to Game Events (Source) for more events.

Contents

player_death

Note:

Name: player_death
Structure:
short userid user ID who died
long entityid entity ID who died, userid should be used first, to get the dead Player. Otherwise, it is not a player, so use this.
short attacker user ID who killed
string attackername What type of zombie, so we don't have zombie names
long attackerentid if killer not a player, the entindex of who killed. Again, use attacker first
string weapon weapon name killer used
bool headshot singals a headshot
bool attackerisbot is the attacker a bot
string victimname What type of zombie, so we don't have zombie names
bool victimisbot is the victim a bot
bool abort did the victim abort
long type damage type
float victim_x
float victim_y
float victim_z


player_hurt

Note: Registers all playable classes (Hunter, Smoker, Boomer, Tank, Survivors). See infected_hurt for Witch and Common Infected

Name: player_hurt
Structure:
1 local Not networked
short userid user ID who was hurt
short attacker user id who attacked
long attackerentid entity id who attacked, if attacker not a player, and userid therefore invalid
short health remaining health points
byte armor remaining armor points
string weapon weapon name attacker used, if not the world
short dmg_health damage done to health
byte dmg_armor damage done to armor
byte hitgroup hitgroup that was damaged
long type damage type


player_team

Note: player change his team

Name: player_team
Structure:
short userid user ID on server
byte team team id
byte oldteam old team id
bool disconnect team change because player disconnects
string name
bool isbot


player_bot_replace

Note: Bot replaced a player

Name: player_bot_replace
Structure:
short player user ID of the player
short bot user ID of the bot


bot_player_replace

Note: Player replaced a bot

Name: bot_player_replace
Structure:
short bot user ID of the bot
short player user ID of the player


player_afk

Note:

Name: player_afk
Structure:
short player user ID of the player


weapon_fire

Note:

Name: weapon_fire
Structure:
1 local don't network this, its way too spammy
short userid
string weapon used weapon name
short weaponid used weapon ID
short count number of bullets


weapon_fire_on_empty

Note:

Name: weapon_fire_on_empty
Structure:
1 local don't network this, its way too spammy
short userid
string weapon weapon name used
short count number of bullets


weapon_reload

Note:

Name: weapon_reload
Structure:
short userid
bool manual player manually started the reload


weapon_zoom

Note:

Name: weapon_zoom
Structure:
short userid


ability_use

Note:

Name: ability_use
Structure:
short userid
string ability ability classname
short context enum of the way it was used (different for each ability)


ammo_pickup

Note:

Name: ammo_pickup
Structure:
short userid The player who got some ammo from a weapon_ammo_spawner


item_pickup

Note:

Name: item_pickup
Structure:
short userid
string item either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'


grenade_bounce

Note:

Name: grenade_bounce
Structure:
short userid


hegrenade_detonate

Note:

Name: hegrenade_detonate
Structure:
short userid


bullet_impact

Note:

Name: bullet_impact
Structure:
short userid
float x
float y
float z


player_footstep

Note:

Name: player_footstep
Structure:
short userid


player_jump

Note:

Name: player_jump
Structure:
short userid


player_blind

Note:

Name: player_blind
Structure:
short userid


player_falldamage

Note:

Name: player_falldamage
Structure:
short userid Who got hurt
float damage for how much
short causer Who caused them to do so (if anyone)


player_ledge_grab

Note:

Name: player_ledge_grab
Structure:
short userid Who grabbed the ledge
short causer Who caused them to do so (if anyone)
bool has_upgrade whether they have an upgrade to help themself.


player_ledge_release

Note:

Name: player_ledge_release
Structure:
short userid person who released from the ledge


door_moving

Note:

Name: door_moving
Structure:
long entindex
short userid


door_open

Note:

Name: door_open
Structure:
short userid Who opened the door
bool checkpoint Is the door a checkpoint door
bool closed Was the door closed when it started opening?


door_close

Note:

Name: door_close
Structure:
short userid Who closed the door
bool checkpoint Is the door a checkpoint door


door_unlocked

Note:

Name: door_unlocked
Structure:
short userid Who opened the door
bool checkpoint Is the door a checkpoint door


rescue_door_open

Note:

Name: rescue_door_open
Structure:
short userid Who opened the door
long entindex door that opened


waiting_checkpoint_door_used

Note: Someone tried to open a checkpoint door that is locked till everyone loads in

Name: waiting_checkpoint_door_used
Structure:
short userid player who tried to open it
long entindex door that was used


waiting_door_used_versus

Note: Someone tried to open a checkpoint door that is locked till everyone loads in

Name: waiting_door_used_versus
Structure:
short userid player who tried to open it
long entindex door that was used


waiting_checkpoint_button_used

Note: Someone tried to push a button that's locked until everyone is gathered

Name: waiting_checkpoint_button_used
Structure:
short userid player who tried to open it


success_checkpoint_button_used

Note: Someone pushed a button that's locked until everyone is gathered

Name: success_checkpoint_button_used
Structure:
short userid player who openned it


round_freeze_end

Note:

Name: round_freeze_end
Structure:
None None


round_start_pre_entity

Note:

Name: round_start_pre_entity
Structure:
None None


round_start_post_nav

Note:

Name: round_start_post_nav
Structure:
None None


nav_blocked

Note:

Name: nav_blocked
Structure:
long area
bool blocked


nav_generate

Note:

Name: nav_generate
Structure:
None None


round_end_message

Note:

Name: round_end_message
Structure:
byte winner winner team/user i
byte reason reson why team won
string message end round message


vote_ended

Note:

Name: vote_ended
Structure:
None None


vote_started

Note:

Name: vote_started
Structure:
string issue
string param1
byte team
long initiator entity id of the player who initiated the vote


vote_changed

Note:

Name: vote_changed
Structure:
byte yesVotes
byte noVotes
byte potentialVotes


vote_passed

Note:

Name: vote_passed
Structure:
string details
string param1
byte team


vote_failed

Note:

Name: vote_failed
Structure:
byte team


vote_cast_yes

Note:

Name: vote_cast_yes
Structure:
byte team
long entityid entity id of the voter


vote_cast_no

Note:

Name: vote_cast_no
Structure:
byte team
long entityid entity id of the voter


infected_hurt

Note: Registers for non-playable classes (Common Infected, Witch). See player_hurt for other playable classes

Name: infected_hurt
Structure:
1 local don't network this, its way too spammy
short attacker player userid who attacked
long entityid entity id of infected
byte hitgroup hitgroup that was damaged
short amount how much damage was done
long type damage type


infected_death

Note:

Name: infected_death
Structure:
short attacker user ID who killed
bool headshot singals a headshot
bool minigun singals a minigun kill
bool blast singals a death from blast damage


hostname_changed

Note:

Name: hostname_changed
Structure:
string hostname


difficulty_changed

Note:

Name: difficulty_changed
Structure:
short newDifficulty
short oldDifficulty


finale_start

Note:

Name: finale_start
Structure:
short rushes


finale_rush

Note:

Name: finale_rush
Structure:
None None


finale_escape_start

Note:

Name: finale_escape_start
Structure:
None None


finale_vehicle_ready

Note:

Name: finale_vehicle_ready
Structure:
None None


finale_vehicle_leaving

Note:

Name: finale_vehicle_leaving
Structure:
short survivorcount number of survivors that made it out


finale_win

Note:

Name: finale_win
Structure:
string map_name
short difficulty


mission_lost

Note: As in, the survivor team failed. Opposite of finale_win, but not necessarily during the finale.

Name: mission_lost
Structure:
None None


finale_radio_start

Note:

Name: finale_radio_start
Structure:
short health


finale_radio_damaged

Note:

Name: finale_radio_damaged
Structure:
short health


final_reportscreen

Note: Right before the final report screen comes up, let awards possibly fire

Name: final_reportscreen
Structure:
None None


map_transition

Note:

Name: map_transition
Structure:
None None


player_transitioned

Note:

Name: player_transitioned
Structure:
short userid the person that just finished transitioning


heal_begin

Note:

Name: heal_begin
Structure:
short userid person doing the healing
short subject person being healed


heal_success

Note:

Name: heal_success
Structure:
short userid person doing the healing
short subject person being healed
short health_restored amount of health restored


heal_end

Note:

Name: heal_end
Structure:
short userid person doing the healing
short subject person being healed


heal_interrupted

Note:

Name: heal_interrupted
Structure:
short userid person who was being healed, but moved.
short subject person being healed


give_weapon

Note:

Name: give_weapon
Structure:
short userid The giver of the weapon
short recipient The recipient of the weapon
short weapon The ID of the weapon given


pills_used

Note:

Name: pills_used
Structure:
short userid person who had the pills
short subject person swallowing the pills


pills_used_fail

Note:

Name: pills_used_fail
Structure:
short userid person who tried to use the pills


revive_begin

Note:

Name: revive_begin
Structure:
short userid person doing the reviving
short subject person being revived


revive_success

Note:

Name: revive_success
Structure:
short userid person doing the reviving
short subject person who was revived
bool lastlife person revived will die if they fall again
bool ledge_hang 1 if person revived was ledge hanging


revive_end

Note:

Name: revive_end
Structure:
short userid person doing the reviving
short subject person being revived
bool ledge_hang person is ledge hanging


drag_begin

Note:

Name: drag_begin
Structure:
short userid person doing the dragging
short subject person being dragged


drag_end

Note:

Name: drag_end
Structure:
short userid person doing the dragging
short subject person being dragged


player_incapacitated

Note: when a player becomes incapacitated

Name: player_incapacitated
Structure:
short userid person who became incapacitated
short attacker user ID who made us incapacitated
long attackerentid if attacker not player, entindex of who made us incapacitated
string weapon weapon name attacker used
long type damage type
bool has_upgrade does this player have an upgrade that lets them help themselves?


player_incapacitated_start

Note: when a player is about to become incapacitated, so you can see his last living state

Name: player_incapacitated_start
Structure:
short userid person who became incapacitated
short attacker user ID who made us incapacitated
long attackerentid if attacker not player, entindex of who made us incapacitated
string weapon weapon name attacker used
long type damage type


player_entered_start_area

Note: when a player spawns into the player start area

Name: player_entered_start_area
Structure:
short userid person who entered


player_first_spawn

Note: when a player spawns for the first time in a given mission

Name: player_first_spawn
Structure:
short userid person who spawned
string map_name
bool isbot


player_left_start_area

Note: when a player leaves the player start area

Name: player_left_start_area
Structure:
short userid person who left


player_entered_checkpoint

Note: when a basecombatcharacter enters a checkpoint area

Name: player_entered_checkpoint
Structure:
short userid player who entered
long entityid If not a player, the entity index of the one entering
long door Entindex of the checkpoint door the player entered to get here.
long area
string doorname name of the entity they see


player_left_checkpoint

Note: when a player leaves a checkpoint area

Name: player_left_checkpoint
Structure:
short userid player who left
long entityid If not a player, the entity index of the one exiting
long area


player_shoved

Note:

Name: player_shoved
Structure:
short userid player index who was shoved
short attacker player index who attacked them


entity_shoved

Note:

Name: entity_shoved
Structure:
short entityid the entity index of the one who was shoved
short attacker player index who attacked them


player_jump_apex

Note:

Name: player_jump_apex
Structure:
short userid player who jumped


player_blocked

Note:

Name: player_blocked
Structure:
short userid player index who was trying to move
short blocker player index who kept them from moving


player_now_it

Note:

Name: player_now_it
Structure:
short userid Player who is now it
short attacker player that did the it-ing
bool exploded whether it was vomit or explosion
bool infected is the vomit infectious


player_no_longer_it

Note:

Name: player_no_longer_it
Structure:
short userid Player who is now no longer it


witch_harasser_set

Note:

Name: witch_harasser_set
Structure:
short userid Player who woke up the witch
long witchid Entindex of witch woken up


witch_spawn

Note:

Name: witch_spawn
Structure:
long witchid Entindex of witch spawning right now.


witch_killed

Note:

Name: witch_killed
Structure:
short userid Player who killed the witch
long witchid Entindex of witch that was killed.
bool oneshot TRUE if the Witch was killed with one shot


tank_spawn

Note:

Name: tank_spawn
Structure:
short userid User ID of the tank spawning now
long tankid Entindex of tank spawning right now.


melee_kill

Note:

Name: melee_kill
Structure:
short userid Player who bashed the infected
long entityid Entindex of infected what got killed
bool ambush Infected was unaware when killed


area_cleared

Note:

Name: area_cleared
Structure:
short userid person who cleared the area
long area id of the cleared area


award_earned

Note:

Name: award_earned
Structure:
short userid player who earned the award
long entityid client likes ent id
long subjectentid entity id of other party in the award, if any
short award id of award earned


tongue_grab

Note:

Name: tongue_grab
Structure:
short userid player who did the grabbing
short victim player that got grabbed


tongue_broke_bent

Note:

Name: tongue_broke_bent
Structure:
short userid Tongue owner


tongue_broke_victim_died

Note:

Name: tongue_broke_victim_died
Structure:
short userid Tongue owner


tongue_release

Note:

Name: tongue_release
Structure:
short userid The tongue owner
short victim The (now released) victim
long distance Distance the victim was dragged.


choke_start

Note:

Name: choke_start
Structure:
short userid The choker
short victim The person being choked
bool has_upgrade Does the victim have an upgrade to help themeselves with?


choke_end

Note:

Name: choke_end
Structure:
short userid The choker
short victim The person being choked


choke_stopped

Note:

Name: choke_stopped
Structure:
short userid Who stopped it
short victim And who was being choked


tongue_pull_stopped

Note:

Name: tongue_pull_stopped
Structure:
short userid Who stopped it
short victim And who was being pulled


lunge_shove

Note:

Name: lunge_shove
Structure:
short userid player who did the lunging
short victim player that got lunged


lunge_pounce

Note:

Name: lunge_pounce
Structure:
short userid player who did the lunging
short victim player that got lunged
long distance Distance from pounce start to contact
bool has_upgrade Does the victim have an upgrade to help themeselves with?


pounce_end

Note:

Name: pounce_end
Structure:
short userid Who stopped it
short victim And who was being pounced


pounce_stopped

Note:

Name: pounce_stopped
Structure:
short userid Who stopped it
short victim And who was being pounced


fatal_vomit

Note:

Name: fatal_vomit
Structure:
short userid Who vomited
short victim And who was killed or incapped


survivor_call_for_help

Note:

Name: survivor_call_for_help
Structure:
short userid The actual player entity who is awaiting rescue.
long subject SurvivorRescue entity representing the player who needs to be rescued from the closet (used for position)


survivor_rescued

Note:

Name: survivor_rescued
Structure:
short rescuer player that did the rescuing
short victim the survivor being rescued


survivor_rescue_abandoned

Note:

Name: survivor_rescue_abandoned
Structure:
None None


relocated

Note:

Name: relocated
Structure:
short userid player who was relocated


respawning

Note:

Name: respawning
Structure:
short userid player who started respawning


tank_frustrated

Note:

Name: tank_frustrated
Structure:
short userid player who was culled


weapon_given

Note:

Name: weapon_given
Structure:
short userid player who got the weapon
short giver player that did the giving
short weapon weapon id given
short weaponentid weapon entity id


weapon_give_duplicate_fail

Note:

Name: weapon_give_duplicate_fail
Structure:
short userid player who almost got the weapon
short giver player that tried to give it
short weapon weapon id given


break_breakable

Note: Override from gameevents.res

Name: break_breakable
Structure:
short userid userid of breaker
long entindex entindex of thing breaking
byte material BREAK_GLASS, BREAK_WOOD, etc
bool hulkonly SF_BREAK_HULK_ONLY


achievement_earned

Note:

Name: achievement_earned
Structure:
byte player entindex of the player
short achievement achievement ID


spec_target_updated

Note:

Name: spec_target_updated
Structure:
None None


spawner_give_item

Note: A spawner has given a player an item (weapon, pills, ammo, health kit, etc)

Name: spawner_give_item
Structure:
short userid Item recipient
string item Name of item given
long spawner entindex of the spawner entity


create_panic_event

Note: A panic event has been created, though not necessarily started

Name: create_panic_event
Structure:
short userid player who was started the panic


explain_pills

Note:

Name: explain_pills
Structure:
long subject The weapon_pain_pills spawner that will be indicated


explain_weapons

Note:

Name: explain_weapons
Structure:
long subject The weapon_pain_pills spawner that will be indicated


entity_visible

Note:

Name: entity_visible
Structure:
short userid The player who sees the entity
long subject Entindex of the entity they see
string classname Classname of the entity they see
string entityname name of the entity they see


boomer_near

Note:

Name: boomer_near
Structure:
short userid The boomer
short victim The survivor whom the boomer has gotten very close to


explain_pre_radio

Note: explain the rescue radio will remind you to ready for the finale

Name: explain_pre_radio
Structure:
short userid
long subject


started_pre_radio

Note: explain the rescue radio will remind you to ready for the finale

Name: started_pre_radio
Structure:
short userid
long subject


explain_radio

Note: explain the rescue radio will start the finale

Name: explain_radio
Structure:
short userid
long subject


explain_gas_truck

Note: explain how pulling the lever on the gas truck will start the finale

Name: explain_gas_truck
Structure:
short userid
long subject The lever


explain_panic_button

Note: explain that pressing this button will start a panic event.

Name: explain_panic_button
Structure:
short userid
long subject The panic button


explain_elevator_button

Note: explain how to operate the hospital elevator button.

Name: explain_elevator_button
Structure:
short userid
long subject The button


explain_lift_button

Note: explain how to operate the lift button.

Name: explain_lift_button
Structure:
short userid
long subject The lift button


explain_church_door

Note: explain how to provoke the crazy church guy.

Name: explain_church_door
Structure:
short userid
long subject The saferoom door


explain_emergency_door

Note: explain how to open the emergency door.

Name: explain_emergency_door
Structure:
short userid
long subject The door


explain_crane

Note: explain how to lower the box on the crane.

Name: explain_crane
Structure:
short userid
long subject The lever/button


explain_bridge

Note: explain how to close the gates to make a bridge.

Name: explain_bridge
Structure:
short userid
long subject The button


explain_gas_can_panic

Note: explain how to shoot the gas can.

Name: explain_gas_can_panic
Structure:
short userid
long subject The gas can


explain_van_panic

Note: explain how to start the van.

Name: explain_van_panic
Structure:
short userid
long subject The van


explain_mainstreet

Note: explain how to lower the forklift

Name: explain_mainstreet
Structure:
short userid
long subject The forklift


explain_train_lever

Note: explain how to operate the train lever.

Name: explain_train_lever
Structure:
short userid
long subject The lever on box car


explain_disturbance

Note: explain that disturbances (car alarm) attract infected horde

Name: explain_disturbance
Structure:
short userid
long subject The source of disturbance


use_target

Note: a new use target has been found

Name: use_target
Structure:
long targetid Entindex of the use target
string classname classname of the use target
bool isprop is this a prop that can be carried


player_use

Note: a new use target has been found

Name: player_use
Structure:
short userid userid of user
long targetid Entindex of the used entity


friendly_fire

Note:

Name: friendly_fire
Structure:
short attacker player who fired the weapon
short victim player who got shot
short guilty player who was at fault
long type damage type


gameinstructor_draw

Note:

Name: gameinstructor_draw
Structure:
None None


gameinstructor_nodraw

Note:

Name: gameinstructor_nodraw
Structure:
None None


player_talking_state

Note:

Name: player_talking_state
Structure:
byte player
bool istalking


weapon_pickup

Note:

Name: weapon_pickup
Structure:
byte context split screen message context
byte weaponid
byte weaponslot


hunter_punched

Note:

Name: hunter_punched
Structure:
short userid player who caused ignition
long hunteruserid user ID of Hunter
bool islunging TRUE if the Hunter was in the act of lunging


hunter_headshot

Note:

Name: hunter_headshot
Structure:
short userid player who made the headshot
long hunteruserid user ID of Hunter
bool islunging TRUE if the Hunter was in the act of lunging


zombie_ignited

Note:

Name: zombie_ignited
Structure:
short userid player who caused ignition
long entityid entity ID of Tank
string victimname "Witch", "Tank", "Hunter", "Smoker", or "Infected"


boomer_exploded

Note:

Name: boomer_exploded
Structure:
short userid Boomer that exploded
short attacker player who caused the explosion
bool splashedbile Exploding boomer splashed bile on Survivors


non_pistol_fired

Note:

Name: non_pistol_fired
Structure:
short userid User that fired a non-pistol weapon


weapon_fire_at_40

Note:

Name: weapon_fire_at_40
Structure:
short userid
string weapon used weapon name
short weaponid used weapon ID
short count number of bullets


player_hurt_concise

Note:

Name: player_hurt_concise
Structure:
short userid user ID who was hurt
long attackerentid entity id who attacked, if attacker not a player, and userid therefore invalid
short dmg_health damage done to health


tank_killed

Note:

Name: tank_killed
Structure:
short userid user ID of dead tank
short attacker user id of killer
bool solo TRUE if a player single-handedly killed the Tank


achievement_write_failed

Note:

Name: achievement_write_failed
Structure:
None None


ghost_spawn_time

Note:

Name: ghost_spawn_time
Structure:
short userid user ID of the player that is becoming a ghost
short spawntime How long of a wait until player is a ghost