Difference between revisions of "Pirates, Vikings, Knights II Events"
(New page: :''Refer back to Game Events (Source) for more events.'' = Pirates, Vikings, Knights II Events = === player_death === {{qnotice|When player dies}} {{begin-hl2msg|player_death|string}...) |
(Trinket changes, 2.4) |
||
(10 intermediate revisions by 2 users 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_death === | === player_death === | ||
{{qnotice|When player dies}} | {{qnotice|When player dies}} | ||
{{begin-hl2msg|player_death|string}} | {{begin-hl2msg|player_death|string}} | ||
− | {{hl2msg|short|userid}} | + | {{hl2msg|short|userid|}} |
− | {{hl2msg|short|attacker}} | + | {{hl2msg|short|attacker|}} |
− | {{hl2msg|string|weapon}} | + | {{hl2msg|short|assistid|}} |
+ | {{hl2msg|string|weapon|}} | ||
+ | {{hl2msg|bool|special|Death by special}} | ||
+ | {{hl2msg|bool|grail|Death counted toward grail score}} | ||
+ | {{hl2msg|bool|suiassist|Suicide assist}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_changeteam === | ||
+ | {{begin-hl2msg|player_changeteam}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|oldteam|}} | ||
+ | {{hl2msg|short|newteam|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_changeclass === | ||
+ | {{begin-hl2msg|player_changeclass}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|old_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}} | ||
+ | |||
+ | === chest_capture === | ||
+ | {{begin-hl2msg|chest_capture}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|chestid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === chest_respawn === | ||
+ | {{begin-hl2msg|chest_respawn}} | ||
+ | {{hl2msg|short|chestid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === chest_special === | ||
+ | {{qnotice|Occurs when player uses special while carrying a chest}} | ||
+ | {{begin-hl2msg|chest_special}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|chestid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === grail_pickup === | ||
+ | {{begin-hl2msg|grail_pickup}} | ||
+ | {{hl2msg|short|team|Team whose trinket was picked up}} | ||
+ | {{hl2msg|short|userid|user ID of player who picked up trinket}} | ||
+ | {{hl2msg|short|victim|user ID of player who was killed to get trinket, otherwise 0}} | ||
+ | {{hl2msg|short|assistid|user ID of player who assisted in killing the victim if was a non-kill pickup will always be 0}} | ||
+ | {{hl2msg|bool|initial|true on round start}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === grail_drop === | ||
+ | {{qnotice|Not fired when a grail carrier dies (and attacker receives grail, see grail_pickup instead)}} | ||
+ | {{begin-hl2msg|grail_drop}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{hl2msg|short|team|}} | ||
+ | {{hl2msg|short|killerid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === grail_grace === | ||
+ | {{begin-hl2msg|grail_grace}} | ||
+ | {{hl2msg|short|userid|Player that is getting grace points}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === grail_despawn === | ||
+ | {{begin-hl2msg|grail_despawn}} | ||
+ | {{hl2msg|short|team|Team whose trinket despawned}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === trinket_heal=== | ||
+ | {{begin-hl2msg|grail_despawn}} | ||
+ | {{hl2msg|short|team|Team whose trinket this is}} | ||
+ | {{hl2msg|short|amount|Total amount healed to teammates by the trinket}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
=== round_end === | === round_end === | ||
− | |||
{{begin-hl2msg|round_end|string}} | {{begin-hl2msg|round_end|string}} | ||
− | {{hl2msg|short|winner}} | + | {{hl2msg|short|winner|}} |
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_suddendeath_begin === | ||
+ | {{qnotice|Fired when Sudden Death begins in Last Team Standing game mode}} | ||
+ | {{begin-hl2msg|gamemode_suddendeath_begin}} | ||
+ | {{hl2msg|short|plpirate|Number of pirates left alive}} | ||
+ | {{hl2msg|short|plviking|Number of vikings left alive}} | ||
+ | {{hl2msg|short|plknight|Number of knights left alive}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_roundrestart === | ||
+ | {{begin-hl2msg|gamemode_roundrestart}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_firstround_wait_begin === | ||
+ | {{begin-hl2msg|gamemode_firstround_wait_begin}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_firstround_wait_end === | ||
+ | {{begin-hl2msg|gamemode_firstround_wait_end}} | ||
+ | {{hl2msg|short|plpirate|Number of pirates}} | ||
+ | {{hl2msg|short|plviking|Number of vikings}} | ||
+ | {{hl2msg|short|plknight|Number of knights}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_territory_capture === | ||
+ | {{begin-hl2msg|gamemode_territory_capture}} | ||
+ | {{hl2msg|string|userids|List of players that participated in the capture}} | ||
+ | {{hl2msg|short|team|}} | ||
+ | {{hl2msg|short|tindex|Territory that was captured}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_territory_guard === | ||
+ | {{begin-hl2msg|gamemode_territory_guard}} | ||
+ | {{hl2msg|short|userid|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === gamemode_territory_contested === | ||
+ | {{begin-hl2msg|gamemode_territory_contested}} | ||
+ | {{hl2msg|bool|pirates|}} | ||
+ | {{hl2msg|bool|vikings|}} | ||
+ | {{hl2msg|bool|knights|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === game_end === | ||
+ | {{begin-hl2msg|game_end}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === update_mvp_panel === | ||
+ | {{begin-hl2msg|update_mvp_panel}} | ||
+ | {{hl2msg|short|winner|}} | ||
+ | {{hl2msg|short|pid_1|}} | ||
+ | {{hl2msg|short|pid_2|}} | ||
+ | {{hl2msg|short|pid_3|}} | ||
+ | {{hl2msg|short|pscore_1|}} | ||
+ | {{hl2msg|short|pscore_2|}} | ||
+ | {{hl2msg|short|pscore_3|}} | ||
+ | {{hl2msg|float|pdmg_1|}} | ||
+ | {{hl2msg|float|pdmg_2|}} | ||
+ | {{hl2msg|float|pdmg_3|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === spec_target_updated === | ||
+ | {{begin-hl2msg|spec_target_updated }} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === achievement_earned === | ||
+ | {{begin-hl2msg|achievement_earned}} | ||
+ | {{hl2msg|byte|player|entindex of the player}} | ||
+ | {{hl2msg|short|achievement|Achievement ID}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === achievement_event_almost === | ||
+ | {{begin-hl2msg|achievement_event_almost}} | ||
+ | {{hl2msg|string|achivement_name|}} | ||
+ | {{hl2msg|short|my_val|}} | ||
+ | {{hl2msg|short|req_val|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === achievement_event === | ||
+ | {{begin-hl2msg|achievement_event}} | ||
+ | {{hl2msg|string|achivement_name|}} | ||
+ | {{hl2msg|short|cur_val|}} | ||
+ | {{hl2msg|short|max_val|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Latest revision as of 16:21, 24 January 2012
- Refer back to Game Events (Source) for more events.
Contents
- 1 player_death
- 2 player_changeteam
- 3 player_changeclass
- 4 player_spawn
- 5 player_objective
- 6 player_points
- 7 player_stats_updated
- 8 player_nemesis
- 9 player_revenge
- 10 npc_death
- 11 player_hurt
- 12 player_special
- 13 player_throw_explosive
- 14 player_bomb_explode
- 15 player_melee_swing
- 16 player_ranged_impact
- 17 player_ranged_impale
- 18 projectile_bounce
- 19 player_healtheffect
- 20 item_pickup
- 21 chest_pickup
- 22 chest_drop
- 23 chest_capture
- 24 chest_respawn
- 25 chest_special
- 26 grail_pickup
- 27 grail_drop
- 28 grail_grace
- 29 grail_despawn
- 30 trinket_heal
- 31 round_end
- 32 gamemode_suddendeath_begin
- 33 gamemode_roundrestart
- 34 gamemode_firstround_wait_begin
- 35 gamemode_firstround_wait_end
- 36 gamemode_territory_capture
- 37 gamemode_territory_guard
- 38 gamemode_territory_contested
- 39 game_end
- 40 update_mvp_panel
- 41 spec_target_updated
- 42 achievement_earned
- 43 achievement_event_almost
- 44 achievement_event
player_death
Note: When player dies
Name: | player_death | |||||||||||||||||||||
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: |
|
chest_capture
Name: | chest_capture | ||||||
Structure: |
|
chest_respawn
Name: | chest_respawn | |||
Structure: |
|
chest_special
Note: Occurs when player uses special while carrying a chest
Name: | chest_special | ||||||
Structure: |
|
grail_pickup
Name: | grail_pickup | |||||||||||||||
Structure: |
|
grail_drop
Note: Not fired when a grail carrier dies (and attacker receives grail, see grail_pickup instead)
Name: | grail_drop | |||||||||
Structure: |
|
grail_grace
Name: | grail_grace | |||
Structure: |
|
grail_despawn
Name: | grail_despawn | |||
Structure: |
|
trinket_heal
Name: | grail_despawn | ||||||
Structure: |
|
round_end
Name: | round_end | |||
Structure: |
|
gamemode_suddendeath_begin
Note: Fired when Sudden Death begins in Last Team Standing game mode
Name: | gamemode_suddendeath_begin | |||||||||
Structure: |
|
gamemode_roundrestart
Name: | gamemode_roundrestart | |
Structure: |
|
gamemode_firstround_wait_begin
Name: | gamemode_firstround_wait_begin | |
Structure: |
|
gamemode_firstround_wait_end
Name: | gamemode_firstround_wait_end | |||||||||
Structure: |
|
gamemode_territory_capture
Name: | gamemode_territory_capture | |||||||||
Structure: |
|
gamemode_territory_guard
Name: | gamemode_territory_guard | |||
Structure: |
|
gamemode_territory_contested
Name: | gamemode_territory_contested | |||||||||
Structure: |
|
game_end
Name: | game_end | |
Structure: |
|
update_mvp_panel
Name: | update_mvp_panel | ||||||||||||||||||||||||||||||
Structure: |
|
spec_target_updated
Name: | spec_target_updated | |
Structure: |
|
achievement_earned
Name: | achievement_earned | ||||||
Structure: |
|
achievement_event_almost
Name: | achievement_event_almost | |||||||||
Structure: |
|
achievement_event
Name: | achievement_event | |||||||||
Structure: |
|