Author Archives: Daniel

Flora

Generating terrain for a video game is almost always done by hand, by artists, over a long period of time, sometimes even going to the lengths of placing each blade of grass that the player will see.  This visual design and implementation of large scale AAA video games is the vast majority of their development budgets, spanning tens of millions of dollars that we obviously don’t have.

So we don’t do it that way.  We can’t compete with it.  Instead, we (like many other indie game companies) cut corners by making the game world generate itself procedurally, writing algorithms for the placement of trees, grass, rocks, rivers, mountains, glowing ruins and evil monoliths.  Seriously, we have an algorithm for evil monoliths.

The Gray Man can be found among the giant horsetails on only the blackest nights when even the moon itself hides itself away from What Which Walks. No, this is something far more sinister than a quick asset scale test render in Maya.

David and I have been arguing since the last post on game terrain about the “binning” of our biomes into the 9 categories.  His argument being that it’s an unnecessarily simplistic system for such a potentially rich environment.  My argument was, of course, that at some point the simulation is growing so intricate that we’re spending time where we shouldn’t be, and that we’d be far better off improving the game-play than the terrain, but if we’re doing things right, the game-play will be pretty heavily influenced by the terrain, so a certain amount of this makes sense.

So I have capitulated, may the internet have mercy on me.  Here’s how the system works right now.  (If you don’t think that math functions are cool, this might be a little dry.  Sorry about that!)

{ read this article }

Posted in Clockwork Empires, Game Design | Tagged , , , , , , , , , , , , , , , , ,
22 Comments

It’s an Odd World After All

It’s amazing how far you can go writing a video game without actually answering really important questions like “how does the game terrain actually work?”  In a perfect world, if everything worked as you imagined it would the first time, making video games (on our time scale at least) involves spending a few months building the idea of the game in your head, then spending a year or so whittling each piece out of little wooden blocks and pressing them gently into the computer. This has the added advantage of explaining why our computers are filled with little wooden blocks.

Let’s put a happy little fence right here in this happy little glade. Isn’t that nice?

We’re writing the biome code now (well, another iteration of it) which determines what natural objects exist in what areas, be they desert, tundra, jungle, forest, or maybe something weird like an Healthfully Irradiated crater or a la(r)va field, who knows.

There’s a bit of a process to defining how these things exist, what they get to talk to, and how complicated we want to make them: We hammer out a 3 page document on our internal wiki, argue over it (possibly in THE PIT), make Perfectly Necessary Amputations in some places, and more complexity in others, then start actually writing code.  Invariably we’ll forget something or make a Horrible Mistake that causes the world to be impaled with giant spikes of rock that are infinitely tall (it happens) and have to rewrite, but that’s the Creative Process.

Every game tile is currently given a temperature & humidity value, a wateriness descriptor (aquatic, wetland, or land), and an integer value for soil quality. We started with a simple 3×3 matrix of temperature and humidity numbers to map biomes on, but it turned we really wanted swamps because they’re 1. creepy and 2. you need somewhere quiet to throw that body or that artifact which Was Never Meant To Be Found. Similarly, we’d like rich, rolling prairies to cleanse of wild aurochs herds and fill with factories and pipes, and because there was no distinction in our system between the temperature/humidity values of forests and grassland areas, we realized there was a need for some measure of soil quality.  In broad terms for our system, fertile soil produces trees and barren soil produces grasses – or nothing at all.

This notion of soil quality may also give an interesting mechanical and ethical/narrative consideration to the act of (profitable, profitable) deforestation.

Don’t eat the apples in the Garden of Potemkin. (And yes, there’s another little fence. I like the fence. Deal with it.)

With this fertility numeric, we can do all sorts of neat things: We can make clear-cutting a forest cause the area over time to yield no trees at all; We can give incentive for crop rotations (if we want to be bothered with that), or we can give you a temporary bonus for, say, slashing/burning jungles by temporarily boosting the soil fertility drastically.  Sure, all the animals would die, the area would become a barren wasteland after just a few crops as the topsoil was washed away, and you’d be left with useless land and starving peasants, but that’s okay because you’ve put enough away cash from skimming off the opium plantations to retire your bureaucrat to that manor in the Home Counties, right?

It will of course need to be clear to players what the impact of these choices will be, and you should still be able to just render your terrain a hellish landscape of coal factories (which make coal out of other types of coal) and machinery, each attended by noble clusterings of pipe, but making the hard choices that balance quality of life – and the landscape – with short-term needs (Dagon isn’t going to drive himself back into the swirling blackness of the ocean depths) should make the world feel like more than just a grid to build stuff on.

Posted in Clockwork Empires | Tagged , , , , , , , , , , ,
23 Comments

Dungeons of Dredmor for Linux updates!

Dungeons of Dredmor is coming to Steam!  …Again!

First for Windows and Mac, and now, the fabled Linux client.  While the Linux client for Steam is still in a closed beta test, those who have access to it should now be able to purchase Dredmor for Linux (as well as a slew of other great games).  Also, of course, if you are in the beta and already own Dredmor on Steam, you should just be able to download it and give those Diggles what-for.

