Difference between revisions of "Half-Life 2: Capture the Flag Events"

From AlliedModders Wiki
Jump to: navigation, search
(New page: :''Refer back to Game Events (Source) for more events.'' === player_death === {{qnotice|When a player dies}} {{begin-hl2msg|player_death|string}} {{hl2msg|short|userid}} {{hl2msg|shor...)
 
Line 32: Line 32:
  
 
=== ctf_flag_assist ===
 
=== ctf_flag_assist ===
{{qnotice|}}
+
{{qnotice|When the flag capture is assisted}}
 
{{begin-hl2msg|ctf_flag_assist|string}}
 
{{begin-hl2msg|ctf_flag_assist|string}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|id}}
Line 38: Line 38:
  
 
=== ctf_flag_defend ===
 
=== ctf_flag_defend ===
{{qnotice|}}
+
{{qnotice|When the flag is defended}}
 
{{begin-hl2msg|ctf_flag_defend|string}}
 
{{begin-hl2msg|ctf_flag_defend|string}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|id}}
Line 44: Line 44:
  
 
=== ctf_flag_dominate ===
 
=== ctf_flag_dominate ===
{{qnotice|}}
+
{{qnotice|When the flag is dominated}}
 
{{begin-hl2msg|ctf_flag_dominate|string}}
 
{{begin-hl2msg|ctf_flag_dominate|string}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|id}}
Line 50: Line 50:
  
 
=== ctf_protect_carrier ===
 
=== ctf_protect_carrier ===
{{qnotice|}}
+
{{qnotice|When the flag carrier is protected}}
 
{{begin-hl2msg|ctf_protect_carrier|string}}
 
{{begin-hl2msg|ctf_protect_carrier|string}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|id}}
Line 56: Line 56:
  
 
=== ctf_kill_carrier ===
 
=== ctf_kill_carrier ===
{{qnotice|}}
+
{{qnotice|When the flag carrier is killed}}
 
{{begin-hl2msg|ctf_kill_carrier|string}}
 
{{begin-hl2msg|ctf_kill_carrier|string}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|id}}
Line 62: Line 62:
  
 
=== ctf_map_end ===
 
=== ctf_map_end ===
{{qnotice|}}
+
{{qnotice|When the map ends}}
 
{{begin-hl2msg|ctf_map_end|string}}
 
{{begin-hl2msg|ctf_map_end|string}}
 
{{hl2msg|short|team}}
 
{{hl2msg|short|team}}
Line 70: Line 70:
  
 
=== ctf_round_start ===
 
=== ctf_round_start ===
{{qnotice|}}
+
{{qnotice|When the round starts}}
 
{{begin-hl2msg|ctf_round_start|string}}
 
{{begin-hl2msg|ctf_round_start|string}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}

Revision as of 17:22, 8 June 2007

Refer back to Game Events (Source) for more events.

player_death

Note: When a player dies

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


ctf_flag_capture

Note: When a flag is captured

Name: ctf_flag_capture
Structure:
short id {{{3}}}


ctf_flag_stolen

Note: When a flag is taken

Name: ctf_flag_stolen
Structure:
short id {{{3}}}


ctf_flag_return

Note: When a flag is returned

Name: ctf_flag_return
Structure:
short id {{{3}}}
short flag {{{3}}}
short rebel_captures {{{3}}}
short combine_captures {{{3}}}


ctf_flag_assist

Note: When the flag capture is assisted

Name: ctf_flag_assist
Structure:
short id {{{3}}}


ctf_flag_defend

Note: When the flag is defended

Name: ctf_flag_defend
Structure:
short id {{{3}}}


ctf_flag_dominate

Note: When the flag is dominated

Name: ctf_flag_dominate
Structure:
short id {{{3}}}


ctf_protect_carrier

Note: When the flag carrier is protected

Name: ctf_protect_carrier
Structure:
short id {{{3}}}


ctf_kill_carrier

Note: When the flag carrier is killed

Name: ctf_kill_carrier
Structure:
short id {{{3}}}


ctf_map_end

Note: When the map ends

Name: ctf_map_end
Structure:
short team {{{3}}}
short rebel_captures {{{3}}}
short combine_captures {{{3}}}


ctf_round_start

Note: When the round starts

Name: ctf_round_start
Structure: