Difference between revisions of "Insurgency: Source Events"

From AlliedModders Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 44: Line 44:
 
{{hl2msg|short|hitgroup}}
 
{{hl2msg|short|hitgroup}}
 
{{hl2msg|string|weapon}}
 
{{hl2msg|string|weapon}}
 +
{{end-hl2msg}}
 +
 +
=== squad_order ===
 +
{{qnotice|None}}<br>
 +
{{begin-hl2msg|squad_order|string}}
 +
{{hl2msg|long|squad}}
 +
{{hl2msg|bool|update}}
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
Line 56: Line 63:
 
{{begin-hl2msg|game_squadupdate|string}}
 
{{begin-hl2msg|game_squadupdate|string}}
 
{{hl2msg|byte|teamid}}
 
{{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.

player_team

Note: Player change his team

Name: player_team
Structure:
short userid {{{3}}}
byte team {{{3}}}
byte oldteam {{{3}}}


player_squad

Note: A player changed his class

Name: player_squad
Structure:
short userid {{{3}}}
short squad {{{3}}}
short slot {{{3}}}
short oldsquad {{{3}}}
short oldslot {{{3}}}


player_death

Note: A game event, name may be 32 characters long

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
byte type {{{3}}}
bool nodeath {{{3}}}


player_spawn

Note: player spawned in game

Name: player_spawn
Structure:
short userid {{{3}}}
byte team {{{3}}}
bool dead {{{3}}}


player_hurt

Note: A player was hurt

Name: player_hurt
Structure:
short userid {{{3}}}
short attacker {{{3}}}
short dmg_health {{{3}}}
short hitgroup {{{3}}}
string weapon {{{3}}}


squad_order

Note: None

Name: squad_order
Structure:
long squad {{{3}}}
bool update {{{3}}}


game_newmap

Note: Called before the chattime when the server is about to change amp

Name: game_newmap
Structure:
string mapname {{{3}}}


game_squadupdate

Note: Called before the chattime when the server is about to change amp

Name: game_squadupdate
Structure:
byte teamid {{{3}}}


round_end

Note: The round ended

Name: round_end
Structure:
byte winner {{{3}}}


gravity_change

Note: The gravity changed

Name: gravity_change
Structure:
float newgravity {{{3}}}