18 June 2017

Breaking habits

Seeking fresh ideas … Hum!
Accomplished creators will sometimes say something to the effect that one needs to master the formal conventions in order to bend them and innovate. (In the arts, I suspect there is some deeper truth about the historical transition from Romanticism to Modernism, but I digress as always).

When I first started making LoSt, the idea was for a small 7DRL shooter with card based mechanics and no hit points (getting hit was game over). That didn't scale well, however, and was gradually transformed into the current combat system.

Wounds UI
Health: Actors have a number of health levels (HLs), each with a number of bruise levels (BLs). If an actor spends a turn not getting hit, they regenerate one BL. Once a HL reaches zero, however, it won't heal naturally, and the player needs to rest at a saloon or hospice.

Initiative: All events have a speed value, with actions performed in a fixed order each turn. Melee precedes missile attacks, which in turn precede movement. If you're next to an enemy, you can back away, but giving your enemy a free attack. Also, actions can be "interrupted" by incoming attacks. The idea was to give melee an edge in close quarters: If you're wielding a knife and facing a shooter, your best bet should be to get up close and stab your foe before they get a chance to shoot you.

Randomness: The system is mostly deterministic. Attacks have fixed damage, and there is no probability "to hit". Instead, melee sometimes deal grazes (half damage) or critical hits (effect depending on weapon). Firearms have a chance of going wild, depending on conditions like cover and skills.

Game changer
This may sound good on paper, but I've been vexed by the fact that melee in particular doesn't work well in practice. There was a problem of getting ganged up on, since taking more than one hit in a single turn almost invariably depletes a whole HL, something that should be avoidable with clever tactics. On the other hand, the rapid bruise regeneration means the player often has to land successive blows to properly wound the enemy, in turn taking as many hits himself. Likewise, it doesn't make any sense for instance to stab once and then spend some turns to wield and cock a gun, since the stab wound will be fully healed by the time you pull the trigger.

There's also been a problem with balancing damage. Comparing a club and a knife, they both deal 2 BLs, but the club spreads the damage over several HLs, whilst the knife puts all of it in a single HL. At the end of the day, the knife is almost unambiguously better, since it has the chance of depleting HLs more quickly.

However unbearable I find the current states of affairs, this system has been in place for years now, and me stumped as to how to fix it. Should I try to make something different altogether? Introduce a standard hit points system? God forbid! I'm giving the current rules another chance, and started by just tweaking the existing values.

Here are some of the changes I'm trying out currently:

Damage output: I made mostly everything deal a little less damage. I figured the lower tier weapons (bowie knives, tools, whips) can deal just a single BL in damage, and still be better than unarmed fighting, since unarmed fighters are unable to score critical hits. Increasing the player's health might also be an option here.

Bruise regeneration: Bruises now regenerate every second turn, and healing the last BL of a HL takes another extra turn.

Interrupted actions: I've disabled this almost completely. If an actor gets hit right before carrying out an attack, that attack is no longer blocked, but rather guaranteed to be a graze/wildshot. At point blank range, a wildshot will hit the target about 50% of the time.

This already works better than before, even if it's basically the same rules. For one thing, a couple of angry animals won't kill you in a single turn, even though it's still bad to get surrounded. The slowed regeneration rate means that there is more time to apply actual tactics, like spending a turn to reposition, without all bruises being reset. The fact that the last bruise in a HL takes an extra turn to heal also gives an advantage to weapons which deal damage over several HLs. A weapon dealing 2 BLs to a single HL still has an edge when it comes to quickly whittling down your enemies HLs, whilst a weapon dealing 1 BL to two separate HLs is less of an immediate threat, but will give an advantage a few game turns down the road.

I may still have to make some more fundamental changes to how combat works, but it's refreshing just to see the game work slightly different from what I've grown accustomed to.

Props unbound

Inspired by the moderate success with switching around combat rules, I'm also trying some changes to the inventory system. Again, some pretty arbitrary principles had grown out of the original game (some of them outlined in an earlier post). For instance, I felt that limiting actors to carry only six items at any time was pretty neat, since dead dudes would just drop all their loot in a nice circle around themselves.

Now, I've upped the inventory cap to 12 items, which really just lets the player carry more trash around (although balance issues may arise later). Secondly, props are now dropped and picked up from adjacent hexes rather than the one you're currently occupying.

The effect on gameplay is minimal, but I may keep it this way, just because it offers a solution to a problem I've been having: how to give props to NPCs? I didn't want a separate "give" command, so instead I implementing a heavy-handed system for offering NPCs stuff by dropping it in their field of vision. This is how you currently collect bounties from judges, by plopping the severed head of a goon in their vicinity. God only knows if a single player has yet picked up on the fact that this is a thing, as it's only vaguely hinted at in the dialogue. But if props are dropped onto the hex right in front of to you, the system pretty much gives itself: Simply invoking the "drop" command when facing an NPC should make for a pretty intuitive and smooth interface.

Current shop layout, and more spacious mockup
D=door, s=shopkeep, c=counter, p=props
I'm slightly concerned that some veteran RL players may find this counterintuitive. It's still possible to pick up items you're standing on, but that has the disadvantage of not properly teaching how it "should" be done. Players who fall into the habit of walking on stuff to pick it up, will in effect be wasting a turn as opposed to players who fall naturally into using the new system. There are some possible ways to fix that, either by making it a free action to pick something up, or even let props on the ground block movement. This last solution would mean some pretty drastic changes to tactics, but might even work when I start making everything a bit more spacious, which is something I've planned in any case.

Come what may, it's always good to break habitual thinking by changing the rules around a bit. Every dead end explored is a step in the right direction.

As always,


  1. Hi there! I found your game some time ago, I played it a few times and really liked it but I had some minor complaints. I didn't give any feedback back then but it looks like you improved many things I found slightly annoying anyway :) (judging by the screenshot you've posted on your sharing saturday entry on reddit). R and C sprites got removed from UI (those displayed next to prop held in hand), inventory and actions menus now look more like web browser tabs... Starting settlement looks very cool too, I think it will greatly improve early game experience (which wasn't always as pleasant as I would like -- like spawning on empty desert just to be killed by first animal you encounter and so on :) Regarding the UI, I still have some nitpicks:
    - info in message log should not disappear after one turn
    - list of PCs skills (the one you see when you 'l'ook at character) is a bit messy right now, it would be nice to have skills categorized into passives and ones requiring activation
    - put PCs name and class in top right corner of the window (just because I feel like something's missing without them :P)
    - give the player ability to go to previous step/reset/cancel character creation
    - when you lose a BL, a little red heart tilts sideways. It's not always recognizable at first glance how much BLs left you actually have - but it's probably the most important information displayed in the whole GUI. Maybe changing lost BLs to appear grey (or making the hearts bigger, or both) would help.
    I also don't really like the fact that some of NPCs don't have individual names (lynchers, snipers etc). I understand that name signifies more important NPCs, but probably you can find a better way to signify importance (like displaying names using different (bold?) font or something). Names greatly add to worldbuilding plus there are situations where the game writes prompt like [mudfaced goon cocks his gun] and I'm like -OK, which one, because I have 6 these guys on screen.

    My english sucks but I hope this comment is more or less readable ;P I can't wait to try #12. Keep up the good work :)

    1. Huzzah, a comment! Thanks for the encouragement, I'll put your nitpicks on the short todo-list :) Some of it touches on topics I've been pondering lately, like whether or not to give names to everyone. I've also added basic mouse support for the next release, so it's a good time to make some general improvements to UI. Other than that, the plan is that starting in a settlement will give some shape and direction to the game, including systems for long term healing, experience, reputation, and bounties/quests. That's a mouthful, so the first iterations will probably be a bit crude, but there should be interesting times ahead.

      As always,

    2. It's good to know that my comment was an encouragement to you, I was afraid that my complaining might bring opposite effect :) Here's one more complaint about character creation: description of dilettante should probably inform, that they're starting with 2 random skills (I fully expected that combination dilettante + unpromising would create character without any skills at all). Those skills seem to come from outside of starting shticks pool and some are really interesting. I feel like some players might end up rerolling dilettantes (to get e.g. baddass unarmed fighter with the bone way + cat's craddle (though chances of getting such combination are really low)). BTW there's minor bug in picking random skills for dilettante - sometimes both random skills are the same.
      Regarding skills descriptions:
      - I think there's no reason for displaying UNPROMISING and its description in skill list (again, the one you see when you 'l'ook at PC). During creation unpromising serves as a way to skip a step with choosing foibles/shticks. After that it just doesn't inform about anything.
      - It would be nice, if description of SKILLFUL would inform which additional skill it provided (simply writing at the end of description [provides SKILLNAME] would probably do)
      - The description of UNLIKELY COVER has word "likelyhood" it it. I believe correct spelling is "likelihood" - but for obvious reasons you shouldn't trust me on that :) and you might want to check it for yourself
      I also wanted to ask about FOCUS skill. I'm not sure what exactly "acting with increased speed" means. I know how every turn is divided into steps etc. With >quick< status I seem to be able to shoot a NPC before it hits me with melee, but I can't run away before getting hit, which would mean I'm only one step faster -- is that correct? (Is that question understandable? :P )
      Oh, and please, if you think that there's conflict between what I think would make the game better and what you think the game should be -- always put your vision of the game first. For example, I wrote in my previous comment about info in log disappearing too fast. But maybe you wanted to avoid putting too much text into the log. But if you still want to adhere to feedback maybe the solution would be to provide the player information via some visual effects instead of clogging the log with text (or something like that, it's just an example ;)
      PS. Mouse support sounds like great addition, though personally I find current keyboard controls to be very comfortable ;)

    3. Well, when comments are as well informed and polite and yours, then they're a joy to receive :) In the words of the Norwegian rhethoricist Georg Johannesen: "ris = ros" (roughly, "criticism = praise"). Even when I have some long-term plan that might fix an issue indirectly, it's nice to see what rubs people the wrong way. That, and knowing that even the current bare bones release inspires anyone to think about stuff like skill synergies makes the development process feel a bit less lonely.

      Regarding the "Focus" skill, I think you're quite correct. Being "quick" makes you act one time tick before you normally would. So you can't use it to dodge incoming attacks, but it lets you "win" one turn by hitting first. On a related note, time is a bit buggy in the current release, and the system itself perhaps slightly unclear. This is something I hope to sort out along with tweaks to the combat system.

      As always,