Skip to content

Commit cf0a498

Browse files
Batfoxkidasherkin
authored andcommitted
TFCond Descriptions (#1005)
This is mainly for API (https://sm.alliedmods.net/new-api/tf2/TFCond) to show description of the condition.
1 parent 527a998 commit cf0a498

1 file changed

Lines changed: 129 additions & 129 deletions

File tree

plugins/include/tf2.inc

Lines changed: 129 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -74,139 +74,139 @@ enum TFTeam
7474

7575
enum TFCond
7676
{
77-
TFCond_Slowed = 0,
78-
TFCond_Zoomed,
79-
TFCond_Disguising,
80-
TFCond_Disguised,
81-
TFCond_Cloaked,
82-
TFCond_Ubercharged,
83-
TFCond_TeleportedGlow,
84-
TFCond_Taunting,
85-
TFCond_UberchargeFading,
77+
TFCond_Slowed = 0, //0: Revving Minigun, Sniper Rifle. Gives zoomed/revved pose
78+
TFCond_Zoomed, //1: Sniper Rifle zooming
79+
TFCond_Disguising, //2: Disguise smoke
80+
TFCond_Disguised, //3: Disguise
81+
TFCond_Cloaked, //4: Cloak effect
82+
TFCond_Ubercharged, //5: Invulnerability, removed when being healed or by another Uber effect
83+
TFCond_TeleportedGlow, //6: Teleport trail effect
84+
TFCond_Taunting, //7: Used for taunting, can remove to stop taunting
85+
TFCond_UberchargeFading, //8: Invulnerability expiration effect
8686
TFCond_Unknown1, //9
87-
TFCond_CloakFlicker = 9,
88-
TFCond_Teleporting,
89-
TFCond_Kritzkrieged,
87+
TFCond_CloakFlicker = 9, //9: Cloak flickering effect
88+
TFCond_Teleporting, //10: Used for teleporting, does nothing applying
89+
TFCond_Kritzkrieged, //11: Crit boost, removed when being healed or another Uber effect
9090
TFCond_Unknown2, //12
91-
TFCond_TmpDamageBonus = 12,
92-
TFCond_DeadRingered,
93-
TFCond_Bonked,
94-
TFCond_Dazed,
95-
TFCond_Buffed,
96-
TFCond_Charging,
97-
TFCond_DemoBuff,
98-
TFCond_CritCola,
99-
TFCond_InHealRadius,
100-
TFCond_Healing,
101-
TFCond_OnFire,
102-
TFCond_Overhealed,
103-
TFCond_Jarated,
104-
TFCond_Bleeding,
105-
TFCond_DefenseBuffed,
106-
TFCond_Milked,
107-
TFCond_MegaHeal,
108-
TFCond_RegenBuffed,
109-
TFCond_MarkedForDeath,
110-
TFCond_NoHealingDamageBuff,
111-
TFCond_SpeedBuffAlly, // 32
112-
TFCond_HalloweenCritCandy,
113-
TFCond_CritCanteen,
114-
TFCond_CritDemoCharge,
115-
TFCond_CritHype,
116-
TFCond_CritOnFirstBlood,
117-
TFCond_CritOnWin,
118-
TFCond_CritOnFlagCapture,
119-
TFCond_CritOnKill,
120-
TFCond_RestrictToMelee,
121-
TFCond_DefenseBuffNoCritBlock,
122-
TFCond_Reprogrammed,
123-
TFCond_CritMmmph,
124-
TFCond_DefenseBuffMmmph,
125-
TFCond_FocusBuff,
126-
TFCond_DisguiseRemoved,
127-
TFCond_MarkedForDeathSilent,
128-
TFCond_DisguisedAsDispenser,
129-
TFCond_Sapped,
130-
TFCond_UberchargedHidden,
131-
TFCond_UberchargedCanteen,
132-
TFCond_HalloweenBombHead,
133-
TFCond_HalloweenThriller,
134-
TFCond_RadiusHealOnDamage,
135-
TFCond_CritOnDamage,
136-
TFCond_UberchargedOnTakeDamage,
137-
TFCond_UberBulletResist,
138-
TFCond_UberBlastResist,
139-
TFCond_UberFireResist,
140-
TFCond_SmallBulletResist,
141-
TFCond_SmallBlastResist,
142-
TFCond_SmallFireResist,
143-
TFCond_Stealthed, // 64
144-
TFCond_MedigunDebuff,
145-
TFCond_StealthedUserBuffFade,
146-
TFCond_BulletImmune,
147-
TFCond_BlastImmune,
148-
TFCond_FireImmune,
149-
TFCond_PreventDeath,
150-
TFCond_MVMBotRadiowave,
151-
TFCond_HalloweenSpeedBoost,
152-
TFCond_HalloweenQuickHeal,
153-
TFCond_HalloweenGiant,
154-
TFCond_HalloweenTiny,
155-
TFCond_HalloweenInHell,
156-
TFCond_HalloweenGhostMode,
157-
TFCond_MiniCritOnKill,
91+
TFCond_TmpDamageBonus = 12, //12: Temporary damage buff, something along with attribute 19
92+
TFCond_DeadRingered, //13: Dead Ringer damage resistance, gives TFCond_Cloaked
93+
TFCond_Bonked, //14: Bonk! Atomic Punch effect
94+
TFCond_Dazed, //15: Slow effect, can remove to remove stun effects
95+
TFCond_Buffed, //16: Buff Banner mini-crits, icon, and glow
96+
TFCond_Charging, //17: Forced forward, charge effect
97+
TFCond_DemoBuff, //18: Eyelander eye glow
98+
TFCond_CritCola, //19: Mini-crit effect
99+
TFCond_InHealRadius, //20: Ring effect, rings disappear after a taunt ends
100+
TFCond_Healing, //21: Used for healing, does nothing applying
101+
TFCond_OnFire, //22: Ignite sound and vocals, can remove to remove afterburn
102+
TFCond_Overhealed, //23: Used for overheal, does nothing applying
103+
TFCond_Jarated, //24: Jarate effect
104+
TFCond_Bleeding, //25: Bleed effect
105+
TFCond_DefenseBuffed, //26: Battalion's Backup's defense, icon, and glow
106+
TFCond_Milked, //27: Mad Milk effect
107+
TFCond_MegaHeal, //28: Quick-Fix Ubercharge's knockback/stun immunity and visual effect
108+
TFCond_RegenBuffed, //29: Concheror's speed boost, heal on hit, icon, and glow
109+
TFCond_MarkedForDeath, //30: Fan o' War marked-for-death effect
110+
TFCond_NoHealingDamageBuff, //31: Mini-crits, blocks healing, glow, no weapon mini-crit effects
111+
TFCond_SpeedBuffAlly, //32: Disciplinary Action speed boost
112+
TFCond_HalloweenCritCandy, //33: Halloween pumpkin crit-boost
113+
TFCond_CritCanteen, //34: Crit-boost and doubles Sentry Gun fire-rate
114+
TFCond_CritDemoCharge, //35: Crit glow, adds TFCond_Charging when charge meter is below 75%
115+
TFCond_CritHype, //36: Soda Popper multi-jump effect
116+
TFCond_CritOnFirstBlood, //37: Arena first blood crit-boost
117+
TFCond_CritOnWin, //38: End-of-round crit-boost (May not remove correctly?)
118+
TFCond_CritOnFlagCapture, //39: Intelligence capture crit-boost
119+
TFCond_CritOnKill, //40: Crit-boost from crit-on-kill weapons
120+
TFCond_RestrictToMelee, //41: Prevents switching once melee is out
121+
TFCond_DefenseBuffNoCritBlock, //42: MvM Bomb Carrier defense buff (TFCond_DefenseBuffed without crit resistance)
122+
TFCond_Reprogrammed, //43: No longer functions
123+
TFCond_CritMmmph, //44: Phlogistinator crit-boost
124+
TFCond_DefenseBuffMmmph, //45: Old Phlogistinator defense buff
125+
TFCond_FocusBuff, //46: Hitman's Heatmaker no-unscope and faster Sniper charge
126+
TFCond_DisguiseRemoved, //47: Enforcer damage bonus removed
127+
TFCond_MarkedForDeathSilent, //48: Marked-for-death without sound effect
128+
TFCond_DisguisedAsDispenser, //49: Dispenser disguise when crouching, max movement speed, sentries ignore player
129+
TFCond_Sapped, //50: Sapper sparkle effect in MvM
130+
TFCond_UberchargedHidden, //51: Out-of-bounds robot invulnerability effect
131+
TFCond_UberchargedCanteen, //52: Invulnerability effect and Sentry Gun damage resistance
132+
TFCond_HalloweenBombHead, //53: Bomb head effect (does not explode)
133+
TFCond_HalloweenThriller, //54: Forced Thriller taunting
134+
TFCond_RadiusHealOnDamage, //55: Radius healing, adds TFCond_InHealRadius, TFCond_Healing. Removed when a taunt ends, but this condition stays but does nothing
135+
TFCond_CritOnDamage, //56: Miscellaneous crit-boost
136+
TFCond_UberchargedOnTakeDamage, //57: Miscellaneous invulnerability
137+
TFCond_UberBulletResist, //58: Vaccinator Uber bullet resistance
138+
TFCond_UberBlastResist, //59: Vaccinator Uber blast resistance
139+
TFCond_UberFireResist, //60: Vaccinator Uber fire resistance
140+
TFCond_SmallBulletResist, //61: Vaccinator healing bullet resistance
141+
TFCond_SmallBlastResist, //62: Vaccinator healing blast resistance
142+
TFCond_SmallFireResist, //63: Vaccinator healing fire resistance
143+
TFCond_Stealthed, //64: Cloaked until next attack
144+
TFCond_MedigunDebuff, //65: Unknown
145+
TFCond_StealthedUserBuffFade, //66: Cloaked, will appear for a few seconds on attack and cloak again
146+
TFCond_BulletImmune, //67: Full bullet immunity
147+
TFCond_BlastImmune, //68: Full blast immunity
148+
TFCond_FireImmune, //69: Full fire immunity
149+
TFCond_PreventDeath, //70: Survive to 1 health, then the condition is removed
150+
TFCond_MVMBotRadiowave, //71: Stuns bots and applies radio effect
151+
TFCond_HalloweenSpeedBoost, //72: Speed boost, non-melee fire rate and reload, infinite air jumps
152+
TFCond_HalloweenQuickHeal, //73: Healing effect, adds TFCond_Healing along with TFCond_MegaHeal temporarily
153+
TFCond_HalloweenGiant, //74: Double size, x10 max health increase, ammo regeneration, and forced thirdperson
154+
TFCond_HalloweenTiny, //75: Half size and increased head size
155+
TFCond_HalloweenInHell, //76: Applies TFCond_HalloweenGhostMode when the player dies
156+
TFCond_HalloweenGhostMode, //77: Becomes a ghost unable to attack but can fly
157+
TFCond_MiniCritOnKill, //78: Mini-crits effect
158158
TFCond_DodgeChance, //79
159-
TFCond_ObscuredSmoke = 79,
160-
TFCond_Parachute,
161-
TFCond_BlastJumping,
162-
TFCond_HalloweenKart,
163-
TFCond_HalloweenKartDash,
164-
TFCond_BalloonHead,
165-
TFCond_MeleeOnly,
166-
TFCond_SwimmingCurse,
159+
TFCond_ObscuredSmoke = 79, //79: 75% chance to dodge an attack
160+
TFCond_Parachute, //80: Parachute effect, removed when touching the ground
161+
TFCond_BlastJumping, //81: Player is blast jumping
162+
TFCond_HalloweenKart, //82: Player forced into a Halloween kart
163+
TFCond_HalloweenKartDash, //83: Forced forward if in TFCond_HalloweenKart, zoom in effect, and dash animations
164+
TFCond_BalloonHead, //84: Big head and lowered gravity
165+
TFCond_MeleeOnly, //85: Forced melee, along with TFCond_SpeedBuffAlly and TFCond_HalloweenTiny
166+
TFCond_SwimmingCurse, //86: Swim in the air with Jarate overlay
167167
TFCond_HalloweenKartNoTurn, //87
168-
TFCond_FreezeInput = 87,
169-
TFCond_HalloweenKartCage,
170-
TFCond_HasRune,
171-
TFCond_RuneStrength,
172-
TFCond_RuneHaste,
173-
TFCond_RuneRegen,
174-
TFCond_RuneResist,
175-
TFCond_RuneVampire,
176-
TFCond_RuneWarlock,
177-
TFCond_RunePrecision, // 96
178-
TFCond_RuneAgility,
179-
TFCond_GrapplingHook,
180-
TFCond_GrapplingHookSafeFall,
181-
TFCond_GrapplingHookLatched,
182-
TFCond_GrapplingHookBleeding,
183-
TFCond_AfterburnImmune,
184-
TFCond_RuneKnockout,
185-
TFCond_RuneImbalance,
186-
TFCond_CritRuneTemp,
187-
TFCond_PasstimeInterception,
188-
TFCond_SwimmingNoEffects,
189-
TFCond_EyeaductUnderworld,
190-
TFCond_KingRune,
191-
TFCond_PlagueRune,
192-
TFCond_SupernovaRune,
193-
TFCond_Plague,
194-
TFCond_KingAura,
195-
TFCond_SpawnOutline, //114
196-
TFCond_KnockedIntoAir,
197-
TFCond_CompetitiveWinner,
198-
TFCond_CompetitiveLoser,
199-
TFCond_NoTaunting_DEPRECATED,
200-
TFCond_HealingDebuff = 118,
201-
TFCond_PasstimePenaltyDebuff,
202-
TFCond_GrappledToPlayer,
203-
TFCond_GrappledByPlayer,
204-
TFCond_ParachuteDeployed,
205-
TFCond_Gas,
206-
TFCond_BurningPyro,
207-
TFCond_RocketPack,
208-
TFCond_LostFooting,
209-
TFCond_AirCurrent
168+
TFCond_FreezeInput = 87, //87: Prevents player from using controls
169+
TFCond_HalloweenKartCage, //88: Puts a cage around the player if in TFCond_HalloweenKart, otherwise crashes
170+
TFCond_HasRune, //89: Has a powerup
171+
TFCond_RuneStrength, //90: Double damage and no damage falloff
172+
TFCond_RuneHaste, //91: Double fire rate, reload speed, clip and ammo size, and 30% faster movement speed
173+
TFCond_RuneRegen, //92: Regen ammo, health, and metal
174+
TFCond_RuneResist, //93: Takes 1/2 damage and critical immunity
175+
TFCond_RuneVampire, //94: Takes 3/4 damage, gain health on damage, and 40% increase in max health
176+
TFCond_RuneWarlock, //95: Attacker takes damage and knockback on hitting the player and 50% increase in max health
177+
TFCond_RunePrecision, //96: Less bullet spread, no damage falloff, 250% faster projectiles, and double damage, faster charge, and faster re-zoom for Sniper Rifles
178+
TFCond_RuneAgility, //97: Increased movement speed, grappling hook speed, jump height, and instant weapon switch
179+
TFCond_GrapplingHook, //98: Used when a player fires their grappling hook, no effect applying or removing
180+
TFCond_GrapplingHookSafeFall, //99: Used when a player is pulled by their grappling hook, no effect applying or removing
181+
TFCond_GrapplingHookLatched, //100: Used when a player latches onto a wall, no effect applying or removing
182+
TFCond_GrapplingHookBleeding, //101: Used when a player is hit by attacker's grappling hook
183+
TFCond_AfterburnImmune, //102: Deadringer afterburn immunity
184+
TFCond_RuneKnockout, //103: Melee and grappling hook only, increased max health, knockback immunity, x4 more damage against buildings, and knockbacks a powerup off a victim on hit
185+
TFCond_RuneImbalance, //104: Prevents gaining a crit-boost or Uber powerups
186+
TFCond_CritRuneTemp, //105: Crit-boost effect
187+
TFCond_PasstimeInterception, //106: Used when a player intercepts the Jack/Ball
188+
TFCond_SwimmingNoEffects, //107: Swimming in the air without animations or overlay
189+
TFCond_EyeaductUnderworld, //108: Refills max health, short Uber, escaped the underworld message on removal
190+
TFCond_KingRune, //109: Increased max health and applies TFCond_KingAura
191+
TFCond_PlagueRune, //110: Radius health kit stealing, increased max health, TFCond_Plague on touching a victim
192+
TFCond_SupernovaRune, //111: Charge meter passively increasing, when charged activiated causes radius Bonk stun
193+
TFCond_Plague, //112: Plague sound effect and message, blocks King powerup health regen
194+
TFCond_KingAura, //113: Increased fire rate, reload speed, and health regen to players in a radius
195+
TFCond_SpawnOutline, //114: Outline and health meter of teammates (and disguised spies)
196+
TFCond_KnockedIntoAir, //115: Used when a player is airblasted
197+
TFCond_CompetitiveWinner, //116: Unknown
198+
TFCond_CompetitiveLoser, //117: Unknown
199+
TFCond_NoTaunting_DEPRECATED, //118
200+
TFCond_HealingDebuff = 118, //118: Healing debuff from Medics and dispensers
201+
TFCond_PasstimePenaltyDebuff, //119: Marked-for-death effect
202+
TFCond_GrappledToPlayer, //120: Prevents taunting and some Grappling Hook actions
203+
TFCond_GrappledByPlayer, //121: Unknown
204+
TFCond_ParachuteDeployed, //122: Parachute deployed, prevents reopening it
205+
TFCond_Gas, //123: Gas Passer effect
206+
TFCond_BurningPyro, //124: Dragon's Fury afterburn on Pyros
207+
TFCond_RocketPack, //125: Thermal Thruster launched effects, prevents reusing
208+
TFCond_LostFooting, //126: Less ground friction
209+
TFCond_AirCurrent //127: Reduced air control and friction
210210
};
211211

212212
const float TFCondDuration_Infinite = -1.0;

0 commit comments

Comments
 (0)