CreatureCloner
A simple way to clone existing creatures and setting different config values.
About this mod Author’s original text
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)
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: