FixItFelix-CreatureCloner icon

CreatureCloner

A simple way to clone existing creatures and setting different config values.

Last updated a year ago
Total downloads 5528
Total rating 2 
Categories Mods Enemies Client-side Mistlands Update Hildir's Request Update
Dependency string FixItFelix-CreatureCloner-1.1.0
Dependants 18 other packages depend on this package

This mod requires the following mods to function

ValheimModding-Jotunn-2.16.1 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.16.1
denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

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 creature_cloner_write_defaults_to_file in console and it will write the file org.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 org.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