Category Archives: game design

Formation orders in GSB sucked a bit. You had to select a ship, then a target and basically the order was ‘stay at this position relative to that ship’. This sucks in two different ways. Firstly, it means if the ‘target’ ship gets destroyed, the formation is instantly abandoned (yikes). Secondly, it is laborious to set up 32 ships into a formation.

The new system for GSB2 is simpler. You group select a bunch of ships and then add a formation order in one go. They then attempt to stay relative to each other, regardless who gets destroyed. Internally, the ships ‘elect’ a command ship, that has ‘free-will’ and the other ships will try to stay in relative position to that ship. That ship getting destroyed or tractored results in a new election. So far so good, and certainly better when it comes to ship destruction and setting-up GUI. However, it leads me to question a few things. Take this formation (coder art!)

form1

Just a simple line of 6 ships where randomly I’ve made the blue one the commander. If the commander heads to the right, then all is well. However, if he heads at an angle what do the ships do? Should they stay relative to the ship in absolute world terms, or in relative to the lead ships-angle terms? in other words, do we wheel?

form2

Obviously the two different behaviors are vastly different. It also brings up the topic of what to do if the command ship decides to retreat when damaged, does the formation follow? what if it’s just 1 damaged frigate… I’#m guessing they leave the formation at this point. In my mind, the reason behind formations is to keep ships trogether in the sense that they should be able to cover each other in terms of support, and shooting down incoming missiles etc. With that in mind, I reckon it would make sense to always elect the biggest ship as the commander, where viable.  Theoretically you could have a super-slow ship with the entire fleet locked into formation with it, effectively preventing anyone from moving.

What do you think? do I ignore angles and stick to world space, or pivot? and will the system of commander elections work ok? For reference, this is how fighter squadrons already work in GSB 1.

 

GSB 2 Shields

April 08, 2014 | Filed under: game design | gsb2

I’ve been working away on GSB2 while I wait for some people to do work for the Democracy 3 Extremism expansion. There isn’t really enough polished stuff to show to people yet, but I have got quite a bit of extra fluff sorted out. One thing I’ve got vastly improved is shields. In GSB 1, shields were basically assumed to be a sphere around a ship, and things impacted on the outer shell like this:

gsb1

For GSB2 I wanted shields that reflected the shape oif the ship, and eventually concluded that a combination of a grid (or in this case below, hex pattern) a blast texture and the alpha map of the target ship would let me convey the idea that a blast was absorbed at the last few millimeters by a tight ship-hugging energy field:

gsb2

It looks much better animated, as usual. it really works very nicely in very dark-battles, and I think it leaves plenty of opportunity for me to customise ships shields using different energy field colors and patterns.

I’m currently working on a combination of better parallax effects for debris and smoke, and also the GUI for choosing missions, which will look totally different. GUI stuff takes ages, and the whole GUI will get a re-design from scratch. I’m just working on the basic systems right now. With the battle effects, the module mechanics re-write, the online challenge system to revamp, steam achievements and so on, there is a ton of work to do, without considering new sfx and music… Still it’s definitely making progress and I’m still aiming for late 2014.

 

Extremism on the way

March 26, 2014 | Filed under: democracy3 | game design

I’ve taken some time out of my GSB2 coding schedule to manage and test and work on another expansion pack for Democracy 3, called Democracy 3: Extremism. This is a huge big list of new policies and situations that represent more extreme politics. I can already predict that a lot of players will be annoyed it isn’t MORE extreme than it is.

What does political extremism mean to you? within a democratic context? I’m not talking armed mobs that overthrow the government, but parties with actual popular support. I’ve tried to walk the line between including some fairly extreme views, whilst also keeping it credible as a policy a western government might actually put into place. I’m also slightly wary of acting as fodder for any exploitative tabloid journalism along the lines of ‘Game developer endorses culling the elderly!’ for example.

