AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 [SUBPLUGIN] Thruster v1.1 (https://forums.alliedmods.net/showthread.php?t=316837)

kking117 06-12-2019 23:11

[SUBPLUGIN] Thruster v1.1
 
2 Attachment(s)
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:
Quote:

  • None for now.

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.


Batfoxkid 06-13-2019 01:50

Re: [SUBPLUGIN] Thruster
 
Holy crap!

The Great Weegee 06-13-2019 14:15

Re: [SUBPLUGIN] Thruster
 
Holy shit, is this another way of mobility?!
Looks good, will test soon.

Epicman. 06-14-2019 01:22

Re: [SUBPLUGIN] Thruster
 
yo this looks really cool, makes me want to make another boss again with this

The Great Weegee 07-07-2019 17:16

Re: [SUBPLUGIN] Thruster
 
Can I ask about one bug? Boss only launch once in the air and I can't use the additional launches, even with arg4 set at 0.

kking117 07-12-2019 06:56

Re: [SUBPLUGIN] Thruster
 
Quote:

Originally Posted by The Great Weegee (Post 2658177)
Can I ask about one bug? Boss only launch once in the air and I can't use the additional launches, even with arg4 set at 0.

It worked fine when I tried it, I believe this may have to do with how diminishing values work. If the vertical blast force gets below 450 you can no longer use it until landing.

But just to make sure, I would like to see the thruster configuration for the boss this happened on.

The Great Weegee 07-14-2019 16:46

Re: [SUBPLUGIN] Thruster
 
It was at the 600, as I remember what I set, but I think I will try it at the 500 or something, and then tell. Possibly it's a glitch, or maybe I set it too low.

The Great Weegee 07-25-2019 06:51

Re: [SUBPLUGIN] Thruster
 
Sorry, returned with news - I thought that I can use additional charges IMMEDIATELY, rather than charging them again.
I have a suggestion - can you make that boss can passively stack up charges like the actual Thermal Thruster?

kking117 08-05-2019 08:34

Re: [SUBPLUGIN] Thruster v1.1
 
The ability has been updated to allow storing multiple charges as The Great Weegee suggested. This update as you would expect, changes how the ability configuration is done so be sure to update your boss configs as well.

The Great Weegee 08-06-2019 06:59

Re: [SUBPLUGIN] Thruster v1.1
 
Sweet! Many thanks for this ability!


All times are GMT -4. The time now is 06:37.

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