Difference between revisions of "Left 4 Dead Events"

From AlliedModders Wiki
Jump to: navigation, search
Line 66: Line 66:
 
{{hl2msg|weaponid|short}}
 
{{hl2msg|weaponid|short}}
 
{{hl2msg|count|short}}
 
{{hl2msg|count|short}}
 +
{{end-hl2msg}}
 +
 +
 +
=== weapon_fire_on_empty ===
 +
{{qnotice|When a weapon is fired while empty}}<br>
 +
{{begin-hl2msg|local|1}}
 +
{{hl2msg|userid|short}}
 +
{{hl2msg|weapon|string}}
 +
{{hl2msg|count|short}}
 +
{{end-hl2msg}}
 +
 +
=== weapon_reload ===
 +
{{qnotice|When a weapon is reloaded}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|manual|bool}}
 +
{{end-hl2msg}}
 +
 +
=== weapon_zoom ===
 +
{{qnotice|When a weapon is reloaded}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== ability_use ===
 +
{{qnotice|When an ability is used}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|ability|string}}
 +
{{hl2msg|context|short}}
 +
{{end-hl2msg}}
 +
 +
=== ammo_pickup ===
 +
{{qnotice|When a player recieves ammo}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== item_pickup ===
 +
{{qnotice|When a player recieves an item}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|item|string}}
 +
{{end-hl2msg}}
 +
 +
=== grenade_bounce ===
 +
{{qnotice|When a grenade bounces}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== hegrenade_detonate ===
 +
{{qnotice|When a grenade explodes}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== bullet_impact ===
 +
{{qnotice|When a bullet projectile impacts}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|x|float}}
 +
{{hl2msg|y|float}}
 +
{{hl2msg|z|float}}
 +
{{end-hl2msg}}
 +
 +
=== player_footstep ===
 +
{{qnotice|When a player makes a footstep}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== player_jump ===
 +
{{qnotice|When a player jumps}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== player_jump ===
 +
{{qnotice|When a player is blinded}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{end-hl2msg}}
 +
 +
=== player_falldamage ===
 +
{{qnotice|When a player recieves fall damage}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|damage|float}}
 +
{{hl2msg|causer|short}}
 +
{{end-hl2msg}}
 +
 +
=== player_ledgegrab ===
 +
{{qnotice|When a player grabs on a ledge}}<br>
 +
{{begin-hl2msg|userid|short}}
 +
{{hl2msg|causer|short}}
 +
{{hl2msg|has_upgrade|bool}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}

Revision as of 16:54, 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}}}