AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 [Subplugin] Phat Rages v0.9.4 (2012/11/29) (https://forums.alliedmods.net/showthread.php?t=198712)

jasonfrog 10-19-2012 17:36

[Subplugin] Phat Rages v0.9.4 (2012/11/29)
 
3 Attachment(s)
FF2 Phat Rages Ability Pack. (Latest Version: v0.9.4)
Credits to frog,Kemsan,Peace Maker,LeGone & RainBolt Dash

This ability pack contains both new and variations of existing rages. Rage_Deliirum and Rage_Hellfire includes code by Kemsan with permission.
These rages have ranges that can be set independently of the default rage, this is to allow for more variation when abilities are stacked together.

Note to boss makers:
Where possible please link to this thread instead of including the plugin in your posts and archives.

Installation:
  • ff2_phatrages.ff2 -> plugins/freaks/
  • ff2_phatrages.sp -> scripting/
This ability pack consists of:
  • Rage_IonCannon - Fires an ion cannon where the boss is standing or looking. Configurable aim, damage, blast radius and time.
  • Rage_Delirium - Induces some heavy delirium (drugs) to players within a radius of the boss. Configurable range and duration.
  • Rage_Hellfire - Ignites players within a radius of the boss. Configurable range, damage, afterburn damage and afterburn duration.
  • Rage_ScaleBoss - Resize the boss. Configurable size and duration.
  • Rage_ScalePlayers - Resize the players. Configurable size, radius and duration.
  • Rage_Drown - Drowns players within a radius of the boss, Configurable range and duration.
  • Rage_Explosion - Fireball explosion within a radius of the boss. Configurable range, damage and sound.
  • Rage_VisualEffect - Displays an animated visual effect overlay to players within a radius of the boss. Forces a player to first person view, so that the effect affects them.
  • Bonus feature - Infinite Ullapool Caber, any boss that has the Ullapool Caber as their melee weapon will be able to use it's explosive power repeatedly.



CFG Configs:
Replace X with ability number.

Rage_IonCannon
PHP Code:

    "abilityX" 
    

        
"name"            "rage_ioncannon" 
        "arg1"            "5"    
// Timer    (How long it takes for the ion cannon blast to hit it's target in seconds.)
        
"arg2"            "500"    // Blast Radius    (Blast radius in units.)
        
"arg3"            "800"    // Blast Damage    (Amount of damage delivered by the blast.)
        
"arg4"            "0"    // Aim Mode     (0 = ion cannon is aimed at where boss is standing. 1 = ion cannon is aimed at where boss is looking.)
        
"plugin_name"     "ff2_phatrages" 
    


Rage_Delirium
PHP Code:

    "abilityX" 
    

        
"name"            "rage_delirium" 
        "arg1"            "1000"    
// Sick Radius    (Range of sickness effect in units.)
        
"arg2"            "10"    // Duration    (Duration of sickness in seconds.)
        
"plugin_name"     "ff2_phatrages" 
    


Rage_Hellfire
PHP Code:

    "abilityX" 
    

        
"name"            "rage_hellfire" 
        "arg1"            "1"    
// Sound             (0 = No flame sound. 1 = Play flame sound.) 
        
"arg2"            "30"   // Damage        (Amount of damage delivered by the initial fire blast.)
        
"arg3"            "700"  // Range            (Radius of fire blast.)
        
"arg4"            "10"   // Afterburn Damage    (Amount of damage delivered by afterburn.)
        
"arg5"            "5"    // Afterburn Duration     (Duration of afterburn in seconds.)
        
"plugin_name"     "ff2_phatrages"             
    


Rage_ScaleBoss
PHP Code:

    "abilityX" 
    

        
"name"             "rage_scaleboss" 
        "arg1"             "2.0"    
// Scale Factor    (Resize the boss by this factor.)
        
"arg2"             "7"    // Duration    (Duration of resized effect in seconds.)
        
"plugin_name"      "ff2_phatrages" 
    


Rage_ScalePlayers
PHP Code:

    "abilityX" 
    

        
"name"             "rage_scaleplayers" 
        "arg1"             "2.0"    
// Scale Factor    (Resize players by this factor.)
        
"arg2"             "7"    // Duration    (Duration of resized effect in seconds.)
        
"arg3"             "400"    // Range    (Range of resizing effect.)
        
"plugin_name"      "ff2_phatrages"
    


Rage_Drown
PHP Code:

    "abilityX" 
    

        
"name"            "rage_drown" 
        "arg1"            "15"    
// Duration    (Duration of drowning effect in seconds.)
        
"arg2"            "600"    // Range    (Range of drowning effect.)
        
"plugin_name"     "ff2_phatrages" 
    


Rage_Explosion
PHP Code:

    "abilityX" 
    

        
"name"            "rage_explosion" 
        "arg1"            "400"   
// Damage            (Amount of damage delivered by fireball explosion)
        
"arg2"            "400"    // Range            (Range of fireball explosion.)   
        
"arg3"            "freak_fortress_2\creeper\explode1.mp3" (Sound to be played along with explosionLeave as "" for no sound.)
        
"plugin_name"     "ff2_phatrages"
    


Rage_VisualEffect
PHP Code:

    "abilityX" 
    

        
"name"            "rage_visualeffect" 
        "arg1"            "0"   
// Visual Effect            (0-8 Choice of visual effect, see below.)
        
"arg2"            "10"    // Duration    (Duration of visual effect in seconds.) 
        
"arg3"            "600"    // Range    (Range of visual effect.)
        
"plugin_name"     "ff2_phatrages"
    
}

Effects:
extreme fish eye
central screen crunch
rainbow flashes                    
fire flashes                    
blue/green flashes                    
blue/green web                    
central fire ball                    
opaque golden madness                     
transparent tv static 

ChangeLog:
v0.9.4: Fixed afterburn effect running after Boss death.
v0.9.3: Stopped AcceptEntityInput running on invalid/dead clients.
v0.9.2: Fixed server crash due to lack of pre-caching of rock model in Rage_IonCannon.
v0.9.1: Added Rage_VisualEffect.
v0.8.1: Added check for invalid weapon entity.
v0.8: Initial release.

Huntereb 10-19-2012 18:06

Re: [Subplugin] Phat Rages
 
Nice release! I'll probably be using these for my next boss! Thanks!

Elvin1396 10-19-2012 18:13

Re: [Subplugin] Phat Rages
 
thanks, that sorta takes care of one ability for one of my bosses, will impliment after this weekend.

nope.avi 10-19-2012 20:17

Re: [Subplugin] Phat Rages
 
Hint guys:
Theres a boss of mine Jason made, it has phatrages in it!

BBG_Theory 10-19-2012 20:18

Re: [Subplugin] Phat Rages
 
whats up with scalerage? is that a typo in the ability slot number line?

"ability[i]n/[i]"

jasonfrog 10-19-2012 20:22

Re: [Subplugin] Phat Rages
 
Quote:

Originally Posted by BBG_Theory (Post 1821968)
whats up with scalerage? is that a typo in the ability slot number line?

"ability[i]n/[i]"

Typo, now fixed.

BBG_Theory 10-19-2012 20:26

Re: [Subplugin] Phat Rages
 
can scale boss and scale player work at the same time? in same boss config?

jasonfrog 10-19-2012 21:02

Re: [Subplugin] Phat Rages
 
Quote:

Originally Posted by BBG_Theory (Post 1821971)
can scale boss and scale player work at the same time? in same boss config?

Yes

Research 10-20-2012 09:57

Re: [Subplugin] Phat Rages
 
Quote:

L 10/20/2012 - 22:13:52: [SM] Displaying call stack trace for plugin "freaks\ff2_phatrages.ff2":
L 10/20/2012 - 22:13:52: [SM] [0] Line 72, D:\server1\addons\sourcemod\scripting\ff2_pha trages.sp::Event_RoundStart()
L 10/20/2012 - 22:15:37: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
and I try use Ioncannon ability, server connection out immediately

jasonfrog 10-20-2012 15:49

Re: [Subplugin] Phat Rages
 
Quote:

Originally Posted by Research (Post 1822231)
and I try use Ioncannon ability, server connection out immediately

I've updated the plugin to handle the invalid entity problem that you quoted from your log.

I'm not sure about server connection timeout issue. Does your server crash or your client just timeout? Is it repeatable? Do you have the latest versions of SDKHooks and TF2items installed? Is there anything else in your Sourcemod log or in your server log?

v0.8.1 released - http://forums.alliedmods.net/showthread.php?t=198712#1

I've been running this plugin, pretty much as it is, on a busy, stable, Linux TF2 server for a month or more.


All times are GMT -4. The time now is 07:54.

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