Difference between revisions of "Game Events (Source)"

From AlliedModders Wiki
Jump to: navigation, search
(Counter-Strike: Source Events: - moved to own page)
m (Correct redirect for No More Room in Hell)
 
(49 intermediate revisions by 15 users not shown)
Line 1: Line 1:
= Generic Source Events =
+
These are all the games that the Source engine covers (that we could find).
 
+
* [[Generic Source Events]]
=== team_info ===
+
* [[Generic Source Server Events]]
{{qnotice|Info about team}}<br>
+
* [[Alien Swarm Events]]
{{begin-hl2msg|team_info|string}}
+
* [[Black Mesa Events]]
{{hl2msg|byte|teamid}}
+
* [[Codename Cure Events]]
{{hl2msg|string|teamname}}
 
{{end-hl2msg}}
 
 
 
=== team_score ===
 
{{qnotice|Team score changed}}<br>
 
{{begin-hl2msg|team_info|string}}
 
{{hl2msg|byte|teamid}}
 
{{hl2msg|short|score}}
 
{{end-hl2msg}}
 
 
 
=== player_team ===
 
{{qnotice|Player change his team}}<br>
 
{{begin-hl2msg|player_team|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|byte|team}}
 
{{hl2msg|byte|oldteam}}
 
{{hl2msg|bool|disconnect}}
 
{{end-hl2msg}}
 
 
 
=== player_class ===
 
{{qnotice|A player changed his class}}<br>
 
{{begin-hl2msg|player_class|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|class}}
 
{{end-hl2msg}}
 
 
 
=== player_death ===
 
{{qnotice|A game event, name may be 32 charaters long}}<br>
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{end-hl2msg}}
 
 
 
=== player_hurt ===
 
{{qnotice|A player was hurt}}<br>
 
{{begin-hl2msg|player_hurt|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|byte|health}}
 
{{end-hl2msg}}
 
 
 
=== player_chat ===
 
{{qnotice|A public player chat}}<br>
 
{{begin-hl2msg|player_chat|string}}
 
{{hl2msg|bool|teamonly}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|text}}
 
{{end-hl2msg}}
 
 
 
=== player_score ===
 
{{qnotice|Players scores changed}}<br>
 
{{begin-hl2msg|player_score|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|kills}}
 
{{hl2msg|short|deaths}}
 
{{hl2msg|short|score}}
 
{{end-hl2msg}}
 
 
 
=== player_spawn ===
 
{{qnotice|player spawned in game}}<br>
 
{{begin-hl2msg|player_spawn|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== player_shoot ===
 
{{qnotice|Player shoot his weapon}}<br>
 
{{begin-hl2msg|player_shoot|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|byte|weapon}}
 
{{hl2msg|byte|mode}}
 
{{end-hl2msg}}
 
 
 
=== player_use ===
 
{{qnotice|When a player uses an option}}<br>
 
{{begin-hl2msg|player_use|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|entity}}
 
{{end-hl2msg}}
 
 
 
=== player_changename ===
 
{{qnotice|Player changed name}}<br>
 
{{begin-hl2msg|player_changename|string}}
 
{{hl2msg|string|userid}}
 
{{hl2msg|string|oldname}}
 
{{hl2msg|string|newname}}
 
{{end-hl2msg}}
 
 
 
=== game_newmap ===
 
{{qnotice|Send when new map is completely loaded}}<br>
 
{{begin-hl2msg|game_newmap|string}}
 
{{hl2msg|string|mapname}}
 
{{end-hl2msg}}
 
 
 
=== game_start ===
 
{{qnotice|A new game starts}}<br>
 
{{begin-hl2msg|game_start|string}}
 
{{hl2msg|long|roundslimit}}
 
{{hl2msg|long|timelimit}}
 
{{hl2msg|long|fraglimit}}
 
{{hl2msg|string|objective}}
 
{{end-hl2msg}}
 
 
 
=== game_end ===
 
{{qnotice|A game ended}}<br>
 
{{begin-hl2msg|game_end|string}}
 
{{hl2msg|byte|winner}}
 
{{end-hl2msg}}
 
 
 
=== round_start ===
 
{{qnotice|The round started}}<br>
 
{{begin-hl2msg|player_changename|string}}
 
{{hl2msg|long|timelimit}}
 
{{hl2msg|long|fraglimit}}
 
{{hl2msg|string|objective}}
 
{{end-hl2msg}}
 
 
 
=== round_end ===
 
{{qnotice|The round ended}}<br>
 
{{begin-hl2msg|round_end|string}}
 
{{hl2msg|byte|winner}}
 
{{hl2msg|byte|reason}}
 
{{hl2msg|string|message}}
 
{{end-hl2msg}}
 
 
 
=== game_message ===
 
{{qnotice|A game message}}<br>
 
{{begin-hl2msg|game_message|string}}
 
{{hl2msg|byte|target}}
 
{{hl2msg|string|text}}
 
{{end-hl2msg}}
 
 
 
=== break_breakable ===
 
{{qnotice|A breakable (func_break) is broken.}}<br>
 
{{begin-hl2msg|break_breakable|string}}
 
{{hl2msg|long|entindex}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|byte|material}}
 
{{end-hl2msg}}
 
 
 
=== break_prop ===
 
{{qnotice|A breakable prop is broken.}}<br>
 
{{begin-hl2msg|break_prop|string}}
 
{{hl2msg|long|entindex}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
= Generic Source Server Events =
 
=== server_spawn ===
 
{{qnotice|Send once a server starts}}<br>
 
{{begin-hl2msg|server_start|string}}
 
{{hl2msg|string|hostname}}
 
{{hl2msg|string|address}}
 
{{hl2msg|string|port}}
 
{{hl2msg|string|game}}
 
{{hl2msg|string|mapname}}
 
{{hl2msg|long|maxplayers}}
 
{{hl2msg|string|os}}
 
{{hl2msg|bool|dedicated}}
 
{{hl2msg|bool|password}}
 
{{end-hl2msg}}
 
 
 
=== server_shutdown ===
 
{{qnotice|Server shut down}}
 
{{begin-hl2msg|server_shutdown|string}}
 
{{hl2msg|string|reason}}
 
{{end-hl2msg}}
 
 
 
=== server_cvar ===
 
{{qnotice|A server console var has changed}}
 
{{begin-hl2msg|server_cvar|string}}
 
{{hl2msg|string|cvarname}}
 
{{hl2msg|string|cvarvalue}}
 
{{end-hl2msg}}
 
 
 
=== server_msg ===
 
{{qnotice|A generic server message}}
 
{{begin-hl2msg|server_message|string}}
 
{{hl2msg|string|text}}
 
{{end-hl2msg}}
 
 
 
=== server_addban ===
 
{{qnotice|When the server has a ban added}}
 
{{begin-hl2msg|server_addban|string}}
 
{{hl2msg|string|name}}
 
{{hl2msg|string|userid}}
 
{{hl2msg|string|networkid}}
 
{{hl2msg|string|ip}}
 
{{hl2msg|string|duration}}
 
{{hl2msg|string|by}}
 
{{hl2msg|bool|kicked}}
 
{{end-hl2msg}}
 
 
 
=== server_removeban ===
 
{{qnotice|When the server has a ban removed}}
 
{{begin-hl2msg|server_removeban|string}}
 
{{hl2msg|string|networkid}}
 
{{hl2msg|string|ip}}
 
{{hl2msg|stsring|by}}
 
{{end-hl2msg}}
 
 
 
=== player_connect ===
 
{{qnotice|A new player connected}}
 
{{begin-hl2msg|player_connect|string}}
 
{{hl2msg|string|name}}
 
{{hl2msg|byte|index}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|networkid}}
 
{{hl2msg|string|address}}
 
{{end-hl2msg}}
 
 
 
=== player_info ===
 
{{qnotice|A player changed his name}}
 
{{begin-hl2msg|player_info|string}}
 
{{hl2msg|string|name}}
 
{{hl2msg|byte|index}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|networkid}}
 
{{hl2msg|bool|bot}}
 
{{end-hl2msg}}
 
 
 
=== player_disconnect ===
 
{{qnotice|A client was disconnected}}
 
{{begin-hl2msg|player_disconnect|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|reason}}
 
{{hl2msg|string|name}}
 
{{hl2msg|string|networkid}}
 
{{end-hl2msg}}
 
 
 
=== player_activate ===
 
{{qnotice|A client has entered the game (connected and loaded)}}
 
