Team Fortress 2 Events

From AlliedModders Wiki
Revision as of 05:44, 18 August 2009 by Jindo (talk | contribs) (Updated with all new events since post-scout-update.)
Jump to: navigation, search

Contents

intro_finish

Note: None

Name: intro_finish
Structure:
short player {{{3}}}


intro_nextcamera

Note: None

Name: intro_nextcamera
Structure:
short player {{{3}}}


player_changeclass

Note: When a player changes their class

Name: player_changeclass
Structure:
short userid {{{3}}}
short class {{{3}}}


player_death

Note: When a player dies

Name: player_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
string weapon {{{3}}}
short weaponid {{{3}}}
long damagebits {{{3}}}
short customkill {{{3}}}
short assister {{{3}}}
string weapon_logclassname {{{3}}}
short stun_flags {{{3}}}
short death_flags {{{3}}}


object_destroyed

Note: When a player destroys an object

Name: object_destroyed
Structure:
short userid {{{3}}}
short attacker {{{3}}}
short assister {{{3}}}
string weapon {{{3}}}
short objecttype {{{3}}}


tf_map_time_remaining

Note: None

Name: tf_map_time_remaining
Structure:
long seconds {{{3}}}


tf_game_over

Note: When a tf game ends

Name: tf_game_over
Structure:
string reason {{{3}}}


ctf_flag_captured

Note: When a flag is captured by a player

Name: ctf_flag_captured
Structure:
short capping_team {{{3}}}
short capping_team_score {{{3}}}


controlpoint_initialized

Note: When a player begins to capture a control point

Name: controlpoint_initialized
Structure:


controlpoint_updateimages

Note: None

Name: controlpoint_updateimages
Structure:
short index {{{3}}}


controlpoint_updatelayout

Note: None

Name: controlpoint_updatelayout
Structure:
short index {{{3}}}


controlpoint_updatecapping

Note: None

Name: controlpoint_updatecapping
Structure:
short index {{{3}}}


controlpoint_updateowner

Note: None

Name: controlpoint_updateowner
Structure:
short index {{{3}}}


controlpoint_starttouch

Note: When a player enters a capture point zone

Name: controlpoint_starttouch
Structure:
short player {{{3}}}
short area {{{3}}}


controlpoint_endtouch

Note: When a player leaves a capture point zone

Name: controlpoint_endtouch
Structure:
short player {{{3}}}
short area {{{3}}}


controlpoint_pulse_element

Note: None

Name: controlpoint_pulse_element
Structure:
short player {{{3}}}


controlpoint_fake_capture

Note: None

Name: controlpoint_fake_capture
Structure:
short player {{{3}}}
short int_data {{{3}}}


controlpoint_fake_capture_mult

Note: None

Name: controlpoint_fake_capture_mult
Structure:
short player {{{3}}}
short int_data {{{3}}}


teamplay_round_start

Note: When a round restarts

Name: teamplay_round_start
Structure:
bool full_reset {{{3}}}


teamplay_round_active

Note: When the round is active and players can move

Name: teamplay_
Structure:


teamplay_waiting_begins

Note: When the "waiting for players" pre-round begins

Name: teamplay_waiting_begins
Structure:


teamplay_waiting_ends

Note: When the "waiting for players" pre-round ends

Name: teamplay_waiting_ends
Structure:


teamplay_waiting_abouttoend

Note: When the "waiting for players" pre-round is about to end

Name: teamplay_waiting_abouttoend
Structure:


teamplay_restart_round

Note: When a round is restarted

Name: teamplay_restart_round
Structure:


teamplay_ready_restart

Note: None

Name: teamplay_ready_restart
Structure:


teamplay_round_restart_seconds

Note: None

Name: teamplay_round_restart_seconds
Structure:
short seconds {{{3}}}


teamplay_team_ready

Note: None

Name: teamplay_team_ready
Structure:
byte team {{{3}}}


teamplay_round_win

Note: When a team wins a round

Name: teamplay_round_win
Structure:
byte team {{{3}}}
byte winreason {{{3}}}
short flagcaplimit {{{3}}}
short full_round {{{3}}}
float round_time {{{3}}}
short losing_team_num_caps {{{3}}}
byte was_sudden_death {{{3}}}


