CreatureCloner
A simple way to clone existing creatures and setting different config values.
模組介紹 作者原文
Creature Cloner
Simple mod to clone existing creature prefabs and give the target ones new values for most basic configs, like rename or
set another faction. This mod might get more enhanced to maybe later some time replace the RRR mods, since the author of
those isn't active anymore.
WARNING to all ppl that are going to use this mod and wondering why the creatures won't appear in game: you will still
need to use mods like SpawnThat to make the creatures appear in game.
Features
Clone creature prefabs (required to have an Character and Humanoid component implemented, which all vanilla ones at
least apply to). The cloning will remain the original source prefabs chosen untouched and will create another new prefab
with a new name. The new prefab can be used with other mods
like SpawnThat.
Create default configs from game
The mod does provide a custom console command to creature defaults from the game with all existing and loaded creature
prefabs, you can use these as presets for creating your clones.
Just type _cloner_write_defaults_to_file in console and it will write the
file.bepinex.plugins.creature.cloner.defaults.yaml to BepInEx config folder.
Loading your own changes to game
For creating custom configs, you will need to provide file(s) matching the file name
schema.bepinex.plugins.creature.cloner.custom.*.yaml somewhere inside (also in subfolders) of the BepInEx
config folder. You can easily provide multiple files, they will all be loaded.
Config changes supported so far
- name
- group
- faction
- health
- base flags like if it is a boss or tamed creature
- global key to be set on first time killed
- damage modifiers (how resistant the creature is against different forms of damage)
- weapons, armors,... used (without changing those)
See also this example config:
MountainBoar:
originalPrefabName: Boar
characterName: 'Icy Boar'
characterGroup: boar
faction: MountainMonsters
health: 200
characterIsBoss: false
isTamed: false
onDefeatSetGlobalKey: ''
damageModifiers:
mBlunt: Normal
mSlash: Normal
mPierce: Normal
mChop: Ignore
mPickaxe: Ignore
mFire: Normal
mFrost: Normal
mLightning: Normal
mPoison: Normal
mSpirit: Immune
defaultItems:
- boar_base_attack
randomWeapons:
randomArmors:
randomShields:
randomSets:
Changelog
- 1.1.0 -> updated dependencies
- 1.0.1 -> updated dependencies, compiled for 0.217.24
- 1.0.0 -> update for Valheim version 0.216.9 and Jotunn
- 0.1.0 -> initial release
Contact
*
- Discord: fluuxxx (you can find me around some of the Valheim modding discords, too)
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: