Game Design, Programming and running a one-man games business…

Production Log Dev Blog#10 Level Editor and Upgrades/Font change

You may have thought I’d give myself a week off doing video blogs for Production Line, but you would be wrong. That line of thinking leads to failure, mediocrity and generally not succeeding, whereas doing it anyway is more in the tradition of Elon Musk and other stupidly ambitious people…so here we go.

To be fair, it is a day late. A lot of tiny things got fixed, mostly calculation bugs  and GUI layout stuff. The whole GUI style is very much placeholder, but I’m deliberately prioritizing design and gameplay, the GUI can get some shizzle later. I think most Sim/Tycoon gamers are far more interested in mechanics and balance and features than they are in shiny stuff.

My big dilemma, (But I think I’m sorting it as I type), is to whether upgrades should be things that happen to existing slots, of stuff that unlocks *new* slots. I think a goods compromise is to do a bit of either, when it makes sense. For example ‘leather seats’ and ‘heated seats’ are definitely an upgrade to the existing ‘fit seats’ slot, whereas ‘satnav’ is more likely something that gets installed as a totally new thing in a dedicated slot. This might lead to some confusion on the part of the player, but as long as I explain that some research unlocks new upgrades, whereas others unlock new slots, that should be simple enough.

The big problem is do I allow the player to do stuff like ‘heated seats’ before they have unlocked the dedicated ‘fit seats’ sub-slot. I am thinking maybe no… you have to have broken down the production line at least as far as ‘fit seats’ before you can get the option to fit fancy ones…surely? What do you think?

Production Line Video Update #2

I took some time today to do another short video talking about what I’ve been working on re:production line. There will be more ‘feature-rich’ videos coming over the next few months. I’m getting quicker and more organized about the whole youtube thing now :D. I am really interested to hear peoples comments and ideas about any aspect of the game. Enjoy!

Don’t forget the website is here and the facebook page is here. Cheers :D

 

Production Line: Local production

One of the major design elements in Production Line is the idea of vertical integration. Put simply, vertical integration is taking all the various steps in the production chain for a product and taking them in house. Its like Steam making the games as well as selling them, and owning the data centers, and owning the networking infrastructure too, and owning a payment processing company etc.

The theory is that money is made by everyone in the production chain. In car-specific terms, the people who own rubber plantations make a profit. They sell the rubber to an exporter, who makes a profit. he delivers and sells the rubber to a tire factory which makes a profit, and they sell tires to the car maker, who is then paying for all of that. In theory, owning everything (including the plantation) helps you both capture all that profit, AND simplifies your logistics. your supplier isn’t going to go bankrupt or mess you around, or have problems anticipating your demands when you own them. In theory.

Henry Ford (he of the original production line idea) took this to extremes. He did indeed buy rubber plantations (although that was a disaster) and he expanded his factories to the extent that eventually just raw materials (wood, steeel, glass…) came in one end of the factory and finished cars rolled out ton the other end. This is a major undertaking, but also I suspect a pretty cool element to build into a tycoon game such as Production Line.

In the screenshot below (click to enlarge), I have my first steps at this. I haven’t gone as far as smelting steel yet, but the layout shows 3 main car production lines going from top left to bottom right, and at the bottom left of the screen is a collection of 4 different manufacturing slots. these slots are making car doors, car roofs, car seats and wheels. The very same over-head conveyor system which delivers components and raw materials to the production line slots is also used to ferry completed seats, wheels etc from those slots to wherever they are needed within the factory layout.

screenshot_22-10-2016_14-35-59

This is not different really to a game like factorio, where you have raw materials (copper, coal,oil) and they pass through some intermediate factory widget that converts them into something else, onwards and onwards. I doubt that production line will go anywhere near as far as factorio in terms of the *scale* of those production lines, but I do hope to spice things up in terms of financial analysis and efficiency analysis. I don’t know about you but when I look at my 60+ hour factorio maps I have acres of old equipment just spinning away doing nothing because I’ve oversaturated my copper or some-such. This should NOT be something that happens in PL. Factory space will be EXPENSIVE, and all slots will use power which will be EXPENSIVE. The aim is to ensure you have to keep an eye on efficiency all the time. Efficiency is the name of the game*

I haven’t decided how best to refer to the idea of making stuff inside the factory as opposed to buying it in as components. Maybe ‘Local Production’, Maybe ‘Internal Production’? In any case, I hope people will see it as the natural extension of their production line as they expand towards the middle of the game, and keeps the game interesting beyond the ‘I am making cool cars now and making a profit’ stage.

*it isn’t. The name of the game is Production Line.

New Beta ‘balance’ patch for Democracy 3.

