Raised This Month: $ Target: $400
 0% 

[TF2] Addcond


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
J-Factor
Junior Member
Join Date: Jul 2009
Old 07-26-2009 , 13:37   Re: [TF2] Addcond
Reply With Quote #3

Wow.

This is amazing. How did you find the commands?

The possibilities are endless... just after a quick test I've found you can make any class disguise (if you also set the appropriate props).

Great work.

EDIT:

From my quick testing:

0 = Civilian
1 = Sniper Scope (doesn't zoom in)
2 = Start of Disguise sequence
3 = Disguise (set m_nDisguiseTeam, etc. after applying to select the team/class/player/weapon)
4 = Cloak (only seems to work with Spy)
5 = Uber
6 = Glow from recently using a teleporter
7 = Useless (this is used for when you taunt)
8 = Unknown
9 = Unknown (probably useless since it doesn't alter your condition)
10 = Unknown
11 = Kritz (seems to disable when you kill someone)
12 = Unknown
13 = Unknown (probably useless since it doesn't alter your condition)
14 = Bonk'd (only lasts 5 seconds for Scout; interesting note: if you taunt you stay in third person even with sv_cheats 0)
15 = Useless (this is used for when you are slowed after drinking Bonk and when you're stunned)
16 = Unknown
17 = Useless (this is used for when you are ignited, makes you say fire voice response)
18 = Unknown
19 = Jarate

Example code to disguise as your class on the enemy team (after adding condition 3):

Code:
SetEntProp(client, Prop_Send, "m_nDisguiseClass", TF2_GetPlayerClass(client));
SetEntProp(client, Prop_Send, "m_nDisguiseTeam", GetClientTeam(client) == 2 ? 3 : 2);

Last edited by J-Factor; 07-26-2009 at 15:34.
J-Factor is offline
 



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 18:43.


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