|
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
|
08-19-2015
, 11:14
Re: [Subplugin] War3 Ability Pack
|
|
REQUIRES ff2_ams.inc TO COMPILE!
v1.3: - Rewritten in modern syntax
v1.2.4:
v1.2.3:
Older:
Spoiler
v1.2.2: - Fixed AMS errors (thanks sarysa)
v1.2.1: - Hopefully fixed
frogs errors related to initializing AMS_InitSubAbility()
v1.2: - Just a long overdue update, which allows the hale to have more than 1 type of skill, allows multiple bosses to use any of the abilities, and added support for using it with the Ability Management System. Also has a neater HUD to show how many skills left, and to allow skill stacking.
To use it with the Ability Management System, it requires Epic Scout's subplugin:
Spoiler
Code:
"abilityX"
{
"name" "ability_management_system"
"arg1" "0" // activation key. 0=E, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default)
"arg2" "1" // selection key. 0=not usable, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default)
"arg3" "3" // reverse selection key. 0=not usable, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default) [note: hidden feature, keeping this standard going]
"arg4" "0xc00000" // HUD color (unavailable)
"arg5" "%s (%.0f rage) [RELOAD (R) to change]\n%s\nAbility is currently unavailable." // HUD text format (unavailable)
"arg6" "0xffffff" // HUD color (available)
"arg7" "%s (%.0f rage) [RELOAD (R) to change]\n%s\nAbility is available. (press E)" // HUD text format (available)
"arg8" "0.68" // HUD Y
"arg9" "RAGE Meter: %.0f%%\nHP: %d / %d" // HUD replacement text
"arg10" "0.80" // HUD replacement Y
"plugin_name" "ff2_sarysapub3"
}
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
__________________
Last edited by 93SHADoW; 09-07-2020 at 19:50.
Reason: Updated plugin
|
|
|
|