News Liste Going Medieval

Medieval Monday Talk #42
Going Medieval
30.10.23 13:39 Community Announcements
Greetings medievalists!

As mentioned in the previous MMT, we’d like to discuss some of the challenges we are facing with the incorporation of water and why working on it took time. Hopefully, this might give a better understanding of our process, but also our problem solving approach.

It’s worth noting that with the water update, the layout of existing map seeds will be changed if you start a new game. Basically, this means they will have a new layout and old images will not be a proper representation of those maps. This is partly due to implementation of rivers and lakes on maps and partly due to the terrain calculation of those areas. It's nothing game breaking, but it's good to know. In the images below is the map seed 1845052011 hillside, medium size. Left side is the current live build (0.15.8) while the right is created with Update #10. If anything, the new version is a bit richer in levels even when you take water out of the equation.



So how did we get here? How are the positions of rivers, lakes and water overall, calculated for each map? Well, as the latest addition to the game, it made sense that water positioning should be a last step of map generation.

From the start, we had three things in mind: rivers, lakes and a new type of map (marsh) where the whole map is flooded with shallow water and there are islands on the map.

Marsh was a bit different from your regular map as it required a global water level and under this level, everything should be flooded. With that in mind, what happens if you dig down in the marsh area? It makes sense that such a terrain would be wet by all the water around it, right? Digging such land would have to be a bit different. So that’s why we added marsh soil - it offers less soil and can spawn water in case you dig them out; so that if you dig a deep hole, you might find water, and the deeper you dig the more water you may have in that hole. This ground type has a darker and wetter appearance on Marshes.



Okay, but what does it mean for spawning points for animals/merchants/raiders on marshes? Since water gives a penalty to those that traverse it, humans/animals would seek to avoid it when possible. We also had to make sure that events are differently balanced on this map. So there will be no situations where a bunch of deer would appear suddenly (silly deer).

Back to the regular maps. Lake generation sounded simpler, so we started with that. We used so-called 'brushes' during map generation. Think of brushes as a small texture akin to stamp. The lighter the color of the brush, the deeper the lake. They could raise and lower height, set materials inside the terrain, and make holes to the map. Cool. But we had to add water too.



The first iteration of pasting a 'lake brush' did just switch the top voxels of the terrain with water. So a water voxels would cover the designated area of an “empty” lake and would fill it out accordingly. It worked just as intended on flat maps, but on those with more elevation such created lakes would flood half of the map. Yeah. This was because there were no clear limiters to the present system.



Something had to be done before pasting the brush process. The solution for this was to flatten out the terrain where the lake was and then carve the lake into the terrain. An additional layer of ground voxels, a wall on the level of the water surface was needed around the lake to make sure that water doesn't flow out of the flat area. This had to work for every map type, even mountains.



The next step was to handle the situation where we want to place multiple lakes on the map. The brushes which carve the lake into the terrain and fill it with water are placed randomly and may overlap, and this meant that lakes could overlap, too. To fix this, we placed ground to work as a divider of water between different elevation levels at this point of map generation voxel. This means no waterfalls inside a lake.

But we also had to consider what YOU want to do here. Would you like to deplete lakes by covering them with dirt voxel? You can try to do that. It might appear as a Sisyphean task, but it can be done. Additionally, what if you want to connect those two lakes? Again, it is possible, but plan it properly and be ready for potential consequences. These scenarios are better when they are player made. What we try to set up at the start is a balanced experience regardless of the map type and size. Which, hopefully by now, you can see that it is not as simple a process as it may look.

That’s just some of the marsh and lake trivia. You know what was more challenging? Rivers! Those are a completely different can of worms (hehe) in which there are no brushes, only perlin noise, angles, curves, waterfalls and a whole new set dimension of problems to solve. Are you curious to hear about this too? Just check this funky river curve and volume calculation:



If there is enough interest, we might dedicate another MMT to it, but if not, we understand (and our programmer thanks you).

As mentioned before, we have an idea when the water update is going live on the experimental branch. Currently, our internal QA team is testing it and things are looking stable and promising. If everything goes well, expect it to appear on the experimental branch in 10 days or so. As it goes with these things, it will stay there until we are confident that everyone is having a proper experience, which usually takes us a couple of weeks. But things are looking neat so far!

Foxy Voxel
(we have a dev page on steam now, yay)
Logo for Going Medieval
Release:01.06.2021 Genre: Simulation Entwickler: Foxy Voxel Vertrieb: The Irregular Corporation Engine:keine Infos Kopierschutz:keine Infos Franchise:keine Infos
Einzelspieler Mehrspieler Koop

Aktuelle Steam News
Neue Steam News in der ePrison Datenbank

Medieval Monday Talk #45
Going Medieval
29.04.24 11:31 Community Announcements
Hotfix Notes (0.18.18)
Going Medieval
26.04.24 13:05 Community Announcements
Update #10.5 | Migration & Camera Changes
Going Medieval
22.04.24 11:26 Community Announcements
Medieval Monday Talk #44
Going Medieval
08.04.24 11:55 Community Announcements
Experimental Branch Patch (0.18.8)
Going Medieval
03.04.24 13:10 Community Announcements
Experimental Branch Patch (0.18.7)
Going Medieval
28.03.24 14:19 Community Announcements
Experimental Branch Patch (0.18.5)
Going Medieval
22.03.24 21:32 Community Announcements
Experimental Branch Patch (0.18.3)
Going Medieval
20.03.24 13:54 Community Announcements
Medieval Monday Talk #43
Going Medieval
18.03.24 15:07 Community Announcements
Patch Notes (0.16.26)
Going Medieval
13.03.24 14:28 Community Announcements
Experimental Branch - Save Migration Guide
Going Medieval
07.03.24 10:39 Community Announcements
Patch Notes (0.16.24)
Going Medieval
06.03.24 13:51 Community Announcements
Patch Notes (0.16.23)
Going Medieval
29.02.24 11:28 Community Announcements
New Save System is coming soon
Going Medieval
26.02.24 18:54 Community Announcements
Patch Notes (0.16.22)
Going Medieval
26.02.24 12:38 Community Announcements
Patch Notes (0.16.20)
Going Medieval
13.02.24 12:26 Community Announcements
Hotfix Notes (0.16.19)
Going Medieval
07.02.24 12:27 Community Announcements
Hotfix Notes (0.16.17)
Going Medieval
06.02.24 11:48 Community Announcements
Hotfix Notes (0.16.16)
Going Medieval
05.02.24 12:03 Community Announcements
Patch Notes (0.16.15)
Going Medieval
01.02.24 13:52 Community Announcements
Patch Notes (0.16.14)
Going Medieval
25.01.24 13:03 Community Announcements
Patch Notes (0.16.13)
Going Medieval
18.01.24 14:49 Community Announcements
Happy Holidays!
Going Medieval
22.12.23 14:27 Community Announcements
Patch Notes (0.16.10)
Going Medieval
20.12.23 14:05 Community Announcements
Hotfix (0.16.9)
Going Medieval
08.12.23 14:11 Community Announcements
Patch Notes (0.16.8)
Going Medieval
07.12.23 08:05 Community Announcements
Hotfix (0.16.7)
Going Medieval
23.11.23 14:05 Community Announcements
Nominate Going Medieval for Labor of Love 2023 Steam Award
Going Medieval
22.11.23 12:56 Community Announcements
Update #10 | Water & Fishing
Going Medieval
21.11.23 10:56 Community Announcements
Experimental Branch Patch (0.16.6)
Going Medieval
20.11.23 10:51 Community Announcements
Experimental Branch Patch (0.16.5)
Going Medieval
17.11.23 10:37 Community Announcements
Experimental Branch Patch (0.16.4)
Going Medieval
15.11.23 11:28 Community Announcements
Experimental Branch Update (0.16.2)
Going Medieval
10.11.23 14:06 Community Announcements
Medieval Monday Talk #42
Going Medieval
30.10.23 13:39 Community Announcements
Medieval Monday Talk #41
Going Medieval
16.10.23 12:25 Community Announcements
Medieval Monday Talk #40
Going Medieval
02.10.23 13:26 Community Announcements
Medieval Monday Talk #39
Going Medieval
18.09.23 12:15 Community Announcements
Medieval Monday #38
Going Medieval
04.09.23 14:34 Community Announcements
Hotfix (0.15.8)
Going Medieval
23.08.23 12:46 Community Announcements