Arcanum's Procedural Terrain Generation

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • I talk about how Arcanum used procedural generation to create our world and keep its storage cost low. The Arcanum map was 128 miles on each side, and it could have been 4.2 million miles on each side. Either way, that's a lot of map.

Комментарии • 71

  • @Dr_Slash
    @Dr_Slash Год назад +77

    I reverse engineered Arcanum's procedural terrain sectors a couple of months back and was honestly surprised by how simple (or, rather, elegant) the algorithm was while still managing to effectively achieve its goal without breaking the illusion of a hand-crafted world. Great job!

    • @Baltasarmk
      @Baltasarmk Год назад

      It’s called wave function collapse algorithm. They did not invented it

    • @Dr_Slash
      @Dr_Slash Год назад +17

      @@Baltasarmk I'm well aware of what wave function collapse is, that's not what I was talking about. I meant the generation, storage, and handling of terrain data in general and how few elements were needed to sell the illusion that the world wasn't made up of repeating building blocks (i.e. each terrain type only has 4 unique base sectors and a few more for boundaries with other terrains).

    • @Eugensson
      @Eugensson Год назад

      ​@@Baltasarmksmth like Wang tiles?

    • @THEEJONESY
      @THEEJONESY 8 месяцев назад

      @@Baltasarmkfoolish

  • @TomaZxxZas
    @TomaZxxZas Год назад +27

    The first time I played Arcanum when I was a kid, I didn't know that fast travel was a thing, so I walked all the way from the crash site to Shrouded Hills manually. I remember being both very impressed and irritated, and when I reached Shrouded Hills, that made me want to explore everything, since I knew I wasn't going to come back. It's only when I got the marker for Tarant when I realized that there's no way I can walk there manually and started clicking every single button to find fast travel lol

    • @Gadzinisko
      @Gadzinisko Год назад +8

      And if I remember correctly Virgil suggest that you use fast travel at the crash site. But you knew better :>

    • @fredrik3880
      @fredrik3880 Год назад +3

      Virgil indeed does that

  • @StavrosNikolaou
    @StavrosNikolaou Год назад +28

    The fact you did this in the late nineties is PRETTY COOL!!!
    I love when you dive into technical topics like that. Any tools and libs you found handy (like the little os wrapper you built during fallout) feel free to share their high level ideas and function :)
    Leonard mentioned during your interview that you build a pretty handy content generation tool for Arcanum. I would love to learn more about that.
    Also the proc gen tool/logic for npc greetings was awesome!!

  • @komlev88
    @komlev88 Год назад +17

    I remember I was impressed by just walking infinitely.

  • @CaffeinatedKing
    @CaffeinatedKing Год назад +3

    I remember before or around Arcanum's release when I was about 12, my cousin rang me up to tell me about how he read in a magazine or a website that Arcanum's world was walkable from one end to the other, and went into how long it would take to do that. It blew my mind, "How could the game world be that enormous I don't know if my computer could run that, that's amazing." So after all these years, it's wonderful to learn how it works and how efficient it sounds.
    This does remind me though, I went through a brief phase of really wanting to learn to use the editor, but was never able to make heads or tails of it

  • @bencampbell5468
    @bencampbell5468 Год назад +13

    Interesting to hear how you got stuff working. I was coincidentally just trying out the Arcanum editor yesterday, it's a pity that it seems to be very buggy on modern systems (I've heard the same from others too), because Arcanum doesn't have half the modding scene it deserves.

    • @fredrik3880
      @fredrik3880 Год назад +2

      Arcanum has had few overhaul mods. Carcanum, professor bowtie, equilibrium and Arcanum Balance Mod (last one ive done). Which is more than Fallout 1 has had and up there or beyond what Fallout 2 has had. But i still agree that all those deserve many many more mods.

    • @rails-to-cosmos
      @rails-to-cosmos Год назад +1

      The Arcanum Multiverse Edition is worth mentioning.

  • @BruTalc
    @BruTalc Год назад +8

    Tim you make the 15 minutes I have daily for lunch that much happier, every single day

  • @zanethezaniest274
    @zanethezaniest274 Год назад +8

    Hey Tim, could u do a video about the companions of Arcanum, their inspirations and your ideas for their stories etc. Or maybe the potential companions for Journey to the Center of Arcanum.

  • @developerdeveloper67
    @developerdeveloper67 Год назад +1

    I love creating game worlds and I found this to be very inspiring and exciting to watch, makes me want to go on and make a tile-based 2D game! The way you designed the world data to work was pretty clever. For those who didn't follow: the world was made of sectors, a sector would be a square area of 64x64 tiles, they were procedualy generated during the game, but always with the same result, because their seeds were based on their position in the game world. After generating them the game would replace the generated tiles for the developer changed tiles that were saved when editing the world in the world editor. That way you avoid having to store 64x64(4096) tiles for every sector of the game in the disk and in memory. Instead you only store the much fewer tiles that were actually edited by the developers. The file thing was also pretty clever. I'm surprised you though about that way back on the day, and when you only had 12 people working on the game, like you told us before. I think UE5 uses something similar technique now, it stores each object in a scene asset in a file, instead of storing the whole scene in a file, that allows every asset on the scene to be edited individually, which is obviously good for big teams which are the main focus of that engine.

  • @glr
    @glr Год назад +1

    Best video yet! I love implementation-level, programming stories like this. You could talk about even more details, like the APIs you used, game geometry problems, repository infrastructure, etc.

  • @GeomancerHT
    @GeomancerHT Год назад

    Thank you a million for this kind of tech based talk, as I solo indie dev (main job at freelance consulting) I try to actively learn from your management/design talks, but this one I can just enjoy :D

  • @Lee.Moriya
    @Lee.Moriya Год назад

    I love the technical topics like this, it's great to hear your enthusiasm for a system you designed even all these years later.

  • @developerdeveloper67
    @developerdeveloper67 Год назад +3

    I think an interesting video you could make, Tim, would be your take on working on your own engines, then working with source, unity and unreal. What were it like to work with these engines? What did you like more? What would you do today, if you decide to work on a new game? What would you recommend to aspiring developers? I know for you that have been making games professionally since you were 16 plus have a cs phd, this is probably: "give me whatever I can work with that" lol, but I think for the younger aspiring developers and for the curious people like myself this would be an interesting topic to discuss!

  • @MetalAriel
    @MetalAriel Год назад +1

    Tim, you are the man. I Love listening to you on YT. Thanks for all the content :)

  • @TheKotor2309
    @TheKotor2309 Год назад +2

    I actually bought Arcanum yesterday because of this man’s “Humor in Video Games” video.
    I can’t wait to start playing.

    • @bubuasqw123
      @bubuasqw123 Год назад +1

      Arcanum have the best evil character of the whole videogames industry.

    • @liviuperianu5499
      @liviuperianu5499 Год назад

      ​@@AsphyxX-cx3kf The only mod still being developed is the Multiverse Edition

  • @MaxPetak
    @MaxPetak Год назад +2

    Thats my fav shirt you got in your arsenal.

  • @fredrik3880
    @fredrik3880 Год назад

    Arcanum video awesome!
    I was always impressed by Arcanum and it is fun to hear how you did the tech back then.

  • @jayjasespud
    @jayjasespud Год назад +1

    Maaan.. All this Arcanum talk just makes me want at least a spiritual sequel.

  • @exxyplaysandplays
    @exxyplaysandplays Год назад +4

    This is fascinating stuff! As a huge roguelike fan, I always enjoy hearing about different approaches to procedural generation. Were you inspired at all by Daggerfall? It still blows my mind how big that world is compared to the later Elder Scrolls games.

  • @bratttn
    @bratttn Год назад +2

    The methodology used in the 90's is as relevant as ever today.

  • @joaolimaoyt
    @joaolimaoyt Месяц назад

    Great detailed technical description. I was wondering how lighting of the map was handled?

  • @arcan762
    @arcan762 Год назад +1

    Interesting how you guys had basically done an early kind of the now-popular Wave Function Collapse algorithm.

  • @bloodaxis
    @bloodaxis Год назад

    I remember wondering how that was done when I played Arcanum the first time, love the insight!

  • @FrostyChilli
    @FrostyChilli Год назад

    This is really cool!
    I'd love to hear more about the technology of Arcanum.
    1) How were random encounters developed? Would it be possible to get a random encounter without using the map travel functionality, by just walking? I suppose one way is to spawn the NPCs once a "wilderness" sector is loaded in.
    2) How does the world simulate itself? If you drop an item in a sector (saved as delta), do the curious NPCs pick it up only when the player is near that sector? Is the AI simulated only near sectors where the player is? If the player leaves a sector does the game simply remember the last location of the NPC in that sector and when the player returns the game continues from there?

  • @levkhromov4852
    @levkhromov4852 Год назад

    Yet another amazing video, Tim. It would be very interesting to hear what technical challenges were overcome in fallout engine. Maybe some memorable tricks and hacks :)

  • @anthonyapm
    @anthonyapm 7 месяцев назад

    This is so fascinating!

  • @ThePlaceCannel
    @ThePlaceCannel Год назад

    Hey Tim! Love the videos. Not sure if you covered this before in an interview or in a video, but I wanted to know how you felt about the "Official" Fallout Cookbook and if there was anything about the recipes that you thought were interesting or were missing? Thanks! (Your videos helped me realize that there were recipes at the back of the Fallout manual, and thankfully that was preserved on the digital version on steam since I'm too late to the game and don't own a physical copy sadly.)

  • @CoolSmoovie
    @CoolSmoovie Год назад

    Arcanum is one of the most interesting, complex, and smart games I have ever played. It NEEDS a rerelease cuz damn it’s a bitch to play today😭

  • @Anubis1101
    @Anubis1101 Год назад

    I had so much fun with the world editor back in the day. It's a shame i abandoned the custom world i was making, but maybe i can re use those ideas in a future project

  • @legoyodascream
    @legoyodascream Год назад

    A appreciate the smoking jacket for my half-orc character.

  • @TwinOpinion
    @TwinOpinion Год назад +1

    Simple and brilliant!

  • @HeavensDisciplesGames
    @HeavensDisciplesGames Год назад

    It's interesting to see what was possible in the 90s when it comes to procedural generation.

  • @GypsumGeneration
    @GypsumGeneration Год назад

    Thanks for sharing, Tim!

  • @2wdr5
    @2wdr5 Год назад +2

    World map editor tutorial.... please... I neeeeeeeed new arcanum modules 😂

  • @junkbucket50
    @junkbucket50 Год назад

    It's amazing how much this reminds me of Minecraft's world generation. Amazing considering this is 15 years before

    • @huge_letters
      @huge_letters 11 месяцев назад

      I think it's also interesting in the context of how often same good ideas emerge independently of each other just because they're that good and "natural"

  • @aaronvold47
    @aaronvold47 Год назад

    Awesome explainer... Now I know I can leave items on the ground in Arcanum. I was always afraid they will disapear so I store them in chests. At one point You said: "...save on art, save on space" - was number of CD really a concern in 2001?

  • @Dorgrin
    @Dorgrin 23 дня назад +1

    That’s awesome

  • @dwayneasher6765
    @dwayneasher6765 Год назад

    I love the video what kind of game do you want to make next

  • @Hurlebatte
    @Hurlebatte Год назад

    Speaking of Arcanum's editor, it's a big shame it couldn't edit the main game (I guess some people eventually found a way though). I think Arcanum would've had a big modding community.

  • @nutherefurlong
    @nutherefurlong Год назад

    Has me wondering how other games of the time did it. It seems very logical to me... Given how rough some games are when they have a lot of detail I wonder if this is scalable to more modern ideas, but I guess at a certain level of detail the deltas might start to overwhelm?

  • @esotericgamedev
    @esotericgamedev 11 месяцев назад

    Very interesting

  • @C5204
    @C5204 Год назад

    You mentioned flying across tiles? I don’t remember any flying in Arcanum, is that part of teleporting ?

  • @xxxxxxxxxxxxxxxxxxxxxxxxl
    @xxxxxxxxxxxxxxxxxxxxxxxxl Год назад

    So you could only correct an unsatisfactorily generated sector by adding deltas to it? I haven't tried this map editor, but I would certainly make the sector number only the default seed that could be overriden by a specified value to "reroll" it.

  • @benrositas8068
    @benrositas8068 Год назад

    Would it be possible to add a "dungeon" entrance as a random encounter, but one that also marks and remains on the map once triggered? If so, would it be possible to have so many of these added to the encounter list/table/whatever, and remove one as a chance of occurring again once it occurs?

  • @EB-cz4te
    @EB-cz4te Год назад

    Could you explain the random encounters? If you traveled in the real world of Arcanum long enough- from memory you could encounter enemies? Was this done differently for encounters like the Molochean hand?

  • @jumafallout
    @jumafallout Год назад

    Chief, sorry to bother, but can you make a video as you explained the stats, but with Fallout traits and perks?

  • @derogren
    @derogren Год назад

    I wonder now, was there any particular reason Fallout wasn't shipped with any editing tools? Modding has come a long way since it was released.

  • @blighthornsteelmace820
    @blighthornsteelmace820 Год назад

    why in outer worlds interiors do not match exteriors (like window placing on the wall)?

  • @zekun4741
    @zekun4741 Год назад +1

    You could fly in Arcanum?

    • @DGol2015
      @DGol2015 Год назад +1

      Body of Air spell let you float a little ways off the ground.

  • @dsa3df3
    @dsa3df3 Год назад

    It would be awesome if you could release the Arcanum source code.

  • @jensinamart5153
    @jensinamart5153 Год назад +1

    Of course Tim Cain would still have the code from a 20+ year old game he made LMAO

  • @greenya84
    @greenya84 8 месяцев назад

    Pity that RUclips allows to like video only once.

  • @Bszulc11
    @Bszulc11 Год назад

    I would like to go back to Arcanum so much. I've tried three times but I njust can't. Combat is just killing me :(

    • @TomaZxxZas
      @TomaZxxZas Год назад +1

      If you play in turn based mode, it's not so bad

    • @liviuperianu5499
      @liviuperianu5499 Год назад +2

      ​@@TomaZxxZas Firearms are hilariously underpowered

    • @Esquarious
      @Esquarious 2 месяца назад

      Fast turn based and a Charisma character with persuade and the harm spell is basically story-mode for the entire game.

  • @thinkmore8024
    @thinkmore8024 Год назад

    You know what you could do, Tim? (crazy idea!) You could announce Arcanum 2 (the spiritual successor), and ask fans of the game to design a small Arcanum 1 world (a custom short campaign), and you guys could pick the best ones and give them Arcanum swag as prises, and better: offer them an internship at Troika 2. You could also do this as a part of kickstarter campaign to help to fund the game!

  • @DaoistYeashikAli
    @DaoistYeashikAli Год назад

    Comment for the Algorithm