TUXDB - LINUX GAMING AGGREGATE
by NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 8 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]


LET'S LEARN ABOUT STORYLETS


Weve mentioned that one of the criticisms the original Brigador frequently received is along the lines of Cool mechs, but what else is there to do? If you havent been following our development updates since they began, part of what were doing as a response to this is adding elements of progression like acquiring unlocks within a map, rather than the previous system of spending money in a menu outside of the action. What we havent talked about yet is how Brigador Killers is presenting the narrative - and yes, modders will have access to these tools. (By the way, whoever is responsible for looking after the TVTropes page for Brigador - your efforts have not gone unnoticed and we appreciate those of you who spent the time piecing together that games story.)
Brigador Killers will have narrative systems, including dialogue. They are heavily inspired by Emily Shorts article Storylets, You Want Them and Elan Ruskins article Dialog in Procedural Storytelling in Game Design (eds. Tanya X. Short, Tarn Adams), which describes the contextual dialogue systems in Left 4 Dead. The overarching system is made up of four overlapping narrative systems: storylets, predicates, the gvar (or "global variable") editor and a library of Lua functions. Note well: what were showing off is a work in progress, and both the systems and UI elements will change, particularly the debug panel.

WHY THESE SYSTEMS?


As Emily Short describes in her blog, there are three attributes that make up a storylet: [olist]
  • A piece of content
  • A set of conditions that determine when the storylet can play
  • A set of changes that happen to the world state after the storylet is completed. [/olist]Why do this, and not just a normal dialogue system? For one thing, we didnt just want a dialogue system. This system of storylets and qualities gives us far more flexibility to describe a changing world and react to the players actions. On Brigador, we freed the player from some level design constraints by implementing completely destructible environments; on Brigador Killers, we want to do the same thing with our storytelling. Storylets enable us to write reactive chunks that respond to the players decisions and behaviour. Lets say that you have intel on a Betushka that you want to steal. In a traditional model, wed simply set a flag saying that you unlocked the Betka and dialogue trees would have variations to account for that flag. Using a storylet model not only allows us to track whether you steal it, but also how you steal it. Rather than accounting for flags within complex trees, we can (following from Left 4 Deads contextual systems) write reactions for various NPCs based on the stolen Betushka quality assigned to the player. Qualities are like a flag, but with more semantic information. Where Left 4 Dead's characters react to the world around you in an FPS, Brigador Killers characters will react to the story-world of the players actions. Not only that, storylets and qualities can be used to affect the game state on a local, per-map level, as well as on a global, game-wide level. They are not just a means to make NPCs interactive on a map, though we can do precisely that. Lets say we set down two NPCs that when we interact with them, a text box will appear.
    If we interact with the NPC on the left, their text box is a simple introduction. If we interact with the NPC on the right instead, we can have them ask the player if they spoke to the first person.
    And as a part of that chain of dialog we can have the first NPC chime in on the conversation
    And if we wanted to do the same thing for both NPCs, we can do exactly that.
    A system like this is appropriate for the needs of BK because we have player reactivity in mind for the design of the game. Put another way, if presented with a choice of left or right, we want the player to be able to select either one and still be able to advance, and not be required to speak to the correct NPC. Indeed, the player could just as easily choose to not speak to any of these NPCs. They might ignore them entirely, or the NPCs might have been spooked into running away because of a gunfight across the map, or an explosion might have killed them before giving the player the chance to talk to them. We can factor all of this in with such a narrative system. Better still, we can continuously add new content to this system without breaking existing chunks. Heres how a basic dialogue box is created in the game. In the games debug panel we click the Show Dialogue Editor button in the Main tab.
    This opens up another window called the node editor, which looks like this. Node graph editors have been seen elsewhere, like Unreal Engines visual scripting system. We use the imnodes extension to Omar Cornuts excellent Dear IMGUI library.
    When we click Add dialogue storylet, a box containing several fields appears on the node graph for us to fill out. A functional storylet would look like this:
    Interacting with the NPC will prompt a text box to display Hi I am Tester 1. If we want an interaction to display a sequence of text boxes, the node graph editor would look like this.
    So if we want the text boxes to go Hi I am Tester 1 and then Did you speak to Tester 2 yet?, we add the name of that second storylet to the response field of the first one. When we do that, the interaction will produce two text boxes in sequence on screen. Lastly, in order to assign these speakers, we need to use Tiled - the open source program we use to make maps - to give these NPCs names in their properties, because this is how the storylets system knows who is a speaker, even if multiple versions of the same NPC are populating a map.
    But its trivial to display text on screen after hitting an interact key next to an entity. How do we make things more interesting?

    COMPLEXITY THROUGH CONDITIONS


    The three other narrative systems are predicates, the gvar editor and Lua functions. You might have spied the Show Predicates Window button in an earlier screenshot. Clicking it shows us the window. What is a predicate, you ask? A predicate is just an expression that evaluates to true or false.
    What appears is a list of all existing predicates currently in the game. This window also serves as the predicate editor. Predicates can be considered the conditions that can be applied to a dialogue storylet in order for the dialog storylet to play. For example, if the player has done a specific action, like having talked to another NPC or completed an objective, this can be queried through a predicate. Lets say one NPC can have two storylets with the same predicate but with two forms: one of those forms says gvar.rescued_norman == true and the other says gvar.rescued_norman == false. This gvar part is a global variable which is a thing tracking the overall state or world quality of the game. If the player has rescued Norman, then the first storylet will play because the predicate has determined based on the gvar that Norman was rescued. If the player left Norman to his fate, then the second storylet will play. [table equalcells=1] [tr] [th]gvar[/th] [th]NPC storylet text[/th] [/tr] [tr] [td]Rescued[/td] [td]"Thanks for rescuing Norman[/td] [/tr] [tr] [td]Not Rescued[/td] [td]You didnt rescue Norman?[/td] [/tr] [/table] Before you ask, yes, predicates can be nested within other predicates and we can make the Norman example more complicated. Maybe we have a gvar like gvar.alive_norman which is tracking whether Norman is alive or dead, not just whether the player rescued Norman or not. In this case we can have four potential predicate outcomes. [table equalcells=1] [tr] [th]gvar[/th] [th]Alive[/th] [th]Not Alive[/th] [/tr] [tr] [td]Rescued[/td] [td]"Thanks for rescuing Norman[/td] [td]"At least you tried[/td] [/tr] [tr] [td]Not Rescued[/td] [td]You didnt rescue Norman?[/td] [td]"You didn't even bother[/td] [/tr] [/table] These gvars can be a simple true/false statement, or take on the form of a number or a string. The gvar editor within the game lets us decide what form these things take. Its also not limited to NPCs either. This system lets us express complex situations by responding to simple tests. Its easier to keep track of, for designers, and easier to reason about, for programmers and modders.

    ONE MAP, MANY OUTCOMES


    When a level loads up, the game engine checks the gvars and mvars (or map variables) for what to load within that level. When we make maps in Tiled, we can populate that map with whatever we want it to display according to the current quality state of the game (instead of having to make multiple versions of the same map to accommodate different outcomes which would be extremely tedious for our level designers). Any entity, like a building prop or an armored vehicle containing a full squad of tac-suited mercenaries, could appear, so long as they have been placed in Tiled and have been given the necessary labeling. Last of the four narrative systems are Lua functions. Lua functions either modify the game state or are bound to game code. They can be applied to storylets to generate an outcome of some kind. For example, when a certain enemy spawns and initiates dialogue, we can use Lua callbacks to play a particular music track or sound cue. They can pause or unpause the game, spawn units, set or complete objectives and eventually, much more. Note that this is not full on scripting in the sense that were not putting a programming language into the game. Doing that would open the door for all kinds of malicious activity. While Lua is a programming language, what were putting in the game is more like a lesser version of Papyrus, Bethesdas in-house scripting language. Its a set of predefined functions that we make available to designers and modders. Well go into more depth on that later. Combined, these systems massively expand our options as designers; were no longer limited to hard-coded objectives and mech spawns, and we gain a huge amount of flexibility and iteration speed. The tradeoff, wellwe spent most of this year on these systems. What were hoping, though, is that we can pass on that flexibility and massively expanded set of options to the player. Players who come in to Brigador Killers expecting the limited-by-comparison playspace of Brigador are in for a pleasant surprise. Thanks for reading.

    WIN SOME MINIATURES BY PAINTING MINIATURES



    We are currently holding the Olive Drab Everything painting contest on our discord server. The theme is Brigador - do with that what you will - all we ask is that submitted minis be painted. Painted minis do not need to be official Stellar Jockeys pewter figurines if you have kitbashed a Brigador vehicle of your own, or 3D printed a Touro you are eligible. Winners will get to choose one of the new sets of minis that are coming to our merch store later next month. The contest will be taking submissions until approximately 23:00 PST on Monday October 9 2023. Check the pinned message in the #olive-drab-everything channel for the full details Lastly, our first game Brigador is currently on sale as part of the Steam SHMUP Fest. If youd like to support our development for BK, tell a friend? https://store.steampowered.com/app/274500/Brigador_UpArmored_Edition/


  • [ 2023-09-29 14:17:05 CET ] [ Original post ]



    Brigador Killers
    Stellar Jockeys
  • Developer

  • Stellar Jockeys
  • Publisher

  • Release

  • Indie Singleplayer
  • Tags

  • Game News Posts 28  
    🎹🖱️Keyboard + Mouse
    🎮 Full Controller Support
  • Controls

  • No user reviews

    (0 reviews)


  • Review Score

  • http://stellarjockeys.com/games/brigadorkillers
  • Website

  • https://store.steampowered.com/app/903930 
  • Steam Store


  • BRIGADOR KILLERS is an intense story-driven isometric action game. Can a secret hit team of Solo Nobreans get revenge on the traitors deep in enemy territory, and still get out alive? The mercenary violence of BRIGADOR (2016) spills over onto a new planet, with revised controls and an all-new storyline mode.

    WISHLIST NOW!

    MINIMAL SETUP
    • Processor: 2.6 GHz or fasterMemory: 4 GB RAM
    • Memory: 4 GB RAM
    • Graphics: AMD Radeon 5770 / NVIDIA GTX 460 or better
    • Storage: 1 GB available spaceAdditional Notes: Mouse and keyboard or controller required.
    GAMEBILLET

    [ 5951 ]

    2.47$ (17%)
    5.00$ (75%)
    2.22$ (78%)
    9.90$ (17%)
    5.77$ (17%)
    40.95$ (18%)
    1.63$ (18%)
    13.79$ (8%)
    29.56$ (16%)
    17.39$ (13%)
    4.30$ (78%)
    8.01$ (87%)
    5.87$ (16%)
    16.99$ (-70%)
    5.51$ (8%)
    4.13$ (79%)
    8.49$ (15%)
    11.04$ (15%)
    3.00$ (70%)
    17.59$ (12%)
    17.78$ (56%)
    5.03$ (16%)
    5.00$ (75%)
    0.68$ (86%)
    12.67$ (15%)
    17.99$ (40%)
    16.59$ (17%)
    49.79$ (17%)
    4.24$ (15%)
    3.00$ (80%)
    GAMERSGATE

    [ 3198 ]

    17.49$ (30%)
    5.0$ (75%)
    2.7$ (86%)
    1.7$ (91%)
    4.0$ (80%)
    3.19$ (79%)
    15.99$ (20%)
    3.75$ (75%)
    7.34$ (48%)
    1.13$ (92%)
    3.28$ (84%)
    0.79$ (89%)
    6.0$ (70%)
    1.05$ (85%)
    9.99$ (50%)
    15.0$ (70%)
    2.5$ (50%)
    6.25$ (75%)
    15.0$ (70%)
    5.0$ (75%)
    3.0$ (70%)
    31.49$ (48%)
    3.28$ (78%)
    0.45$ (92%)
    10.13$ (22%)
    0.6$ (85%)
    5.5$ (75%)
    1.05$ (85%)
    3.0$ (80%)
    8.99$ (40%)

    FANATICAL BUNDLES

    Time left:

    2 days, 3 hours, 57 minutes


    Time left:

    25 days, 3 hours, 57 minutes


    Time left:

    7 days, 3 hours, 57 minutes


    Time left:

    38 days, 3 hours, 57 minutes


    Time left:

    44 days, 3 hours, 57 minutes


    HUMBLE BUNDLES

    Time left:

    4 days, 21 hours, 57 minutes


    Time left:

    4 days, 21 hours, 57 minutes


    Time left:

    13 days, 21 hours, 57 minutes


    Time left:

    20 days, 21 hours, 57 minutes

    by buying games/dlcs from affiliate links you are supporting tuxDB
    🔴 LIVE