Arcanum's Procedural Terrain Generation

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 75

  • @Dr_Slash
    @Dr_Slash ปีที่แล้ว +83

    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 ปีที่แล้ว +19

      @@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 ปีที่แล้ว +1

      ​@@Baltasarmksmth like Wang tiles?

    • @AmareloStudios
      @AmareloStudios ปีที่แล้ว +2

      @@Baltasarmkfoolish

  • @TomaZxxZas
    @TomaZxxZas ปีที่แล้ว +32

    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 ปีที่แล้ว +11

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

    • @fredrik3880
      @fredrik3880 ปีที่แล้ว +5

      Virgil indeed does that

  • @komlev88
    @komlev88 ปีที่แล้ว +21

    I remember I was impressed by just walking infinitely.

  • @BruTalc
    @BruTalc ปีที่แล้ว +10

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

  • @Dorgrin
    @Dorgrin 4 หลายเดือนก่อน +2

    That’s awesome

  • @joaolimaoyt
    @joaolimaoyt 5 หลายเดือนก่อน +1

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

  • @StavrosNikolaou
    @StavrosNikolaou ปีที่แล้ว +29

    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!!

  • @CaffeinatedKing
    @CaffeinatedKing ปีที่แล้ว +4

    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

  • @fredrik3880
    @fredrik3880 ปีที่แล้ว +1

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

  • @bencampbell5468
    @bencampbell5468 ปีที่แล้ว +15

    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 ปีที่แล้ว +4

      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 ปีที่แล้ว +2

      The Arcanum Multiverse Edition is worth mentioning.

  • @GypsumGeneration
    @GypsumGeneration ปีที่แล้ว +1

    Thanks for sharing, Tim!

  • @Lee.Moriya
    @Lee.Moriya ปีที่แล้ว +2

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

  • @glr
    @glr ปีที่แล้ว +4

    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.

  • @developerdeveloper67
    @developerdeveloper67 ปีที่แล้ว +2

    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.

  • @anthonyapm
    @anthonyapm 11 หลายเดือนก่อน +1

    This is so fascinating!

  • @bratttn
    @bratttn ปีที่แล้ว +3

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

  • @MetalAriel
    @MetalAriel ปีที่แล้ว +2

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

  • @FrostyChilli
    @FrostyChilli ปีที่แล้ว +1

    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?

  • @GeomancerHT
    @GeomancerHT ปีที่แล้ว +2

    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

  • @junkbucket50
    @junkbucket50 ปีที่แล้ว +1

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

    • @huge_letters
      @huge_letters ปีที่แล้ว +1

      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"

    • @OpenGL4ever
      @OpenGL4ever 2 หลายเดือนก่อน

      I've never looked into Minecraft's storage of level data, but does Minecraft also save only deltas when the player makes changes in the world?

  • @HeavensDisciplesGames
    @HeavensDisciplesGames ปีที่แล้ว +1

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

  • @arcan762
    @arcan762 ปีที่แล้ว +2

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

  • @legoyodascream
    @legoyodascream ปีที่แล้ว +1

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

  • @jayjasespud
    @jayjasespud ปีที่แล้ว +2

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

  • @Mika-Fresh
    @Mika-Fresh ปีที่แล้ว +3

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

    • @bubuasqw123
      @bubuasqw123 ปีที่แล้ว +2

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

    • @liviuperianu5499
      @liviuperianu5499 ปีที่แล้ว +1

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

  • @MaxPetak
    @MaxPetak ปีที่แล้ว +3

    Thats my fav shirt you got in your arsenal.

  • @bloodaxis
    @bloodaxis ปีที่แล้ว +1

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

  • @zanethezaniest274
    @zanethezaniest274 ปีที่แล้ว +9

    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 ปีที่แล้ว +4

    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!

  • @CoolSmoovie
    @CoolSmoovie ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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

  • @TwinOpinion
    @TwinOpinion ปีที่แล้ว +2

    Simple and brilliant!

  • @esotericgamedev
    @esotericgamedev ปีที่แล้ว +1

    Very interesting

  • @levkhromov4852
    @levkhromov4852 ปีที่แล้ว +1

    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 :)

  • @nutherefurlong
    @nutherefurlong ปีที่แล้ว +1

    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?

  • @OpenGL4ever
    @OpenGL4ever 2 หลายเดือนก่อน

    That was very interesting. Thanks!

  • @ThePlaceCannel
    @ThePlaceCannel ปีที่แล้ว +1

    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.)

  • @C5204
    @C5204 ปีที่แล้ว +1

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

  • @aaronvold47
    @aaronvold47 ปีที่แล้ว +1

    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?

    • @Whitecroc
      @Whitecroc หลายเดือนก่อน

      This was just before the widespread adoption of DVDs. It was a big concern back then! The first Baldur's Gate came on something like 6 CDs, for instance.

  • @blighthornsteelmace820
    @blighthornsteelmace820 ปีที่แล้ว +2

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

  • @2wdr5
    @2wdr5 ปีที่แล้ว +3

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

  • @ExxyPlays
    @ExxyPlays ปีที่แล้ว +5

    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.

  • @jumafallout
    @jumafallout ปีที่แล้ว +1

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

  • @dwayneasher6765
    @dwayneasher6765 ปีที่แล้ว +1

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

  • @xxxxxxxxxxxxxxxxxxxxxxxxl
    @xxxxxxxxxxxxxxxxxxxxxxxxl ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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?

  • @derogren
    @derogren ปีที่แล้ว +1

    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.

  • @Hurlebatte
    @Hurlebatte ปีที่แล้ว +1

    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.

  • @dsa3df3
    @dsa3df3 ปีที่แล้ว +1

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

  • @greenya84
    @greenya84 ปีที่แล้ว +1

    Pity that TH-cam allows to like video only once.

  • @zekun4741
    @zekun4741 ปีที่แล้ว +2

    You could fly in Arcanum?

    • @DGol2015
      @DGol2015 ปีที่แล้ว +2

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

  • @Bszulc11
    @Bszulc11 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

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

    • @liviuperianu5499
      @liviuperianu5499 ปีที่แล้ว +4

      ​@@TomaZxxZas Firearms are hilariously underpowered

    • @Esquarious
      @Esquarious 6 หลายเดือนก่อน +1

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

  • @jensinamart5153
    @jensinamart5153 ปีที่แล้ว +2

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

  • @thinkmore8024
    @thinkmore8024 ปีที่แล้ว +1

    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!

    • @Whitecroc
      @Whitecroc หลายเดือนก่อน

      What you're describing is a very work-intensive competition for a very mediocre reward. The truth is that if you win a competition like this you probably don't need an internship!

  • @DaoistYeashikAli
    @DaoistYeashikAli ปีที่แล้ว +1

    Comment for the Algorithm