Once More, with Feeling

If you’ve been keeping up with development progress, you’re probably aware that I’ve been doing some playtesting in preparation for making the next release. Sometimes, playtesting results in relatively small balance tweaks or content and mechanics adjustments. Other times, one finds themselves redoing the economy system for – if I’ve been keeping track correctly – the 5th time. So, that’s what I want to talk about today – briefly! – before diving back into the depths of my TODO list.

The good news is, this iteration of the economy 1) is simple, 2) keeps most of the elements of the previous one, 3) is based on colony playtesting, so is likely to actually really stick this time, and 4) as of this writing, fully implemented. This ended up being roughly a week-long detour, by the way, so, all things considered, not too bad.

food_producers

Read the rest of this entry »

Revisiting the Economy

Part of the design process, it seems, is going back and changing things that seemed like they would work well on paper, but didn’t quite pan out in practice. Putting several systems together can be an especially challenging process, and the one you start with will likely need the most changing as the other pieces settle in around it.

For this release, I started by revamping the economy system. Largely, the redesign has met its goals – it has good performance, and it can represent a flexible set of events in terms of “what’s happening in the game world”. However, working on the UI for colony management has exposed a few areas for improvement. (Pictured below: not one of them.)

survey_yuendumu
Read the rest of this entry »

Economy & Outposts

I’m going to break one of my unwritten rules today and talk about stuff that isn’t quite done, because the alternative is taking far too long to talk about it at all. There are a lot of inter-related systems in the works, and it’s not going to be possible to playtest properly until most of them are in place, so please keep in mind that the features I’m going to describe here may change more than usual.

Economy
If I’m counting correctly, this is the third “from the ground up” rewrite of the economy system. Well, maybe the second, since the first one wasn’t a re-write, technically. Still, the economy system has had a more turbulent path through development than just about any other part of the game.

(Let me take a moment here and clarify what I mean when I say “economy” – it’s the behind-the-scenes system that produces and moves around between markets commodities such as food, fuel, and supplies, and determines their base prices at various locations. This is different from a player-centric notion of “the game’s economy”, which focuses on how the player gets and spends credits – a perfectly fine use of the term, but not what I’m talking about here.)

eochu_bres

So, why did it go through a couple of complete re-writes? I think it’s because up until now, the primary reason for its existence – a macro-scale game that the player can participate in, which is to say building outposts and such – didn’t exist, and so the shape the economy needed to take was murky.
Read the rest of this entry »

Economy Revamp

To start off, I’d like to clarify what I mean by “economy” here – just the underlying simulation that moves around commodities and is responsible for matching up supply and demand across the Sector. This does not include things like trade disruptions, which are events that cause price changes. These are certainly part of a more expansive and player-centric definition of “economy”, but for this post, I’d like to focus purely on the commodity distribution algorithm.

Overview
So, what does the algorithm need to do? We’ve got markets and commodities, and each market has a supply (i.e. production) and a demand (i.e. consumption) for each. What we need to do is figure out where commodities will end up, given the supply/demand situation. For example, if one market is producing food, its output should be distributed among food-consuming markets according to their demand.

mi_eventide_main

There are some further complications, but the above is the gist of it – fairly straightforward supply and demand stuff, though getting it to actually work out is anything but.
Read the rest of this entry »

Trade & Smuggling

(If you’ve read an earlier blog post, “On Trade Design“, some of what follows is going to sound familiar.)

Trade and smuggling are closely related, so it makes sense to tackle both at the same time. Smuggling is simply a more detailed case: trade with complications, if you will.

If you’re going to have a successful trade run of any sort, the first thing you need is information. The main way the player gets information is through news reports and intelligence assessments. Information is important for more than just trade, and these reports have a dedicated tab in the UI.

intel_report_list

For trade, the information the player needs is straightforward: where can they buy or sell something at favorable prices? This kind of information is where things could easily descend into spreadsheet hell, with the player poring over pricing information for every commodity at every market, trying to find the best deals.

It’s important to note that it’s not a binary condition (“too much information” vs “a good amount”); how much information to process is “too much” is subjective. So, the approach to managing the amount of information presented is going to be based largely on my own feelings about what seems right.

Much of the problem is taken care of right off the bat by the economy simulation. When it reaches an equilibrium, prices are such that trade isn’t profitable. For example, if market A produces ore, and market B needs it, the simulation will reach an equilibrium point where the price of ore on both markets is about the same. Throw in tariffs on both ends (set at a brutal 30%), and shipping ore from A to B just isn’t going to bring a profit… unless something happened to disturb the balance.

In some cases, that disruption is directly due to an event. A food shortage will directly increase the price of food. Less obviously, it will also destabilize the local market and decrease the prices of everything else, which may or may not result in other profitable trade runs opening up.

What this means is that you can’t rely on news reports of events being the only way to find out there is a trading opportunity. While the number of these opportunities is much more manageable because they’re mostly driven by events and the simulation actively stamps them out over time, the game still needs to keep track of prices and convey that information to the player.
Read the rest of this entry »

Forum Blog Media FAQ Features Digg it! Del.icio.us! Share this on Facebook Reddit Stumbleupon it! Technorati Tweet it! Download Starsector for Linux Download Starsector for Mac Download Starsector for Windows Preorder