Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Rista
Draw on the map by hand, alone or with your group. Every part of it can be switched off.
By FlyingHose
| Date uploaded | a day ago |
| Version | 0.1.0 |
| Download link | FlyingHose-Rista-0.1.0.zip |
| Downloads | 26 |
| Dependency string | FlyingHose-Rista-0.1.0 |
This mod requires the following mods to function
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.2360README
Rista: draw on the map by hand
Hold a key and drag on the large map to draw. Mark the way round the mountains, ring the spot where the longhouse goes, cross out the swamp. On a server with Rista everyone sees what everyone draws. Every part of it can be switched off.
Needs only BepInEx. It is not in FlyingHose's Modpack yet: install it beside the pack or on its own.
Rista is the Old Norse word for carving runes. Planning a trip together still happens by pointing at the screen; this lets you put the plan on the map instead.
Drawing
Open the large map.
- Draw: hold Left Alt (Left Option on a Mac) and drag with the left mouse button.
- Rub out: hold Left Alt and drag with the right mouse button over your own lines.
- Without the key held, the map drags, zooms and takes pins exactly as it does without the mod.
While the key is held, a click on the map belongs to Rista: it does not pan the map, and it does not place, check or remove a pin, or a Cartographer marker.
A small panel on the large map holds:
- Hide all / Show all: hides every drawing on both maps without deleting anything. The choice is kept between games.
- Six colours and Thin or Thick.
- Undo: removes your newest line.
- Clear mine: removes all of your lines.
- Clear all: only for an admin (the host, or a player on the server's admin list). Click it twice to be sure.
- A line saying where your lines go, and how many there are.
The panel finds a place clear of the game's own map controls and of Cartographer's legend.
A line is a list of world positions, so it stays on the same ground at every zoom, as you pan, and in every Cartographer style. It is simplified as you draw, to 200 points at most.
Switching it off
Each of these is its own switch:
| Setting | Default | What it does |
|---|---|---|
General.Enabled |
true |
Master switch. When false Rista applies no patches and sends nothing. Needs a restart. |
Drawings.Shown |
true |
Hide or show every drawing on both maps. The panel's button and the toggle key change it. |
Drawings.ShowOthers |
true |
When false only your own lines show. |
Drawings.ShowOnMinimap |
false |
Show drawings on the small map in the corner too. Off keeps it clean. |
Keys.DrawKey |
LeftAlt |
The key to hold while drawing. Set it to None and Rista never takes the mouse; drawings still show. |
Keys.ToggleKey |
Equals |
With the large map open, hides or shows every drawing. None leaves only the panel's button. |
With drawings hidden and the large map closed, nothing of Rista runs per frame. With drawings shown and the small map clean (the default), the same is true until you open the large map.
Playing together
- Playing alone or hosting: your world keeps its lines in
BepInEx/config/YesuBuildKit.Rista/<world>.strokes. - On a server with Rista: a line goes to the server, which checks it and sends it to everyone. A player who joins later gets every line. Each line carries who drew it; you can rub out only your own.
- On a server without Rista: your lines are private and stay on your own machine, in
BepInEx/config/YesuBuildKit.Rista/private/, one file per world and character. The panel says so.
A player with or without Rista can join any server. Rista checks versions when you join but refuses nobody; lines are shared only with the same version.
The server keeps to these limits and tells the player why when it refuses a line:
- 200 points in one line
- 300 lines per player
- 2,000 lines in the world
- 5 new lines a second from one player
| Server setting | Default | What it does |
|---|---|---|
Drawings.FadeAfterDays |
0 |
Lines older than this many in-game days are removed. 0 keeps them for good. The server decides; it can be set for one world and changed in game with Althing. |
Drawings.Color and Drawings.Thick hold the colour and width you last chose.
For admins
The console command rista helps keep a shared map tidy:
rista listshows who has drawn, with how many lines.rista clear allremoves every line in the world.rista clear <player name or id>removes every line one player drew.
What it does not do
- No typed labels, arrows or stamps. A label is what a pin is for.
- No drawing on the small map, and no drawing with a gamepad. Drawings show to gamepad players.
- It does not touch the game's pins, Cartographer's markers or Map Pins' shared pins, and it writes nothing to the world save or the character save. Removing Rista loses nothing but its own files.
Compatibility
Draws on the game's two map images as a layer of its own, and listens to the large map's own clicks only while the draw key is held. Works beside every other YesuBuildKit mod, including Cartographer and Map Pins.
CHANGELOG
0.1.0
- First release. Draw on the large map by hand: hold Left Alt and drag with the left mouse button, or with the right to rub out your own lines.
- A panel on the large map with hide and show, six colours, thin or thick, Undo, Clear mine, and Clear all for admins. It finds a place clear of the game's map controls and Cartographer's legend.
- Lines are world positions, so they stay on the same ground at every zoom and in every Cartographer style. Each is simplified to 200 points at most.
- Every part can be switched off: the master switch, hide all (kept between games, on both maps),
Drawings.ShowOthers,Drawings.ShowOnMinimap(off by default), and a draw key that can be unbound so the mouse is never taken. - With drawings hidden and the large map closed, nothing runs per frame.
- On a server with Rista lines are shared, kept per world, and sent to players who join later. On a server without it they stay private on your machine, and the panel says so.
- Server limits: 200 points a line, 300 lines a player, 2,000 lines a world, 5 new lines a second. A refused line tells the player why.
- Server setting
Drawings.FadeAfterDaysremoves old lines. The console commandristalists and clears lines for admins. - A version check that refuses nobody: a player with or without Rista can join any server.