View Single Post
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 08-19-2015 , 11:14   Re: [Subplugin] War3 Ability Pack
Reply With Quote

REQUIRES ff2_ams.inc TO COMPILE!

v1.3:
  • Rewritten in modern syntax

v1.2.4:
Spoiler


v1.2.3:
Spoiler


Older:
Spoiler


To use it with the Ability Management System, it requires Epic Scout's subplugin:
Spoiler


So here are the new additional args for teleport_config, chainlightning_config, and entangle_config:

entangle_config:

Code:
	"abilityX"  
	{  
		"name" "entangle_config"  
		"arg1"	"1"		// ActivationKey     (1 = LeftClick. 2 = RightClick. 3 = ReloadButton. 4 = Special, 5 = Use) 
		"arg2"	"3"		// No. of Skills     (No. of skill to be given per rage) 
		"arg3"	"5.0"	// Entangle Time        (No. of seconds that will Entangle the entangled player.) 
		"arg4"	"1"		// Should skills stack? 1 - yes, 0 - no

		"arg6"	"0"		// Entangle prevents player from firing weapon? 1: yes, 0: no

		// args 7-10 are for entangle beam color
		"arg7"	"0"		// RED value (0-255)
		"arg8"	"0"		// GREEN value (0-255)				
		"arg9"	"0"		// BLUE value (0-255)
		"arg10"	"0"		// ALPHA value (0-255)

		// args reserved for the ability management system 
		"arg1001"    "0.0" // delay before first use 
		"arg1002"    "30.0" // cooldown 
		"arg1003"    "Entangle" // name 
		"arg1004"    "Entangle Players" // description 
		"arg1005"    "50" // rage cost 
		"arg1006"    "0" // index for ability in the AMS menu 
      
		"plugin_name"    "ff2_otokiru_wc3"  
 	}
teleport_config:

Code:
    "abilityX"  
    {  
		"name" "teleport_config"  
		"arg1"	"2"		// ActivationKey     (1 = LeftClick. 2 = RightClick. 3 = ReloadButton. 4 = Special, 5 = Use) 
		"arg2"	"2"		// No. of Skills     (No. of skill to be given per rage) 
		"arg3"	"9999.0"	// Teleport Distance    (No. of max distance that the hale can teleport to.)        
		"arg4"	"1"		// Should skills stack? 1 - yes, 0 - no
		
		// args reserved for the ability management system 
		"arg1001"    "0.0" // delay before first use 
		"arg1002"    "30.0" // cooldown 
		"arg1003"    "Teleport" // name 
		"arg1004"    "Teleport where you are aiming at" // description 
		"arg1005"    "25" // rage cost 
		"arg1006"    "1" // index for ability in the AMS menu 
      
		"plugin_name"    "ff2_otokiru_wc3"  
    }
chainlightning_config:

Code:
    "abilityX"  
    {  
		"name" "chainlightning_config"  
		"arg1"	"4"		// ActivationKey     (1 = LeftClick. 2 = RightClick. 3 = ReloadButton. 4 = Special, 5 = Use) 
		"arg2"	"1"		// No. of Skills     (No. of skill to be given per rage) 
		"arg3"	"9999.0"	// UNKNOWN Distance    (No. of max UNKNOWN distance that either the hale can cast or the lightning can be bounce.)                
		"arg4"  "100" // No. of damage that will be dealt on players. Damage is UNSTABLE, if you set 100, it could damage user around 50~150 and sometimes instant-kill. LOL!) 
		"arg5"	"1"		// Should skills stack? 1 - yes, 0 - no
		
		// args reserved for the ability management system 
		"arg1001"    "0.0" // delay before first use 
		"arg1002"    "30.0" // cooldown 
		"arg1003"    "Chain Lightning" // name 
		"arg1004"    "Summon Lightning" // description 
		"arg1005"    "10" // rage cost 
		"arg1006"    "2" // index for ability in the AMS menu 
      
		"plugin_name"    "ff2_otokiru_wc3"  
    }

The other config settings have remained unchanged.

TO-DO:
  • Fix the unstable chain lightning damage
  • Port sarysa's safer method for teleport skills
  • Add a cooldown timer between uses
Attached Files
File Type: zip ff2_otokiru_wc3_v1.3.zip (257.8 KB, 568 views)
__________________

Last edited by 93SHADoW; 09-07-2020 at 19:50. Reason: Updated plugin
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW