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

New power-purchase agreement signed

I haven’t blogged about the solar farm for a little while because to be honest there has not been much to report (which is good! this is supposed to be a very stable low-maintenance project!) but I thought I would briefly update the blog to mention communications upgrades and a new PPA.

The site has multiple means of communication, because we need to be able to connect to, and monitor the CCTV cameras, we need reporting from the meter that actually determines how much we get paid (which is reported by a neutral 3rd party who charge a frankly comical amount just to read a single number every 30 minutes and report it), and we also need (or rather we like to have…) reporting from each inverter on the site to tell us the status of each inverter, and indeed each string. When I share the really cool charts and breakdowns with a ton of data, thats from the inverters. This measures DC power, at the inverters, before its converted and then sent some small but noticeable distance along underground cables to the site substation containing the site meter. Because some power is lost in conversion and transmission, the two meter readings are not the same.

Anyway… all of that stuff has to communicate off-site somehow, and its all routed through an aerial on the top of the substation. Its a bad aerial, and it uses a mobile phone connection which sucks. The site is somewhere quite remote and mobile phone coverage isn’t that good. As a result, often the signal is below 25% strength, and we get gaps in the data. The final generation readings are always there, but losing ‘sight’ of the plant is no fun, so we recently had all that comms stuff upgraded. The site now has a constant 48-49% signal strength which is good to see. This cost me unexpected money, but coincided with a maintenance check so the costs of sending people to site were not included.

In other news, we have signed a 2 year PPA (power purchase agreement) again with Ovo. That starts in November and runs out in November 2027. At that point we may stay with them, or switch if anyone offers a higher rate. One of the perverse things about owning a power station is that prices change every 30 minutes, but when you agree a price, it will then be fixed for years. Its tricky, because you are basically watching a fluctuating stock-ticker like price, but where you have to MANUALLY email people to ask for new quotes, and then pick your moment. There are services that offer more visibility into price trends, but I can’t afford them really… You can get 1 year, 2 or 3 year PPAs. I chose 2 years as the 3 year price looked pretty low :(.

And to be honest the actual ‘energy’ price part of it is only about 65-70% of what you get paid anyway. Some of it is benefits accrued through being a remote site, or a site where extra generation is beneficial, and some of it is discounts for having consumption near generation (so you put no strain on the distribution or transmission lines). Basically if you can find a site on some remote island with tons of local businesses and houses needing more power, then go for it. Anything to avoid upgrading the transmission network, apparently! How exactly you are supposed to guess those value pre-build is beyond me. There are probably expensive consultants, or you have to know who to ask and how to ask it.

Price-wise we are roughly the same as we were for our first year. Its… ok. Its not going to make some huge ROI, but its not losing us money either. I did actually pay out some actual company dividends for the first time (OMG), although it will be another few months until I can look at proper accounts and do a real analysis of whether or not we make enough in profits to make that an annual thing… I think larger sites have way better economics.

Designing the orders system for ridiculous space battles

Yikes, this has turned into a really complex and confusing beast. I am very happy so far with the improvements, but I need to publicly brainstorm the details. Simply put, the orders system in Gratuitous Space Battles was a mess, and I needed a much better one, PLUS I wanted to add new orders to take into account the new gameplay style of Ridiculous Space Battles.

In GSB there was a whole bunch of orders, and they all apparently pretended to work together to come up with an opinion on which ship a weapon should target. Orders are per SHIP, not per weapon, which frankly is a whole other story, but I think it would be stupid overkill to have the player assigning different orders to every weapon. My whole unique selling point is BIG fleets with LOTS of ships. Anyway, the original game had orders like Attack Fighters and Co-operate, but it was never clear how they all worked together.

RSB introduces three new orders entirely. Raider (race ahead of the fleet up to a given distance to engage enemies) which is used by Fighters, Last Defense, which concentrates fire on the enemy ships that have got the furthest through our lines, and Breakthrough, which is for punching a hole in enemy defenses, and only fires on ships right in front of you (or in that row anyway).

Here is my new current implementation:

So the big things here are categories, color coding and priorities. OH YES. To explain, this ship has one ‘Special’ Order, which is to engage enemies at 2 squares range. Thats a movement order, so independent of all the targeting stuff.

The next order is ‘co-operate’. Its one of a class of (blue) orders I’m tempted to call ‘Discriminators’ or ‘Tie-breakers’. There can only be ONE of these (Co-operate, Vulture, Retaliate, Breakthough or Last Defense), and essentially they are used at the end of the process to choose which out of a series of potential targets is picked.

The Green and yellow orders are Target Criteria. They describe a target size class or a defense status (shields up, or shields down but armor intact, or down to naked hull). These orders are special because they are in priority order. (I realize now I should show the numbers!). So when the ship decides who to shoot at, it first builds a simple list of all enemy ships in range and fire arc, that match any of those criteria. (You can delete one to make the ship NEVER target those ships). Once that list exists, it then goes through the target criteria from top to bottom seeing if any ships meet that criteria…

And this is where I have a decision to make…

I can either stop the processing once it has one or more targets, then pick the best using the discriminator OR I can then keep filtering down through the list as long as I have 1 or more targets and THEN use the discriminator. I cannot decide which. Are you confused? I suspect so:

Example 1: Using the above orders, I scan my target list and find 4 cruisers and 12 frigates in range. All of them have shields. Cool! So I stop there, and evaluate them all using Co-operate, firing upon the one that is the most under fire right now.

Example 2: I scan my target list and find 4 cruisers and 12 frigates in range. All of them have shields. The NEXT criteria is Fighters. There are none in my list so I ignore. The next is armor. All 16 have armor so again I ignore. The next is Frigates. Wait! only 12 are frigates, so I prune the list. The next is Hull, all check. The next is cruisers, none found. I finally use co-operate to evaluate which frigate to fire at…

Is this dilemma even making sense, let alone deciding on a system? Its very involved. My game IS a complex strategy game, but I don’t want to rely on crazily complex tutorials. Now to be fair, Gratuitous Space Battles had a completely opaque system that nobody understood and was poorly explained and it sold a bazillion copies, so maybe I am overthinking it. But I would like to do a MUCH better job… I know SOME players would be happy to literally write code to control this stuff, and might suggest I add conditional clauses and other complexity but I think that makes the game seem more like work and less like fun…

Looking at it now I KNOW I need to add priority numbers to those yellow/green strips. Maybe they should be called Filters now Criteria? Who knows. I may need to think about this a LOT.

By the way add the game to your wishlist :D Or pester a news website to cover it! Or share a screenshot somewhere you hang out. That stuff all helps :D.