As ever, the Dungeons of Dredmor binaries available through Steam are DRM free, but if you would prefer some other means of procuring our exotic Linuxian delicacies, we are in the process of rebuilding the DungeonsOfDredmor.com website to include the ability to purchase all of the expansions (as well as a complete pack) through the Humble Store, also DRM free, and for every platform.  Because we love you guys. <3

Posted in Dungeons of Dredmor | Tagged , , , , , , , , , , , , , , , , ,
6 Comments

States of Things: Abstract Resources & The Metagame

Our current iteration of the Clockwork Empires meta-game follows you, a bureaucrat of The Empire, on your (in)famous career.  In game terms, preceding every instance of the city-building game, you will be presented with the choice of a number of objectives to attempt to complete during the game. Completing these will generate prestige points, which is currently designed to be a voucher system that can be spent to “break the rules”, from something as simple as calling in a favour for some rare machine parts to, perhaps, an airship bombardment strike against an attacking enemy. It’s like using mana to cast a magic spell, but in a strategy game. And it’s politics rather than magic. And you’re a bureaucrat. The pen is your wand; the spreadsheet is your tome. (We can go on like this for some time, you know.)

But a downside of the system that we’ve been discussing is that this mechanic rewards only the people who actually do what the Empire wants and so penalizes people who want to do something totally weird (and possibly awesome/terrifying) that has nothing at all to do with what the Prime Minister wants you to be doing. To solve this we’re considering a system in which prestige is no longer won just from The Empire;  other factions will exist throughout the game and, say, by helping or hindering them you will open up the possibility to unlock new objectives for yourself.

Are the Stahlmarkians running dangerously low on festive lager?  Send ’em a few barrels and maybe they’ll train some pilots for you. Are the Squamous Crater Beasts running dangerously low on human brains?  You probably have a few you weren’t using anyway, and you never know when you’ll need a favor from the Squamous Crater Beasts. Maybe they’ll be so good as to eat the brains of someone you don’t like the next time they come around; Her Majesty’s Detective-Inspector from the Ministry of Extradimensional Containment, say — why, you can’t have him wasting time questioning your overseers about the digs going on beyond the Screaming Hills when there’s Important Digging to be done.

It’s useful to make friends. And they come in all shapes. Some wear pointy helmets. Some are incomprehensible to a sane human mind.

Why not produce Perfectly Safe steam via clean-burning Madness?

Posted in Clockwork Empires, Game Design | Tagged , , , , , , , , ,
33 Comments

Choices, choices.

Once again, we are back to knife-fighting in the pit. This is the traditional game design approach at Gaslamp Games; we fight to defend our ideas, using oversized weapons and our bare hands. Recently, however, somebody has been seen fashioning a rudimentary lathe – a troubling development that will either upset the balance of power or be absolutely useless.

So what have we been fighting about? Well, all sorts of things. Today, let’s talk about the AI. The AI Cabal – Nicholas, Chris Whitman, and myself – have been hashing things out, and what we have is a data-driven, XML-based monstrosity that is sure to please everybody. The whole goal of Clockwork Empires’ AI is to provide characters in the game (currently referred to, in-engine, as Citizens, although this is not something that makes David happy; after all, we are a monarchy) with unique, rational, and relatable behaviours. The plan is to start simply, and add layers of complexity to the game until the goals and aspirations of characters appear to the player naturally and gracefully.

{ read this article }

Posted in Clockwork Empires, Game Design, Programming | Tagged , , , , , , ,
18 Comments

Clockwork Empires: The Press Release

aka: “Project Odin”

August 27th, 2012 – Gaslamp Games, Inc., independent game developers and makers of the critically acclaimed Dungeons of Dredmor, are pleased to announce their new title, Clockwork Empires, for the Windows, OS X, and Linux platforms.

The Clockwork Empire is expanding! Brave people, seeking glory and wealth, are setting forth for uncharted lands in search of fame and fortune. This is a new age of Science – fearless naturalists, clever tinkerers, and brilliant inventors hold sway over the imagination of the common folk, wielding voltaic energies and constructing chromed brass clockwork engines. It is an age of The Arts – poets lie expiring on every street corner, crying for Reform and more laudanum, while the Empire Times spews forth from the great presses of the Capitol, filled with stories of inspiring hubris and adventure from The Colonies. It is an age of Trade – the many arms of the Imperial Chartered Antipodean Trading Company lurch across the oceans like the limbs of a commodity-crazed octopus, dredging untapped markets for wealth and glory. It is an age of Politics – scheming agents of the Empire skulk through the slums and grottoes of the colonies, dodging anarchist schemes and cultists’ rituals, and fulfilling secretive missions on behalf of Her Majesty the Queen. Meanwhile, in the Capitol, favours are curried in the Houses of Parliament and the Panopticon between the artistocratic Lords and the rising classes of Industrial Barons.

Fly the Union Cog over all three identified corners of the world!

But not all is well in the Empire. Strangers gather under lampposts and in bars, telling stories of Those That Live Beyond The Stars, operating in invisible geometries from another dimension. The Queen, some whisper, has been locked away at the behest of her own Prime Minister… but to what end? The Church of the Holy Cog prays for the salvation of the Empire, yet everybody fears the indescribable colors that trace lines through the darkest woods and beyond the reassuring glow of the gas-lamps. The fortunes of the Clockwork Empire are watched, silently, by unseen eye-clusters and malevolent entities trying to breach the walls of reality into this world.

Take on the role of a Junior Bureaucrat (Colonial Grade), sent forth to seek fame, promotions, and natural resources to feed the ever-hungry maw of industry and commerce. Build mighty colonies, fill them with magnificent factories and tortured machinery, and harness the power of steam and energies brought forth by determined, unregulated men and women of Science!

Glory is yours to seize; the world is yours to do with as you please. For fame and fortune, for Science, and for the Queen and the glory of the Clockwork Empires!

But wait, there’s more!

Herein, the good folk of Gaslamp Games present a small selection of their “penny dreadful” game development features, demonstrating wonders never-before seen in plebian entertainment:

  • Dynamic, city-building, citizen-simulating action. Every imperial subject has a purpose and agenda of their own, and their interactions are rich, exciting, and often lethal!
  • New “procedural extrusion” technology lets you design your colony the way you want! Buildings are procedurally generated and extruded directly from the aether to your specifications!
  • Tame the uncharted continents by land, sea, and air! Set forth in mighty Zeppelins to do battle with Sky Pirates, or take to the seas in search of fortune and probably sea serpents!
  • Create magnificent acts of plumbing, link together mighty gears, and build ominous Megaprojects!
  • Tangle with the machinations of malevolent entities! Scry the legacy of the Invisible Geometers, fumigate the baleful moon-fungus of the Selenian Polyps, and cleanse the scuttling creepiness and poor personal and moral hygiene of your everyday, average cultist.
  • Losing is still fun! When your colony fails miserably, earn medals, promotions, and titles as befits a true politician and scion of the Empire!
  • Multi-player mode, with up to 4 players, lets you co-operate with your closest friends to build a glorious city… or fight a horrifying economic battle to total annihilation!
  • Round-Robin mode lets you share your Clockwork Empires with friends! Take turns running a colony directly into the ground then argue for fun-filled hours about whose fault it was! (Like Monopoly but with more exploding Zeppelins!)
  • Rendered in glorious GaslampVision! Thrill as the colours are brought to life by Gaslamp’s team of caffeine-addled artists labouring under the technical specifications of our elite programmers* to bring you a game that is rendered in Each of the Three Dimensions! New multi-core technology by Actual University Students lets you use every last ounce of power in your computer to run a thrilling and vivid simulation!
    (* We’ll see about that, Nicholas. Soon. – David)
  • Featuring the new Dynamic Soundtrack Orchestra – the Soundtrack that Adjusts to Your Gameplay! (Mr. M. Steele, conductor)
  • No always-online DRM requirement, unlike certain other games we don’t want to mention. You know who you are and your mothers are very disappointed.
  • Comes complete with the Gaslamp Games Quality of Excellence that you know and love, and if you don’t like something you can mod it yourself in the best tradition of Empire Craftsmanship!

For more information, Gaslamp Games invites you to subscribe to their Awful Circular, available at www.gaslampgames.com on the Inter-Net Tubes.  For more exciting information about the latest Gaslamp Games endeavor, visit PC Gamer!

Cog Save the Queen! Huzzah and all that.

Posted in Clockwork Empires | Tagged , , , , , , , , , , , ,
104 Comments

Dredmor Patch 1.1.1

EDIT: The traditional Gaslamp Games “we broke your saves” 0-day hotfix can be found here. — Nicholas

As is the Gaslamp Games tradition honoured by our ancestors, with the release of an expansion (maybe you’ve heard of it? Wizardlands?) we are also adding and fixing a bunch of stuff in the core Dungeons of Dredmor game.

The patch will go live alongside Conquest of the Wizardlands, which will be launching very very very soon.

Edit: As for 10:55am on August 1st, The Patch is Live!

Some choice highlights:

  • Two new skills and weapon types have appeared: Daggers and Polearms!
  • Larger UI controls are now on a per-element basis, rather than a global setting.
  • Minibosses has been added!
  • Nerfed Promethean Magic again!  We can’t send eagles to attack your abdomen so this is the best we can do.
  • Oh, and we added a Raven.  I guess we could have used that, but it get its own bullet point.
  • Added a Pocket Dimension for all your storage needs!  Requires finding a suitable set of Wizard’s keys.
  • Total rewrite of savegame system.  Saved games are now stored in directories, and mods are now embedded in those saved games.  Now, when your Steam Workshop mods update, it won’t update in the game you have been playing (which was a bad idea).
  • Mods published to the Steam Workshop are now automatically tagged to describe their content (new rooms, skills, monsters, et cetera).
Full changelog after the break.
Posted in Dungeons of Dredmor | Tagged , , , , , ,
51 Comments

We are really busy.

Working for the weekend.  Deadlines.  No time for coherent post.

Posted in Dungeons of Dredmor | Tagged , , , , , , , , , , , , , ,
15 Comments