Difference between revisions of "Game Events (Source)"

From AlliedModders Wiki
Jump to: navigation, search
m (item_pickup)
m (Correct redirect for No More Room in Hell)
 
(64 intermediate revisions by 15 users not shown)
Line 1: Line 1:
= Half-Life 2 Events =
+
These are all the games that the Source engine covers (that we could find).
 +
* [[Generic Source Events]]
 +
* [[Generic Source Server Events]]
 +
* [[Alien Swarm Events]]
 +
* [[Black Mesa Events]]
 +
* [[Codename Cure Events]]
 +
* [[Counter-Strike: Source Events]]
 +
* [[Counter-Strike: Global Offensive Events]]
 +
* [[Day of Defeat: Source Events]]
 +
* [[Dota 2 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]]
 +
* [[SourceForts Events]]
 +
* [[Team Fortress 2 Events]]
 +
* [[Zombie Panic! Source Events]]
  
=== team_info ===
+
== Credits ==
{{qnotice|Info about team}}<br>
+
*[[User:Shane|Shane]] - Writing some of the events pages and organization and general wikiknowhow
{{begin-hl2msg|team_info|string}}
+
*[[User:FlyingMongoose|FlyingMongoose]] - Writing a lot of the events pages
{{hl2msg|byte|teamid}}
+
*[[User:sslice|sslice]] - For creating a wikitizer application for these events
{{hl2msg|string|teamname}}
+
*[[User:RedSword|RedSword]] - For creating a wikitizer [https://forums.alliedmods.net/showthread.php?p=2268802#post2268802 application] for these events
{{end-hl2msg}}
+
*[[User:404UNF|404UNF]] - Updating events
  
=== team_score ===
+
[[Category:Metamod:Source Development]]
{{qnotice|Team score changed}}<br>
+
[[Category:SourceMod Development]]
{{begin-hl2msg|team_info|string}}
+
[[Category:SourceMod Scripting]]
{{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_score|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}}
 
 
 
= Half-Life 2 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}}
 
 
 
= Counter-Strike: Source Events =
 
=== player_death ===
 
{{qnotice|When a client 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 client is damaged}}
 
{{begin-hl2msg|player_hurt|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{hl2msg|byte|health}}
 
{{hl2msg|byte|armor}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|byte|dmg_health}}
 
{{hl2msg|byte|dmg_armor}}
 
{{hl2msg|byte|hitgroup}}
 
{{end-hl2msg}}
 
 
 
=== bomb_beginplant ===
 
{{qnotice|When the bomb is starting to get planted}}
 
{{begin-hl2msg|bomb_beginplant|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|site}}
 
{{end-hl2msg}}
 
 
 
=== bomb_abortplant ===
 
{{qnotice|When the bomb planter stops planting the bomb}}
 
{{begin-hl2msg|bomb_abortplant|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|site}}
 
{{end-hl2msg}}
 
 
 
=== bomb_plant ===
 
{{qnotice|When the bomb has been planted}}
 
{{begin-hl2msg|bomb_planted|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|site}}
 
{{hl2msg|short|posx}}
 
{{hl2msg|short|posy}}
 
{{end-hl2msg}}
 
 
 
=== bomb_defused ===
 
{{qnotice|When the bomb has been defused}}
 
{{begin-hl2msg|bomb_defused|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|site}}
 
{{end-hl2msg}}
 
 
 
=== bomb_exploded ===
 
{{qnotice|When the bomb explodes}}
 
{{begin-hl2msg|bomb_exploded|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|site}}
 
{{end-hl2msg}}
 
 
 
=== bomb_dropped ===
 
{{qnotice|When the bomb is dropped by a client}}
 
