Difference between revisions of "Left 4 Dead Events"

From AlliedModders Wiki
Jump to: navigation, search
Line 311: Line 311:
 
=== infected_death ===
 
=== infected_death ===
 
{{qnotice|When an infected is killed}}<br>
 
{{qnotice|When an infected is killed}}<br>
{{begin-hl2msg|attacker|short}}
+
{{begin-hl2msg|infected_death|string}}
{{hl2msg|headshot|bool}}
+
{{hl2msg|short|attacker}}
{{hl2msg|minigun|bool}}
+
{{hl2msg|bool|headshot}}
{{hl2msg|blast|bool}}
+
{{hl2msg|bool|minigun}}
 +
{{hl2msg|bool|blast}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
 
=== hostname_changed ===
 
=== hostname_changed ===
 
{{qnotice|When the server hostname changes}}<br>
 
{{qnotice|When the server hostname changes}}<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|When the server difficulty changes}}<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|When the campaign finale begins}}<br>
{{begin-hl2msg|rushes|short}}
+
{{begin-hl2msg|finale_start|string}}
 +
{{hl2msg|short|rushes}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
 
=== finale_vehicle_leaving ===
 
=== finale_vehicle_leaving ===
 
{{qnotice|When the finale vehicle is leaving}}<br>
 
{{qnotice|When the finale vehicle is leaving}}<br>
{{begin-hl2msg|survivorcount|short}}
+
{{begin-hl2msg|finale_vehicle_leaving|string}}
 +
{{hl2msg|short|survivorcount}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
 
=== finale_win ===
 
=== finale_win ===
 
{{qnotice|When the finale in completed}}<br>
 
{{qnotice|When the finale in completed}}<br>
{{begin-hl2msg|map_name|string}}
+
{{begin-hl2msg|finale_win|string}}
{{hl2msg|difficulty|short}}
+
{{hl2msg|string|map_name}}
 +
{{hl2msg|short|difficulty}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
 
=== finale_radio_start ===
 
=== finale_radio_start ===
 
{{qnotice|When the radio is used to begin the finale}}<br>
 
{{qnotice|When the radio is used to begin the finale}}<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|When the finale radio is damaged}}<br>
{{begin-hl2msg|health|short}}
+
{{begin-hl2msg|finale_radio_damaged|string}}
 +
{{hl2msg|short|health}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  

Revision as of 10:39, 29 November 2008

player_death

Note: None

Name: player_death
Structure:
short userid {{{3}}}
long entityid {{{3}}}
short attacker {{{3}}}
string attackername {{{3}}}
long attackerentid {{{3}}}
bool headshot {{{3}}}
boot attackerisbot {{{3}}}
string victimname {{{3}}}
bool victimisbot {{{3}}}
bool abort {{{3}}}
long type {{{3}}}
float victim_x {{{3}}}
float victim_y {{{3}}}
float victim_z {{{3}}}


player_hurt

Note: None

Name: player_hurt
Structure:
short userid {{{3}}}
short attacker {{{3}}}
long attackerentid {{{3}}}
short health {{{3}}}
byte armor {{{3}}}
string weapon {{{3}}}
short dmg_health {{{3}}}
byte dmg_armor {{{3}}}
byte hitgroup {{{3}}}
long type {{{3}}}


player_team

Note: When a player Changes Team

Name: player_team
Structure:
short userid {{{3}}}
byte team {{{3}}}
byte oldteam {{{3}}}
bool disconnect {{{3}}}
string name {{{3}}}
bool isbot {{{3}}}


player_bot_replace

Note: When a player replaces a bot

Name: player_bot_replace
Structure:
short player {{{3}}}
short bot {{{3}}}


bot_player_replace

Note: When a bot replaces a player

Name: bot_player_replace
Structure:
short bot {{{3}}}
short player {{{3}}}


player_afk

Note: When a bot replaces a player

Name: player_afk
Structure:
short player {{{3}}}


weapon_fire

Note: When a weapon is fired

Name: weapon_fire
Structure:
short userid {{{3}}}
string weapon {{{3}}}
short weaponid {{{3}}}
short count {{{3}}}



weapon_fire_on_empty

Note: When a weapon is fired while empty

Name: weapon_fire_on_empty
Structure:
short userid {{{3}}}
string weapon {{{3}}}
short count {{{3}}}


weapon_reload

Note: When a weapon is reloaded

Name: weapon_reload
Structure:
short userid {{{3}}}
bool manual {{{3}}}


weapon_zoom

Note: When a weapon is reloaded

Name: weapon_zoom
Structure:
short userid {{{3}}}


ability_use

Note: When an ability is used

Name: ability_use
Structure:
short userid {{{3}}}
string ability {{{3}}}
short context {{{3}}}


ammo_pickup

Note: When a player receives ammo

Name: ammo_pickup
Structure:
short userid {{{3}}}


item_pickup

Note: When a player receives an item

Name: item_pickup
Structure:
short userid {{{3}}}
string item {{{3}}}


grenade_bounce

Note: When a grenade bounces

Name: grenade_bounce
Structure:
short userid {{{3}}}


hegrenade_detonate

Note: When a grenade explodes

Name: hegrenade_detonate
Structure:
short userid {{{3}}}


bullet_impact

Note: When a bullet projectile impacts

Name: bullet_impact
Structure:
userid short {{{3}}}
float x {{{3}}}
float y {{{3}}}
float z {{{3}}}


player_footstep

Note: When a player makes a footstep

Name: player_footstep
Structure:
short userid {{{3}}}


player_jump

Note: When a player jumps

Name: player_jump
Structure:
short userid {{{3}}}


player_blind

Note: When a player is blinded

Name: player_blind
Structure:
short userid {{{3}}}


player_falldamage

Note: When a player receives fall damage

Name: player_falldamage
Structure:
short userid {{{3}}}
float damage {{{3}}}
short causer {{{3}}}


player_ledgegrab

Note: When a player grabs on a ledge

Name: player_ledgegrab
Structure:
short userid {{{3}}}
short causer {{{3}}}
bool has_upgrade {{{3}}}


player_ledgerelease

Note: When a player lets go of a ledge

Name: player_ledgerelease
Structure:
short userid {{{3}}}


door_moving

Note: When a door moves

Name: door_moving
Structure:
long entindex {{{3}}}
short userid {{{3}}}


door_open

Note: When a door is opened

Name: door_open
Structure:
short userid {{{3}}}
bool checkpoint {{{3}}}
bool closed {{{3}}}


door_close

Note: When a door is closed

Name: door_close
Structure:
short userid {{{3}}}
bool checkpoint {{{3}}}


door_unlocked

Note: When a door is unlocked

Name: door_unlocked
Structure:
short userid {{{3}}}
bool checkpoint {{{3}}}


rescue_door_open

Note: When a rescue door is opened

Name: rescue_door_open
Structure:
short userid {{{3}}}
long entindex {{{3}}}


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 {{{3}}}
long entindex {{{3}}}


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 {{{3}}}
long entindex {{{3}}}


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 {{{3}}}


success_checkpoint_button_used

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

Name: success_checkpoint_button_used
Structure:
short userid {{{3}}}


nav_blocked

Note: When Nav is blocked

Name: nav_blocked
Structure:
long area {{{3}}}
bool blocked {{{3}}}


round_end_message

Note: When a game round ends

Name: round_end_message
Structure:
byte winner {{{3}}}
byte reason {{{3}}}
string message {{{3}}}


vote_started

Note: When a ingame vote is created

Name: vote_started
Structure:
string issue {{{3}}}
string param1 {{{3}}}
byte team {{{3}}}
long initiator {{{3}}}


vote_changed

Note: When a ingame vote is changed

Name: vote_changed
Structure:
byte yesVotes {{{3}}}
bytes noVotes {{{3}}}
byte potentialVotes {{{3}}}


vote_passed

Note: When a ingame vote is passed

Name: vote_passed
Structure:
string details {{{3}}}
string param1 {{{3}}}
byte team {{{3}}}


vote_failed

Note: When a ingame vote failed

Name: vote_failed
Structure:
byte team {{{3}}}


vote_cast_yes

Note: When a player votes yes on ingame vote

Name: vote_cast_yes
Structure:
byte team {{{3}}}
long entityid {{{3}}}


vote_cast_no

Note: When a player votes no on ingame vote

Name: vote_cast_no
Structure:
byte team {{{3}}}
long entityid {{{3}}}


infected_hurt

Note: When an infected is hurt

Name: infected_hurt
Structure:
short attacker {{{3}}}
long entityid {{{3}}}
byte hitgroup {{{3}}}
short amount {{{3}}}
long type {{{3}}}


infected_death

Note: When an infected is killed

Name: infected_death
Structure:
short attacker {{{3}}}
bool headshot {{{3}}}
bool minigun {{{3}}}
bool blast {{{3}}}


hostname_changed

Note: When the server hostname changes

Name: hostname_changed
Structure:
string hostname {{{3}}}


difficulty_changed

Note: When the server difficulty changes

Name: difficulty_changed
Structure:
short newDifficulty {{{3}}}
short oldDifficulty {{{3}}}


finale_start

Note: When the campaign finale begins

Name: finale_start
Structure:
short rushes {{{3}}}


finale_vehicle_leaving

Note: When the finale vehicle is leaving

Name: finale_vehicle_leaving
Structure:
short survivorcount {{{3}}}


finale_win

Note: When the finale in completed

Name: finale_win
Structure:
string map_name {{{3}}}
short difficulty {{{3}}}


finale_radio_start

Note: When the radio is used to begin the finale

Name: finale_radio_start
Structure:
short health {{{3}}}


finale_radio_damaged

Note: When the finale radio is damaged

Name: finale_radio_damaged
Structure:
short health {{{3}}}


player_transistioned

Note: When a player finishes transistioning

Name: userid
Structure:


heal_begin

Note: When a survivors begins to heal

Name: userid
Structure:
subject short {{{3}}}


heal_success

Note: When a survivors completes a heal

Name: userid
Structure:
subject short {{{3}}}
health_restored short {{{3}}}


heal_end

Note: When a survivors ends a heal

Name: userid
Structure:
subject short {{{3}}}


heal_interrupted

Note: When a survivors ends a heal

Name: userid
Structure:
subject short {{{3}}}


give_weapon

Note: When a weapon is given to a survivor

Name: userid
Structure:
recipient short {{{3}}}
weapon short {{{3}}}


pills_used

Note: When a survivor uses pills

Name: userid
Structure:
subject short {{{3}}}


pills_used_fail

Note: When a survivor fails using pills

Name: userid
Structure:


revive_begin

Note: When a survivor begins to revive a fallen player

Name: userid
Structure:
subject short {{{3}}}


revive_success

Note: When a survivor revives a fallen player

Name: userid
Structure:
subject short {{{3}}}
lastlife bool {{{3}}}
ledge_hang bool {{{3}}}


revive_end

Note: When a survivor stops reviving a fallen player

Name: userid
Structure:
subject short {{{3}}}
ledge_hang bool {{{3}}}