Raised This Month: $51 Target: $400
 12% 

FF2 [Subplugin] Phat Rages v0.9.4 (2012/11/29)


Post New Thread Reply   
 
Thread Tools Display Modes
M76030
Senior Member
Join Date: Mar 2014
Location: Demoknighting in Neptuni
Old 08-23-2015 , 07:37   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #51

Hello everyone,

with the new AMS (Ability management system), that allows abilities to be used at the same time, i decided to rewrite this plugin to be compatible with AMS:

These are now the configs for the rages:

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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg5"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg6"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		
		"plugin_name"	"ff2_phatrages"  
	}
Code:
	"abilityX"  
	{
		"name" "rage_delirium"  
		"arg1" ""  //Range
		"arg2" ""  //Duration
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"              
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg6"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg7"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"              
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"  
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg4"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg5"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages" 
	}
Code:
	"abilityX"  
	{
		"name"			"rage_drown"  
		"arg1"			"15"    // Duration    (Duration of drowning effect in seconds.) 
		"arg2"			"600"    // Range    (Range of drowning effect.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"  
	}
Code:
	"abilityX"  
	{
		"name"			"rage_explosion"  
		"arg1"			"400"   // Damage            (Amount of damage delivered by fireball explosion) 
		"arg2"			"400"    // Range            (Range of fireball explosion.)    
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages" 
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg4"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg5"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages" 
	}
( Dont forget to change .smx to .ff2 ;) )

If there are any errors, well free to tell me, i will see and try to fix the ASAP
Attached Files
File Type: smx ff2_phatrages.smx (28.4 KB, 301 views)
File Type: sp Get Plugin or Get Source (ff2_phatrages.sp - 271 views - 46.7 KB)
__________________
Steam Profile: Click here
Youtube Channel (Gameplay): Click here
Youtube Channel (Music): Click here
Twitter: Click here

Last edited by M76030; 08-25-2015 at 07:15.
M76030 is offline
p0008874
Senior Member
Join Date: Jul 2014
Old 08-24-2015 , 22:27   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #52

Quote:
Originally Posted by M76030 View Post
Hello everyone,

with the new AMS (Ability management system), that allows abilities to be used at the same time, i decided to rewrite this plugin to be compatible with AMS:

These are now the configs for the rages:

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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg5"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg6"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		
		"plugin_name"	"ff2_phatrages"  
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg6"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg7"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"              
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg6"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg7"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"              
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"  
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg4"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg5"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages" 
	}
Code:
	"abilityX"  
	{
		"name"			"rage_drown"  
		"arg1"			"15"    // Duration    (Duration of drowning effect in seconds.) 
		"arg2"			"600"    // Range    (Range of drowning effect.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"  
	}
Code:
	"abilityX"  
	{
		"name"			"rage_explosion"  
		"arg1"			"400"   // Damage            (Amount of damage delivered by fireball explosion) 
		"arg2"			"400"    // Range            (Range of fireball explosion.)    
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages" 
	}
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.)
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg4"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg5"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages" 
	}
( Dont forget to change .smx to .ff2 ;) )

If there are any errors, well free to tell me, i will see and try to fix the ASAP
But Where the delirium
p0008874 is offline
M76030
Senior Member
Join Date: Mar 2014
Location: Demoknighting in Neptuni
Old 08-25-2015 , 07:17   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #53

Quote:
Originally Posted by p0008874 View Post
But Where the delirium
here:
Code:
"abilityX"  
	{
		"name" "rage_delirium"  
		"arg1" ""  //Range
		"arg2" ""  //Duration
		
		// Is this a normal E rage? or triggered from the ability management system?
		"arg3"	"1"  // Trigger. 0 = E rage, 1 = triggered by ability management system
		"arg4"	"" // Sound to play (if triggered by ability management system)
		
		// args reserved for the ability management system, if configured to be used with AMS.
		"arg1001"	"" // delay before first use
		"arg1002"	"" // cooldown
		"arg1003"	"" // name
		"arg1004"	"" // description
		"arg1005"	"" // rage cost
		"arg1006"	"" // index for ability in the AMS menu
		"plugin_name"	"ff2_phatrages"              
	}
accidentally putted rage_hellfire twice in my post, have updated it now.
__________________
Steam Profile: Click here
Youtube Channel (Gameplay): Click here
Youtube Channel (Music): Click here
Twitter: Click here
M76030 is offline
Dalix
Member
Join Date: Apr 2014
Location: Hungary
Old 08-26-2015 , 08:27   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #54