teamplay_update_timer

Note: None

Name: teamplay_update_timer
Structure:


teamplay_round_stalemate

Note: When a game ends in a stalemate

Name: teamplay_round_stalemate
Structure:
byte reason {{{3}}}


teamplay_overtime_begin

Note: When an overtime round begins

Name: teamplay_overtime_begin
Structure:


teamplay_overtime_end

Note: When an overtime round ends

Name: teamplay_overtime_end
Structure:


teamplay_suddendeath_begin

Note: When a sudden death round begins

Name: teamplay_suddendeath_begin
Structure:


teamplay_suddendeath_end

Note: When a sudden death round ends

Name: teamplay_suddendeath_end
Structure:


teamplay_game_over

Note: When a teamplay game ends

Name: teamplay_game_over
Structure:
string reason {{{3}}}


teamplay_map_time_remaining

Note: None

Name: teamplay_map_time_remaining
Structure:
short seconds {{{3}}}


teamplay_broadcast_audio

Note: Broadcast an audio file.

Name: teamplay_broadcast_audio
Structure:
byte team {{{3}}}
string sound {{{3}}}


teamplay_timer_flash

Note: None.

Name: teamplay_timer_flash
Structure:
short time_remaining {{{3}}}


teamplay_timer_time_added

Note: None

Name: teamplay_timer_time_added
Structure:
short timer {{{3}}}
short seconds_added {{{3}}}


teamplay_point_startcapture

Note: When a point is beginning to be captured

Name: teamplay_point_startcapture
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
byte team {{{3}}}
byte capteam {{{3}}}
string cappers {{{3}}}


teamplay_point_captured

Note: When a control point is captured by a team

Name: teamplay_point_captured
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
byte team {{{3}}}
string cappers {{{3}}}


teamplay_capture_blocked

Note: When a player blocks the capture of a control point

Name: teamplay_capture_blocked
Structure:
byte cp {{{3}}}
string cpname {{{3}}}
byte blocker {{{3}}}


teamplay_flag_event

Note: None

Name: teamplay_flag_event
Structure:
short player {{{3}}}
short eventtype {{{3}}}


teamplay_win_panel

Note: When the win-game panel is displayed

Name: teamplay_win_panel
Structure:
byte panel_style {{{3}}}
byte winning_team {{{3}}}
byte winreason {{{3}}}
string cappers {{{3}}}
short flagcaplimit {{{3}}}
short blue_score {{{3}}}
short red_score {{{3}}}
short blue_score_prev {{{3}}}
short red_score_prev {{{3}}}
short round_complete {{{3}}}
short round_remaining {{{3}}}
short player_1 {{{3}}}
short player_1_points {{{3}}}
short player_2 {{{3}}}
short player_2_points {{{3}}}
short player_3 {{{3}}}
short player_3_points {{{3}}}


teamplay_teambalanced_player

Note: When a player is balanced to another team

Name: teamplay_balanced_player
Structure:
short player {{{3}}}
byte team {{{3}}}


teamplay_setup_finished

Note: When the setup round ends

Name: teamplay_setup_finished
Structure:


show_freezepanel

Note: When the death-snapshot panel is shown

Name: show_freezepanel
Structure:
short killer {{{3}}}


hide_freezepanel

Note: When the death-snapshot panel is hidden

Name: hide_freezepanel
Structure:


freezecam_started

Note: When a player enters the death-snapshot view

Name: freezecam_started
Structure:


localplayer_changeteam

Note: When a LAN player changes team

Name: localplayer_changeteam
Structure:


localplayer_changeclass

Note: When a LAN player changes class

Name: localplayer_changeclass
Structure:


localplayer_respawn

Note: When a LAN player respawns

Name: localplayer_respawn
Structure:


building_info_changed

Note: None

Name: building_info_changed
Structure:
byte building_type {{{3}}}
byte remove {{{3}}}


localplayer_changedisguise

Note: Whena LAN player changes their disguise as a spy

Name: localplayer_changedisguise
Structure:
bool disguised {{{3}}}


player_account_changed

Note: None

Name: player_account_changed
Structure:
short old_value {{{3}}}
short new_value {{{3}}}


spy_pda_reset

Note: None

Name: spy_pda_reset
Structure:


flagstatus_update

Note: None

Name: flagstatus_update
Structure:


player_stats_updated

Note: When a players stats are updated

Name: player_stats_updated
Structure:
bool forceupload {{{3}}}


playing_commentary

Note: When a commentary is being played

Name: playing_commentary
Structure:


player_chargedeployed

Note: When an uber is deployed

Name: player_chargedeployed
Structure:
short userid {{{3}}}


player_builtobject

Note: When a player builds an object

Name: player_builtobject
Structure:
short userid {{{3}}}
byte object {{{3}}}


achievement_earned

Note: When a player earns an achievement

Name:
Structure:
byte player {{{3}}}
short achievement {{{3}}}


spec_target_updated

Note: None

Name: spec_target_updated
Structure:


tournament_stateupdate

Note: None

Name: tournament_stateupdate
Structure:


player_calledformedic

Note: When a player calls for a medic

Name: player_calledformedic
Structure:
short userid {{{3}}}


localplayer_becameobserver

Note: None.

Name: localplayer_becameobserver
Structure:


player_ignited_inv

Note: Sent when a player is ignited by a pyro who is being invulned, only to the medic who's doing the invulning

Name: player_ignited_inv
Structure:
byte pyro_entindex {{{3}}}
byte victim_entindex {{{3}}}
byte medic_entindex {{{3}}}


player_ignited

Note: Sent when a player is ignited, only to the two players involved

Name: player_ignited
Structure:
byte pyro_entindex {{{3}}}
byte victim_entindex {{{3}}}
byte weaponid {{{3}}}


player_extinguished

Note: Sent when a burning player is extinguished by a medic

Name: player_extinguished
Structure:
short userid {{{3}}}


player_healedmediccall

Note: (Client Only) Local player heals someone who called for medic

Name: player_healedmediccall
Structure:
short userid {{{3}}}


localplayer_chargeready

Note: (Client Only) Local player has full medic charge

Name: localplayer_chargeready
Structure:


localplayer_winddown

Note: Local player minigun winddown

Name: localplayer_winddown
Structure:


player_invulned

Note: Send when a player is made invulnerable

Name: player_invulned
Structure:
short userid {{{3}}}
short medic_userid {{{3}}}


escort_speed

Note: None.

Name: escort_speed
Structure:
byte speed {{{3}}}
byte players {{{3}}}


escort_progress

Note: None.

Name: escort_progress
Structure:
float progress {{{3}}}
bool reset {{{3}}}


escort_recede

Note: None.

Name: escort_recede
Structure:
float recedetime {{{3}}}


client_loadout_changed

Note: None.

Name: client_loadout_changed
Structure:


gameui_activated

Note: None.

Name: gameui_activated
Structure:


gameui_hidden

Note: None.

Name: gameui_hidden
Structure:


player_escort_score

Note: None.

Name: player_escort_score
Structure:
byte player {{{3}}}
byte points {{{3}}}


player_healonhit

Note: None.

Name: player_healonhit
Structure:
byte amount {{{3}}}
byte entindex {{{3}}}


show_class_layout

Note: None.

Name: show_class_layout
Structure:
bool show {{{3}}}


show_vs_panel

Note: None.

Name: show_vs_panel
Structure:
bool show {{{3}}}


player_damaged

Note: None.

Name: player_damaged
Structure:
short amount {{{3}}}
long type {{{3}}}


arena_player_notification

Note: None.

Name: arena_player_notification
Structure:
byte player {{{3}}}
byte message {{{3}}}


arena_match_maxstreak

Note: None.

Name: arena_match_maxstreak
Structure:
byte team {{{3}}}
byte streak {{{3}}}


arena_round_start

Note: Called when round is active, players can move

Name: arena_round_start
Structure:


arena_win_panel

Note: None.

Name: arena_win_panel
Structure:
byte panel_style {{{3}}}
byte winning_team {{{3}}}
byte winreason {{{3}}}
string cappers {{{3}}}
short flagcaplimit {{{3}}}
short blue_score {{{3}}}
short red_score {{{3}}}
short blue_score_prev {{{3}}}
short red_score_prev {{{3}}}
short round_complete {{{3}}}
short player_1 {{{3}}}
short player_1_damage {{{3}}}
short player_1_healing {{{3}}}
short player_1_lifetime {{{3}}}
short player_1_kills {{{3}}}
short player_2 {{{3}}}
short player_2_damage {{{3}}}
short player_2_healing {{{3}}}
short player_2_lifetime {{{3}}}
short player_2_kills {{{3}}}
short player_3 {{{3}}}
short player_3_damage {{{3}}}
short player_3_healing {{{3}}}
short player_3_lifetime {{{3}}}
short player_3_kills {{{3}}}
short player_4 {{{3}}}
short player_4_damage {{{3}}}
short player_4_healing {{{3}}}
short player_4_lifetime {{{3}}}
short player_4_kills {{{3}}}
short player_5 {{{3}}}
short player_5_damage {{{3}}}
short player_5_healing {{{3}}}
short player_5_lifetime {{{3}}}
short player_5_kills {{{3}}}
short player_6 {{{3}}}
short player_6_damage {{{3}}}
short player_6_healing {{{3}}}
short player_6_lifetime {{{3}}}
short player_6_kills {{{3}}}


inventory_updated

Note: None.

Name: inventory_updated
Structure:


air_dash

Note: Called when a scout Performs Double Jump

Name: air_dash
Structure:
byte player {{{3}}}


player_damage_dodged

Note: When a Player Evades Damage

Name: player_damage_dodged
Structure:
short damage {{{3}}}


player_stunned

Note: When a Player is Stunned

Name: player_stunned
Structure:
short stunner {{{3}}}
short victim {{{3}}}
bool victim_capping {{{3}}}
bool big_stun {{{3}}}


scout_grand_slam

Note: When a Player is Killed by the Scout Taunt

Name: scout_grand_slam
Structure:
short scout_id {{{3}}}
short target_id {{{3}}}


scout_slamdoll_landed

Name: scout_slamdoll_landed
Structure:
short target_index {{{3}}}
float x {{{3}}}
float y {{{3}}}
float z {{{3}}}


arrow_impact

Note: When a player is hit by a Sniper's Huntsman arrow

Name: arrow_impact
Structure:
short attachedEntity {{{3}}}
short shooter {{{3}}}
short boneIndexAttached {{{3}}}
float bonePositionX {{{3}}}
float bonePositionY {{{3}}}
float bonePositionZ {{{3}}}
float boneAnglesX {{{3}}}
float boneAnglesY {{{3}}}
float boneAnglesZ {{{3}}}


player_jarated

Note: When a player is hit by the Sniper's Jarate

Name: player_jarated
Structure:
byte thrower_entindex {{{3}}}
byte victim_entindex {{{3}}}


player_jarated_fade

Name: player_jarated_fade
Structure:
byte thrower_entindex {{{3}}}
byte victim_entindex {{{3}}}


player_shield_blocked

Name: player_shield_blocked
Structure:
byte attacker_entindex {{{3}}}
byte blocker_entindex {{{3}}}


player_pinned

Note: When a player is pinned to a wall by a Sniper's Huntsman arrow

Name: player_pinned
Structure:
byte pinned {{{3}}}


player_healedbymedic

Name: player_healedbymedic
Structure:
byte medic {{{3}}}


player_spawn

Name: player_spawn
Structure:
short userid {{{3}}}
short team {{{3}}}
short class {{{3}}}


player_sapped_object

Name: player_sapped_object
Structure:
short userid {{{3}}}
short ownerid {{{3}}}
byte object {{{3}}}


item_found

Note: When a player finds an item

Name: item_found
Structure:
byte player {{{3}}}
byte quality {{{3}}}
string item {{{3}}}


post_inventory_application

Note: When a player gets a whole new set of items

Name: post_inventory_application
Structure:
short userid {{{3}}}


controlpoint_unlock_updated

Name: controlpoint_unlock_updated
Structure:
short index {{{3}}}
float time {{{3}}}


medic_death

Note: When a medic dies

Name: medic_death
Structure:
short userid {{{3}}}
short attacker {{{3}}}
short healing {{{3}}}
bool charged {{{3}}}


overtime_nag

Note: None.

Name: overtime_nag
Structure: