Keep Our Troops At The Front Firing!

In other words: Ammunition. (Because we know that everyone loves counting bullets.)

Herschel Boot knows what's important.

Herschel Boot knows what’s important. (Mind the Errant Viscera.)

But no, it isn’t about counting bullets and shouldn’t be. Let’s back up the discussion a step and deal with –

Why Ammunition?

Let’s state the working assumptions of the system before getting into how to build upon it.

We have combat in Clockwork Empires. A player’s soldiers combat effectiveness is determined pretty much entirely by your soldiers morale and their ability to output damage.

Damage output is based on weapons (which don’t have a lot of variation right now and aren’t controlled by the player anyway) and on positioning/density of troops vs. enemies (which is determined mostly by procedural circumstances, though the player has some control over terrain via gabion construction and positioning via use of rally points).

Morale is determined by how upset people are and can be controlled by not getting people killed, having good cooked food available, booze, having nice houses with beds to sleep in, and letting people make friends (idle time). Although if people are the least bit upset, they’ll get recruited into a cult rather than just making friends, so that last bit can be troublesome.

Let’s make a visualization of this because I like pictures.

Hey, this is fun!

Hey, this is fun!

Right, so that’s pretty good. Ties lots of game systems together.

But wait, we could make this more interesting! There is, I hear, more to life than growing cabbage in your dirt-fort and swilling some beer before sleeping in a miserable cot. Plus most of this is automatic once the player sets up the farms and buildings. We want the player to be able to make some more interesting decisions as well as provoke them to move higher into the advanced buildings like, oh, how about the the Refinery/Metalworks/Arsenal line? That’d be nice. It wouldn’t hurt to introduce the possibilities of harrowing peril while we’re at it, either. Now how do we do that?

Yes, ammunition!

The plan is to tie “teching up your industry” to combat effectiveness, provide interesting opportunities to allocate limited resources, provide interesting situations good & bad for your soldiers to get involved in, and create the need for more combat effectiveness so we have a nice feedback loop going on.

The Rules

  • Firing a (single-shot) gun costs one bullet. You can’t fire a gun without bullets.
  • Soldiers can carry 20 bullets.
  • Crate of Ammo (an existing commodity object) hold 100 bullets.
  • When a crate holds zero bullets, it should disappear.
  • When soldiers have fewer than their maximum bullets, they should want to retrieve bullets from a crate.
  • When soldiers are running low on ammo, they should feel less compelled to stay in a fight.
  • When a soldier dies, they should drop their bullets.

Sounds simple enough, right?

(It’s not that simple but it was straightforward because all the infrastructure to script this exists; this required introducing the notion of commodities holding amounts of a content, a job to take a requested amount of content from a commodity and all the possible cases there; generating commodities with a given amount when a soldier dies and discovering that all ints get turned into strings when this particular data structure is passed through the C++ layer for perfectly good reasons which I knew nothing about until I reported this ‘bug’ after all the work of tracking it down, etc. All told, as far as fairly sweeping new features go, it was a breeze.)

Ammunition requirements, player, (in which game objects are underlined)

From the player’s perspective, creating a Crate of Ammunition at an Arsenal costs Barrel of Gunpowder and Brass Ingots. Easy! Wait – how do you make those?

Barrel of Gunpowder requires Sulphur and Coal (or Charcoal) to be combined at a Chemists Workshop. Sulphur must be mined. Coal must be mined from the ground. Charcoal can be produced in a Charcoal Kiln at a Refinery from Timber from chopped down Trees.

Brass Ingots are made from Copper Ingots and Zinc Ingots combined in a Refinery. Copper Ingots are smelted at a Refinery from Malachite (an ore of copper) mined from Malachite Nodes. Zinc Ingots are smelted at a Refinery from Sphalerite (an ore of zinc)  mined from Sphalerite Nodes.

Still with me? I think it’s time for a picture.

I love these charts. I really do. No one else does.

I love these charts. I really do. (No one else does.)

There’s a lot going on there, and it’ll force the player to dig into the complex production chains and go out exploring the map to find ore, inevitably stumbling into trouble. It’s going to be Fun! (We’ll probably do well to have the Arsenal produce gunpowder rather than the Chemist, but it might be fun for players to discover that the Chemist can make Laudanum, Sulphur Tonic, and Sulphur Fertiliser …)

Ammunition & morale

Ammunition introduces another indirect element to combat effectiveness (vs. the direct element of “needing bullets to shoot at all”): simply have bullets remaining weight the utility of a soldier decide to fight vs. flee. From here, we get poorly-equipped soldiers who are running low on ammo being more likely to run from battle (unless, say, they possess the trait “Foolishly Brave” in which case they may fight it out with bayonet). This ties ammo back into the character system, and it rewards players who have effectively supplied their soldiers. Excellent.

Landmines & Heavier Munitions

Oh yes, landmines: this was mentioned it last week. Their effect is essentially to make placement of gabions aka manipulation of enemy movement really interesting. Landmines are a bit expensive – probably not even a good deal right now, which’ll require gameplay balancing – so you want to put them exactly where you think they’ll do some good such as between gaps in your gabion wall.

I just realized, considering the expense of landmines vs. their effect which only sometimes kills the enemy, they should really ought to have a huge morale effect on any enemy who witnesses a landmine detonation. The terror of the weapon is partly in how you have no idea where they might be. Um. Just a sec, making a note to add this …

… right.

What’s This All On About

We’re implementing the plans laid long ago. In creating these systems, the implementation itself suggests new mechanics that arise from the interacting mechanics. It’s really neat, and it’ll just get more interesting as we add new pieces to the mix.

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