After a brief period of thinking about writing AI that plays Democracy 3 (I am still going to do this one day), I took to doing some cunning data mining, and then did a lot of play-testing, and musing, and staring at graphing calculators and came to a few conclusions as to what improvements could be made to Democracy 3 to make it a more accurate sim, a more fun game, and a better balanced game. The conclusions I came to are in the beta patch I’m releasing today on steam, meaning that you need to right click the games name in steam, go to the properties tab for it, then betas, and opt in to the pc beta (no password)

beta

. That gets you the following changes:

Version 1.26
============
1.    Unemployment now contributes towards obesity
2.    Increased impact of car usage on traffic congestion
3.    Increased base likelihood of a teacher shortage.
4.    Unemployment now reduces the chance of a teacher shortage.
5.    University Grants now increase the chance of a teacher shortage.
6.    Reduced impact of CCTV on Armed Robbery.
7.    Added impact of low inequality on Armed Robbery.
8.    Changed equation for GDP impact on Alcohol Consumption to be non-linear.
9.    Added impact on doctors and teachers strikes from trade union membership
10.    Adjusted impact of state school funding on teachers strikes.
11.    Added effect of wages on Teachers & Doctors Strikes.
12.    Added effects of science funding and the environment to contagious disease.
13.    Arts subsidies, Bus subsidies and community policing now reduce unemployment.
14.    Adjustments to triggers for various events.
15.    Increased impact of refugee crisis event.
16.    Effects of corporate exodus event worsened.
17.    Increased impact of Unemployment on CrimeRate.
18.    Impact of religion on antisocial behaviour now linked to membership, not frequency.
19.    Unemployment now linked to antisocial behaviour
20.    Trade union and Socialist group memberships now contribute towards general strike.

As you can see there are some new links which should have been in there but I never thought about them (unemployment causing obesity is one), plus some tweaks to simple numbers and influences on events. It was really interesting to look at stats and realize how some events and situations were simply not triggering for many people, so effectively they were missing out on part of the game, and the numbers now mean that they are m,ore likely to experience the whole range of events and dilemmas etc. I feel such a fool for not having done this analysis ages ago, but I guess you live and learn. I felt like a fool for never having multi-threaded the ‘next turn’ bit of the game until recently. (BTW thats why its so fast).

Hopefully a bunch of ambitious tweakers will opt in to the beta (you can always go back to the original game at the moment), and give me feedback on if this marks an improvement on the basic game. I’m probably going to leave this beta for a while to see what the consensus is before I set it live, or maybe do some more tweaking.

In the meantime I have 2 big announcements about other stuff coming up. Oh yes.

Oh and if you are confused and wonder what democracy 3 is. click here. And if you have any opinions on these changes feel free to post them here, I read them all.

 

 

Autobalancing Democracy 3 (part 2)

So it turns out that we already have about 2,000 games of Democracy 3 being played every day by actual players, rather than some hacked-together AI of mine, so I thought step 1 might be to grab data on how those games are being played to see if I could spot any obvious balance issues. I started collecting a few basic stats at the point of elections yesterday and already have a ton of data here:

http://www.positech.co.uk/democracy3/stats.php

I have a few pieces of data I was interested plus a snapshot at elections as to which of the best known situations are active during victories and during defeats. So for example 1% of people who won the election have gridlock, but 10% of losers do. Average GDP during an election is 51% but 55% if you win, and so on…

Actually extrapolating balance issues from this data will be a bit tricky though, as I likely need more data to back up my assertions, but right now, from the current data I am tempted to proclaim the following:

  1. The game is too easy (85% of elections are won. Granted some people get assassinated beforehand…but still..)
  2. Unemployment at victories is still 28%. Maybe unemployment is not having enough of a negative impact?
  3. 20% of people have eliminated poverty entirely (got it to 0%). That seems high. This should be harder.
  4. Gridlock is only a problem for 1% of victories. Maybe this should be harder/slower to fix?
  5. Teacher shortage never seems to be much of a problem, this should trigger more?
  6. Armed robbery is generally very rare, even when losing. This should maybe trigger more?
  7. Corporate exodus is actually higher during victory. This may actually make sense, as people are ‘buying’ the public support despite a huge debt?

Its going to be pretty difficult to get the exact data I want. For one thing, the game NEEDS situations that are *bad* but only crop up in later terms, and I don’t currently track which term we are in. Democracy 3 Africa has a very cool mechanic where people arent bothered about some issues until more pressing issues have been fixed. I suspect I may need to introduce an element of that here.

My main worry, a bit like a doctor is that I need to ensure I ‘do no harm’. Its better for me to leave Democracy unbalanced but hugely popular than tweak it and break it…so I#’m nervous of any big changes.