|
|
(45 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]]
| |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | = 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}}
| |