Slashdot Mirror


Using Math To Tune a Video Game's Economy

An anonymous reader writes: When the shipping deadline was approaching for The Witcher 3, designer Matthew Steinke knew there was a big part of the game still missing: its economy. A game's economy is one of the things that can make or break immersion — you want collection and rewards to feel progressive and meaningful. Making items too expensive gives the game a grindy feel, while making them too cheap makes progression trivial. At the Game Developers Conference underway in Germany, Steinke explained his solution.

"Steinke created a formula that calculated attributes like how much damage, defense, or healing that each item provided, and he placed them into an overall combat rating could be used to rank other items in the system. ... Steinke set about blending the sub-categories into nine generalized categories, allowing him to determine the final weighting for damage and the range of prices for each item. To test if it all worked, he used polynomial least squares (a form of mathematical statistics) to chart each category's price progression. The resultant curve (pictured below) showed the rate at which spending was increasing as the quality of each item approached the category's ceiling value."

1 of 96 comments (clear)

  1. Re:It's the big problem with space games by Harlequin80 · · Score: 3, Insightful

    X3 came close-ish to achieving it. The price of a good was relative to the available stock. Some stations consumed certain items to make others so over time their stock levels would drop and they would offer more and more money to restock. Energy cells were the base resource used by most stations so they were a good place to start in the economy.

    The real problem though was there was no real top end consumers creating enough demand so the game dumped resources at various points to keep everything moving. And it was too easy to dominate the whole economy with a super station. Your personal business empire kept expanding but nothing else did. If you picked one of the unknown sectors to build your base you became an economic god with nothing that could stand in your way.