View Single Post
naris
AlliedModders Donor
Join Date: Dec 2006
Old 05-25-2010 , 14:44   Re: [TF2] The Amplifier
Reply With Quote #106

Quote:
Originally Posted by PMAvers View Post
Since there seems to be cvars for just about everything else, any chance for one that changes the Amplifier's build time?
Amplifiers don't actually get built. A dispenser gets built and then, after it has finished building, it gets converted to a dispenser. However, I suppose you could modify the DispCheckStage1() and/or DispCheckStage2() to "change the build time". If you want it to be longer, change the 4.0 second delay where it creates the time for DispCheckStage1. I don't think making the build time shorter than the time to build the underlying dispenser would work very well, but you could try.

Thee are also TF2 convars that can be used to change the build time globally.

Quote:
Originally Posted by PMAvers View Post
Also, any chance for a full list of effects that it can dispenses?
Any of the TF2 conditions:
PHP Code:
enum TFCond
{
    
TFCond_Slowed 0,
    
TFCond_Zoomed// 1
    
TFCond_Disguising// 2
    
TFCond_Disguised// 3
    
TFCond_Cloaked// 4
    
TFCond_Ubercharged// 5
    
TFCond_TeleportedGlow// 6
    
TFCond_Taunting// 7
    
TFCond_UberchargeFading// 8
    
TFCond_Unknown1// 9
    
TFCond_Teleporting// 10
    
TFCond_Kritzkrieged// 11
    
TFCond_Unknown2// 12
    
TFCond_DeadRingered// 13
    
TFCond_Bonked// 14
    
TFCond_Dazed// 15
    
TFCond_Buffed// 16
    
TFCond_Charging// 17
    
TFCond_DemoBuff// 18
    
TFCond_Healing// 19
    
TFCond_OnFire//20
    
TFCond_Overhealed// 21
    
TFCond_Jarated // 22
}; 
However, a lot of those are either not very useful or don't really do anything when the condition is added directly to the player.

The most useful ones are:
PHP Code:
enum TFCond
{
    
TFCond_Slowed 0,
    
TFCond_Disguised// 3
    
TFCond_Cloaked// 4
    
TFCond_Ubercharged// 5
    
TFCond_Taunting// 7
    
TFCond_Kritzkrieged// 11
    
TFCond_Bonked// 14
    
TFCond_Buffed// 16
    
TFCond_OnFire//20
    
TFCond_Jarated // 22
}; 
Also, there is additional code so that OnFire uses TF2_IgnitePlayer() and both Disguised and Cloaked turn the condition off, instead of on.

Taunt sends a taunt command to the client (which is actually probably too OP to be useful)

These conditions are sent to enemies instead of allies:
PHP Code:
 TFCond_SlowedTFCond_ZoomedTFCond_TeleportedGlow,
 
TFCond_TauntingTFCond_BonkedTFCond_DazedTFCond_OnFire,
 
TFCond_JaratedTFCond_DisguisedTFCond_Cloaked

Last edited by naris; 05-25-2010 at 15:58.
naris is offline