Difference between revisions of "Game Events (Source)"
(→Counter-Strike: Source Events) |
(→Half-Life 2 Events) |
||
Line 1: | Line 1: | ||
= Half-Life 2 Events = | = Half-Life 2 Events = | ||
+ | === team_info === | ||
+ | {{qnotice|Info about team}}<br> | ||
+ | {{begin-hl2msg|team_info|string}} | ||
+ | {{hl2msg|byte|teamid}} | ||
+ | {{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_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|???}}<br> | ||
+ | {{begin-hl2msg|player_use|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|entity}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === === | ||
+ | {{qnotice|}}<br> | ||
+ | {{end-hl2msg}} | ||
= Half-Life 2 Server Events = | = Half-Life 2 Server Events = |
Revision as of 23:06, 7 June 2007
Half-Life 2 Events
team_info
Note: Info about team
Name: | team_info | ||||||
Structure: |
|
team_score
Note: Team score changed
Name: | team_info | ||||||
Structure: |
|
player_team
Note: Player change his team
Name: | player_team | ||||||||||||
Structure: |
|
player_class
Note: A player changed his class
Name: | player_class | ||||||
Structure: |
|
player_death
Note: A game event, name may be 32 charaters long
Name: | player_death | ||||||
Structure: |
|
player_hurt
Note: A player was hurt
Name: | player_hurt | |||||||||
Structure: |
|
player_chat
Note: A public player chat
Name: | player_chat | |||||||||
Structure: |
|
player_score
Note: Players scores changed
Name: | player_score | ||||||||||||
Structure: |
|
player_spawn
Note: player spawned in game
Name: | player_score | |||
Structure: |
|
player_shoot
Note: Player shoot his weapon
Name: | player_shoot | |||||||||
Structure: |
|
player_use
Note: ???
Name: | player_use | ||||||
Structure: |
|
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Note:
|}
|}
Half-Life 2 Server Events
server_spawn
Note: Send once a server starts
Name: | server_start | |||||||||||||||||||||||||||
Structure: |
|
server_shutdown
Note: Server shut down
Name: | server_shutdown | |||
Structure: |
|
server_cvar
Note: A server console var has changed
Name: | server_cvar | ||||||
Structure: |
|
server_msg
Note: A generic server message
Name: | server_message | |||
Structure: |
|
server_addban
Note: When the server has a ban added
Name: | server_addban | |||||||||||||||||||||
Structure: |
|
server_removeban
Note: When the server has a ban removed
Name: | server_removeban | |||||||||
Structure: |
|
player_connect
Note: A new player connected
Name: | player_connect | |||||||||||||||
Structure: |
|
player_info
Note: A player changed his name
Name: | player_info | |||||||||||||||
Structure: |
|
player_disconnect
Note: A client was disconnected
Name: | player_disconnect | ||||||||||||
Structure: |
|
player_activate
Note: Unknown
Name: | player_activate | |||
Structure: |
|
player_say
Note: When a client sends a message in chat
Name: | player_say | ||||||
Structure: |
|