- Refer back to Game Events (Source) for more events.
player_death
Note: When a player dies
Name:
|
player_death
|
Structure:
|
short
|
userid
|
user ID who died
|
short
|
attacker
|
user ID who killed
|
string
|
weapon
|
weapon name killed used
|
bool
|
dominated
|
|
bool
|
revenge
|
|
|
player_hurt
Note: When a player is damaged
Name:
|
player_hurt
|
Structure:
|
short
|
userid
|
user ID who was hurt
|
short
|
attacker
|
user ID who attacked
|
string
|
weapon
|
weapon name attacker used
|
byte
|
health
|
health remaining
|
byte
|
damage
|
how much damage in this attack
|
byte
|
hitgroup
|
what hitgroup was hit
|
|
player_changeclass
Note: When a player changes to a different class
Name:
|
player_changeclass
|
Structure:
|
short
|
userid
|
user ID who changed class
|
short
|
class
|
class that they changed to
|
|
dod_round_start
Note: When the round starts
Name:
|
dod_round_start
|
Structure:
|
|
dod_round_active
Note: When the round becomes active after the "frozen" time
Name:
|
dod_round_active
|
Structure:
|
|
dod_hint
Note: When a hint occurs
Name:
|
dod_hint
|
Structure:
|
string
|
hintmessage
|
localizable string of a hint
|
|
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:
|
|
dod_team_scores
Note: When a team scores (wins)
Name:
|
dod_team_scores
|
Structure:
|
short
|
allies_caps
|
how many rounds won by Allies
|
short
|
allies_tick
|
how many tick points Allies have
|
byte
|
allies_players
|
how many players Allies have
|
short
|
axis_caps
|
.. same for Axis.
|
short
|
axis_tick
|
|
byte
|
axis_players
|
|
|
dod_point_captured
Note: When a flag/point is captured
Name:
|
dod_point_captured
|
Structure:
|
byte
|
cp
|
index of the point that was captured
|
string
|
cpname
|
name of the point
|
string
|
cappers
|
string where each character is a player index of someone that capped
|
bool
|
bomb
|
was this a bomb exploding
|
|
dod_capture_blocked
Note: When a capture is blocked
Name:
|
dod_capture_blocked
|
Structure:
|
byte
|
cp
|
index of the point that was blocked
|
string
|
cpname
|
name of the point
|
byte
|
blocker
|
index of the player that blocked the cap
|
bool
|
bomb
|
was the block on a defuse or a plant?
|
|
dod_round_win
Note: When a round is won
Name:
|
dod_round_win
|
Structure:
|
byte
|
team
|
which team won the round
|
|
dod_tick_points
Note: Unknown
Name:
|
dod_tick_points
|
Structure:
|
byte
|
team
|
which team scored tick points
|
byte
|
score
|
how many did they score
|
short
|
totalscore
|
the new total score
|
|
dod_game_over
Note: When the map ends
Name:
|
dod_game_over
|
Structure:
|
string
|
reason
|
why the game is over ( timelimit, winlimit )
|
|
dod_broadcast_audio
Note: When audio is broadcasted
Name:
|
dod_broadcast_audio
|
Structure:
|
string
|
sound
|
sound to play
|
|
dod_stats_weapon_attack
Note: When a player attacks with a weapon
Name:
|
dod_stats_weapon_attack
|
Structure:
|
short
|
attacker
|
|
byte
|
weapon
|
|
|
dod_stats_player_damage
Note: When a player damages another
Name:
|
dod_stats_player_damage
|
Structure:
|
short
|
attacker
|
userid of the attacker
|
short
|
victim
|
userid of the victim
|
byte
|
weapon
|
weapon id
|
short
|
damage
|
total damage in this shot
|
byte
|
damage_given
|
applied damage, not to exceed health
|
float
|
distance
|
distance of the shot
|
byte
|
hitgroup
|
hitgroup that was hit
|
|
dod_stats_player_killed
Note: When a player kills another
Name:
|
dod_stats_player_killed
|
Structure:
|
byte
|
attacker
|
|
byte
|
victim
|
|
byte
|
weapon
|
|
|
dod_win_panel
Note: When the scoreboard is shown after map end
Name:
|
dod_win_panel
|
Structure:
|
bool
|
show_timer_defend
|
|
bool
|
show_timer_attack
|
|
short
|
timer_time
|
|
byte
|
final_event
|
0 - no event, 1 - bomb exploded, 2 - flag capped, 3 - timer expired
|
byte
|
category_left
|
0-4: none, bombers, cappers, defenders, killers
|
byte
|
left_1
|
player index if first
|
byte
|
left_score_1
|
|
byte
|
left_2
|
|
byte
|
left_score_2
|
|
byte
|
left_3
|
|
byte
|
left_score_3
|
|
byte
|
category_right
|
|
byte
|
right_1
|
|
byte
|
right_score_1
|
|
byte
|
right_2
|
|
byte
|
right_score_2
|
|
byte
|
right_3
|
|
byte
|
right_score_3
|
|
|
dod_timer_time_added
Note: When time is added (in bombing maps)
Name:
|
dod_timer_time_added
|
Structure:
|
short
|
seconds_added
|
how many seconds were added to the round timer
|
|
dod_timer_flash
Note: Unknown
Name:
|
dod_timer_flash
|
Structure:
|
short
|
time_remaining
|
how many seconds until the round ends
|
|
dod_map_time_remaining
Note: Time remaining on map
Name:
|
dod_map_time_remaining
|
Structure:
|
|
dod_tnt_pickup
Note: When TNT is picked up, clientside only
Name:
|
dod_tnt_pickup
|
Structure:
|
|
dod_bomb_planted
Note: When TNT is placed on an objective
Name:
|
dod_bomb_planted
|
Structure:
|
byte
|
cp
|
index of the point where the bomb was planted
|
string
|
cpname
|
name of the point
|
short
|
userid
|
user ID of the player that planted the bomb
|
byte
|
team
|
team that planted
|
|
dod_bomb_exploded
Note: When TNT explodes
Name:
|
dod_bomb_exploded
|
Structure:
|
byte
|
cp
|
index of the point where the bomb exploded
|
string
|
cpname
|
name of the point
|
short
|
userid
|
user ID of the player that planted the bomb
|
|
dod_bomb_defused
Note: When TNT is defused
Name:
|
dod_bomb_defused
|
Structure:
|
byte
|
cp
|
index of the point where the bomb was defused
|
string
|
cpname
|
name of the point
|
short
|
userid
|
user ID of the player that defused the bomb
|
byte
|
team
|
team that defused
|
|
dod_kill_planter
Note: When the planter of TNT is killed
Name:
|
dod_kill_planter
|
Structure:
|
short
|
userid
|
user ID of the player killed the planter
|
short
|
victimid
|
user ID of the player that was killed
|
|
dod_kill_defuser
Note: When the defuser of TNT is killed
Name:
|
dod_kill_defuser
|
Structure:
|
short
|
userid
|
user ID of the player killed the defuser
|
short
|
victimid
|
user ID of the player that was killed
|
|
spec_target_updated
Name:
|
spec_target_updated
|
Structure:
|
|
achievement_earned
Note: When a player earns an achievement
Name:
|
achievement_earned
|
Structure:
|
byte
|
player
|
entindex of the player
|
short
|
achievement
|
achievement ID
|
|
show_freezepanel
Name:
|
show_freezepanel
|
Structure:
|
short
|
killer
|
entindex of the killer entity
|
|
hide_freezepanel
Name:
|
hide_freezepanel
|
Structure:
|
|
freezecam_started
Name:
|
freezecam_started
|
Structure:
|
|
christmas_gift_grab
Name:
|
christmas_gift_grab
|
Structure:
|
|