Raised This Month: $ Target: $400
 0% 

FF2 [FF2R] Do Slot Subplugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Essex
Junior Member
Join Date: May 2020
Old 06-14-2025 , 14:07   [FF2R] Do Slot Subplugin
Reply With Quote #1

This ability allows you to use boss abilities by slots. (Only works with Freak Fortress 2: Rewrite)


Rage doslot
Trigger ability slot after a delay when rage is activated.

Code:
"rage_doslot"	// Ability name can use suffixes
 {
    "slot"		    "0"		// Ability Slot

    "delay"		    "3.0"		// Delay before using slot ability
    "doslot"		    "20"		// Trigger Slot

    "plugin_name"   "ff2r_doslot"
 }

Passive doslot
Trigger ability slot after a delay from the start of the round.

Code:
"passive_doslot"
 {
    "max"		      "3"		// Max slot count of this ability

    "delay1"	      "3.0"		// Delay before using slot ability
    "doslot1"	      "20"		// Trigger Slot

    "delay2"	      "3.0"		// Delay before using slot ability
    "doslot2"	      "20"		// Trigger Slot

    "delay3"	      "3.0"		// Delay before using slot ability
    "doslot3"	      "20"		// Trigger Slot

    "plugin_name"     "ff2r_doslot"
 }

On kill class doslot
Trigger ability slot upon killing a specific enemy class.

Code:
"kill_class_doslot"
 {
    "scout"                "20"
    "soldier"              "21"
    "pyro"                 "22"
    "demoman"         "23"
    "heavy"               "24"
    "medic"               "25"
    "sniper"               "26"
    "engineer"           "27"
    "spy"                   "28"
    "cooldown"          "3.0"

    "plugin_name"     "ff2r_doslot"
 }

Rage charge doslot
Grants charge of abilities that can be trigger ability slot with a button press.

Code:
"rage_charge_doslot"	// Ability name can use suffixes
 {
    // you can have charge slot up to 3 at the same time

    "slot"		            	"0"			// Ability Slot

    "doslot"		          	"20"		  	// Trigger Slot (example: if ion cannon is on slot 20)
    "ragecost"			"0.0"			// Mininum rage cost for using ability (0 = no rage cost)
    "amount"		        "5"	      		// Amount of charge to use
    "cooldown"		        "3.0"		  	// Cooldown time before using the ability again
    "buttonmode"	        "2"		    	// ActivationKey  (1 = RightClick. 2 = ReloadButton. 3 = Special)
    "hud_message"	        "%d Ion Cannon Left Press Reload to use"		// Show HUD message when ability is used
    "hud_message_color"	"0 ; 255 ; 0"	// HUD message color (RGB format)
    "hud_cooldown_color"	"255 ; 0 ; 0"	// HUD cooldown color (RGB format)

    "plugin_name"         	"ff2r_doslot"
 }
Attached Files
File Type: smx ff2r_doslot.smx (16.2 KB, 19 views)
File Type: sp Get Plugin or Get Source (ff2r_doslot.sp - 23 views - 15.0 KB)
__________________

Last edited by Essex; 06-16-2025 at 10:41. Reason: adding ragecost for trigger sub abilities
Essex is offline
shotgiy12
Junior Member
Join Date: Dec 2014
Old 06-15-2025 , 13:38   Re: [FF2R] Do Slot Subplugin
Reply With Quote #2

This is incredibly good, but it would be perfect if rage_charge_doslot could also be attached to potentially having a rage cost to use the sub abilities, none the less this is a fantastical plugin.
__________________
I'm an idiot
shotgiy12 is offline
Essex
Junior Member
Join Date: May 2020
Old 06-16-2025 , 10:54   Re: [FF2R] Do Slot Subplugin
Reply With Quote #3

Changelog 1.0.1
- adding "ragecost" for using sub ability in "rage_charge_doslot" from shotgiy12 request
- fixing typo "bottonmode" to "buttonmode" (me stupid ahh)

screenshot of rage_charge_doslot HUD
__________________

Last edited by Essex; 06-16-2025 at 10:55.
Essex is offline
Tim q
Senior Member
Join Date: Aug 2020
Location: Poland
Old 06-17-2025 , 17:50   Re: [FF2R] Do Slot Subplugin
Reply With Quote #4

Wow its awesome work, you did literaly what i wanted to have! Great!
__________________
My ff2 server ip: 81.210.88.97:29000

My discord: timq

Tim q is offline
Reply


Thread Tools
Display Modes

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 08:01.


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