Day of Defeat: Source Events

From AlliedModders Wiki
Revision as of 15:41, 8 June 2007 by Shane (talk | contribs) (New page: :''Refer back to Game Events (Source) for more events.'' = Day of Defeat: Source Events = === player_death === {{qnotice|When a player dies}} {{begin-hl2msg|player_death|string}} {{h...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Refer back to Game Events (Source) for more events.

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: When the round becomes active after the "frozen" time

Name: dod_round_active
Structure:
none none {{{3}}}


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:
none none {{{3}}}


dod_warmup_ends

Note: When warmup ends

Name: dod_warmup_ends
Structure:
none none {{{3}}}


dod_round_start

Note: When round starts

Name: dod_round_start
Structure:
none none {{{3}}}


dod_restart_round

Note: When round restarts

Name: dod_restart_round
Structure:
none none {{{3}}}


dod_ready_restart

Note: When the ready players trigger restart

Name: dod_ready_restart
Structure:
none none {{{3}}}


dod_allies_ready

Note: When allies are ready

Name: dod_allies_ready
Structure:
none none {{{3}}}


dod_axis_ready

Note: When axis are ready

Name: dod_axis_ready
Structure:
none none {{{3}}}


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}}}