View Single Post
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 02-23-2022 , 00:57   Special Finisher Ability (Heavy only)
Reply With Quote

I felt like there are moments where Heavies are pretty annoying once they got ton of overheal, so i made this Ability, yes i did take code here and there, authors are credited in the code.
If theres any code from you where i forgot to credit, post a comment and i'll edit this post and add the missing authors.

I kinda said that i didnt want to post stuff in the public anymore but ehm well, dunno hf with this i guess

There are additional features.
When the Heavy is at 330 or below 330 hp, they will not be finished, meaning the melee will not do anything and will deal very low damage or more, you do you

The client will NOT die when Ubercharged, neither when ubercharged later on, Medics or a RTD with UBER can save the client from dying. (Recommended to not use the Host Timescale if you want this to happen often so medics can react or just increase it, works too.)

Anyways these are untested things:

- The Sound arguments (fixed)

-------

Also the Fog doesnt work in the first round eh-.. (Im pretty lazy to fix it A..)

PHP Code:
"abilityX"
    
{
        
"name" "special_finisher_heavy"
        "arg1"    "6.0"                
// Duration.
        
"arg2"    "tf_weapon_fists"    // Melee class name.
        
"arg3"    "5"                    //    Melee index.    
        
"arg4"    "1 ; 0.05"            // Attributes.
        
"arg5"    "2"                    // Slot, 2 = Melee. Do not change
        
"arg6"    "0"                    // Hide the Melee..? Not recommended lol
        
"arg7"    "1"                    // Force equip, eh yes
        
"arg13"    "1.5"                // Stun duration
        
"arg14"    "1.5"                // Delay before the finish. (The USER will not DIE when ubercharged, will automatically stop when it was about to kill the client)
        
"arg15"    "0.1"                // Host Time Scale.
        
"arg16"    ""                    // Global Sound to play when activated.
        
"arg17"    ""                    // Global Sound to play once hitting a heavy 
        
"arg18"     "340.0"                      // at what HP to be allowed to oneshot the heavy
        
        //Fog

        
"arg20"    "0" // blend
        
        // color 1
        
"arg21"    "200"    // blue
        
"arg22"    "0"    // red
        
"arg23"    "0"    //  green
        
        // color 2
        
"arg24"    "200"    // blue
        
"arg25"    "0"    // red
        
"arg26"    "0"    // green
        
        // fog properties
        
"arg28"    "100.0"    // fog start distance
        
"arg29"    "384.0"    // fog end distance
        
"arg30"    "1.0"    // fog density
        
"arg31"    "1.2"    // fog duration

        
"arg40"    "1.2"

        "plugin_name"        "ff2_finisher"
    

Attached Files
File Type: sp Get Plugin or Get Source (ff2_finisher.sp - 115 views - 16.7 KB)
File Type: smx ff2_finisher.smx (13.5 KB, 73 views)
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2

Last edited by UberMedicFully; 02-23-2022 at 09:02. Reason: changes lol
UberMedicFully is offline