Day of Defeat: Source Events

From AMWiki

Jump to: navigation, search
Refer back to Game Events (Source) for more events.

Contents

[edit] player_death

Note: When a player dies

Name: player_death
Structure:
short userid
short attacker
string weapon


[edit] player_hurt

Note: When a player is damaged

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


[edit] player_changeclass

Note: When a player changes to a different class

Name: player_changeclass
Structure:
short userid
short class


[edit] dod_round_start

Note: When the round starts

Name: dod_round_start
Structure:


[edit] dod_round_active

Note: When the round becomes active after the "frozen" time

Name: dod_round_active
Structure:
none none


[edit] dod_hint

Note: When a hint occurs

Name: dod_hint
Structure:
string hintmessage


[edit] dod_warmup_begins

Note: When warmup begins

Name: dod_warmup_begins
Structure:
none none


[edit] dod_warmup_ends

Note: When warmup ends

Name: dod_warmup_ends
Structure:
none none


[edit] dod_round_start

Note: When round starts

Name: dod_round_start
Structure:
none none


[edit] dod_restart_round

Note: When round restarts

Name: dod_restart_round
Structure:
none none


[edit] dod_ready_restart

Note: When the ready players trigger restart

Name: dod_ready_restart
Structure:
none none


[edit] dod_allies_ready

Note: When allies are ready

Name: dod_allies_ready
Structure:
none none


[edit] dod_axis_ready

Note: When axis are ready

Name: dod_axis_ready
Structure:
none none


[edit] dod_round_restart_seconds

Note: When round restart is set

Name: dod_round_restart_seconds
Structure:
short seconds


[edit] dod_team_scores

Note: When a team scores (wins)

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


[edit] dod_point_captured

Note: When a flag/point is captured

Name: dod_point_captured
Structure:
byte cp
string cpname
string cappers
bool bomb


[edit] dod_capture_blocked

Note: When a capture is blocked

Name: dod_capture_blocked
Structure:
byte cp
string cpname
byte blocker


[edit] dod_round_win

Note: When a round is won

Name: dod_round_win
Structure:
byte team


[edit] dod_tick_points

Note: Unknown

Name: dod_tick_points
Structure:
byte team
byte score
short totalscore


[edit] dod_game_over

Note: When the map ends

Name: dod_game_over
Structure:
string reason


[edit] dod_broadcast_audio

Note: When audio is broadcasted

Name: dod_broadcast_audio
Structure:
string sound


[edit] dod_stats_weapon_attack

Note: When a player attacks with a weapon

Name: dod_stats_weapon_attack
Structure:
short attacker
byte weapon


[edit] dod_stats_player_damage

Note: When a player damages another

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


[edit] dod_stats_player_killed

Note: When a player kills another

Name: dod_stats_player_killed
Structure:
byte attacker
byte victim
byte weapon


[edit] 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
byte category_left
byte left_1
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


[edit] dod_timer_time_added

Note: When time is added (in bombing maps)

Name: dod_timer_time_added
Structure:
short seconds_added


[edit] dod_timer_flash

Note: Unknown

Name: dod_timer_flash
Structure:
short time_remaining


[edit] dod_map_time_remaining

Note: Time remaining on map

Name: dod_map_time_remaining
Structure:
short seconds


[edit] dod_tnt_pickup

Note: When TNT is picked up

Name: dod_tnt_pickup
Structure:


[edit] dod_bomb_planted

Note: When TNT is placed on an objective

Name: dod_bomb_planted
Structure:
byte cp
string cpname
short userid
byte team


[edit] dod_bomb_exploded

Note: When TNT explodes

Name: dod_bomb_exploded
Structure:
byte cp
string cpname
short userid


[edit] dod_bomb_defused

Note: When TNT is defused

Name: dod_bomb_defused
Structure:
byte cp
string cpname
short userid
byte team


[edit] dod_kill_planter

Note: When the planter of TNT is killed

Name: dod_kill_planter
Structure:
short userid
short victimid


[edit] dod_kill_defuser

Note: When the defuser of TNT is killed

Name: dod_kill_defuser
Structure:
short userid
short victimid


Personal tools