Difference between revisions of "Game Events (Source)"

From AlliedModders Wiki
Jump to: navigation, search
m (player_spawn)
(Added Day of Defeat: Source events)
Line 1: Line 1:
= Half-Life 2 Events =
+
= Generic Source Events =
  
 
=== team_info ===
 
=== team_info ===
Line 151: Line 151:
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
= Half-Life 2 Server Events =
+
= Generic Source Server Events =
 
=== server_spawn ===
 
=== server_spawn ===
 
{{qnotice|Send once a server starts}}<br>
 
{{qnotice|Send once a server starts}}<br>
Line 521: Line 521:
 
{{begin-hl2msg|nav_generate|string}}
 
{{begin-hl2msg|nav_generate|string}}
 
{{hl2msg|none|none}}
 
{{hl2msg|none|none}}
 +
{{end-hl2msg}}
 +
 +
= Day of Defeat: Source Events =
 +
 +
=== player_death ===
 +
{{qnotice|When a player dies}}
 +
{{begin-hl2msg|player_death|string}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|short|attacker}}
 +
{{hl2msg|string|weapon}}
 +
{{end-hl2msg}}
 +
 +
=== player_hurt ===
 +
{{qnotice|When a player is damaged}}
 +
{{begin-hl2msg|player_hurt|string}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|short|attacker}}
 +
{{hl2msg|string|weapon}}
 +
{{hl2msg|byte|health}}
 +
{{hl2msg|byte|damage}}
 +
{{hl2msg|byte|hitgroup}}
 +
{{end-hl2msg}}
 +
 +
=== player_changeclass ===
 +
{{qnotice|When a player changes to a different class}}
 +
{{begin-hl2msg|player_changeclass|string}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|short|class}}
 +
{{end-hl2msg}}
 +
 +