L 08/26/2015 - 13:57:23: [SM] Native "IsClientInGame" reported: Client index 0 is invalid
L 08/26/2015 - 13:57:23: [SM] Displaying call stack trace for plugin "freaks/ff2_phatrages.ff2":
L 08/26/2015 - 13:57:23: [SM] [0] Line 898, F:\M7's Server (Freak Fortress)\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\ff2_phat rages.sp::SetExplodeAtClient()
L 08/26/2015 - 13:57:23: [SM] [1] Line 646, F:\M7's Server (Freak Fortress)\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\ff2_phat rages.sp::SetExplosion()
Dalix is offline
M76030
Senior Member
Join Date: Mar 2014
Location: Demoknighting in Neptuni
Old 08-28-2015 , 10:58   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #55

Quote:
Originally Posted by Dalix View Post
L 08/26/2015 - 13:57:23: [SM] Native "IsClientInGame" reported: Client index 0 is invalid
L 08/26/2015 - 13:57:23: [SM] Displaying call stack trace for plugin "freaks/ff2_phatrages.ff2":
L 08/26/2015 - 13:57:23: [SM] [0] Line 898, F:\M7's Server (Freak Fortress)\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\ff2_phat rages.sp::SetExplodeAtClient()
L 08/26/2015 - 13:57:23: [SM] [1] Line 646, F:\M7's Server (Freak Fortress)\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\ff2_phat rages.sp::SetExplosion()
well, i think i fixed it now, can you test it and check if everything is alright?
Attached Files
File Type: sp Get Plugin or Get Source (ff2_phatrages.sp - 248 views - 46.9 KB)
File Type: smx ff2_phatrages.smx (28.4 KB, 255 views)
__________________
Steam Profile: Click here
Youtube Channel (Gameplay): Click here
Youtube Channel (Music): Click here
Twitter: Click here

Last edited by M76030; 08-29-2015 at 14:57.
M76030 is offline
Dalix
Member
Join Date: Apr 2014
Location: Hungary
Old 08-28-2015 , 13:13   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #56

ok, i tested everything

still this error and this print to server:

[sarysapub3] ERROR: Could not find .ff2:_CanInvoke()
Dalix is offline
M76030
Senior Member
Join Date: Mar 2014
Location: Demoknighting in Neptuni
Old 08-29-2015 , 14:58   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #57

Quote:
Originally Posted by Dalix View Post
ok, i tested everything

still this error and this print to server:

[sarysapub3] ERROR: Could not find .ff2:_CanInvoke()
can you test it again? i should have fixed it by now, together with another bug related to the drug timer, which wasnt resetted correctly
(i updated the plugins on the first response comment)
__________________
Steam Profile: Click here
Youtube Channel (Gameplay): Click here
Youtube Channel (Music): Click here
Twitter: Click here

Last edited by M76030; 08-29-2015 at 14:58.
M76030 is offline
Dalix
Member
Join Date: Apr 2014
Location: Hungary
Old 08-29-2015 , 15:28   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #58

ok, i tested everything again

scaleboss, scaleplayers and explosion not working

delirium fixed
Dalix is offline
M76030
Senior Member
Join Date: Mar 2014
Location: Demoknighting in Neptuni
Old 10-14-2015 , 11:46   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #59

Here is another addition to the subplugin (included by SHADoW, made by Sarysa), the safe resizing code, so that it prevents resizing in situations where players would get stuck
Edit: it will also update the hitbox if resized correctly.
Attached Files
File Type: smx ff2_phatrages.smx (32.4 KB, 563 views)
File Type: sp Get Plugin or Get Source (ff2_phatrages.sp - 660 views - 56.9 KB)
__________________
Steam Profile: Click here
Youtube Channel (Gameplay): Click here
Youtube Channel (Music): Click here
Twitter: Click here

Last edited by M76030; 10-14-2015 at 11:48.
M76030 is offline
Transit Of Venus
Senior Member
Join Date: May 2014
Location: Australia
Old 10-28-2015 , 07:41   Re: [Subplugin] Phat Rages v0.9.4 (2012/11/29)
Reply With Quote #60

This broke Resizing, Explosion.
__________________

Click on the banner to explore my servers and more
Transit Of Venus is offline
Send a message via ICQ to Transit Of Venus Send a message via Skype™ to Transit Of Venus
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:29.


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