Difference between revisions of "Pirates, Vikings, Knights II Events"
| Line 157: | Line 157: | ||
{{begin-hl2msg|item_pickup}} | {{begin-hl2msg|item_pickup}} | ||
{{hl2msg|short|userid|}} | {{hl2msg|short|userid|}} | ||
| − | {{hl2msg|short|type|Type of pickup; 0 | + | {{hl2msg|short|type|Type of pickup; 0 - Food, 1 - Armor, 2 - Ranged Ammo}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
| Line 164: | Line 164: | ||
{{hl2msg|short|userid|}} | {{hl2msg|short|userid|}} | ||
{{hl2msg|short|chestid|}} | {{hl2msg|short|chestid|}} | ||
| − | {{hl2msg|byte|last_owner|Last team that controlled it; 1 | + | {{hl2msg|byte|last_owner|Last team that controlled it; 1 - None, 2 - Pirates, 3 - Vikings, 4 - Knights}} |
{{end-hl2msg}} | {{end-hl2msg}} | ||
| Line 172: | Line 172: | ||
{{hl2msg|short|chestid|}} | {{hl2msg|short|chestid|}} | ||
{{hl2msg|short|oldid|Chests get a new index every time that they are dropped}} | {{hl2msg|short|oldid|Chests get a new index every time that they are dropped}} | ||
| − | {{hl2msg|byte|last_owner|Last team that controlled it; 1 | + | {{hl2msg|byte|last_owner|Last team that controlled it; 1 - None, 2 - Pirates, 3 - Vikings, 4 - Knights}} |
{{hl2msg|short|bashid|userid of player that bashed the carrier to drop it (if any)}} | {{hl2msg|short|bashid|userid of player that bashed the carrier to drop it (if any)}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
Revision as of 13:43, 23 March 2010
- Refer back to Game Events (Source) for more events.
Contents
- 1 player_death
- 2 round_end
- 3 player_changeteam
- 4 player_changeclass
- 5 player_spawn
- 6 player_objective
- 7 player_points
- 8 player_stats_updated
- 9 player_nemesis
- 10 player_revenge
- 11 npc_death
- 12 player_hurt
- 13 player_special
- 14 player_throw_explosive
- 15 player_bomb_explode
- 16 player_melee_swing
- 17 player_ranged_impact
- 18 player_ranged_impale
- 19 projectile_bounce
- 20 player_healtheffect
- 21 item_pickup
- 22 chest_pickup
- 23 chest_drop
player_death
Note: When player dies
| Name: | player_death | |||||||||||||||||||||
| Structure: |
|
round_end
Note: When round ends
| Name: | round_end | |||
| Structure: |
|
player_changeteam
| Name: | player_changeteam | |||||||||
| Structure: |
|
player_changeclass
| Name: | player_changeclass | |||||||||
| Structure: |
|
player_spawn
| Name: | player_spawn | |||
| Structure: |
|
player_objective
Note: Occurs when player completes an objective
| Name: | player_objective | ||||||||||||||||||
| Structure: |
|
player_points
Note: Occurs when player gains points
| Name: | player_points | |||||||||
| Structure: |
|
player_stats_updated
| Name: | player_stats_updated | |||
| Structure: |
|
player_nemesis
| Name: | player_nemesis | ||||||
| Structure: |
|
player_revenge
| Name: | player_revenge | ||||||
| Structure: |
|
npc_death
Note: Occurs when an npc dies (e.g. parrot)
| Name: | npc_death | |||||||||||||||
| Structure: |
|
player_hurt
Note: Occurs when a player takes damage
| Name: | player_hurt | ||||||||||||
| Structure: |
|
player_special
Note: Occurs when a player uses a special
| Name: | player_special | |||
| Structure: |
|
player_throw_explosive
| Name: | player_throw_explosive | ||||||
| Structure: |
|
player_bomb_explode
| Name: | player_bomb_explode | ||||||||||||
| Structure: |
|
player_melee_swing
| Name: | player_melee_swing | ||||||||||||||||||
| Structure: |
|
player_ranged_impact
Note: Occurs on ranged weapon impact. Also occurs on keg impact and chest impact (thrownkeg and chest respectively)
| Name: | player_ranged_impact | ||||||||||||
| Structure: |
|
player_ranged_impale
Note: Occurs when a player is impaled to a surface by a projectile
Note: A player_ranged_impact event just prior to this event with a matching victim will give complete information
| Name: | player_ranged_impale | |||
| Structure: |
|
projectile_bounce
Note: Listen for a player_ranged_impact event immediately after this one, with matching userid, for complete impact information
| Name: | projectile_bounce | ||||||
| Structure: |
|
player_healtheffect
| Name: | player_healtheffect | ||||||||||||
| Structure: |
|
item_pickup
| Name: | item_pickup | ||||||
| Structure: |
|
chest_pickup
| Name: | chest_pickup | |||||||||
| Structure: |
|
chest_drop
| Name: | chest_drop | |||||||||||||||
| Structure: |
|