Thruster v1.1
Description:
This subplugin is designed to be a port of the Pyro's Thermal Thruster in ability form.
Configuration:
thruster_ability
HTML Code:
"abilityx"
{
"name" "thruster_ability"
"arg1" "0" //key used to activate the ability
//0 = attack2
//1 = attack3
//2 = reload
//function
"arg2" "7.5" //How long it takes to regain a charge in seconds(1.5 minimum)
"arg3" "0.0" //The amount of rage consumed and required on use(0.0 will disable this)
"arg4" "2.0" //How many charges that can be stored
"arg5" "1.0" //How many charges to be given at the start of the round
"arg6" "0.0" //how many times this ability can be used before touching the
//ground (0.0 = infinite use) (1 = once)
"arg7" "-600.0" //diminish rate of launch force when used repeatedly in midair,
//is evenly distributed between args 6, 7 & 8 in a ratio (even with infinite air usage, this will
//make it unusable if the force gets too low)
"arg8" "450.0" //if the vertical launch force gets lower than this from
//diminishing returns then the
//thruster becomes unusable (until touching the ground) (less than 0 disables this)
"arg9" "1100.0" //the vertical launching force of the thruster
"arg10" "700.0" //the horizontal launching force of the thruster
"arg11" "400.0" //the initial launch's vertical force
"arg12" "1.35" //emergency thruster mode velocity multiplier
//this comes into effect when taking environment damage
//becomes active once the boss has taken 100 environment damage over the course of 1 second
//emergency thruster mode lasts for 5 seconds upon being triggered or taking the required damage amount again
//if set to 0.0 then emergency mode is not used
//this skips the initial launch sequence and goes straight to the blast off (but also adds the velocity of the initial launch)
//cooldown is set to the minimum (1.5 seconds) while in emergency mode
//emergency mode also allows infinite use in midair and has no rage cost
"arg13" "2" //the stun type the boss will be given upon blasting off
//0 = none
//1 = slowdown (probably useless without dynamic defaults)
//2 = stunned walk
//3 = fully stunned
"arg14" "-3.0" //the duration of the stun
//0.0 = stunned until landing on the ground
//>0.0 = stunned for this long
//<0.0 = stunned for this long or until landing on the ground(whichever is sooner)
"arg15" "28 ; -1.5" //addconds to apply when launching (duration uses the same rules as arg14)
"arg16" "3" //enables aoe effects to the thruster on the initial launch, add the numbers together for the desired effects
//1 = burns enemies
//2 = extinguishes allies
//4 = pushes enemies away (since this is based on fall speed usually, it uses the arg9's value but halved instead, arg17 uses fall speed)
"arg17" "4" //same as arg12 but it's applied when hitting the ground
"arg18" "0.0" //hurt nearby enemies from the initial launch (this inflicts fire damage and is relative to distance)
"arg19" "50.0" //hurt nearby enemies from hitting the ground (this inflicts fire damage and is relative to distance)
"arg20" "1" //if arg 18 & 19 are doing more than what is configured set this to 1 (leave as 1 if you're on the default version of ff2)
"arg21" "200.0" //the area of effect distance for args 16 & 17
"arg22" "275.0" //the area of effect distance for args 18 & 19
//graphical and sound
"arg23" "weapons/rocket_pack_boosters_charge.wav" //sound file to use for the initial blast
"arg24" "weapons/rocket_pack_boosters_fire.wav" //sound file to use for the blast off
"arg25" "heavy_ring_of_fire" //particle effect for the initial blast
"arg26" "rockettrail" //the particle effect for the blast off
"arg27" "2" //changes how the blast off particle works
//0 = it plays on the spot where the blast off took place (for explosions and stuff)
//1 = it's attatched to the boss' back and is removed upon landing on the ground (for a thruster effect)
//2 = same as 1 except it's used twice on the left and right of the boss' back
"arg28" "0.9" //height offset multiplier of arg26 if it's set to 1 or 2
//hud
"arg30" "1" //if set to 1 the cooldown will be displayed as a percentage instead of seconds
"arg31" "0.75" //the vertical position of the hud message 0.0 = top of the screen
//remove the last %.0f if rage cost is unused (though it isn't necessary)
"arg32" "Thruster(%i) Unavailable (rage %.0f)" //cooled down but can't use it yet
"arg33" "Thruster(%i) Ready (rage %.0f)\nPress ATTACK2!" //ready to use message
"arg34" "Thruster(%i) %.0f%% Unavailable (rage %.0f)" //same as arg32 except it's used if you're not at max charges
"arg35" "Thruster(%i) %.0f%% Ready (rage %.0f)\nPress ATTACK2!" //same as arg33 except it's used if you're not at max charges
"arg36" "EMERGENCY Thruster %.0f%% Unavailable" //emergency thruster message
"arg37" "EMERGENCY Thruster Ready\nPress ATTACK2!" //emergency thruster message
"plugin_name" "ff2_thruster"
}
Known Bugs:
Version Stuff:
Quote:
1.1 (Latest):- Thruster charges can now be stored up to a customizable amount.
- Thruster charges given at the start of the round can be customized.
- You can now specify the minimum vertical launch force before air thrusters are disabled due to
diminishing returns. (Previously was locked 450.0.)
- If launch force would become negative due to horizontal or vertical configurations or due to
diminishing returns it will simply use your current momentum instead of launching vertical and/or
horizontal. (Backwards launching by pressing +back is still possible.)
1.0:- The first public version.
|