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

From AlliedModders Wiki
Jump to: navigation, search
m (Fix for {{3}})
 
Line 4: Line 4:
 
{{qnotice|When a player dies}}
 
{{qnotice|When a player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{begin-hl2msg|player_death|string}}
{{hl2msg|short|userid}}
+
{{hl2msg|short|userid|}}
{{hl2msg|short|attacker}}
+
{{hl2msg|short|attacker|}}
{{hl2msg|string|weapon}}
+
{{hl2msg|string|weapon|}}
{{hl2msg|bool|headshot}}
+
{{hl2msg|bool|headshot|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 13: Line 13:
 
{{qnotice|When a flag is captured}}
 
{{qnotice|When a flag is captured}}
 
{{begin-hl2msg|ctf_flag_capture|string}}
 
{{begin-hl2msg|ctf_flag_capture|string}}
{{hl2msg|short|id}}
+
{{hl2msg|short|id|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 19: Line 19:
 
{{qnotice|When a flag is taken}}
 
{{qnotice|When a flag is taken}}
 
{{begin-hl2msg|ctf_flag_stolen|string}}
 
{{begin-hl2msg|ctf_flag_stolen|string}}
{{hl2msg|short|id}}
+
{{hl2msg|short|id|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 25: Line 25:
 
{{qnotice|When a flag is returned}}
 
{{qnotice|When a flag is returned}}
 
{{begin-hl2msg|ctf_flag_return|string}}
 
{{begin-hl2msg|ctf_flag_return|string}}
{{hl2msg|short|id}}
+
{{hl2msg|short|id|}}
{{hl2msg|short|flag}}
+
{{hl2msg|short|flag|}}
{{hl2msg|short|rebel_captures}}
+
{{hl2msg|short|rebel_captures|}}
{{hl2msg|short|combine_captures}}
+
{{hl2msg|short|combine_captures|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 34: Line 34:
 
{{qnotice|When the flag capture is assisted}}
 
{{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|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 40: Line 40:
 
{{qnotice|When the flag is defended}}
 
{{qnotice|When the flag is defended}}
 
{{begin-hl2msg|ctf_flag_defend|string}}
 
{{begin-hl2msg|ctf_flag_defend|string}}
{{hl2msg|short|id}}
+
{{hl2msg|short|id|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 46: Line 46:
 
{{qnotice|When the flag is dominated}}
 
{{qnotice|When the flag is dominated}}
 
{{begin-hl2msg|ctf_flag_dominate|string}}
 
{{begin-hl2msg|ctf_flag_dominate|string}}
{{hl2msg|short|id}}
+
{{hl2msg|short|id|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 52: Line 52:
 
{{qnotice|When the flag carrier is protected}}
 
{{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|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 58: Line 58:
 
{{qnotice|When the flag carrier is killed}}
 
{{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|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 64: Line 64:
 
{{qnotice|When the map ends}}
 
{{qnotice|When the map ends}}
 
{{begin-hl2msg|ctf_map_end|string}}
 
{{begin-hl2msg|ctf_map_end|string}}
{{hl2msg|short|team}}
+
{{hl2msg|short|team|}}
{{hl2msg|short|rebel_captures}}
+
{{hl2msg|short|rebel_captures|}}
{{hl2msg|short|combine_captures}}
+
{{hl2msg|short|combine_captures|}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  

Latest revision as of 14:35, 15 July 2011

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

player_death

Note: When a player dies

Name: player_death
Structure:
short userid
short attacker
string weapon
bool headshot


ctf_flag_capture

Note: When a flag is captured

Name: ctf_flag_capture
Structure:
short id


ctf_flag_stolen

Note: When a flag is taken

Name: ctf_flag_stolen
Structure:
short id


ctf_flag_return

Note: When a flag is returned

Name: ctf_flag_return
Structure:
short id
short flag
short rebel_captures
short combine_captures


ctf_flag_assist

Note: When the flag capture is assisted

Name: ctf_flag_assist
Structure:
short id


ctf_flag_defend

Note: When the flag is defended

Name: ctf_flag_defend
Structure:
short id


ctf_flag_dominate

Note: When the flag is dominated

Name: ctf_flag_dominate
Structure:
short id


ctf_protect_carrier

Note: When the flag carrier is protected

Name: ctf_protect_carrier
Structure:
short id


ctf_kill_carrier

Note: When the flag carrier is killed

Name: ctf_kill_carrier
Structure:
short id


ctf_map_end

Note: When the map ends

Name: ctf_map_end
Structure:
short team
short rebel_captures
short combine_captures


ctf_round_start

Note: When the round starts

Name: ctf_round_start
Structure: