Mods / Geology Map
Author: cooli2
Side: Client
Created: Nov 14th at 9:46 AM
Last modified: Nov 14th at 10:35 PM
Downloads: 1466
Follow Unfollow 155
Recommended download (for Vintage Story 1.21.0 - 1.21.5):
geologymap_1.0.1.zip
1-click install
Have you ever looked at your map and wondered... Where was that chalk biome really?
No more guessing! With the Geology map you can see the color of the first stone blocks on the ground!
The intended use if for knowing what rock layers there are arround the world and for helping with farming non-economic stones.
It is also only client side, so you can use it on any server!
How does it work?
A new map layer tab was added bellow the terrain one. By default the map starts turned off!
When on, the map shows the first stone block visible. You can also hover over a layer and it will show the name of the rock!
With the map layer active, a new dialog will show up that you can use to adjust the layer opacity, if you wanna have it blend with the terrain layer!
By default the map hides Suevite stone because of its direct relation to meteoric iron, but this can de turned off in the configs.
This mod uses alot of the same logic as the default terrain map, therefore it also creates a database with the rendered chunks and has the default map commands.
Important Note: When adding to existing saves/worlds you wont see the entire maps geology, the mod can only render the geology chunks it sees after is it installed!
Console Commands
.geomap purgedb- Removes every chunk in the rendered chunk database.geomap redraw- Forces the map to redraw
Configurations
The client will have a config file named "geologyMapConfig.json" that can be used to customize the behaviour of the geology layer map. The config properties are the following:
overlayOpacity(number [0.0 - 1.0]) - The opacity of the geology map layer. This value is updated when you change the opacity slider, so no need to be manually changed.rockCodeColors(object) - An object containing the rock block code as a key, and the color to use for said rock as the value. When set, rocks of that type will be colored by the configures color. Warning! When configuring this for an already existing map, faraway chunks will use the previous color because they are already cached!ignoredRock(array) - An array of rock block codes that will be ignored. By default the mod ignored suevite. Remove the suevite code to show it in the map.
Limitations and Known Issues
- This mod only shows the first stones of the layer! It doesnt show ores, not will I add that behaviour! You can fork the map code if you want to add ores to the visibility.
- If there is no recognizeable stone blocks in a y column, the resulting pixels will be fully transparent
- Sometimes, some pixels dont have any info on them despite having rocks there. Still not sure why this happens but it shouldnt be a big problem.
Mod Compatibilities
To make your mod compatible with this, you just need to make sure your modded stones have the material be stone, and the code start with "rock-".
Known compatible mods:
Bugs and Problems
If you find any bugs or problems, just submit an issue on github with the problem description and how to replicate said problem.
| Mod Version | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|
| 1.0.1 | 1158 | Nov 14th at 10:35 PM | geologymap_1.0.1.zip | 1-click install | ||
|
Fixed:
| ||||||
| 1.0.0 | 308 | Nov 14th at 11:53 AM | Empty | geologymap_1.0.0.zip | 1-click install | |
hardbrocklife The assignment is done on chunk loading nearby the player, like how the main map updates. Therefore if you re-explore an existing map, the geology map should fill in as you walk arround.
One thing to note: rendering the map parts can take a while, so moving too fast could lead to less chunks rendering as you move.
Im assuming the assignment happens upon new chunk generation? Like if you re-explore the existing revealed map it wont update on this map?
New patch released addressing blocks that might not have a code
massey Thank you for helping me test the version and to make sure it addressed your issue
I posted on github, but just wanted to drop a message here to say thanks for fixing the issue and that its a great mod. Highly recommened for later game when you are trying to find a specific stone you like for a build. Especially with geological additions which adds many more stone varieties that don't stand out on the map.
massey looking into it
Azraile I think that would be a bit challenging for a couple reasons and right now the deeper layers are not quite the focus of the mod's intent. But even then, maybe I'll look into it in the future, thanks for the idea!
usefull looking, is there no way to see what lower level stones there are too?
Crashes on load for me unfortunetly. I submitted the crash log on your github.
Pity, It looks really useful.
Wonderful! Absolutely wonderful!
You are a savior, phenomenal mod.
oh my igoodness, thank you
this will most certainly help save me from "finding X type of rock" hell