5
\$\begingroup\$

Some games, including Dungeon Crawl (example), use a balancing technique that attempts to prevent certain values (stats, damage, etc.) from being excessively high. The algorithm looks like this:

if value > 20:
  value = 20 + (value - 20)/2
#70 → 45

...and can be applied multiple times:

if value > 20:
  value = 20 + (value - 20)/2
if value > 40:
  value = 40 + (value - 40)/2
# 70 → 45 → 37.5
\$\endgroup\$
1
  • 1
    \$\begingroup\$ The purpose isn't just to prevent values from getting too high, sometimes it's because beyond a certain point, additional gains are actually more valuable to the player (increasing returns), so decreasing stat returns is used to balance it so that the overall power gain for the player stays the same. \$\endgroup\$ Commented Oct 18, 2010 at 2:42

3 Answers 3

9
\$\begingroup\$

They usually use diminishing returns for stat values so as you add more of the same stat it actually makes less of a difference.

\$\endgroup\$
-1
\$\begingroup\$

I think you'll be lucky to find specific names for balancing techniques. ;) There isn't exactly a large body of standardised science here...

\$\endgroup\$
-3
\$\begingroup\$

I'd call it "lazy design" or alternatively "mindlessly applying design principles from brain-driven pen & paper games to CPU-driven computer games without stopping to think if it makes any sense". If you want to use a logarithmic scale for a value (and the algorithm cited is a rough approximation of that), use a logarithm.

\$\endgroup\$
4
  • \$\begingroup\$ I didn't ask if it made sense, I didn't ask if it can be approximated by any mathematical function. Feel free to comment about it with comments. :) \$\endgroup\$
    – badp
    Commented Oct 19, 2010 at 11:33
  • \$\begingroup\$ Also, you can't decouple fitness from purpose. Say, eg, you wanted to scale down the value of each successive upvote on StackOverflow so that hugely popular questions generate less reputation. Using logarithm would lead to decimal scores, it would change the amount of upvotes required for score-related badges, it would make voting generally confusing to people, it would make negative scores impossible... \$\endgroup\$
    – badp
    Commented Oct 19, 2010 at 11:44
  • \$\begingroup\$ You asked for a name, I gave you one: It's a rough approximation of a logarithmic scale, more suited for pen & paper games than for computer games. And the original question was about values, not votes, those are a totally different beast. \$\endgroup\$ Commented Oct 19, 2010 at 12:21
  • 5
    \$\begingroup\$ -1: For the generally confrontational and opinionated tone of the post. Also, there are many functions that give diminishing returns. A simple square-root, for example, is not logarithmic in any way, but gives a similar curve. An inverse function can do the same thing, and it's asymptotic. There are many diminishing functions, so your term is wrong. Also, plotting a logarithm is not something that players should have to do to predict how much damage a hit will do. Keeping math simple is not just about the game; it's about the player. \$\endgroup\$ Commented Feb 24, 2012 at 0:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .