Thursday, 19 January 2012

Stuff you thought was going to be simple but wasn't

Swimming was one.

Setting up controllers in XPlane is another.

Yes the things you thought were going to take a few days which turned into a week and a bit (you could almost say 'two weeks'). Josh at Leadwerks gave me a leg-up on how to put an MMO style launcher together and I've almost done wrapping up all the security for the necessary database, key code generation, CVS style updates and all the stuff we need to match individual content to clients. We'll make available downloadable content (DLC) such as new maps and the occasional helicopter (the planned CH-47D), not to mention the odd mission pack.

No, this key won't work, it's a fake
So there was a lot to do to make a simple one shot MMO style launcher. The back-end server stuff had to be built from scratch. The launch .EXE calls home, applies on-demand updates and preps game settings for launch. For simple security sakes I layered server-side scripts for handling the updates, admin and audit. Auditing is handled by triggers, SQL injection is futile since only one procedure is exposed to clients.

Any DBA will tell you Auditing is an important part of any security. If you build any kind of database exposed to the internet and you don't build your own layer on top of any default transaction logging then you're kind of asking for trouble. The database engine used here is not known for keeping detailed logs so it was necessary to build one anyway. Things you might want to think about if you ever need to create systems like these are making log indexes suitable for frequency analysis (this one method Twitter uses to spot spamming), fake open doors and keys and silent alarms. My favourite trick in the past was a fake database that gives the intruder a high and makes them believe they have walked away with the crown jewels while evidence is collected. That sort of none-sense is not required here, I kept this one functional with a tiny footprint.

The Pilot ID we'll be sending out is the key to your content; install once, play as you like. If you share copies around on your network you can launch 'offline' no worries, no need to be connected to the internet until you want to update. It's nice if you want to buy multiple copies for your network and support the effort put into this project but I'm poor too so I know how it is.

Little bit of script consolidation and testing to do before we let this loose in the real world.

Friday, 6 January 2012

Nothing serious but one reader sent in this...

From an Australian gaming mag (and those guys are tough cookies) at the bottom of a review of Take On Helicopters...


Thanks for the mention guys :) the picture is a bit out of date though, but what the hell.

Monday, 2 January 2012

New scratch built industrial buildings

It was over a year ago we were notified that some of the models we had purchased from Dexsoft might possibly have been stolen. After a period of investigation the probability was quite high this was the case and Dexsoft contacted customers to offer new packs. However months later I was unable to get a reply about these replacements and only in November when doing a review of outstanding assets and licensing we had to either press again or do a re-build.

