Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
10
Size
196KB
ADDatHost Valheim hosting
30% off

Cartographer

Part of FlyingHose's Modpack. Needs only BepInEx.

Three things for the map. It can be drawn in a style other than the game's, it keeps its own markers for the things you find (ore, tar pits, dungeons, boss altars and traders), and it draws the paths, fields and paving you have seen. Both are yours alone. Nothing here changes the game's pins, your saved map, or anything another player sees.

Map styles

If you only try one, try Parchment. Open the map and press ' for the next style, Shift and ' for the one before. The panel in the top-left corner of the map does the same with the arrows. You can also pick the style from the Style.Current setting in Althing or any config manager, and the map redraws at once, even while it is open. The minimap follows.

The style is your own choice. It is never sent to anyone, and a server cannot set it for you.

  • Vanilla is the game's own map, untouched. This is the default.
  • Topographic is a survey sheet: pale biome colours, woodland in green, brown contour lines every 10 m with a heavier one every 50 m, blue depth steps out to sea, and a 1 km grid.
  • Parchment is an old chart: paper with a grain to it, a watercolour wash per biome, an ink coastline with ripple lines running out to sea, little tree marks in the woods, and strokes down the steep slopes. Where you have not been is blank paper.
  • Atlas is a school atlas: flat biome colours, thin borders, a thin coast, two blues for the sea.
  • Night is dark, with glowing coasts and lava and faint teal contours. Easy on the eyes at night.

When you zoom in, the part of the map you are looking at is redrawn at the resolution of your screen, so lines stay thin and edges stay clean all the way in. After a zoom or a pan the new detail comes in all at once with a short fade, once the whole view is drawn, usually well under a second. If part of the view takes longer than three quarters of a second, what is ready comes in then and the rest follows as it is drawn.

Fog works the same in every style: anything the game says you have not explored stays hidden. Only its look changes, from grey hatching to blank paper to black.

Markers

As you walk around, the mod marks the things it knows about once you are within 60 m of them and they are on the explored part of your map:

Kind What counts
Copper, Tin, Silver, Obsidian, Flametal The deposits you mine
Iron Muddy scrap piles and the like
Tar pits The pits in the plains
Dungeons Burial chambers, troll caves, sunken crypts, frost caves, infested mines, Hildir's three
Boss altars Where each boss is called
Traders Haldor, Hildir and the Bog Witch

Markers that would sit on top of each other on screen show as one marker with a count, drawn with the icon of the kind it holds most; point at it to see what it holds. A deposit you mine away loses its marker once you have seen it gone three times in a row from within range. A tar pit you have emptied goes faint until it grows back.

Point at a marker to see what it is. Right-click it to forget it for good. If one of the game's pins is under the pointer the right-click is left to the game, which removes its pin as usual. The mod takes the right-click from the same click on the map that the game does, so the two always agree.

The legend in the top-left corner lists each kind with how many you have found. Click a row to hide or show that kind, and the box in the top-right corner of the panel to hide or show them all. / does the same. Click the title to fold the list away for as long as the game runs. Which kinds are shown, and the switch for them all, are remembered per character. Obsidian starts hidden, since the mountains have so much of it; its row turns it on.

Paths

On a style other than Vanilla, the paths you make with the hoe, the fields you cultivate and the roads you pave show on the map once you zoom in. They follow the same rule as the markers: they are recorded when you are within range of them and the ground is on the explored part of your map, so you see what you have been near, not what someone else built out of sight. Ground that is dug over or reset loses its path the next time you are near it.

A path is drawn the way the style draws everything else: on Parchment a track is two ink lines with pale ground between, a paved road is grey stone with a firm edge, and a field is an ochre patch ruled with furrows, each on a thin band of plain paper so the hatching on the slopes never runs into it. Up close they are drawn at their real width; further out they never get thinner than a few pixels, the way roads stay readable on a printed map. On the whole map they are not drawn at all, since one pixel there is 12 m. Vanilla shows none of it.

Discovery.ShowPaths turns the paths off. They are kept in a file beside your markers, about 1 KB for each 64 m square you have paths in.

What it never does

  • It never adds anything to the game's pins, never changes your saved pins or explored map, and never touches the world's minimap cache files.
  • It only marks what is loaded around you on explored ground. It never reads the server's list of locations, so a host sees no more than anyone else standing in the same spot.
  • It only reads the ground's paint the game already keeps for the area loaded around you. It never changes the ground.
  • Removing the mod leaves your map exactly as it was. The marker, path and legend files in BepInEx/config/YesuBuildKit.Cartographer/ are the only thing left behind.

Settings

Setting Default What it does
Style.Current Vanilla The map style, a pick list in Althing. The key and the panel change it too. Yours alone; never synced.
Keys.StyleKey ' On the open map: the next style, with Shift the previous one.
Keys.LayerKey / On the open map: hide or show all markers.
Discovery.Range 60 How close you have to come, in metres, from 20 to 120.
Discovery.ShowPaths true Draw the paths, fields and paving you have seen on the zoomed-in styled map.
General.Enabled true Off does nothing at all. Needs a restart.
General.DebugLogging false Write detailed lines to the BepInEx log.

On a controller, left on the d-pad hides or shows all markers while the map is open.

It is client-only

Only the player who installs it needs it. It sends nothing over the network, has no version check, and a player with it can join a server that does not have it. It works alongside Map Pins: shared pins and pings look and behave the same in every style.

How it works

The game draws its map from four textures it builds for each world: biome colours, height, forest, and what you have explored. The styles read those once, smooth them so lines can be traced cleanly at 12 m per texel, and draw the whole map into the mod's own texture on a background thread. That texture replaces the material on the two map images; the game's own textures and material are not changed, and choosing Vanilla puts the game's material straight back. Once a second the mod compares what you have explored with what it drew and redraws only the part that changed.

Markers come from a look at the objects and locations loaded around you, once a second while you move and every three seconds while you stand still, checked against a fixed list of names. They are kept in a plain text file per character and world. A damaged file is moved aside, not written over.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.