Raised This Month: $51 Target: $400
 12% 

Can anyone explain why the default health formula for ff2 is ((760+n)*(n-1))^1.075)?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
epicwindow
Senior Member
Join Date: Jan 2018
Old 04-26-2018 , 13:11   Can anyone explain why the default health formula for ff2 is ((760+n)*(n-1))^1.075)?
Reply With Quote #1

why not just 2000 hp per player?it is because it wont scale when theres only a few people?

also is this (old) health formula better?((750+n)*n)^1.04"
__________________
My FF2 server @[]
TL;DR my server aims for quality then quantity
epicwindow is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-26-2018 , 21:00   Re: Can anyone explain why the default health formula for ff2 is ((760+n)*(n-1))^1.07
Reply With Quote #2

Because players damaging the boss can be exponential. Why its 750+n i have no idea, perhaps to add more of a increased feeling?
Mitchell is offline
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 04-27-2018 , 16:32   Re: Can anyone explain why the default health formula for ff2 is ((760+n)*(n-1))^1.07
Reply With Quote #3

The health formula was changed to match the default health formula of VS Saxton Hale.

In this case, it's actually (((760+n)*(n-1))^1.07)+2048, in which in this case, n stands for players alive. The health formula is done exponentially, but you can also put any other health formulas that you wish to use, as the health formula calculator was upgraded to allow different health formulas.

Here's an example:

(((760+n)*(n-1))^1.07)+2048, where n = 1 as n stands for number of players alive at round start, so in this case, you would get 2048 as it is multiplying by zero, as done by (n-1), as it would be (1-1).
So (((760+1)*(1-1))^1.07)+2048 would result in 0+2048, resulting in 2048 health.

Other health formulas you can do is

2000*n, where the health is multiplied by number of players.

Or you can use a fixed health formula, such as 10000, which will be 10000 no matter how many players alive there are at the start of the round.

When wanting to change the health formula for your boss, just override it on your config by adding this:
Code:
    "health_formula"    "<your health formula>"
__________________

Last edited by 93SHADoW; 04-27-2018 at 16:38.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
epicwindow
Senior Member
Join Date: Jan 2018
Old 04-28-2018 , 15:59   Re: Can anyone explain why the default health formula for ff2 is ((760+n)*(n-1))^1.07
Reply With Quote #4

thanks man,do you have idea how to make all bosses get the attribute "see enemy health?"i tried editing ff2.sp but it didnt work

if(attributes[0]!='\0')
{
Format(attributes, sizeof(attributes), "68 ; %i ; 2 ; 3.1 ; 269 ; 1 ; %s", TF2_GetPlayerClass(client)==TFClass_Scout ? 1 : 2 ,attributes);
//68: +2 cap rate
//2: x3.1 damage
}
else
{
Format(attributes, sizeof(attributes), "68 ; %i ; 2 ; 3.1 ; 269 ; 1", TF2_GetPlayerClass(client)==TFClass_Scout ? 1 : 2);
//68: +2 cap rate
//2: x3.1 damage
}
__________________
My FF2 server @[]
TL;DR my server aims for quality then quantity
epicwindow is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:39.


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