{{begin-hl2msg|player_activate|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== player_say ===
 
{{qnotice|When a client sends a message in chat}}
 
{{begin-hl2msg|player_say|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|text}}
 
{{end-hl2msg}}
 
 
 
== Game Events ==
 
These are all the games that the Source engine covers.
 
 
* [[Counter-Strike: Source Events]]
 
* [[Counter-Strike: Source Events]]
 +
* [[Counter-Strike: Global Offensive Events]]
 
* [[Day of Defeat: Source Events]]
 
* [[Day of Defeat: Source Events]]
 +
* [[Dota 2 Events]]
 
* [[Dystopia Events]]
 
* [[Dystopia Events]]
 +
* [[Empires Events]]
 +
* [[Garry's Mod Events]]
 +
* [[Half-Life 2: Capture the Flag Events]]
 +
* [[Half-Life 2: Deathmatch Events]]
 +
* [[Hidden: Source Events]]
 +
* [[Insurgency: Source  Events]]
 +
* [[Iron Grip: Source  Events]]
 +
* [[Left 4 Dead Events]]
 +
* [[Left 4 Dead 2 Events]]
 +
* [[Neotokyo Events]]
 +
* [[No More Room in Hell Events]]
 +
* [[Nuclear Dawn Events]]
 +
* [[Perfect Dark: Source Events]]
 
* [[Pirates, Vikings, Knights II Events]]
 
* [[Pirates, Vikings, Knights II Events]]
 
* [[SourceForts Events]]
 
* [[SourceForts Events]]
* [[Hidden: Source Events]]
+
* [[Team Fortress 2 Events]]
* [[Perfect Dark: Source]]
+
* [[Zombie Panic! Source Events]]
* [[Perfect Dark: Source]]
 
 
 
 
 
 
 
= Day of Defeat: Source Events =
 
 
 
=== player_death ===
 
{{qnotice|When a player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{end-hl2msg}}
 
 
 
=== player_hurt ===
 
{{qnotice|When a player is damaged}}
 
{{begin-hl2msg|player_hurt|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|byte|health}}
 
{{hl2msg|byte|damage}}
 
{{hl2msg|byte|hitgroup}}
 
{{end-hl2msg}}
 
 
 
=== player_changeclass ===
 
{{qnotice|When a player changes to a different class}}
 
{{begin-hl2msg|player_changeclass|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|class}}
 
{{end-hl2msg}}
 
 
 
=== dod_round_start ===
 
{{qnotice|When the round starts}}
 
{{begin-hl2msg|dod_round_start|string}}
 
{{end-hl2msg}}
 
 
 
=== dod_round_active ===
 
{{qnotice|When the round becomes active after the "frozen" time}}
 
{{begin-hl2msg|dod_round_active|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_hint ===
 
{{qnotice|When a hint occurs}}
 
{{begin-hl2msg|dod_hint|string}}
 
{{hl2msg|string|hintmessage}}
 
{{end-hl2msg}}
 
 
 
=== dod_warmup_begins ===
 
{{qnotice|When warmup begins}}
 
{{begin-hl2msg|dod_warmup_begins|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_warmup_ends ===
 
{{qnotice|When warmup ends}}
 
{{begin-hl2msg|dod_warmup_ends|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_round_start ===
 
{{qnotice|When round starts}}
 
{{begin-hl2msg|dod_round_start|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_restart_round ===
 
{{qnotice|When round restarts}}
 
{{begin-hl2msg|dod_restart_round|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_ready_restart ===
 
{{qnotice|When the ready players trigger restart}}
 
{{begin-hl2msg|dod_ready_restart|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_allies_ready ===
 
{{qnotice|When allies are ready}}
 
{{begin-hl2msg|dod_allies_ready|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_axis_ready ===
 
{{qnotice|When axis are ready}}
 
{{begin-hl2msg|dod_axis_ready|string}}
 
{{hl2msg|none|none}}
 
{{end-hl2msg}}
 
 
 
=== dod_round_restart_seconds ===
 
{{qnotice|When round restart is set}}
 
{{begin-hl2msg|dod_round_restart_seconds|string}}
 
{{hl2msg|short|seconds}}
 
{{end-hl2msg}}
 
 
 
=== dod_team_scores ===
 
{{qnotice|When a team scores (wins)}}
 
{{begin-hl2msg|dod_team_scores|string}}
 
{{hl2msg|short|allies_caps}}
 
{{hl2msg|short|allies_tick}}
 
{{hl2msg|byte|allies_players}}
 
{{hl2msg|short|axis_caps}}
 
{{hl2msg|short|axis_tick}}
 
{{hl2msg|byte|axis_players}}
 
{{end-hl2msg}}
 
 
 
=== dod_point_captured ===
 
{{qnotice|When a flag/point is captured}}
 
{{begin-hl2msg|dod_point_captured|string}}
 
{{hl2msg|byte|cp}}
 
{{hl2msg|string|cpname}}
 
{{hl2msg|string|cappers}}
 
{{hl2msg|bool|bomb}}
 
{{end-hl2msg}}
 
 
 
=== dod_capture_blocked ===
 
{{qnotice|When a capture is blocked}}
 
{{begin-hl2msg|dod_capture_blocked|string}}
 
{{hl2msg|byte|cp}}
 
{{hl2msg|string|cpname}}
 
{{hl2msg|byte|blocker}}
 
{{end-hl2msg}}
 
 
 
=== dod_round_win ===
 
{{qnotice|When a round is won}}
 
{{begin-hl2msg|dod_round_win|string}}
 
{{hl2msg|byte|team}}
 
{{end-hl2msg}}
 
 
 
=== dod_tick_points ===
 
{{qnotice|''Unknown''}}
 
{{begin-hl2msg|dod_tick_points|string}}
 
{{hl2msg|byte|team}}
 
{{hl2msg|byte|score}}
 
{{hl2msg|short|totalscore}}
 
{{end-hl2msg}}
 
 
 
=== dod_game_over ===
 
{{qnotice|When the map ends}}
 
{{begin-hl2msg|dod_game_over|string}}
 
{{hl2msg|string|reason}}
 
{{end-hl2msg}}
 
 
 
=== dod_broadcast_audio ===
 
{{qnotice|When audio is broadcasted}}
 
{{begin-hl2msg|dod_broadcast_audio|string}}
 
{{hl2msg|string|sound}}
 
{{end-hl2msg}}
 
 
 
=== dod_stats_weapon_attack ===
 
{{qnotice|When a player attacks with a weapon}}
 
{{begin-hl2msg|dod_stats_weapon_attack|string}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|byte|weapon}}
 
{{end-hl2msg}}
 
 
 
=== dod_stats_player_damage ===
 
{{qnotice|When a player damages another}}
 
{{begin-hl2msg|dod_stats_player_damage|string}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|short|victim}}
 
{{hl2msg|byte|weapon}}
 
{{hl2msg|short|damage}}
 
{{hl2msg|byte|damage_given}}
 
{{hl2msg|float|distance}}
 
{{hl2msg|byte|hitgroup}}
 
{{end-hl2msg}}
 
 
 
=== dod_stats_player_killed ===
 
{{qnotice|When a player kills another}}
 
{{begin-hl2msg|dod_stats_player_killed|string}}
 
{{hl2msg|byte|attacker}}
 
{{hl2msg|byte|victim}}
 
{{hl2msg|byte|weapon}}
 
{{end-hl2msg}}
 
 
 
=== dod_win_panel ===
 
{{qnotice|When the scoreboard is shown after map end}}
 
{{begin-hl2msg|dod_win_panel|string}}
 
{{hl2msg|bool|show_timer_defend}}
 
{{hl2msg|bool|show_timer_attack}}
 
{{hl2msg|short|timer_time}}
 
{{hl2msg|byte|final_event}}
 
{{hl2msg|byte|category_left}}
 
{{hl2msg|byte|left_1}}
 
{{hl2msg|byte|left_score_1}}
 
{{hl2msg|byte|left_2}}
 
{{hl2msg|byte|left_score_2}}
 
{{hl2msg|byte|left_3}}
 
{{hl2msg|byte|left_score_3}}
 
{{hl2msg|byte|category_right}}
 
{{hl2msg|byte|right_1}}
 
{{hl2msg|byte|right_score_1}}
 
{{hl2msg|byte|right_2}}
 
{{hl2msg|byte|right_score_2}}
 
{{hl2msg|byte|right_3}}
 
{{hl2msg|byte|right_score_3}}
 
{{end-hl2msg}}
 
 
 
=== dod_timer_time_added ===
 
{{qnotice|When time is added (in bombing maps)}}
 
{{begin-hl2msg|dod_timer_time_added|string}}
 
{{hl2msg|short|seconds_added}}
 
{{end-hl2msg}}
 
 
 
=== dod_timer_flash ===
 
{{qnotice|''Unknown''}}
 
{{begin-hl2msg|dod_timer_flash|string}}
 
{{hl2msg|short|time_remaining}}
 
{{end-hl2msg}}
 
 
 
=== dod_map_time_remaining ===
 
{{qnotice|Time remaining on map}}
 
{{begin-hl2msg|dod_map_time_remaining|string}}
 
{{hl2msg|short|seconds}}
 
{{end-hl2msg}}
 
 
 
=== dod_tnt_pickup ===
 
{{qnotice|When TNT is picked up}}
 
{{begin-hl2msg|dod_tnt_pickup|string}}
 
{{end-hl2msg}}
 
 
 
=== dod_bomb_planted ===
 
{{qnotice|When TNT is placed on an objective}}
 
{{begin-hl2msg|dod_bomb_planted|string}}
 
{{hl2msg|byte|cp}}
 
{{hl2msg|string|cpname}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|byte|team}}
 
{{end-hl2msg}}
 
 
 
=== dod_bomb_exploded ===
 
{{qnotice|When TNT explodes}}
 
{{begin-hl2msg|dod_bomb_exploded|string}}
 
{{hl2msg|byte|cp}}
 
{{hl2msg|string|cpname}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== dod_bomb_defused ===
 
{{qnotice|When TNT is defused}}
 
{{begin-hl2msg|dod_bomb_defused|string}}
 
{{hl2msg|byte|cp}}
 
{{hl2msg|string|cpname}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|byte|team}}
 
{{end-hl2msg}}
 
 
 
=== dod_kill_planter ===
 
{{qnotice|When the planter of TNT is killed}}
 
{{begin-hl2msg|dod_kill_planter|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|victimid}}
 
{{end-hl2msg}}
 
 
 
=== dod_kill_defuser ===
 
{{qnotice|When the defuser of TNT is killed}}
 
{{begin-hl2msg|dod_kill_defuser|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|victimid}}
 
{{end-hl2msg}}
 
 
 
= Dystopia Events =
 
 
 
=== player_death ===
 
{{qnotice|Player is killed in "real world"}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|short|weapon_id}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|string|location}}
 
{{end-hl2msg}}
 
 
 
=== cyber_frag ===
 
{{qnotice|Player is killed while "hacking"}}
 
{{begin-hl2msg|cyber_frag|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{end-hl2msg}}
 
 
 
=== player_class ===
 
{{qnotice|When a player selects class}}
 
{{begin-hl2msg|player_class|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|class}}
 
{{end-hl2msg}}
 
 
 
=== objective ===
 
{{qnotice|When an objective is reached}}
 
{{begin-hl2msg|objective|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|objective}}
 
{{end-hl2msg}}
 
 
 
=== round_restart ===
 
{{qnotice|When round restarts}}
 
{{begin-hl2msg|round_restart|string}}
 
{{hl2msg|byte|round}}
 
{{hl2msg|byte|winner}}
 
{{end-hl2msg}}
 
 
 
=== dys_changemap ===
 
{{qnotice|When map changes}}
 
{{begin-hl2msg|dys_changemap|string}}
 
{{hl2msg|string|newmap}}
 
{{end-hl2msg}}
 
 
 
=== dys_points ===
 
{{qnotice|When points are changed}}
 
{{begin-hl2msg|dys_points|string}}
 
{{hl2msg|short|player}}
 
{{hl2msg|short|points}}
 
{{hl2msg|short|method}}
 
{{end-hl2msg}}
 
 
 
=== dys_weapon_stats ===
 
{{qnotice|When stats are logged for weapons}}
 
{{begin-hl2msg|dys_weapon_stats|string}}
 
{{hl2msg|short|player}}
 
{{hl2msg|long|weapons}}
 
{{hl2msg|string|p_shots}}
 
{{hl2msg|string|s_shots}}
 
{{hl2msg|string|p_hits}}
 
{{hl2msg|string|s_hits}}
 
{{hl2msg|string|p_damage}}
 
{{hl2msg|string|s_damage}}
 
{{hl2msg|string|p_headshots}}
 
{{hl2msg|string|s_headshots}}
 
{{hl2msg|string|p_kills}}
 
{{hl2msg|string|s_kills}}
 
{{end-hl2msg}}
 
 
 
=== dys_implant_stats ===
 
{{qnotice|When stats are logged for implants}}
 
{{begin-hl2msg|dys_implant_stats|string}}
 
{{hl2msg|short|player}}
 
{{hl2msg|short|implants}}
 
{{hl2msg|string|energy}}
 
{{hl2msg|string|usage}}
 
{{end-hl2msg}}
 
 
 
=== dys_scoring_stats ===
 
{{qnotice|When stats are stored for scores}}
 
{{begin-hl2msg|dys_scoring_stats|string}}
 
{{hl2msg|short|player}}
 
{{hl2msg|short|methods}}
 
{{hl2msg|string|points}}
 
{{end-hl2msg}}
 
 
 
= Pirates, Vikings, Knights II Events =
 
 
 
=== player_death ===
 
{{qnotice|When player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{end-hl2msg}}
 
 
 
=== round_end ===
 
{{qnotice|When round ends}}
 
{{begin-hl2msg|round_end|string}}
 
{{hl2msg|short|winner}}
 
{{end-hl2msg}}
 
 
 
= SourceForts Events =
 
 
 
=== player_death ===
 
{{qnotice|When a player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{end-hl2msg}}
 
 
 
=== block_frozen ===
 
{{qnotice|When a building block becomes frozen}}
 
{{begin-hl2msg|block_frozen|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|blockid}}
 
{{end-hl2msg}}
 
 
 
=== block_unfrozen ===
 
{{qnotice|When a building block becomes unfrozen}}
 
{{begin-hl2msg|block_unfrozen|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|blockid}}
 
{{end-hl2msg}}
 
 
 
=== phase_switch ===
 
{{qnotice|When the phase switches from build to play}}
 
{{begin-hl2msg|phase_switch|string}}
 
{{hl2msg|short|oldphase}}
 
{{hl2msg|short|newphase}}
 
{{hl2msg|short|phase_count}}
 
{{hl2msg|short|phase_left}}
 
{{end-hl2msg}}
 
 
 
=== player_grab ===
 
{{qnotice|When a player grabs the flag}}
 
{{begin-hl2msg|player_grab|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|flagteam}}
 
{{end-hl2msg}}
 
 
 
=== player_drop ===
 
{{qnotice|When a player drops the flag}}
 
{{begin-hl2msg|player_drop|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|flagteam}}
 
{{end-hl2msg}}
 
 
 
=== player_score ===
 
{{qnotice|When a player captures a flag}}
 
{{begin-hl2msg|player_score|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|flagteam}}
 
{{end-hl2msg}}
 
 
 
=== flag_return ===
 
{{qnotice|When flag is returned to original base}}
 
{{begin-hl2msg|flag_return|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|flagteam}}
 
{{end-hl2msg}}
 
 
 
= Hidden: Source Events =
 
 
 
=== player_death ===
 
{{qnotice|When a player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|bool|headshot}}
 
{{end-hl2msg}}
 
 
 
=== player_hurt ===
 
{{qnotice|When a player is hurt}}
 
{{begin-hl2msg|player_hurt|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|float|damage}}
 
{{hl2msg|bool|hidden}}
 
{{end-hl2msg}}
 
 
 
=== alarm_trigger ===
 
{{qnotice|When an alarm is triggered}}
 
{{begin-hl2msg|alarm_trigger|string}}
 
{{hl2msg|float|posx}}
 
{{hl2msg|float|posy}}
 
{{hl2msg|float|posz}}
 
{{end-hl2msg}}
 
 
 
=== material_check ===
 
{{qnotice|When the player's materials are checked}}
 
{{begin-hl2msg|material_check|string}}
 
{{hl2msg|long|vmt_CRC}}
 
{{hl2msg|long|bump_CRC}}
 
{{end-hl2msg}}
 
 
 
=== extraction_start ===
 
{{qnotice|When the extraction starts}}
 
{{begin-hl2msg|extraction_start|string}}
 
{{hl2msg|float|time}}
 
{{end-hl2msg}}
 
 
 
=== extraction_stop ===
 
{{qnotice|When the extraction stops}}
 
{{begin-hl2msg|extraction_stop|string}}
 
{{end-hl2msg}}
 
 
 
=== player_location ===
 
{{qnotice|When the player location changes}}
 
{{begin-hl2msg|player_location|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|location}}
 
{{end-hl2msg}}
 
 
 
=== iris_radio ===
 
{{qnotice|When iris_radio is used}}
 
{{begin-hl2msg|iris_radio|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|message}}
 
{{end-hl2msg}}
 
 
 
=== game_round_restart ===
 
{{qnotice|When the round restarts}}
 
{{begin-hl2msg|game_round_restart|string}}
 
{{end-hl2msg}}
 
 
 
=== game_round_end ===
 
{{qnotice|When the round ends}}
 
{{begin-hl2msg|game_round_end|string}}
 
{{end-hl2msg}}
 
 
 
=== game_round_start ===
 
{{qnotice|When the round starts}}
 
{{begin-hl2msg|game_round_start|string}}
 
{{end-hl2msg}}
 
 
 
= Perfect Dark: Source =
 
 
 
=== player_death ===
 
{{qnotice|When a player dies}}
 
{{begin-hl2msg|player_death|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|string|victimname}}
 
{{hl2msg|string|killername}}
 
{{hl2msg|short|kllstrk}}
 
{{end-hl2msg}}
 
 
 
=== koth_hill_activated ===
 
{{qnotice|When koth_hill is activated}}
 
{{begin-hl2msg|koth_hill_activated|string}}
 
{{hl2msg|float|posx}}
 
{{hl2msg|float|posy}}
 
{{hl2msg|float|posz}}
 
{{hl2msg|short|id}}
 
{{end-hl2msg}}
 
 
 
=== koth_hill_deactivated ===
 
{{qnotice|When koth_hill is deactivated}}
 
{{begin-hl2msg|koth_hill_deactivated|string}}
 
{{hl2msg|short|id}}
 
{{end-hl2msg}}
 
 
 
=== koth_hill_taken ===
 
{{qnotice|When koth_hill is taken}}
 
{{begin-hl2msg|koth_hill_taken|string}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|team}}
 
{{end-hl2msg}}
 
 
 
=== koth_hill_close_to_capture ===
 
{{qnotice|When koth_hill is near capture}}
 
{{begin-hl2msg|koth_hill_close_to_capture|string}}
 
{{hl2msg|short|tick}}
 
{{end-hl2msg}}
 
 
 
=== koth_hill_captured ===
 
{{qnotice|When koth_hill is captured}}
 
{{begin-hl2msg|koth_hill_captured|string}}
 
{{end-hl2msg}}
 
 
 
=== koth_hill_lost ===
 
{{qnotice|When koth_hill is lost}}
 
{{begin-hl2msg|koth_hill_lost|string}}
 
{{hl2msg|short|id}}
 
{{end-hl2msg}}
 
 
 
=== popacap_close_to_point ===
 
{{qnotice|''Unknown''}}
 
{{begin-hl2msg|popacap_close_to_point|string}}
 
{{hl2msg|short|tick}}
 
{{end-hl2msg}}
 
 
 
=== ctb_spawn_activated ===
 
{{qnotice|''Unknown''}}
 
{{begin-hl2msg|ctb_spawn_activated|string}}
 
{{hl2msg|float|posx}}
 
{{hl2msg|float|posy}}
 
{{hl2msg|float|posz}}
 
{{hl2msg|short|id}}
 
{{hl2msg|short|team}}
 
{{end-hl2msg}}
 
 
 
=== ctb_spawn_deactivated ===
 
{{qnotice|''Uknown''}}
 
{{begin-hl2msg|ctb_spawn_deactivated|string}}
 
{{hl2msg|short|id}}
 
{{end-hl2msg}}
 
 
 
=== weapon_set ===
 
{{qnotice|When a player's weapon is set}}
 
{{begin-hl2msg|weapon_set|string}}
 
{{hl2msg|string|name}}
 
{{hl2msg|string|list}}
 
{{end-hl2msg}}
 
  
= Iron Grip Events =
+
== Credits ==
 +
*[[User:Shane|Shane]] - Writing some of the events pages and organization and general wikiknowhow
 +
*[[User:FlyingMongoose|FlyingMongoose]] - Writing a lot of the events pages
 +
*[[User:sslice|sslice]] - For creating a wikitizer application for these events
 +
*[[User:RedSword|RedSword]] - For creating a wikitizer [https://forums.alliedmods.net/showthread.php?p=2268802#post2268802 application] for these events
 +
*[[User:404UNF|404UNF]] - Updating events
  
=== player_death ===
+
[[Category:Metamod:Source Development]]
{{qnotice|}}
+
[[Category:SourceMod Development]]
{{begin-hl2msg|player_death|string}}
+
[[Category:SourceMod Scripting]]
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|bool|headshot}}
 
{{end-hl2msg}}
 

Latest revision as of 16:23, 2 December 2019