=== dod_round_start ===
 +
{{qnotice|When the round starts}}
 +
{{begin-hl2msg|dod_round_start|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_round_active ===
 +
{{qnotice|''Unknown''}}
 +
{{begin-hl2msg|dod_round_active|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_hint ===
 +
{{qnotice|When a hint occurs}}
 +
{{begin-hl2msg|dod_hint|string}}
 +
{{hl2msg|string|hintmessage}}
 +
{{end-hl2msg}}
 +
 +
=== dod_warmup_begins ===
 +
{{qnotice|When warmup begins}}
 +
{{begin-hl2msg|dod_warmup_begins|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_warmup_ends ===
 +
{{qnotice|When warmup ends}}
 +
{{begin-hl2msg|dod_warmup_ends|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_round_start ===
 +
{{qnotice|When round starts}}
 +
{{begin-hl2msg|dod_round_start|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_restart_round ===
 +
{{qnotice|When round restarts}}
 +
{{begin-hl2msg|dod_restart_round|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_ready_restart ===
 +
{{qnotice|When the ready players trigger restart}}
 +
{{begin-hl2msg|dod_ready_restart|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_allies_ready ===
 +
{{qnotice|When allies are ready}}
 +
{{begin-hl2msg|dod_allies_ready|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_axis_ready ===
 +
{{qnotice|When axis are ready}}
 +
{{begin-hl2msg|dod_axis_ready|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_round_restart_seconds ===
 +
{{qnotice|When round restart is set}}
 +
{{begin-hl2msg|dod_round_restart_seconds|string}}
 +
{{hl2msg|short|seconds}}
 +
{{end-hl2msg}}
 +
 +
=== dod_team_scores ===
 +
{{qnotice|When a team scores (wins)}}
 +
{{begin-hl2msg|dod_team_scores|string}}
 +
{{hl2msg|short|allies_caps}}
 +
{{hl2msg|short|allies_tick}}
 +
{{hl2msg|byte|allies_players}}
 +
{{hl2msg|short|axis_caps}}
 +
{{hl2msg|short|axis_tick}}
 +
{{hl2msg|byte|axis_players}}
 +
{{end-hl2msg}}
 +
 +
=== dod_point_captured ===
 +
{{qnotice|When a flag/point is captured}}
 +
{{begin-hl2msg|dod_point_captured|string}}
 +
{{hl2msg|byte|cp}}
 +
{{hl2msg|string|cpname}}
 +
{{hl2msg|string|cappers}}
 +
{{hl2msg|bool|bomb}}
 +
{{end-hl2msg}}
 +
 +
=== dod_capture_blocked ===
 +
{{qnotice|When a capture is blocked}}
 +
{{begin-hl2msg|dod_capture_blocked|string}}
 +
{{hl2msg|byte|cp}}
 +
{{hl2msg|string|cpname}}
 +
{{hl2msg|byte|blocker}}
 +
{{end-hl2msg}}
 +
 +
=== dod_round_win ===
 +
{{qnotice|When a round is won}}
 +
{{begin-hl2msg|dod_round_win|string}}
 +
{{hl2msg|byte|team}}
 +
{{end-hl2msg}}
 +
 +
=== dod_tick_points ===
 +
{{qnotice|''Unknown''}}
 +
{{begin-hl2msg|dod_tick_points|string}}
 +
{{hl2msg|byte|team}}
 +
{{hl2msg|byte|score}}
 +
{{hl2msg|short|totalscore}}
 +
{{end-hl2msg}}
 +
 +
=== dod_game_over ===
 +
{{qnotice|When the map ends}}
 +
{{begin-hl2msg|dod_game_over|string}}
 +
{{hl2msg|string|reason}}
 +
{{end-hl2msg}}
 +
 +
=== dod_broadcast_audio ===
 +
{{qnotice|When audio is broadcasted}}
 +
{{begin-hl2msg|dod_broadcast_audio|string}}
 +
{{hl2msg|string|sound}}
 +
{{end-hl2msg}}
 +
 +
=== dod_stats_weapon_attack ===
 +
{{qnotice|When a player attacks with a weapon}}
 +
{{begin-hl2msg|dod_stats_weapon_attack|string}}
 +
{{hl2msg|short|attacker}}
 +
{{hl2msg|byte|weapon}}
 +
{{end-hl2msg}}
 +
 +
=== dod_stats_player_damage ===
 +
{{qnotice|When a player damages another}}
 +
{{begin-hl2msg|dod_stats_player_damage|string}}
 +
{{hl2msg|short|attacker}}
 +
{{hl2msg|short|victim}}
 +
{{hl2msg|byte|weapon}}
 +
{{hl2msg|short|damage}}
 +
{{hl2msg|byte|damage_given}}
 +
{{hl2msg|float|distance}}
 +
{{hl2msg|byte|hitgroup}}
 +
{{end-hl2msg}}
 +
 +
=== dod_stats_player_killed ===
 +
{{qnotice|When a player kills another}}
 +
{{begin-hl2msg|dod_stats_player_killed|string}}
 +
{{hl2msg|byte|attacker}}
 +
{{hl2msg|byte|victim}}
 +
{{hl2msg|byte|weapon}}
 +
{{end-hl2msg}}
 +
 +
=== dod_win_panel ===
 +
{{qnotice|When the scoreboard is shown after map end}}
 +
{{begin-hl2msg|dod_win_panel|string}}
 +
{{hl2msg|bool|show_timer_defend}}
 +
{{hl2msg|bool|show_timer_attack}}
 +
{{hl2msg|short|timer_time}}
 +
{{hl2msg|byte|final_event}}
 +
{{hl2msg|byte|category_left}}
 +
{{hl2msg|byte|left_1}}
 +
{{hl2msg|byte|left_score_1}}
 +
{{hl2msg|byte|left_2}}
 +
{{hl2msg|byte|left_score_2}}
 +
{{hl2msg|byte|left_3}}
 +
{{hl2msg|byte|left_score_3}}
 +
{{hl2msg|byte|category_right}}
 +
{{hl2msg|byte|right_1}}
 +
{{hl2msg|byte|right_score_1}}
 +
{{hl2msg|byte|right_2}}
 +
{{hl2msg|byte|right_score_2}}
 +
{{hl2msg|byte|right_3}}
 +
{{hl2msg|byte|right_score_3}}
 +
{{end-hl2msg}}
 +
 +
=== dod_timer_time_added ===
 +
{{qnotice|When time is added (in bombing maps)}}
 +
{{begin-hl2msg|dod_timer_time_added|string}}
 +
{{hl2msg|short|seconds_added}}
 +
{{end-hl2msg}}
 +
 +
=== dod_timer_flash ===
 +
{{qnotice|''Unknown''}}
 +
{{begin-hl2msg|dod_timer_flash|string}}
 +
{{hl2msg|short|time_remaining}}
 +
{{end-hl2msg}}
 +
 +
=== dod_map_time_remaining ===
 +
{{qnotice|Time remaining on map}}
 +
{{begin-hl2msg|dod_map_time_remaining|string}}
 +
{{hl2msg|short|seconds}}
 +
{{end-hl2msg}}
 +
 +
=== dod_tnt_pickup ===
 +
{{qnotice|When TNT is picked up}}
 +
{{begin-hl2msg|dod_tnt_pickup|string}}
 +
{{end-hl2msg}}
 +
 +
=== dod_bomb_planted ===
 +
{{qnotice|When TNT is placed on an objective}}
 +
{{begin-hl2msg|dod_bomb_planted|string}}
 +
{{hl2msg|byte|cp}}
 +
{{hl2msg|string|cpname}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|byte|team}}
 +
{{end-hl2msg}}
 +
 +
=== dod_bomb_exploded ===
 +
{{qnotice|When TNT explodes}}
 +
{{begin-hl2msg|dod_bomb_exploded|string}}
 +
{{hl2msg|byte|cp}}
 +
{{hl2msg|string|cpname}}
 +
{{hl2msg|short|userid}}
 +
{{end-hl2msg}}
 +
 +
=== dod_bomb_defused ===
 +
{{qnotice|When TNT is defused}}
 +
{{begin-hl2msg|dod_bomb_defused|string}}
 +
{{hl2msg|byte|cp}}
 +
{{hl2msg|string|cpname}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|byte|team}}
 +
{{end-hl2msg}}
 +
 +
=== dod_kill_planter ===
 +
{{qnotice|When the planter of TNT is killed}}
 +
{{begin-hl2msg|dod_kill_planter|string}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|short|victimid}}
 +
{{end-hl2msg}}
 +
 +
=== dod_kill_defuser ===
 +
{{qnotice|When the defuser of TNT is killed}}
 +
{{begin-hl2msg|dod_kill_defuser|string}}
 +
{{hl2msg|short|userid}}
 +
{{hl2msg|short|victimid}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}

Revision as of 14:52, 8 June 2007

Contents

Generic Source Events

team_info

Note: Info about team

Name: team_info
Structure:
byte teamid {{{3}}}
string teamname {{{3}}}


team_score

Note: Team score changed

Name: team_info
Structure:
byte teamid {{{3}}}
short score {{{3}}}


player_team

Note: Player change his team

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


player_class

Note: A player changed his class

Name: player_class
Structure:
short userid {{{3}}}
string class {{{3}}}


player_death

Note: A game event, name may be 32 charaters long

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}


player_hurt

Note: A player was hurt

Name: player_hurt
Structure:
short userid {{{3}}}
short attacker {{{3}}}
byte health {{{3}}}


player_chat

Note: A public player chat

Name: player_chat
Structure:
bool teamonly {{{3}}}
short userid {{{3}}}
string text {{{3}}}


player_score

Note: Players scores changed

Name: player_score
Structure:
short userid {{{3}}}
short kills {{{3}}}
short deaths {{{3}}}
short score {{{3}}}


player_spawn

Note: player spawned in game

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


player_shoot

Note: Player shoot his weapon

Name: player_shoot
Structure:
short userid {{{3}}}
byte weapon {{{3}}}
byte mode {{{3}}}


player_use

Note: When a player uses an option

Name: player_use
Structure:
short userid {{{3}}}
short entity {{{3}}}


player_changename

Note: Player changed name

Name: player_changename
Structure:
string userid {{{3}}}
string oldname {{{3}}}
string newname {{{3}}}


game_newmap

Note: Send when new map is completely loaded

Name: game_newmap
Structure:
string mapname {{{3}}}


game_start

Note: A new game starts

Name: game_start
Structure:
long roundslimit {{{3}}}
long timelimit {{{3}}}
long fraglimit {{{3}}}
string objective {{{3}}}


game_end

Note: A game ended

Name: game_end
Structure:
byte winner {{{3}}}


round_start

Note: The round started

Name: player_changename
Structure:
long timelimit {{{3}}}
long fraglimit {{{3}}}
string objective {{{3}}}


round_end

Note: The round ended

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


game_message

Note: A game message

Name: game_message
Structure:
byte target {{{3}}}
string text {{{3}}}


break_breakable

Note: A breakable (func_break) is broken.

Name: break_breakable
Structure:
long entindex {{{3}}}
short userid {{{3}}}
byte material {{{3}}}


break_prop

Note: A breakable prop is broken.

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


Generic Source Server Events

server_spawn

Note: Send once a server starts

Name: server_start
Structure:
string hostname {{{3}}}
string address {{{3}}}
string port {{{3}}}
string game {{{3}}}
string mapname {{{3}}}
long maxplayers {{{3}}}
string os {{{3}}}
bool dedicated {{{3}}}
bool password {{{3}}}


server_shutdown

Note: Server shut down

Name: server_shutdown
Structure:
string reason {{{3}}}


server_cvar

Note: A server console var has changed

Name: server_cvar
Structure:
string cvarname {{{3}}}
string cvarvalue {{{3}}}


server_msg

Note: A generic server message

Name: server_message
Structure:
string text {{{3}}}


server_addban

Note: When the server has a ban added

Name: server_addban
Structure:
string name {{{3}}}
string userid {{{3}}}
string networkid {{{3}}}
string ip {{{3}}}
string duration {{{3}}}
string by {{{3}}}
bool kicked {{{3}}}


server_removeban

Note: When the server has a ban removed

Name: server_removeban
Structure:
string networkid {{{3}}}
string ip {{{3}}}
stsring by {{{3}}}


player_connect

Note: A new player connected

Name: player_connect
Structure:
string name {{{3}}}
byte index {{{3}}}
short userid {{{3}}}
string networkid {{{3}}}
string address {{{3}}}


player_info

Note: A player changed his name

Name: player_info
Structure:
string name {{{3}}}
byte index {{{3}}}
short userid {{{3}}}
string networkid {{{3}}}
bool bot {{{3}}}


player_disconnect

Note: A client was disconnected

Name: player_disconnect
Structure:
short userid {{{3}}}
string reason {{{3}}}
string name {{{3}}}
string networkid {{{3}}}


player_activate

Note: A client has entered the game (connected and loaded)

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


player_say

Note: When a client sends a message in chat

Name: player_say
Structure:
short userid {{{3}}}
string text {{{3}}}


Counter-Strike: Source Events

player_death

Note: When a client dies

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
string weapon {{{3}}}
bool headshot {{{3}}}


player_hurt

Note: When a client is damaged

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


bomb_beginplant

Note: When the bomb is starting to get planted

Name: bomb_beginplant
Structure:
short userid {{{3}}}
short site {{{3}}}


bomb_abortplant

Note: When the bomb planter stops planting the bomb

Name: bomb_abortplant
Structure:
short userid {{{3}}}
short site {{{3}}}


bomb_plant

Note: When the bomb has been planted

Name: bomb_planted
Structure:
short userid {{{3}}}
short site {{{3}}}
short posx {{{3}}}
short posy {{{3}}}


bomb_defused

Note: When the bomb has been defused

Name: bomb_defused
Structure:
short userid {{{3}}}
short site {{{3}}}


bomb_exploded

Note: When the bomb explodes

Name: bomb_exploded
Structure:
short userid {{{3}}}
short site {{{3}}}


bomb_dropped

Note: When the bomb is dropped by a client

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


bomb_pickup

Note: When the bomb is picked up by a client

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


bomb_begindefuse

Note: When the bomb is started to be defused

Name: bomb_begindefuse
Structure:
short userid {{{3}}}
bool haskit {{{3}}}


bomb_abortdefuse

Note: When the bomb defusal is stopped

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


hostage_follows

Note: When the hostage begins following a client

Name: hostage_follows
Structure:
short userid {{{3}}}
short hostage {{{3}}}


hostage_hurt

Note: When a hostage is damaged

Name: hostage_hurt
Structure:
short userid {{{3}}}
short hostage {{{3}}}


hostage_killed

Note: When a hostage is killed

Name: hostage_killed
Structure:
short userid {{{3}}}
short hostage {{{3}}}


hostage_rescued

Note: When a hostage is rescued

Name: hostage_rescued
Structure:
short userid {{{3}}}
short hostage {{{3}}}
short site {{{3}}}


hostage_stops_following

Note: When a hostage stops following a client

Name: hostage_stops_following
Structure:
short userid {{{3}}}
short hostage {{{3}}}


hostage_rescued_all

Note: When all the hostages are rescued

Name: hostage_rescued_all
Structure:
none none {{{3}}}


hostage_call_for_help

Note: When the hostage calls for help

Name: hostage_call_for_help
Structure:
short hostage {{{3}}}


vip_escaped

Note: When the VIP escapes

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


vip_killed

Note: When the VIP is killed

Name: vip_killed
Structure:
short userid {{{3}}}
short attacker {{{3}}}


player_radio

Note: When the player uses radio commands

Name: player_radio
Structure:
short userid {{{3}}}
short slot {{{3}}}


bomb_beep

Note: Every time the bomb beep sound happens

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


weapon_fire

Note: Every time a client fires their weapon

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


weapon_fire_on_empty

Note: Every time a client fires their weapon and it's empty

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


weapon_reload

Note: Every time a client reloads their weapon

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


weapon_zoom

Note: Every time a client zooms a scoped weapon

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


item_pickup

Note: Every time an item is picked up (generally weapons)

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


grenade_bounce

Note: Every time a grenade bounces

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


hegrenade_detonate

Note: Every time a hegrenade explodes

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


flashbang_detonate

Note: Every time a flashbang detonates

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


smokegrenade_detonate

Note: Every time a smokegrenade detonates

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


bullet_impact

Note: Every time a bullet hits something

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


player_footstep

Note: Every time a player takes a step

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


player_jump

Note: Every time a player jumps

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


player_blind

Note: Every time a player is blinded by a flashbang

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


player_falldamage

Note: Every time a player takes damage due to a fall

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


door_moving

Note: Every time a door is put in motion (opened)

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


round_freeze_end

Note: When the round's mp_freezetime is up

Name: round_freeze_end
Structure:
none none {{{3}}}


nav_blocked

Note: Guess: Called when an area is blocked by the nav of a map

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


nav_generate

Note: Called when a nav file does not exist for a map and bots are added

Name: nav_generate
Structure:
none none {{{3}}}


Day of Defeat: Source Events

player_death

Note: When a player dies

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
string weapon {{{3}}}


player_hurt

Note: When a player is damaged

Name: player_hurt
Structure:
short userid {{{3}}}
short attacker {{{3}}}
string weapon {{{3}}}
byte health {{{3}}}
byte damage {{{3}}}
byte hitgroup {{{3}}}


player_changeclass

Note: When a player changes to a different class

Name: player_changeclass
Structure:
short userid {{{3}}}
short class {{{3}}}


dod_round_start

Note: When the round starts

Name: dod_round_start
Structure:


dod_round_active

Note: Unknown

Name: dod_round_active
Structure:


dod_hint

Note: When a hint occurs

Name: dod_hint
Structure:
string hintmessage {{{3}}}


dod_warmup_begins

Note: When warmup begins

Name: dod_warmup_begins
Structure:


dod_warmup_ends

Note: When warmup ends

Name: dod_warmup_ends
Structure:


dod_round_start

Note: When round starts

Name: dod_round_start
Structure:


dod_restart_round

Note: When round restarts

Name: dod_restart_round
Structure:


dod_ready_restart

Note: When the ready players trigger restart

Name: dod_ready_restart
Structure:


dod_allies_ready

Note: When allies are ready

Name: dod_allies_ready
Structure:


dod_axis_ready

Note: When axis are ready

Name: dod_axis_ready
Structure:


dod_round_restart_seconds

Note: When round restart is set

Name: dod_round_restart_seconds
Structure:
short seconds {{{3}}}


dod_team_scores

Note: When a team scores (wins)

Name: dod_team_scores
Structure:
short allies_caps {{{3}}}
short allies_tick {{{3}}}
byte allies_players {{{3}}}
short axis_caps {{{3}}}
short axis_tick {{{3}}}
byte axis_players {{{3}}}


dod_point_captured

Note: When a flag/point is captured

Name: dod_point_captured
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
string cappers {{{3}}}
bool bomb {{{3}}}


dod_capture_blocked

Note: When a capture is blocked

Name: dod_capture_blocked
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
byte blocker {{{3}}}


dod_round_win

Note: When a round is won

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


dod_tick_points

Note: Unknown

Name: dod_tick_points
Structure:
byte team {{{3}}}
byte score {{{3}}}
short totalscore {{{3}}}


dod_game_over

Note: When the map ends

Name: dod_game_over
Structure:
string reason {{{3}}}


dod_broadcast_audio

Note: When audio is broadcasted

Name: dod_broadcast_audio
Structure:
string sound {{{3}}}


dod_stats_weapon_attack

Note: When a player attacks with a weapon

Name: dod_stats_weapon_attack
Structure:
short attacker {{{3}}}
byte weapon {{{3}}}


dod_stats_player_damage

Note: When a player damages another

Name: dod_stats_player_damage
Structure:
short attacker {{{3}}}
short victim {{{3}}}
byte weapon {{{3}}}
short damage {{{3}}}
byte damage_given {{{3}}}
float distance {{{3}}}
byte hitgroup {{{3}}}


dod_stats_player_killed

Note: When a player kills another

Name: dod_stats_player_killed
Structure:
byte attacker {{{3}}}
byte victim {{{3}}}
byte weapon {{{3}}}


dod_win_panel

Note: When the scoreboard is shown after map end

Name: dod_win_panel
Structure:
bool show_timer_defend {{{3}}}
bool show_timer_attack {{{3}}}
short timer_time {{{3}}}
byte final_event {{{3}}}
byte category_left {{{3}}}
byte left_1 {{{3}}}
byte left_score_1 {{{3}}}
byte left_2 {{{3}}}
byte left_score_2 {{{3}}}
byte left_3 {{{3}}}
byte left_score_3 {{{3}}}
byte category_right {{{3}}}
byte right_1 {{{3}}}
byte right_score_1 {{{3}}}
byte right_2 {{{3}}}
byte right_score_2 {{{3}}}
byte right_3 {{{3}}}
byte right_score_3 {{{3}}}


dod_timer_time_added

Note: When time is added (in bombing maps)

Name: dod_timer_time_added
Structure:
short seconds_added {{{3}}}


dod_timer_flash

Note: Unknown

Name: dod_timer_flash
Structure:
short time_remaining {{{3}}}


dod_map_time_remaining

Note: Time remaining on map

Name: dod_map_time_remaining
Structure:
short seconds {{{3}}}


dod_tnt_pickup

Note: When TNT is picked up

Name: dod_tnt_pickup
Structure:


dod_bomb_planted

Note: When TNT is placed on an objective

Name: dod_bomb_planted
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
short userid {{{3}}}
byte team {{{3}}}


dod_bomb_exploded

Note: When TNT explodes

Name: dod_bomb_exploded
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
short userid {{{3}}}


dod_bomb_defused

Note: When TNT is defused

Name: dod_bomb_defused
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
short userid {{{3}}}
byte team {{{3}}}


dod_kill_planter

Note: When the planter of TNT is killed

Name: dod_kill_planter
Structure:
short userid {{{3}}}
short victimid {{{3}}}


dod_kill_defuser

Note: When the defuser of TNT is killed

Name: dod_kill_defuser
Structure:
short userid {{{3}}}
short victimid {{{3}}}