Difference between revisions of "Left 4 Dead Events"

From AlliedModders Wiki
Jump to: navigation, search
Line 217: Line 217:
 
{{hl2msg|reason|byte}}
 
{{hl2msg|reason|byte}}
 
{{hl2msg|message|string}}
 
{{hl2msg|message|string}}
 +
{{end-hl2msg}}
 +
 +
=== vote_started ===
 +
{{qnotice|When a ingame vote is created}}<br>
 +
{{begin-hl2msg|issue|string}}
 +
{{hl2msg|param1|string}}
 +
{{hl2msg|team|byte}}
 +
{{hl2msg|initiator|long}}
 +
{{end-hl2msg}}
 +
 +
=== vote_changed ===
 +
{{qnotice|When a ingame vote is changed}}<br>
 +
{{begin-hl2msg|yesVotes|byte}}
 +
{{hl2msg|noVotes|bytes}}
 +
{{hl2msg|potentialVotes|byte}}
 +
{{end-hl2msg}}
 +
 +
=== vote_passed ===
 +
{{qnotice|When a ingame vote is passed}}<br>
 +
{{begin-hl2msg|details|string}}
 +
{{hl2msg|param1|string}}
 +
{{hl2msg|team|byte}}
 +
{{end-hl2msg}}
 +
 +
=== vote_failed ===
 +
{{qnotice|When a ingame vote failed}}<br>
 +
{{begin-hl2msg|team|byte}}
 +
{{end-hl2msg}}
 +
 +
=== vote_cast_yes ===
 +
{{qnotice|When a player votes yes on ingame vote}}<br>
 +
{{begin-hl2msg|team|byte}}
 +
{{hl2msg|entityid|long}}
 +
{{end-hl2msg}}
 +
 +
=== vote_cast_no ===
 +
{{qnotice|When a player votes no on ingame vote}}<br>
 +
{{begin-hl2msg|team|byte}}
 +
{{hl2msg|entityid|long}}
 +
{{end-hl2msg}}
 +
 +
=== infected_hurt ===
 +
{{qnotice|When an infected is hurt}}<br>
 +
{{begin-hl2msg|local|1}}
 +
{{hl2msg|attacker|short}}
 +
{{hl2msg|entityid|long}}
 +
{{hl2msg|hitgroup|byte}}
 +
{{hl2msg|amount|short}}
 +
{{hl2msg|type|long}}
 +
{{end-hl2msg}}
 +
 +
=== infected_death ===
 +
{{qnotice|When an infected is killed}}<br>
 +
{{begin-hl2msg|attacker|short}}
 +
{{hl2msg|headshot|bool}}
 +
{{hl2msg|minigun|bool}}
 +
{{hl2msg|blast|bool}}
 +
{{end-hl2msg}}
 +
 +
=== hostname_changed ===
 +
{{qnotice|When the server hostname changes}}<br>
 +
{{begin-hl2msg|hostname|string}}
 +
{{end-hl2msg}}
 +
 +
=== difficulty_changed ===
 +
{{qnotice|When the server difficulty changes}}<br>
 +
{{begin-hl2msg|newDifficulty|short}}
 +
{{hl2msg|oldDifficulty|short}}
 +
{{end-hl2msg}}
 +
 +
=== finale_start ===
 +
{{qnotice|When the campaign finale begins}}<br>
 +
{{begin-hl2msg|rushes|short}}
 +
{{end-hl2msg}}
 +
 +
=== finale_vehicle_leaving ===
 +
{{qnotice|When the finale vehicle is leaving}}<br>
 +
{{begin-hl2msg|survivorcount|short}}
 +
{{end-hl2msg}}
 +
 +
=== finale_win ===
 +
{{qnotice|When the finale in completed}}<br>
 +
{{begin-hl2msg|map_name|string}}
 +
{{hl2msg|difficulty|short}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}

Revision as of 17:19, 26 November 2008

player_death

Note: When a player is killed

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


player_hurt

Note: When a player is Hurt

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


player_team

Note: When a player Changes Team

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


player_bot_replace

Note: When a player replaces a bot

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


bot_player_replace

Note: When a bot replaces a player

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


player_afk

Note: When a bot replaces a player

Name: player
Structure:


weapon_fire

Note: When a weapon is fired

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



weapon_fire_on_empty

Note: When a weapon is fired while empty

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


weapon_reload

Note: When a weapon is reloaded

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


weapon_zoom

Note: When a weapon is reloaded

Name: userid
Structure:


ability_use

Note: When an ability is used

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


ammo_pickup

Note: When a player recieves ammo

Name: userid
Structure:


item_pickup

Note: When a player recieves an item

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


grenade_bounce

Note: When a grenade bounces

Name: userid
Structure:


hegrenade_detonate

Note: When a grenade explodes

Name: userid
Structure:


bullet_impact

Note: When a bullet projectile impacts

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


player_footstep

Note: When a player makes a footstep

Name: userid
Structure:


player_jump

Note: When a player jumps

Name: userid
Structure:


player_jump

Note: When a player is blinded

Name: userid
Structure:


player_falldamage

Note: When a player recieves fall damage

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


player_ledgegrab

Note: When a player grabs on a ledge

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


player_ledgerelease

Note: When a player lets go of a ledge

Name: userid
Structure:


door_moving

Note: When a door moves

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


door_open

Note: When a door is opened

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


door_close

Note: When a door is closed

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


door_unlocked

Note: When a door is unlocked

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


rescue_door_open

Note: When a rescue door is opened

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


waiting_checkpoint_door_used

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

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


waiting_door_used_versus

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

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


waiting_checkpoint_button_used

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

Name: userid
Structure:


nav_blocked

Note: When Nav is blocked

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


round_end_message

Note: When a game round ends

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


vote_started

Note: When a ingame vote is created

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


vote_changed

Note: When a ingame vote is changed

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


vote_passed

Note: When a ingame vote is passed

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


vote_failed

Note: When a ingame vote failed

Name: team
Structure:


vote_cast_yes

Note: When a player votes yes on ingame vote

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


vote_cast_no

Note: When a player votes no on ingame vote

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


infected_hurt

Note: When an infected is hurt

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


infected_death

Note: When an infected is killed

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


hostname_changed

Note: When the server hostname changes

Name: hostname
Structure:


difficulty_changed

Note: When the server difficulty changes

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


finale_start

Note: When the campaign finale begins

Name: rushes
Structure:


finale_vehicle_leaving

Note: When the finale vehicle is leaving

Name: survivorcount
Structure:


finale_win

Note: When the finale in completed

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