You are viewing a potentially older version of this package. View all versions.
FlyingHose-Cartographer-1.0.0 icon

Cartographer

Map styles (topographic, parchment, atlas, night) and your own markers for ore, tar pits, dungeons, boss altars and traders as you find them. Never touches the game's pins. Client-only.

Date uploaded 2 hours ago
Version 1.0.0
Download link FlyingHose-Cartographer-1.0.0.zip
Downloads 10
Dependency string FlyingHose-Cartographer-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2360

README

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.

CHANGELOG

1.0.0

  • After a zoom or a pan, the sharper detail now comes in all at once with a short fade, instead of square by square. If part of the view is slow to draw, what is ready comes in after three quarters of a second.
  • Right-clicking a marker is read from the same click on the map that the game removes its pins from, so the mod and the game can no longer miss or disagree about a click.
  • The tests that time drawing now measure the work done rather than time on the clock, so a busy machine cannot fail them.

0.1.0

  • First release.
  • Five map styles for the large map and the minimap: Vanilla (the game's own map, untouched), Topographic, Parchment, Atlas and Night. The ' key on the open map or the panel in its top-left corner switches between them.
  • Zoomed in, the map is redrawn at screen resolution, so contour lines, coasts and the edge of the fog stay sharp all the way in.
  • Your own markers for copper, tin, iron, silver, obsidian, flametal, tar pits, dungeons, boss altars and traders, added as you come within 60 m of them on explored ground.
  • A legend on the open map shows how many of each you have found and switches each kind on and off. The / key hides or shows them all. Right-click a marker to forget it.
  • The paths, fields and paving you have seen, drawn on the styled map when you zoom in, never thinner than a few pixels. Recorded under the same rule as the markers. Discovery.ShowPaths turns them off.
  • Markers are kept per character and per world in their own file. The game's pins and its save are never changed.
  • Client-only: no version check, no network messages. A player with it can join a server without it.