33 Responses to “Keep Our Troops At The Front Firing!”

  1. ghosttie says:

    I think faced with a tech tree like that I’d be tempted to outfit my soldiers with slingshots

    { reply }
    • Grant says:

      Agreed. It looks… intimidating.

      Of course, starting with a stock of bullets and trying to save them, hoping against hope for supply drops, maybe making simple melee weapons to use when the bullets run low and the fishmen are burbling in the night—that IS interesting. I think some lower-tech alternatives might smooth the curve out a bit.

      { reply }
      • AdminDavid Baumgart says:

        A couple things that don’t yet exist should make it easier:
        1. UI hinting for everything (This makes that, that is required for this … ),
        2. Trade of some kind, so you can ‘cheat’ the tech tree provided your colony has /some/ speciality.

        (And: Started adding the idea of fighting in melee to soldiers, but it’s going to take some work to balance nicely.)

        { reply }
  2. Alephred says:

    I love your charts too! I even made some of my own. Now all I need to fulfill my life is some sort of CE information that can be presented in the form of a Venn diagram.

    { reply }
  3. Shadow says:

    Supply drops? From where? Are there airplanes in the game already? 😛

    { reply }
    • AdminDavid Baumgart says:

      Airships, presumably. And they’ve been in for quite some time now actually as an event that allows the player to select whether they want food, weapons, or building materials.

      { reply }
  4. Jabberwok says:

    Will ammunition in crates or dropped be able to explode if it, say, catches fire? And for that matter, is there fire?

    { reply }
    • AdminDavid Baumgart says:

      Not currently attached to ammo crates, but the very start of object damage is in the game and can trigger explosions. Landmines, for example, can detonate adjacent landmines if they’re placed too close together.

      (Fire isn’t in yet, but would be fun.)

      { reply }
  5. Alephred says:

    So where’s the Plague implied by ‘Today on the blog: guns and ammo! (And plague!)’

    { reply }
  6. Caffa says:

    Sorry to ask a question that while related does diverge from the topic a bit, but, what are the chances of encountering other countries soldiers, explorers and colonies? I mean, if there is steam punk Britain, will there be steam punk France?

    { reply }
  7. KnightofSongs says:

    I was under the impression that Clockwork was still using shot and loose powder for the musket and pistol weapons in-game? Then again, the high rate of fire current seen would match that of contemporary single shot cartridge breech-loaders…

    The ammunition system as laid out is satisfying, even if it is missing a few essentials in the manufacturing procedure. Your gunpowder recipe is missing an all-important oxider (saltpetre), but I’ll just assume the Arsenal has a nitre bed under the building where the colonists’ nightsoil is collected and processed into what they need. Your ammunition has brass for the casings and gunpowder to fill them, but no bullets to be casted? Or is the brass also what the bullets are made from, seeing how Clockwork is a lead-free environment?

    What I want to see is more powerful weapons becoming available, perhaps even giving us the chance to build our colony’s war industry up to a point where we can challenge the Empire, strike for independence, and battle it out in the skies with our former imperial masters? That would be some wicked end-game to look forward to.

    { reply }
    • AdminDavid Baumgart says:

      We did painfully accurate crafting for Dredmor and it was actually a terrible idea due to inventory space and item shuffling effort overhead. This is not dissimilar to the Dwarf Fortress phenomenon of soap being more work to produce than most metals!

      Some amount of handwaving here is necessary – and if a system is found anemic, there are easy opportunities for increasing complexity available which I am entirely eager to implement.

      … Likewise with bullets, which I *am* fully a nerd about; This is a period with possibly fascinating transitions from powder & shot to cartridge w/ separate ball then minie ball, to metal cartridges advancing from rimfire to center fire, to say nothing of wheel-lock to flintlock to percussion cap to whatever, and then clips to even magazines at the top level of tech … … but if we tracked 8 different types of ammo it’d drive everyone (else) totally crazy. So we have to make allowances.

      { reply }
      • KnightofSongs says:

        Sorry if my post seemed a bit critical, didn’t mean to be at all, I understand completely how simplifying things make for a better game. If I wanted completely accurate crafting, I would go play Wurm Online 😀 – ten god darn RL days to raise a small shed…

        { reply }
  8. Ghin says:

    I found myself wondering why the Refinery and Metalworks are different buildings.

    { reply }
    • AdminDavid Baumgart says:

      … I wonder that myself sometimes.

      (But I believe it’s to do with the potential expanded role of industrial refining processes once a lot of stuff gets fleshed out and works more smoothly.)

      { reply }
  9. The Chaplain says:

    Bullets and landmines, argh, that’s awesome, love to see how smb’s blowing up.
    Emmm…
    David? Question please? Two questions, actually:
    1. What about grenades, machinegun turrets and artillery turrets?
    2. Why you – Gaslamp games guys – are so awesome?

    { reply }
  10. hallucigenia says:

    Gotta say, these last few updates are worrying me a little bit. I know that it’s probably just because you’re focusing on fixing combat right now, but I’m here for the builder-game industrial logistics. Clothing! Health-care! Visiting naturalists and poets! Unreasonable production demands from Parliament!

    (Well, that and the geology. Always the geology.)

    { reply }
    • AdminDavid Baumgart says:

      (Frankly, it’s easier to write a blog post that’s exciting to more people if it’s about combat. Besides, lots of the economics stuff is deep infrastructure rather than implementation right now, so again, less easy to talk about immediate gameplay impact. See Nicholas’ blog post from last week for a bit on the revisions going in to building/module creation that are going to be the foundation for a massive reordering of the game’s economy.)

      { reply }
      • hallucigenia says:

        Yeah, that’s what I was figuring. I just got worried because combat logistics hijacked Gnomoria for quite a while.

        I look forward to an exciting economy. 😀

        { reply }
  11. Col says:

    No requirement for saltpetre to make gunpowder? Surely sending your colonists to root about in bat-infested caves or the cellars of Mysterious Ruins could only lead to fun times for all? And as for the strange and woderous Selenial Fungi which could be cultily cultivated in noxious niter-beds, well…

    { reply }
  12. Maurizio says:

    ho installato la patch 31C ed ho avuto problemi con i militari che combattono poco,poi alcuni errori segnalati sul cimitero e quando ho posizionato le mine,poi ritengo migliore il primo sistema di costruzione edifici,miglioramenti sul cibo,attendo al piu’ presto aggiornamento,ciao e good job!

    { reply }
  13. BobJohnson says:

    I like the charts too, they remind me of the Dwarf Fortress ones, like this one :
    http://dwarffortresswiki.org/images/e/e6/FlowchartDF.png

    😀

    { reply }
  14. Caffa says:

    If you don’t mind I have another question to blurt out in your general direction. Will there be a chance of exploring and finding the spooky remains of a destroyed colony? I mean, this is a probably quiet a bit of work, but anyway, maybe?

    { reply }
  15. Joaquín says:

    Here is the Spanish translation, to support the game in other languages

    http://simcitycoon.weebly.com/inicio/clockwork-empires-fabricacion-de-municion-y-minas

    { reply }

Leave a Reply to Grant { cancel }

Your email address will not be published. Required fields are marked *