Do Not Click On The Honey Pot !

Pow

General discussions about the tennis games Tennis Elbow
Forum rules
Speak English and don't hijack topics, troll, use profanities nor insults

Pow

Postby Srikanth » 06 Sep 2025, 07:44

Hello,

For normalization, I found this in one of the topics.

between MiddleRank & number 1, the player strength = pow(1 - Rank / MiddleRank, HighPower) * HighNorm.

So if I have MiddleRank as 75, player rank as 60, HighPower as 1.25 and HighNorm as 0.87, the calculation is

pow(1 - 60/75, 1.25) * 0.87
That is pow(0.2,1.25) * 0.87
That is 0.133 * 0.87 =0.116

But isn’t 0.116 very low for player ranked 60. How does the pow function work. Could you please give me an example with numbers? I need to understand it for creating my mod.

Thanks!!
Srikanth
Guest
 

Re: Pow

Postby manutoo » 07 Sep 2025, 06:03

Hello,

indeed that formula was incorrect. The correct one is :

Norm = Lerp(MidNorm, HighNorm, Pow((Rank - MiddleRank) / (1 - MidNorm), HighPower));
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 20276
Gaming Since: 24 Jan 2004, 15:38
Location: France


Return to Tennis Elbow 4

Who is online

Users browsing this forum: ClaudeBot and 14 guests