AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 [Subplugin] Lifeloss Regeneration v1.0.6 (https://forums.alliedmods.net/showthread.php?t=330457)

SammCheese 02-04-2021 21:52

[Subplugin] Lifeloss Regeneration v1.0.6
 
4 Attachment(s)
Im basically just reinventing the Wheel, but I've found the Original Lifeloss to be quite boring, so thats why i made This!

The Normal FF2 Lifeloss would just Refill the Bossbar instantly, this Plugin sets your HP to 1 when you would normally Die (invulnerability), and then Smoothly Regenerates your Health back to Max Health.

EDIT: NOW FEATURING A FAKE ROUNDEND!
>Example Video with the Fake Roundend

As of now, BatFox updated Unofficial FF2 to Update Healthbar with FF2_SetBossHealth, this Ability no longer requires a different version or the Fix stated before.
(You need the latest version of FF2Bat though)


Usage:
Code:

"abilityX"
{
    "name"    "lifeloss_regen"
 
    "arg1"      "Int for lives"    // 1 = 0 refills, 2 = 1 refills, etc.
    "arg2"      "0"                // 0 = No Attacking but Moving, 1 = Complete Freeze including Attacking, 2 and above = No Impairment
    "arg3"      "3.0"              // Time in s after which it starts Refilling Health
    "arg4"      "0"                // Enable Fake End
    "arg5"      "path/to/sound/"    // if arg4 enabled, Path to sound triggered after full refill (i.e freak_fortress_2/hale/file.mp3)
    "arg6"      "path/to/sound/"    // if arg4 enabled, Path to sound triggered after health sinks to 1
    "arg7"      "path/to/sound/"    // if arg4 enabled, Path to sound triggered after Players are Respawned

    "plugin_name"    "mmHealthRefill"
}

An Example with 3 Lives can be Found here

Changelog:
  • 1.0.1: Added Arg2. Refill Impairment selection.
  • 1.0.2: Removed FF2_HPBarUpdate call, as its unnecessary in FF2Bats latest update
  • 1.0.3: Added Fake Roundend
  • 1.0.4: More Sound Support
  • 1.0.5: Fixed Mistake causing Sounds to not get Precached
  • 1.0.6: Fixed another Mistake causing sounds to not get Precached

If you encounter any bugs or some things dont work correctly let me know!

LeAlex14 02-05-2021 03:26

Re: [Subplugin] Lifeloss Regeneration v1
 
Quote:

Originally Posted by SammCheese (Post 2735754)
Im basically just reinventing the Wheel, but I've found the Original Lifeloss to be quite boring, so thats why i made This!

The Normal FF2 Lifeloss would just Refill the Bossbar instantly, this Plugin sets your HP to 1 when you would normally Die (invulnerability), and then Smoothly Regenerates your Health back to Max Health.

Due to a Feature missing in Unofficial and Official FF2, My Version of Unofficial FF2 is Needed.

(its merely a native for Updating Health, since usually FF2 only updates the Boss Health Bar on taking a Hit)

Usage:
Code:

"abilityX"
{
  "name"    "lifeloss_regen"

    "arg1"    "2"    // Lives, 1 = 0 "Refills", 2 = 1 Refills, 3 = 2, etc.

    "plugin_name"    "mmHealthRefill"
}

An Example with 3 Lives can be Found here

If you encounter any bugs or some things dont work correctly let me know!

Really good works. I really like what it makes in game, could you make a version that allows the boss to move but not attack?

J0BL3SS 02-05-2021 04:03

Re: [Subplugin] Lifeloss Regeneration v1
 
Quote:

Originally Posted by SammCheese (Post 2735754)
Im basically just reinventing the Wheel, but I've found the Original Lifeloss to be quite boring, so thats why i made This!

The Normal FF2 Lifeloss would just Refill the Bossbar instantly, this Plugin sets your HP to 1 when you would normally Die (invulnerability), and then Smoothly Regenerates your Health back to Max Health.

Due to a Feature missing in Unofficial and Official FF2, My Version of Unofficial FF2 is Needed.

(its merely a native for Updating Health, since usually FF2 only updates the Boss Health Bar on taking a Hit)

Usage:
Code:

"abilityX"
{
  "name"    "lifeloss_regen"

    "arg1"    "2"    // Lives, 1 = 0 "Refills", 2 = 1 Refills, 3 = 2, etc.

    "plugin_name"    "mmHealthRefill"
}

An Example with 3 Lives can be Found here

If you encounter any bugs or some things dont work correctly let me know!

Like a more eye-catching and slightly lookig better.
sadly Batfoxkid's Fork don't have FF2_HPBarUpdate() stock funtion.

SammCheese 02-05-2021 06:12

Re: [Subplugin] Lifeloss Regeneration v1
 
Quote:

Originally Posted by J0BL3SS (Post 2735775)
Like a more eye-catching and slightly lookig better.
sadly Batfoxkid's Fork don't have FF2_HPBarUpdate() stock funtion.


Yeah sadly, although its fairly easy to add it yourself.
I created an Issue on Unofficial FF2 to request it

SammCheese 02-05-2021 08:23

Re: [Subplugin] Lifeloss Regeneration v1
 
Quote:

Originally Posted by LeAlex14 (Post 2735772)
Really good works. I really like what it makes in game, could you make a version that allows the boss to move but not attack?

Added Support for that In Update!

J0BL3SS 02-05-2021 10:17

Re: [Subplugin] Lifeloss Regeneration v1
 
Quote:

Originally Posted by SammCheese (Post 2735792)
Added Support for that In Update!

more arguments are always good. Increasing the usability of a subplugin would be good for any use.

and every fork updates healthbar when boss takes damage right?

SammCheese 02-05-2021 17:21

Re: [Subplugin] Lifeloss Regeneration v1
 
Quote:

Originally Posted by J0BL3SS (Post 2735804)
more arguments are always good. Increasing the usability of a subplugin would be good for any use.

and every fork updates healthbar when boss takes damage right?

That should be Correct, although most Forks dont need the Hale to Take damage but rather just get Hit.

SammCheese 03-07-2021 15:35

Re: [Subplugin] Lifeloss Regeneration v1.0.6
 
Fake Roundend now available!

Joaquel 03-10-2021 22:20

Re: [Subplugin] Lifeloss Regeneration v1.0.6
 
I'm having this problem:

Quote:

[SM] Plugin freaks\mmHealthRefill.ff2 failed to load: Native "TF2Attrib_AddCustomPlayerAttribute" was not found.

J0BL3SS 03-11-2021 00:08

Re: [Subplugin] Lifeloss Regeneration v1.0.6
 
Quote:

Originally Posted by Joaquel (Post 2740041)
I'm having this problem:

Mae sure you have tf2attributes downloaded.


All times are GMT -4. The time now is 10:33.

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