Author Topic: Forumula for this point structure  (Read 1405 times)

dniezby

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Forumula for this point structure
« on: August 08, 2010, 02:00:44 PM »
Ok Cory, you've really got this formula stuff down.

Check out the attached PDF. What would the formula be for this point structure?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Forumula for this point structure
« Reply #1 on: August 09, 2010, 11:25:20 AM »
(1500 + if(n > 32, n * 10, 0)) * if(r < 17, switch(r, 1, .3, 2, .2, 3, .12, 4, .08, 5, .07, 6, .06, 7, .05, 8, .04, .01), 0)

dniezby

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Forumula for this point structure
« Reply #2 on: August 10, 2010, 10:35:59 AM »
Wow, this looks totally different than what I was coming up with. 

I guess I really don't understand these formulas.

Thanks though.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Forumula for this point structure
« Reply #3 on: August 10, 2010, 11:15:14 AM »
It takes a few shortcuts.  For example, this part:

if(r < 17, switch(r, 1, .3, 2, .2, 3, .12, 4, .08, 5, .07, 6, .06, 7, .05, 8, .04, .01), 0)

... assigns a percentage for players who rank better than 17 (so 16th place and under).  However, the switch() statement only assigns values for ranks 1st through 8th.  Because according to the chart, ranks 9th through 16th all get 1 percent, the switch() has a default of .01.  To avoid giving .01 percent to ALL players, we use the if() to weed out any players who rank 17th or greater.  We could have done this with a longer switch() statement:

switch(r, 1, .3, 2, .2, 3, .12, 4, .08, 5, .07, 6, .06, 7, .05, 8, .04, 9, .01, 10, .01, 11, .01, 12, .01, 13, .01, 14, .01, 15, .01, 16, .01)

assosoliera

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Forumula for this point structure
« Reply #4 on: August 12, 2010, 08:16:05 AM »
Hello, I am Luke and I am Italian I bought the TD would say it is very beautiful, I want to know how the formula for my championship lighthouse 'all year round, 1st place 40 pts, 2nd class.p.ti 35.3 ° class.30p.ti, 4th class.28 pts, 5th class.26p.ti, 6th class.20 pts, 7th class.16 pts, 8th class.15 PM I, 9th class 12 pts, 10th class.10 p.ti.
There would be grateful to help.

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Forumula for this point structure
« Reply #5 on: August 12, 2010, 09:35:41 AM »
switch (r, 1, 40, 2, 35, 3, 30, 4, 28, 5, 26, 6, 20, 7, 16, 8, 15, 9, 12, 10, 10, 0)

Basically, TD will look at a players rank (r), and if it's a top ten finish, it will award the appropriate amount of points. If it's outside the top ten, they will get zero. If you want to award points for outside the top ten (say, everyone gets a point for showing) then change the zero to the value you would like.
My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!