When you sit down to analyze it, extremism is really a hard concept to nail down. One of the policies in the pack is ‘close all airports permanently’, presented as an environmental move. I’m sure a lot of people would think such a policy was insane, but there are quite definitely environmentalists who would argue it’s entirely reasonable. There are people who would ban private education and private healthcare, and others that would consider that practically stalinist. The base game lets you legalize or ban gun ownership, both positions that encourage cries of ‘extremism!’ in different parts of the world.

french cheese and guns

Obviously a lot of this is skewed by where you live and your background. I’m from the UK. In the grand scheme of things it’s a pretty liberal country. You can have state or private education or healthcare. Gay marriage is legal, we have pretty good freedom of speech. Divorce and abortion are perfectly accepted (abortion less so, arguably). We have very strict gun controls, and fairly strict (but not strongly enforced) drug laws. All of this gets reflected in my own prejudices. I don’t find the fact that we make gun ownership very hard to be at all extremist, yet if you banned private schooling I’d consider that an extreme move. (I went to a state school FWIW). I’d consider outlawing homosexuality insane, and consider scrapping the state health service equally insane. There is no real pattern at work here, we are all skewed by what we are used to. My position on healthcare is to the left of my general position on state-provision, almost certainly because I’ve lived all my life in the UK…

What I’m getting at is that extremism is very culturally dependent, and often entirely illogical. I consider a ban on divorce or homosexuality nuts, but many such bans exist in the world, even in the rich developed western world. Sex toys are illegal in Alabama, abortions are illegal in Ireland. It’s not a simple case of the left wing wanting to ban stuff, or the right wing wanting to ban stuff. there is no logical pattern. Stuff seems ‘extremist’ because we aren’t used to it. One of the policies in the pack is national flags on every street corner. A crazy idea in the UK, but in the USA? probably not so. Another is compulsory church attendance, seemingly crazy in the UK, maybe not in Alabama? Subsidies for new cars. Extremist? maybe a bit? but we have experimented with that in the UK. Forcing the unemployed to do community work? I bet that sounds extremist in some countries. Public Tax returns? A punitive wealth tax?

I look forward to peoples debate and discussion when the expansion gets released. My politics are very fluid. I think a lot about what I think, and my politics change over time. Twenty years ago I was against positive discrimination, but now I have finally changed my mind. Analyzing your opinions on political issues, putting them into context and rationalizing them against the backdrop of your other views is a fascinating thing to do. It’s always good to re-examine what you believe.

Except Free to Play, that’s just evil :D

 

From my forums, but thought blog readers may be interested…

For those new to economics the laffer curve can be read-about here: http://en.wikipedia.org/wiki/Laffer_curve
I’m not going to debate the validity of the theory, merely describe how it is implemented (and adjustable/moddable) within the game.

Basically the laffer curve is saying that higher taxes may bring in less income than lower taxes, at some ‘hard-to-define’ point. In other words, you can set the tax rate *too high* if you goal is to raise money for the state. At first glance it may look like the laffer curve is not modeled in Democracy 3, but it is. If you look at the slider for income tax, you will see that at high levels, it brings in more money than at lower levels, which might seem to imply a non-laffer simulation. However, the values shown below the slider are simple calculations, not forecasts based on full models.

If you set income tax punishingly high, more income will be raised, in the immediate term. However, this high rate also acts as an input to ‘bad’ situations such as brain drain (I can see an argument for suggesting it should affect corporate exodus too). If the brain drain kicks in, there will be noticeable hit to GDP (12%!). This lower GDP will affect income raised by the tax, because almost all taxes in the game are in some way scaled by GDP, in terms of what income they raise. Therefore, it is entirely possible (and indeed likely) that when looked over a medium to long term, a higher tax rate brings in less revenue. Of course, this is only one argument. You may wish for higher income tax rates for non-revenue reasons such as political popularity with socialists or a more equal society.

So in short, the laffer curve is in the game, albeit in a fairly complex and ‘binary’ way. You could easily make a ‘laffer mod’ that more directly introduced a gentle curve to GDP from higher rates of income tax, without using the situation-triggering mechanism.
Hopefully that makes sense :D