• jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    4 months ago

    Great video. I would love to have a fully simulated video game city, I know it would be horribly inefficient… But still it appeals to me

    • RightHandOfIkaros@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      4 months ago

      Shenmue does a decently good job. NPCs have their own schedules, only being found in certain places at certain times.

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Shenmue looks neat!

        in the video they use witcher 3 as an example; and it works as long as you dont focus on it, but if you follow someone around, their schedule breaks down (like washing clothes in every water basin they come across)… i wonder how well the sims does it?

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 months ago

          I’ve considered building something like this. Basically:

          • NPCs will gather materials, produce wares, stay inside at night, spawn chidlren, and be permanently killable
          • you play in an MMORPG setting as part of a faction, and you work w/ your faction to protect your sims
          • object of the game is to control and protect the most cities

          However, there must be a reason this doesn’t exist. Perhaps it’s too computationally intensive to simulate an entire city? Or maybe the gameplay ends up not being very fun? Idk, but I think it would be really cool.

          • BluesF@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            4 months ago

            I’m sure there are efficiencies to be found that would make simulating it viable. It’s graphics that are compilationally expensive, far more so than simulation, I think. Shadows of Doubt does it!

            • jet@hackertalks.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 months ago

              Most video game developers are not great computer scientists. I’m not saying this with any dispersion, but it’s true. If you’re going to have a distributed agency model simulated, you have to deal with cross-processor, cross thread, or even cross machine, data structures. Either a lockless data structure, or some locking mechanism that doesn’t have a tremendous critical path. It could be outsourced to a database outside of the game engine. But it gets computationally complex

              Something like this https://aeplay.org/citybound

              Or even dwarf fortress

              • BluesF@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 months ago

                I can believe that. I focus on data science so these things seem (relatively) simple to me… or perhaps not simple, but exciting to work with haha! But then I’ve looked with horror at the things you have to write to get graphics working.