ChattyBones
With ChattyBones, your Dead Raiser Skeletts talk, so your Valheim journeys can get a little more chatty! They call out targets, shout when hit, thank you for a shield, and mutter when nothing is happe
截圖 共 1 張
模組介紹 作者原文
ChattyBones
Tired of your summoned Skeletts being silent companions? Now they can chat with you, with ChattyBones!
What the heck does this do?
This mod is truly a silly thing, and provides no mechanical benefit (that I can think of, at least).
It enables your Skeletts to react to things happening around them (combat, getting hurt, catching fire, dying, transitioning to new biomes, looting, eating, cooking, etc.). There are 32 event-types in total that I support today!
They can reference things in the world (you, themselves, each other, the enemies, other players) by name, and when you summon a Skelett, it will randomly get assigned a 'personality' to give them a little unique character.
The lines are totally customizable via a YML file, and there's configuration options for how frequently they speak and several other things, too.
Does this work in multiplayer?
It does! But only if all players who want to see the dialogue have the mod installed. References to lines are sent over the wire (packed into an int so it should be very efficient), so if all players have the same lines and version of the mod, they should see the same dialogue play out. It should also work back and forth between different skeletons summoned by different players! (Though I haven't tested that much)
Known Bugs
There's a lot of little bugs, but none of them stop the mod from working.
- The Skeletts sometimes react to things based on where the player is, not necessarily where they are, for a variety of reasons. I might not be able to do anything about this one, and you likely won't notice it unless the Skeletts get separated from you. (e.g. you go to your base and they comment on how nice and cozy it is, but they're still outside)
- Not all of the 'tokens' (the references they make to things in the game) work all the time, e.g. I don't have an easy way for the Skeletts to comment about their own weapons, but they can comment on the players' easily. It isn't a problem; if you write a line with a token that isn't available, that line simply won't be picked to be spoken.
- The code could use a nice, big ole' pass through and I'm pretty sure we could make the mod a bit more efficient. Shout at me if you notice any performance issues. I haven't in my testing, though.
Localization?
Because all the lines are in a YML file, we can definitely localize! Sorry, all the lines are just in English right now. I haven't yet built the support for multiple line packs of different languages to be stored in the mod at the same time. But if you are interested in localizing, let me know! I'll build that support and then we can ship this with multiple languages, too.
All of the 'things' referenced by the Skeletts (biomes, items, etc) are all coming straight from Valheim, so the built-in localization SHOULD take care of that.
How to Edit Lines
In your BepInEx config folder for this mod, you'll find a file like this:
BepInEx/config/ChattyBones.lines.yaml
Go ahead and edit it and save it while the game is running! The change takes effect with a hot reload, so no restart of the game is needed. If you break the formatting of the file, you should see a warning in the console, but your Skeletts keep using the last version that worked.
The file has some comments that should explain how it is organized. A second file next to it,
ChattyBones.lines.default.yaml, is delivered with new updates to the mod, so if you ever see something not working you can compare against it — or copy it over your ChattyBones.lines.yaml to start fresh, though that will replace any edits you have made.
Config
When you first run the mod, the config file BepInEx/config/pandincus.chattybones.cfg will appear. Can be edited in the file, but I recommend the BepInEx ConfigurationManager (F1 key). Changes apply immediately.
| Setting | Default | Meaning |
|---|---|---|
| General.Enabled | true | Master switch. false is complete silence; they say nothing. |
| Chatter.ChatterFrequency | Often | How much they
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: