Difference between revisions of "Insurgency: Source Events"
(New page: :''Refer back to Game Events (Source) for more events.'' === game_newmap === {{qnotice|Called before the chattime when the server is about to change amp}} {{begin-hl2msg|game_newmap|s...) |
DJ Tsunami (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
:''Refer back to [[Game Events (Source)]] for more events.'' | :''Refer back to [[Game Events (Source)]] for more events.'' | ||
+ | |||
+ | === player_team === | ||
+ | {{qnotice|Player change his team}}<br> | ||
+ | {{begin-hl2msg|player_team|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|byte|team}} | ||
+ | {{hl2msg|byte|oldteam}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_squad === | ||
+ | {{qnotice|A player changed his class}}<br> | ||
+ | {{begin-hl2msg|player_squad|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|squad}} | ||
+ | {{hl2msg|short|slot}} | ||
+ | {{hl2msg|short|oldsquad}} | ||
+ | {{hl2msg|short|oldslot}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_death === | ||
+ | {{qnotice|A game event, name may be 32 characters long}}<br> | ||
+ | {{begin-hl2msg|player_death|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|attacker}} | ||
+ | {{hl2msg|byte|type}} | ||
+ | {{hl2msg|bool|nodeath}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_spawn === | ||
+ | {{qnotice|player spawned in game}}<br> | ||
+ | {{begin-hl2msg|player_spawn|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|byte|team}} | ||
+ | {{hl2msg|bool|dead}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_hurt === | ||
+ | {{qnotice|A player was hurt}}<br> | ||
+ | {{begin-hl2msg|player_hurt|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|attacker}} | ||
+ | {{hl2msg|short|dmg_health}} | ||
+ | {{hl2msg|short|hitgroup}} | ||
+ | {{hl2msg|string|weapon}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === squad_order === | ||
+ | {{qnotice|None}}<br> | ||
+ | {{begin-hl2msg|squad_order|string}} | ||
+ | {{hl2msg|long|squad}} | ||
+ | {{hl2msg|bool|update}} | ||
+ | {{end-hl2msg}} | ||
=== game_newmap === | === game_newmap === | ||
Line 5: | Line 57: | ||
{{begin-hl2msg|game_newmap|string}} | {{begin-hl2msg|game_newmap|string}} | ||
{{hl2msg|string|mapname}} | {{hl2msg|string|mapname}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === game_squadupdate === | ||
+ | {{qnotice|Called before the chattime when the server is about to change amp}} | ||
+ | {{begin-hl2msg|game_squadupdate|string}} | ||
+ | {{hl2msg|byte|teamid}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === round_end === | ||
+ | {{qnotice|The round ended}}<br> | ||
+ | {{begin-hl2msg|round_end|string}} | ||
+ | {{hl2msg|byte|winner}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gravity_change === | ||
+ | {{qnotice|The gravity changed}}<br> | ||
+ | {{begin-hl2msg|gravity_change|string}} | ||
+ | {{hl2msg|float|newgravity}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Latest revision as of 09:46, 29 November 2008
- Refer back to Game Events (Source) for more events.
Contents
player_team
Note: Player change his team
Name: | player_team | |||||||||
Structure: |
|
player_squad
Note: A player changed his class
Name: | player_squad | |||||||||||||||
Structure: |
|
player_death
Note: A game event, name may be 32 characters long
Name: | player_death | ||||||||||||
Structure: |
|
player_spawn
Note: player spawned in game
Name: | player_spawn | |||||||||
Structure: |
|
player_hurt
Note: A player was hurt
Name: | player_hurt | |||||||||||||||
Structure: |
|
squad_order
Note: None
Name: | squad_order | ||||||
Structure: |
|
game_newmap
Note: Called before the chattime when the server is about to change amp
Name: | game_newmap | |||
Structure: |
|
game_squadupdate
Note: Called before the chattime when the server is about to change amp
Name: | game_squadupdate | |||
Structure: |
|
round_end
Note: The round ended
Name: | round_end | |||
Structure: |
|
gravity_change
Note: The gravity changed
Name: | gravity_change | |||
Structure: |
|