Dave elected to take it upon himself to do a rebuild and not wanting to have to reposition every building adopted the same dimensions with the exception of adding much needed 'basements' (a basement is just an extrusion of the exterior wall so that it will sink under terrain so no gaps are left if the centre of the model is positioned on uneven ground.

Originally the models were made for use in first-person games and LOD0 had details such as railings and girders. Dave completely built (from scratch) versions complete with new textures and made them more efficient at the cost of some detail. An original building had 5213 polygons, after a rebuild only 728 polys (which is iPhone territory).


Original stolen model on left, rebuilt from scratch on right

Scratch build on left, original on right
Any small indie developer takes a leap of faith when purchasing models from 3rd parties, you don't know where they came from or their history. In this instance we got bitten as did the 3rd party which handled the situation well (but it would have been nice to have the replacements anyway). No harm was done, anyone using or releasing games with 3rd party content be aware.

Thanks Dave for once again being on the ball.


Update

Started work on the updater again.This is based in part on the Leadwerks SDK downloader which is pretty much everything I needed given a little twist and a slice of lemon. Hopefully some of you will be seeing this in the near future. At some point we'll add user names and a regcode system prior to any content downloads (these will not be required to play).

As much as you might want to click on it, you can't yet :(

With any luck the 'one click' update system will let us add rolling improvements at the cost of  occasionally annoying you with a download when an update is available. I just want to be able to push one button, get the latest changes to any content I own and go.

Support for different builds (content)

Saturday, 31 December 2011

Happy New Year - Another year older...

I (Richard H) take the opportunity to indulge myself in a little year-end editorial and pick out some of the personal highs and lows of the past twelve months. Warning: may contain rambling, digression and woeful inaccuracies.

Is it over already? What happened this year?

2011 a year where the most wanted man in America was shot (along with 4 other people that nobody seems to remember) by US Navy SEALs. A year where governments attempted to convince themselves they have any kind of control over economies despite the billions spent on technology and infrastructure to remove people out of the loop. I call blasting away mountains to improve packet travel time by mere milliseconds pretty compelling evidence of the forces being thrown into this new hi-tech computer based trading war. When the speed of light is too slow to make money over the competition and shortening your cable by removing hillsides is the difference between profit and loss what chance do governments or people have in this trading scenario? And it's all happening without much talk or opposition.

The 'adventure' in IRAQ was laid to rest with US President Obama announcing US troop withdrawal. The British army was there in the first half of the previous century and didn't fare much better, although the suggestion that using poison gas on rebels in the north was not acted upon, that was one of Winston Churchill's bright ideas curiously. Always seemed ironic that.

Freedom swept across the middle east, starting with Tunisia as despot after despot was felled in popular uprisings. You'd be forgiven for thinking it was some sort of Facebook game.


Earthquakes and devestation

Japan moved 20 meters westerly and horrific scenes of coastal devastation were broadcast live as the resulting tsunami from the massive undersea earthquakes swept away generations of familes, homes and soon after any remaining nuclear power comfort zone.

Japan has never been a stranger to holocaust, scenes and stories of annihilation and devastation are popular in Japanese culture, see the opening scene of Akira. This is something they have lived through time and time again. My late father-in-law was a Hiroshima survivor, sponsored by US scientists after the war he became a US citizen and then a notable scientist and Quaker. He told me once of thanking Oppenheimer (at a conference) for ending the war in his country, how awful must things have been when getting nuked and loosing your family was in retrospect the better option? It's something I can't even begin to think about without breaking down in tears.


Game devs want more pie

It was the year every game studio and his dog decided they wanted a slice of the Mincecraft pie without any consideration of what makes it so popular. The phrase "just like Warcraft" was replaced by "just like Minecraft", or if you're an unethical developer, "Just like Farmville".

Unethical is a strong word to use but I'll use it for any type of game that preys on innate human weaknesses to make you play them rather than well designed gameplay. This can be aimed at a lot of games that exist in the social arena. I blame a large part of this down to the adoption of the "Monthly Active User" metric being used as a key performance indicator (KPI) for IP acquisition and exploitation.

Another example of game success passed around developers is "Angry Birds". What they often don't realise is Angry Birds was not an out of the blue success, the creators had built up experience working on around 50 games between them prior to launch. The game mechanics are stupefying simple, any programmer or user of Little Big Planet can put such a game together. It is no more sophisticated than Gorillas (shipped as BASIC source code with MSDOS 5 see wiki), it is a single player artillery game. But everything surrounding the mechanics is a finely tuned presentation based on their collective game experience. It takes experienced designers to make Angry Birds, not programmers.


Indie because we say so

Somehow the meaning of 'indie' became fluid, when news of companies like EA announce the formation of an indie studio to engage social and mobile spaces it has one reaching for my "WTF?" stamp. In what way is this indie? Indie is folks trying to democratise games in a way big studios have been blocking for years, indie is independent thought in the game-space or some pretentious twaddle like that. Indie is not trading on skin deep looks, big bucks advertising budgets but game mechanics and freedom to experiment. Freedom to fail.

Start-ups being handed hundreds of thousands of pounds in government grants could be said to be independent. Certainly this year saw many studios spring forth from magic money with little to show for it, and some priced beyond reason. It smells of the dot com boom bust of the early 2000s. Studios are good at being handed funds (in the words of Lord Stark) 'when it's safe'. Hey investors, how about taking some risks on real projects? We could have done this bloody game in half the time, does that smack of enough bitterness? Yes I'm bitter. OK that's enough, better now. Moving on to some of the personal gaming highs this year.


Video game highlights of 2011

Shogun 2 - Creative Assembly
Magika - Arrowhead Game Studios
Assassins Creed Revelations - Ubisoft

Most of the games I had time to play this year (and that's not many) were a mixed bag. To be fair even Assassins Creed was a face-roll fest (not much skill required) but managed to keep one going through sheer story and production value. At the opposite end is Shogun 2, Creative Assembly's triumph combining many elements they've tinkered with in previous games and spades of neat game elements into their two tier strategy game packed with historical facts.

Magika is a hilarious indie action game where blowing yourself up in interesting ways seems par for the course. It came out of nowhere and fair to describe the tone of the game as something you'd get if you threw Reservoir Dogs, Lord of the Rings and Monty Python into a blender. Thanks guys for the laughs.

Honorary mentions: Battlefield 3, Portal 2. and Kerbal Space Program. That latter being great fun if you're into building your own monstrous launch systems and killing space crews in spectacular fireballs.


Video game disappointments of 2011

I bought 'em, played 'em, felt gutted.

Test Drive 2 Unlimted - Eden Games

Wow, after the brilliant but only slightly flawed first game they didn't need to do very much to make the second game a winner. It was like the anticipation of a new Star Wars film (The Phantom Menace), in the words of Harry Plinkett, how hard is it to screw up? It's like mashed potato, just add water. Well they managed it IN SPADES by populating the game entirely with really awful people. I don't want to play these characters, I don't want to interact with these characters. One forum poster dubbed it "Douche-bag simulator".

Skyrim

An honorary arrow in the knee because Oblivion with a face-lift seemed cool at first, erm how much was spent on this? Disappointment still ringing from the hours I put into Oblivion only to find the openness of character development can result in halting any progression after xxx hours. They filmed this live action trailer which could be for anything, my step-son suggested that it could work as a dandruff commercial, see for yourself...
http://www.youtube.com/watch?v=w1AenlOEXao

Let me know if you hit the same wall in Skyrim.


Batman Arkham City

I finished the first Batman game a total of FIVE times. I can't think when I've ever bothered to do that with any other console game. Finishing ONCE is a rare thing.

Arkham City lost me after a weekend of play. Too much freedom and visual clutter spoiling an otherwise masterfully visualised city environment. Riddler on the Roof, he's painted dayglow green crap everywhere to solve his collection meta-quest.  And worse, there's really no logic to some of the puzzles, (the rooftop chicken run with the magnetic ball for one), I can absorb bullets but I can't rip open a chicken run to grab the ball and stick it in the hole? Put me in the game like you did with Arkham Asylum please, but ill-considered content like this kept taking me out. Sometimes less is more. The artwork is amazing and the laser effects best I've ever seen, a real visual treat with jarring game elements that kill pacing.



Combat-Helo

I had to mention this. Still not out yet and my internal build seems so close yet needs more cowbell. I was really looking forward to seeing a beta released around now and spending my time apologising in public forums and working on improvements. What happened is a series of poor choices on my part which I wouldn't choose to do again. Problem that a normal team could rally around is too much for one programmer to deal with (such as the much needed engine occlusion bug which broke a key avionics sub-system). Another mistake was getting pressured into announce a release period which was just setting myself up for disappointing people when problems arose. I broke my own rule and paid the price. While I still feel bad about that I love the team even though they probably hate some of the choices I made, I can't disagree. Will the release meet expectations? Probably not. Will it fly? You bet. Besides my wife said she'll cut off my bollocks if I don't release it soon or get a decent paying job. Can't argue with that either.


Video and film highlights of 2011

Everything is a Remix

If there was ever a documentary that shows how ridiculous, damaging and outdated modern day copyright and patent laws are, Everything is a Remix is an entertaining documentary series in 4 parts. Everything around us is a remix of some tool, idea and material. Without the freedom to copy, transform and combine existing ideas and technologies creativity is stifled and with it western economies. How different our world would be today if the same level of litigation was around at the time of the industrial revolution.


Sons of Guns - Discovery Channel

Once you get past the gratuitous 'gun porn' flag waving aspect what I love about this series is the sheer love and enthusiasm from the employees of Red Jacket Firearms featured in the show. Sure they love to blow shit up and you might question the sanity and choices made (as do the employees from time to time) but the company is not run as a democracy (insert discussion here). Now airing the third season it's perhaps the most popular show on Discovery HD. It had me yelling, "I got a guitar GUN!" Cracks me up every time.

Cowboys and Aliens (imdb)

The film was better than the title. Reminding me a little of an old b-movie Valley of the Gwangi (imdb) it was a reasonably fun and gritty take on the what-if monster genre.

Super-8 (imdb)

A charming revisit of what an 80s Spielberg movie would be if made today....set in the 80s. Yes we wore those clothes in school. And if you have a 5.1 surround system then the train crash scene will terrify your neighbours. Written and Directed by J.J Abrams.


Cool science stuff

Energy from paper, discovery of hundreds of 'earth like' planets around nearby stars, the possible discovery of the Higgs Boson and Mentos in diet coke. Granted the last one is a bit late but is the only practical experiment I actually conducted in the kitchen. I did clean up though.

Here's hoping that next year science will bring us phones and portable computing devices that can keep a charge for more than a few hours.

Oh and the amazing new bulletproof liquid armor from BAE systems would be handy in the field. Currently it requires 10 pints of Newcastle Brown Ale to feel bulletproof and lightweight however field tests show the subject to be less than agile.



HAPPY NEW YEAR EVERYONE
(or I'll hit the UNDO button at midnight and we'll have to try all over again)



Parting quote:


"Goodbye. Goodbye to all the 87 software houses who are no longer with us . . . hello multinationals with your contract lawyers and your cut-price rotten little programs ..." - The Pi-man's end of the year message to fans circa mid 1980s

Monday, 12 December 2011

Bogged Down - Chin Up

 I apologise for lack of updates, long time since the last one (weeks it seems although I have two unpublished ones which are no longer relevant). I've been avoiding online spaces during this time, work has been bogged down with the multitude of tasks not just relating to the Combat Helo game.

I'm working on the flight model again this week so don't expect any updates in a while. I did get started on an updated FAQ and will publish that ASAP. Lots of things happen around this time of year with concerts and church services, when you have a musical family there's a lot of evenings taken up with those.

So I don't know when we'll have something to show for all this work. It'll happen when it happens, there's no budget to finish and I've got huge debts that require me to stop at some point and take time off to do other work.

On the plus side I did get a nice pressie from one of my brothers which is going to buy a nice cheap car (sensible, used K car but importantly has a working HEATER, a nice to have feature for UK winters). Something to be said for being happy just by virtue of being in a car that's warm.


"Do you know what’s killing Western democracy, George? Greed, and constipation. Moral, political, aesthetic. The economic repression of the masses institutionalized." - Bill Haydon from John le CarrĂ©'s  Tinker Tailor Soldier Spy 1974.

Thursday, 17 November 2011

Quick update - optimisations

Last week I identified one issue relating to UserEntityData introduced with the last engine update which prevents consistent update of Enity data due to some change in the hierarchy and no documentation on what was changed.

So I'm faced with having to re-factor (meaning to changing code but same behaviour) core sensor code. It's the sort of thing that is utterly frustrating and makes one want to throw everything out of the window. It's not as if there aren't enough things to do.

There's 4 major issues I'm not happy with:


  • Flight Model bridge refinement
  • Ground dynamics
  • Horizon gapping and other asset problems (licences/legal, audio)
  • Events / Triggers
I know I can rush some of these things and end up with something I'm not happy with. And if I'm not happy with it I don't see why anyone else will be happy. The majority of potential customers don't follow this blog, they don't care about how much work or team sizes, finds and lack-of, how or why, and often they don't care about the word "beta". To do what's right in the long term means having to not cut corners and do what needs to be done.

Sucks though.

Who would have thought building a stand-alone study sim of the most advanced attach helicopter on the planet would be so difficult? What gives?

Friday, 11 November 2011

Lest we forget

11/11