Difference between revisions of "Pirates, Vikings, Knights II Events"
Line 31: | Line 31: | ||
{{hl2msg|short|old_class|}} | {{hl2msg|short|old_class|}} | ||
{{hl2msg|short|new_class|}} | {{hl2msg|short|new_class|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_spawn === | ||
+ | {{begin-hl2msg|player_spawn}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_objective === | ||
+ | {{qnotice|Occurs when player completes an objective}} | ||
+ | {{begin-hl2msg|player_objective}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|string|groupids|List of userids for players doing objective}} | ||
+ | {{hl2msg|short|assistid|Assistant (0 means unused)}} | ||
+ | {{hl2msg|short|enemyid|Possible enemy (0 means unused)}} | ||
+ | {{hl2msg|string|extra|String of extra data placed in #EXTRA# section of score string}} | ||
+ | {{hl2msg|string|text|Text to append to userid's name (#I# is userid, #ASSIST# is assistid, #ENEMY# is enemyid)}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_points === | ||
+ | {{qnotice|Occurs when player gains points}} | ||
+ | {{begin-hl2msg|player_points}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|float|points|Number of points gained}} | ||
+ | {{hl2msg|short|sid|Score ID}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_stats_updated === | ||
+ | {{begin-hl2msg|player_stats_updated}} | ||
+ | {{hl2msg|bool|forceupload|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_nemesis === | ||
+ | {{begin-hl2msg|player_nemesis}} | ||
+ | {{hl2msg|short|userid|Player who caused the nemesis}} | ||
+ | {{hl2msg|short|victim|Victim of the nemesis}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_revenge === | ||
+ | {{begin-hl2msg|player_revenge}} | ||
+ | {{hl2msg|short|userid|Player who achieved revenge}} | ||
+ | {{hl2msg|short|victim|Player who was the nemesis}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === npc_death === | ||
+ | {{qnotice|Occurs when an npc dies (e.g. parrot)}} | ||
+ | {{begin-hl2msg|npc_death}} | ||
+ | {{hl2msg|short|userid|userid of the NPC/parrot owner}} | ||
+ | {{hl2msg|short|attacker|userid that killed the NPC}} | ||
+ | {{hl2msg|string|weapon|}} | ||
+ | {{hl2msg|bool|special|}} | ||
+ | {{hl2msg|string|type|Classname of the npc entity (npc_parrot/npc_vulture)}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_hurt === | ||
+ | {{qnotice|Occurs when a player takes damage}} | ||
+ | {{begin-hl2msg|player_hurt}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|health|}} | ||
+ | {{hl2msg|short|priority|}} | ||
+ | {{hl2msg|short|attacker|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_special === | ||
+ | {{qnotice|Occurs when a player uses a special}} | ||
+ | {{begin-hl2msg|player_special}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_throw_explosive === | ||
+ | {{begin-hl2msg|player_throw_explosive}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|string|weapon|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_bomb_explode === | ||
+ | {{begin-hl2msg|player_bomb_explode}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|string|victims|List of userids hit by explosive}} | ||
+ | {{hl2msg|string|weapon|}} | ||
+ | {{hl2msg|float|damage|Total damage done}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_melee_swing === | ||
+ | {{begin-hl2msg|player_melee_swing}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|string|victims|List of userids hit by swing}} | ||
+ | {{hl2msg|string|weapon|}} | ||
+ | {{hl2msg|short|atkdir|Direction of attack}} | ||
+ | {{hl2msg|float|damage|Total damage}} | ||
+ | {{hl2msg|float|hitper|Percentage of swing arc that hit targets}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_ranged_impact === | ||
+ | {{qnotice|Occurs on ranged weapon impact. Also occurs on keg impact and chest impact (thrownkeg and chest respectively)}} | ||
+ | {{begin-hl2msg|player_ranged_impact}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|victim|}} | ||
+ | {{hl2msg|string|weapon|}} | ||
+ | {{hl2msg|float|damage|Damage dealt (0 if missed or blocked)}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_ranged_impale === | ||
+ | {{qnotice|Occurs when a player is impaled to a surface by a projectile}} | ||
+ | {{qnotice|A player_ranged_impact event just prior to this event with a matching victim will give complete information}} | ||
+ | {{begin-hl2msg|player_ranged_impale}} | ||
+ | {{hl2msg|short|victim|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === projectile_bounce === | ||
+ | {{qnotice|Listen for a player_ranged_impact event immediately after this one, with matching userid, for complete impact information}} | ||
+ | {{begin-hl2msg|projectile_bounce}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|string|weapon|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_healtheffect === | ||
+ | {{begin-hl2msg|player_healtheffect}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|float|health|}} | ||
+ | {{hl2msg|float|duration|}} | ||
+ | {{hl2msg|short|type|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === item_pickup === | ||
+ | {{begin-hl2msg|item_pickup}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|type|Type of pickup; 0 = Food, 1 = Armor, 2 = Ranged Ammo}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === chest_pickup === | ||
+ | {{begin-hl2msg|chest_pickup}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|chestid|}} | ||
+ | {{hl2msg|byte|last_owner|Last team that controlled it; 1 = None, 2 = Pirates, 3 = Vikings, 4 = Knights}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === chest_drop=== | ||
+ | {{begin-hl2msg|chest_drop}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|chestid|}} | ||
+ | {{hl2msg|short|oldid|Chests get a new index every time that they are dropped}} | ||
+ | {{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)}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Revision as of 13:41, 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: |
|