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

Details

Date Uploaded
Downloads
46
Size
72KB
ADDatHost Valheim hosting
30% off

WispArrow

Early release, not fully tested. The mod loads on a client and on a dedicated server, but the arrows have not been tried in a real fight in the Mistlands yet. Expect rough edges and please report them.

Wood arrows with a wisp bound in. They push the Mistlands mist away as they fly, and keep the spot where they land clear for a while. Shoot one ahead to see what's waiting in the fog.

The item

Wisp arrow 8 Wood + 2 Feathers + 1 Wisp → 20 arrows, at the Workbench
Damage same as wood arrows (22 pierce)
In flight clears the mist within 6 m, pale blue light
Behind it a clear path (4 m wide points every 3 m) that lasts 5 s
Where it lands clears the mist within 10 m for 60 s, pale blue light (also where it fades out if it hits nothing)

The mist clearing uses the game's own mechanism, the one the Wisplight uses, only stronger: the mist is pushed away 5× faster by default. Names and descriptions are in English and French.

Configuration

BepInEx/config/okothings.wisparrow.cfg. Everything applies live, no restart needed (mist values affect the next arrows shot).

Synced from the server: on a server, sections 1 to 4 come from the server's file (Jotunn sends them to every player when they connect, and again if an admin changes them in game), unless the server lets players choose for that section (section 0). Section 5 is always local.

Section Setting Default
0 - Server PlayersSetRecipe false Each player uses the recipe of their own file
PlayersSetArrow false Each player uses their own arrow settings (damage...)
PlayersSetMist false Each player uses their own mist settings
PlayersSetTrail false Each player uses their own trail settings
1 - Recipe Ingredients Wood:8,Feathers:2,Wisp:1 Item:amount, comma separated, game prefab names
Amount 20 Arrows per craft
CraftingStation piece_workbench Station prefab (forge, piece_artisanstation, blackforge, piece_magetable...); empty = by hand
StationLevel 1 Minimum station level
Enabled true Whether the arrows can be crafted
2 - Arrow PierceDamage 22 Pierce damage (wood arrow: 22)
ClearWhereItFades true An arrow that hits nothing still clears the spot where it fades out
3 - Mist FlightRadius 6 Radius (m) of clear air around the flying arrow (0 = none)
ImpactRadius 10 Radius (m) of clear air where it lands (0 = none; the Wisplight clears 15 m)
ImpactDuration 60 Seconds the landing spot stays clear
PushStrength 5 How fast the mist is pushed away, as a multiple of the Wisplight's push (1 = same)
4 - Trail TrailRadius 4 Radius (m) of the clear path behind the arrow (0 = no trail)
TrailDuration 5 Seconds the path stays clear
TrailSpacing 3 Distance (m) between two points of the path
MaxTrailPoints 150 Most trail points alive at once, all arrows together
5 - Light (local) Enabled true Pale light on flying arrows and landing spots
Color pale blue Light colour
FlightIntensity 1 Light on a flying arrow
ImpactIntensity 1.2 Light on a landing spot

Install

Everyone must have it: the server and every player. Jotunn refuses to connect a client without the mod (or with another minor version). This is on purpose: a player without the mod would not see the arrows or the clear air, and could lose wisp arrows stored in a chest.

Limitations and known issues

  • Not fully tested (see above). Crafting, flight, impact and multiplayer behaviour have not been checked in play yet.
  • Settings sync needs the server to run the mod too (it must anyway). In single player your own file is used.
  • An unknown ingredient or crafting station in the config is skipped, with a warning in the BepInEx log.
  • When the server lets players choose a section, a player's values are those in their own file when they connect; a player who is not admin cannot edit them in game while connected (edit the file before joining). This relies on an internal part of Jotunn: if a Jotunn update changes it, the server's values are used and the BepInEx log says so.
  • Per-player arrow settings mean each player's arrows use that player's damage (the shooter's game computes the hit).
  • Changing the recipe while someone has the crafting menu open may only show after reopening it.
  • Uninstalling the mod deletes the wisp arrows from inventories and chests the next time they are saved (the game no longer knows the item).
  • The clear spot is a networked object that lives 60 s; its timer restarts if the area is unloaded and loaded again (for example when you walk away and come back).
  • The path behind the arrow is computed by each player's game on its own (no network traffic); it is made of separate clear spheres, so it can look beaded at a small TrailRadius or large TrailSpacing.
  • Many arrows at once mean many trail points, and the game's mist checks each of them often; past MaxTrailPoints new points are skipped (the path gets gaps) to protect the frame rate.
  • A strong PushStrength throws the mist particles away fast; very high values may look odd.
  • No special damage or effect on creatures: it is a wood arrow that carries light.
  • The item icon was drawn for this mod; the Thunderstore icon too. The mod's code and art were made with an AI assistant (Claude).

Source code, bug reports: https://github.com/OkoThings/WispArrow


Français

Version précoce, pas encore entièrement testée.

Des flèches en bois avec un feu follet lié. Elles repoussent la brume des Brumes en vol (5× plus vite que la lampe feu-follet), laissent un chemin dégagé derrière elles pendant 5 s, et dégagent pour un temps l'endroit où elles se plantent. Fabrication : 8 bois + 2 plumes + 1 feu follet → 20 flèches, à l'établi. Le serveur et chaque joueur doivent avoir le mod. Tout est configurable (recette, dégâts, brume, chemin, lumière), et les réglages de jeu sont synchronisés depuis le serveur, qui peut laisser chaque joueur choisir les siens, section par section. Désinstaller le mod supprime les flèches feu-follet.

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