Raised This Month: $ Target: $400
 0% 

TF2 events full list ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PlayBoy31
Senior Member
Join Date: May 2011
Location: into the void
Old 02-08-2014 , 08:39   TF2 events full list ?
Reply With Quote #1

some one know the full list of tf2 ?

in particulary for mvm mode ?

i use those events

HookEvent("mvm_begin_wave", Ev_Game_mvm_begin_wave, EventHookMode_Post);
HookEvent("mvm_wave_complete", Ev_Game_mvm_wave_complete, EventHookMode_Post);
HookEvent("mvm_mission_complete", Ev_Game_mvm_mission_complete, EventHookMode_Post);
HookEvent("mvm_wave_failed ", Ev_Game_mvm_wave_failed, EventHookMode_Post);

i have make a printtoserver to trace events but there are never fired during mvm map ... any idea?

thanks

Last edited by PlayBoy31; 02-08-2014 at 09:09.
PlayBoy31 is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 02-08-2014 , 09:17   Re: TF2 events full list ?
Reply With Quote #2

Team Fortress 2 Events
__________________
11530 is offline
PlayBoy31
Senior Member
Join Date: May 2011
Location: into the void
Old 02-08-2014 , 09:29   Re: TF2 events full list ?
Reply With Quote #3

Quote:
Originally Posted by 11530 View Post
thanks

what is the event when we are waiting for player to press ready in mvm mode ?

teamplay_round_start => when round start but not fired in mvm mode
mvm_begin_wave => when all players seat ready
mvm_wave_complete => wave completed
mvm_mission_complete => mission completed
mvm_wave_failed => wave failed

but no event when waiting????
PlayBoy31 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 02-08-2014 , 10:03   Re: TF2 events full list ?
Reply With Quote #4

Enable cheats set net_showevents to either 1 or 2 to see the events that are being sent.
bl4nk is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 02-08-2014 , 10:18   Re: TF2 events full list ?
Reply With Quote #5

Quote:
Originally Posted by PlayBoy31 View Post
what is the event when we are waiting for player to press ready in mvm mode ?
GameRules_GetRoundState() probably changes according to this.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-08-2014 , 10:45   Re: TF2 events full list ?
Reply With Quote #6

I couldn't say, but I will note that in addition to the events (which I last updated after the Two Cities update), MvM has quite a few UserMessages:

Code:
                  MVMStatsReset                     54     -1
                  MVMPlayerEvent                    55     -1
                  MVMResetPlayerStats               56     -1
                  MVMWaveFailed                     57     0
                  MVMAnnouncement                   58     2
                  MVMPlayerUpgradedEvent            59     9
                  MVMVictory                        60     2
                  MVMWaveChange                     61     15
                  MVMLocalPlayerUpgradesClear       62     1
                  MVMLocalPlayerUpgradesValue       63     6
                  MVMResetPlayerWaveSpendingStats   64     1
                  MVMLocalPlayerWaveSpendingValue   65     12
                  MVMResetPlayerUpgradeSpending     66     -1
                  MVMServerKickTimeUpdate           67     1
(from the meta game list)
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
PlayBoy31
Senior Member
Join Date: May 2011
Location: into the void
Old 02-08-2014 , 17:25   Re: TF2 events full list ?
Reply With Quote #7

cool thanks for your help all

i have found a solution with your infos
PlayBoy31 is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 02-08-2014 , 18:56   Re: TF2 events full list ?
Reply With Quote #8

Quote:
Originally Posted by PlayBoy31 View Post
i have found a solution with your infos
Cool! What was it, exactly?
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-08-2014 , 19:10   Re: TF2 events full list ?
Reply With Quote #9

tf/resources/modevents.res

or something like that

unpack tf2_misc_dir to find
__________________
Chdata is offline
PlayBoy31
Senior Member
Join Date: May 2011
Location: into the void
Old 02-09-2014 , 08:28   Re: TF2 events full list ?
Reply With Quote #10

Quote:
Originally Posted by MasterOfTheXP View Post
Cool! What was it, exactly?
those events

Code:
    HookEvent("teamplay_round_start", Ev_GameRoundStart, EventHookMode_Post);
    HookEvent("mvm_wave_complete", Ev_Game_mvm_wave_complete, EventHookMode_Post);
    HookEvent("mvm_mission_complete", Ev_Game_mvm_mission_complete, EventHookMode_Post);
    HookEvent("mvm_wave_failed", Ev_Game_mvm_wave_failed, EventHookMode_Post);
first event for the first round and the others events during game play, there is no specific event, you need to use those events in combination to make some action for each round during mvm play
PlayBoy31 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode