AntTrails

版本 v1.2.2·更新於 2026-09-22

Footfall slowly wears dirt paths into the world; heavy traffic cobbles them to stone.

模組介紹 作者原文

AntTrails

Walk somewhere often enough and the ground remembers.

AntTrails watches where players actually walk and slowly wears the terrain down into dirt

paths — no hoe, no stamina, no materials. Routes that see heavy traffic over a long time

have a small chance of cobbling over into stone. Routes that fall out of use fade back

toward bare ground.

The result is a world that records how it has been lived in: desire lines between a base and

the nearest copper vein, a worn ring around the smelter, a road to the boat that got wider

the summer everyone was raiding.

Who needs to install this

Every player and the server, and this is enforced. This writes to the shared terrain

paint mask, which is persisted in the world save and replicated to every peer. The server

keeps every wear counter and decides what each tile should look like; clients report where

they walked and paint the terrain they own, because on a dedicated server the server itself

has no terrain loaded near a player. Both halves of that loop need the mod, so a peer

without it is refused at connect rather than silently desyncing.

Config values that change behaviour are admin-only and pushed from the server, so everyone

plays by the same numbers.

How it works

Terrain in Valheim carries a per-square-metre paint mask with separate dirt, cultivated and

paved channels. The hoe slams the dirt channel to full in a 2 m circle. AntTrails instead

nudges it upward a little at a time, so a path fades in rather than appearing:

| Traffic on one 1×1 m tile | What you see |

|---|---|

| A few crossings | Faint scuffing, grass still there |

| Halfway to the threshold | Grass clears; visible bare track |

| Threshold reached (StepsToPath, default 25) | Full dirt path |

| Very heavy lifetime use (StoneSteps, default 400) | Small per-crossing chance of stone |

Crossings from all players pool together — four people walking a route wear it four

times as fast.

Your position is sampled a few times a second and every tile on the line between two

samples is credited too, so a route sprinted at full tilt wears exactly as evenly as one

strolled. The trace follows where you actually put your feet, which means a route walked

loosely spreads its wear over a corridor a couple of metres wide rather than concentrating

it into one line.

Losing a path

Progress on an unfinished tile leaks away continuously, at a flat

StepsToPath ÷ FormationWindowDays per in-game day — about two crossings a day at the

defaults, one every quarter hour of real time.

That makes formation a contest of rate rather than of total. A tile crossed less often than

it leaks never gains ground at all, however long you persist; a tile crossed twice that

often wears through in eight or nine in-game days. So the route between your base and the

copper vein you have been working all evening settles in, and the one-off detour you took

to a swamp last week leaves nothing behind.

A finished path fades far more slowly, taking RevertDays (default 30) of neglect to sink

to ResidualTrace (default 0.3) — a faint permanent scar, below the threshold where grass

regrows. Old routes stay legible forever unless you set ResidualTrace to 0.

Stone is terminal. It never decays. Remove it with a hoe or pickaxe like any other terrain.

What it will not touch

  • Cultivated soil — walking through a turnip field never paves it.
  • Existing stone, whether a player laid it or AntTrails did.
  • Inside workbench and ward range, while RespectBuildPrivilege is on (the default).

Turn it off if you want trails to form through your settlement too.

  • Anything you are swimming through, standing on a built floor over, or Ashlands lava.

Standing still costs nothing: a tile only counts when you enter it, so idling at a

workbench does not bore a hole in the ground.

Configuration

BepInEx/config/com.ragemedia.anttrails.cfg. Gameplay values are admin-only and

server-synced; sampling rate and logging are local to each client.

| Key | Default | Meaning |

|---|---|---|

| E

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_ValheimValheimModding-Jotunn

檔案與校驗

檔案名稱
AntTrails-1.2.2.zip
檔案大小
152.7 KiB