View Single Post
Sam-1-14
Member
Join Date: May 2010
Old 06-06-2010 , 00:40   Re: [TF2] The Amplifier
Reply With Quote #109

Quote:
Originally Posted by naris View Post
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.



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
Valve made some changes to those
jarate is now 23
onfire 21
overheal 22
healing 20
crit-a-cola 19
EDIT: and to those of you who want to 'balance' out the amp, use "amplifier_condition 19"

Last edited by Sam-1-14; 06-06-2010 at 13:39.
Sam-1-14 is offline