{{begin-hl2msg|bomb_dropped|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== bomb_pickup ===
 
{{qnotice|When the bomb is picked up by a client}}
 
{{begin-hl2msg|bomb_pickup|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== bomb_begindefuse ===
 
{{qnotice|When the bomb is started to be defused}}
 
{{begin-hl2msg|bomb_begindefuse|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|bool|haskit}}
 
{{end-hl2msg}}
 
 
 
=== bomb_abortdefuse ===
 
{{qnotice|When the bomb defusal is stopped}}
 
{{begin-hl2msg|bomb_abortdefuse|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== hostage_follows ===
 
{{qnotice|When the hostage begins following a client}}
 
{{begin-hl2msg|hostage_follows|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|hostage}}
 
{{end-hl2msg}}
 
 
 
=== hostage_hurt ===
 
{{qnotice|When a hostage is damaged}}
 
{{begin-hl2msg|hostage_hurt|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|hostage}}
 
{{end-hl2msg}}
 
 
 
=== hostage_killed ===
 
{{qnotice|When a hostage is killed}}
 
{{begin-hl2msg|hostage_killed|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|hostage}}
 
{{end-hl2msg}}
 
 
 
=== hostage_rescued ===
 
{{qnotice|When a hostage is rescued}}
 
{{begin-hl2msg|hostage_rescued|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|hostage}}
 
{{hl2msg|short|site}}
 
{{end-hl2msg}}
 
 
 
=== hostage_stops_following ===
 
{{qnotice|When a hostage stops following a client}}
 
{{begin-hl2msg|hostage_stops_following|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|hostage}}
 
{{end-hl2msg}}
 
 
 
=== hostage_rescued_all ===
 
{{qnotice|When all the hostages are rescued}}
 
{{begin-hl2msg|hostage_rescued_all|string}}
 
{{hl2msg|''none''|''none''}}
 
{{end-hl2msg}}
 
 
 
=== hostage_call_for_help ===
 
{{qnotice|When the hostage calls for help}}
 
{{begin-hl2msg|hostage_call_for_help|string}}
 
{{hl2msg|short|hostage}}
 
{{end-hl2msg}}
 
 
 
=== vip_escaped ===
 
{{qnotice|When the VIP escapes}}
 
{{begin-hl2msg|vip_escaped|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== vip_killed ===
 
{{qnotice|When the VIP is killed}}
 
{{begin-hl2msg|vip_killed|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|attacker}}
 
{{end-hl2msg}}
 
 
 
=== player_radio ===
 
{{qnotice|When the player uses radio commands}}
 
{{begin-hl2msg|player_radio|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|short|slot}}
 
{{end-hl2msg}}
 
 
 
=== bomb_beep ===
 
{{qnotice|Every time the bomb beep sound happens}}
 
{{begin-hl2msg|bomb_beep|string}}
 
{{hl2msg|long|entindex}}
 
{{end-hl2msg}}
 
 
 
=== weapon_fire ===
 
{{qnotice|Every time a client fires their weapon}}
 
{{begin-hl2msg|weapon_fire|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|weapon}}
 
{{end-hl2msg}}
 
 
 
=== weapon_fire_on_empty ===
 
{{qnotice|Every time a client fires their weapon and it's empty}}
 
{{begin-hl2msg|weapon_fire_on_empty|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|weapon}}
 
{{end-hl2msg}}
 
 
 
=== weapon_reload ===
 
{{qnotice|Every time a client reloads their weapon}}
 
{{begin-hl2msg|weapon_reload|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== weapon_zoom ===
 
{{qnotice|Every time a client zooms a scoped weapon}}
 
{{begin-hl2msg|weapon_zoom|string}}
 
{{hl2msg|short|userid}}
 
{{end-hl2msg}}
 
 
 
=== item_pickup ===
 
{{qnotice|Every time an item is picked up (generally weapons))}}
 
{{begin-hl2msg|item_pickup|string}}
 
{{hl2msg|short|userid}}
 
{{hl2msg|string|item}}
 
{{end-hl2msg}}
 

Latest revision as of 17:23, 2 December 2019