• kakes@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 year ago

    I just want a life sim with reasonably believable NPCs. Dwarf Fortress is the only game I’ve seen really attempt something like this, where NPCs act intelligently, and you can ask them about topics and events dynamically.

    Essentially, I want a game where the NPCs are capable of doing everything the player can, so I could start a shop and give out quests myself, if I want.

    I’ve actually been “working” on a project like this. It’s a huge undertaking, but who knows, maybe I’ll get there one day.

      • kakes@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        I’ve thought a lot about that. I think it definitely does, but I also think there’s a lot of unfulfilled potential left in more “traditional” AI.

        There are pros and cons to the GPT approach, with down-sides such as the (current) limit on the context, and difficulty establishing consistent “facts”. These are generally outweighed by the obvious up-sides, but a GPT-based AI will feel different than a more hard-coded one.

        All this to say: There will be a hundred better GPT-based games released before I can ever hope to release my project.

      • kakes@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Oh, also: the way I’m writing my project, I’m intentionally making the AI modular, so I can “slot in” something like ChatGPT and play around with that.

      • swordsmanluke@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Yes… But actually no.

        ChatGPT is amazing for generating reasonable-sounding prose. That means you can have an NPC say things that largely make sense… If you know what they need to say.

        For instance, let’s say you ask an NPC for directions to the mayor’s house. In this scenario, you need your NPC to

        1. Parse and understand the player’s speech. (This is a question. The question is about reaching a location. The location is the mayor’s house.)

        2. Modeling the NPC’s knowledge. (Does this NPC know where the mayor lives? Do they know someone else who does?)

        3. Disambiguating conversation. (Do we have a mayor? Are they asking about our mayor, or - from context- someone in a different town?)

        4. Constructing an answer. (Left, right, right, straight…)

        5. Converting the answer to a conversational tone. (Well, if ya’ head south down wewhauken, turn right on glottis st…)

        Chat GPT solves #5 for sure. But 1-4 are…iffy. Sometimes, you can give Chat GPT a list of factoids and it’ll reply with the data you gave it. Other times it’ll “hallucinate” an answer, especially if a player asks something you didn’t expect. (And people will definitely come up with stuff you don’t expect.)

        Still, LLMs do solve a really hard piece of the dynamic-NPC puzzle. I’m sure we’ll see them in use. It’s just not necessarily even the hardest part of this problem.

      • IonAddis@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        It better have a middle management manager sitting at their desk playing the middle management simulator.