Valheim

File information

Last updated

Original upload

Created by

meldurson

Uploaded by

meldurson

Virus scan

Safe to use

Tags for this mod

About this mod

This is an updated almost complete rewrite of the AllTameable mod by buzz with a few improvements: RRRM creature support, dedicated server support, and wieldable item to view requirements for taming.

Requirements
Permissions and credits
Changelogs
This update to the AllTameable from buzz so if they want it removed I will oblige. I'm fairly new to coding in unity so there may be some issues.

The original mod can be found at https://www.nexusmods.com/valheim/mods/478?tab=description

I made this so I could use it on a dedicated server and ended up adding features that I wanted to have.

By default, the config file does not add taming to any additional creatures. Each creature has to be manually added to the config or use one of the provided config files


The current state of the mod includes the following features:

-Ability to tame any creature specified in the config including added by RRRM (Others may work I just haven't tested)
-Works in singleplayer, multiplayer, and dedicated server as long as all parties have the mod installed
-Added a craftable item that when hovering over a creature and wielding the item it will show taming time and acceptable consumables
- Ability to have hatchable dragon eggs
- New Config solution to more easily manage creature tames
- CLLC integration(Optional):
  1. Levels of hatched dragon egg gets level chance from CLLC
  2. Inheritance of effect and infusion from parents
  3. Mutation chance to get a different effect/infusion
  4. Mutation chance for level to change (+1/-1) eg: two 3 star would have a chance to breed a 4 star and also 2 star
- Added ability to remove option for taming
- Can set a healing amount when a tame consumes an item (this feature was removed in Hearth and Home)
- Can breed Humans added by RRRNPC
- Can breed different creatures together (mainly useful for humans with male/female variants)
- Can tame passive creatures such as Deer (or others added my mods such as Horems Wildlife)


Current features that do not work:
-Ability to tame Bosses (they have special AI that is not conducive with taming)
-Ability to tame Birds (special AI)

Installation Instructions:
  1. Download the main file with a mod manager or manually place the DLL file in the plugins folder
  2. Download one of the TameList in the optional files section and place in the config folder
  3. Open the TameList file and modify to your hearts content, including adding creatures that are added by mods as long as it follows the correct format

Note: The new TameList is optional, if you already have the original config file you do not need to download any extra files. The TameList file with override if it is found when loaded, otherwise the "meldurson.valheim.AllTameable.cfg" is used.

The descriptions of the options in the config are as follows:

nme: This is where you put the IDs of the creature you are adding separated by a : (colon)
commandable: This sets the ability to order them to follow you or not
tamingTime: This is the time it will take to tame the creature (in seconds)
fedDuration: This is how long a creature will be full for after it eats (in seconds)
consumeRange: This is the max range the creature can be at to eat food
consumeSearchInterval: This is how often the creature checks to see if food is in range to decides whether it needs it (in seconds)
consumeHeal: This is how much health each food provides
consumeSearchRange: This is the range the creature can detect food from
consumeItems: This is where you put the ID's of the items you want the creature to eat, put a : symbol in between each food (doesn't need to be a food item)
changeFaction: This is whether the creature will change faction when tamed (If set to on it will attack/get attacked by anything that attacks you)
procretion: This is whether the creature can breed to produce offspring
maxCreatures: This is the max amount of creatures within 30m you can have of the creature ID typed in, if it exceeds this they will stop breeding
pregnancyChance: This is the chance the creature has of becoming pregnant, Lower number = higher chance (scales from 0.00 to 1.00)
pregnancyDuration: This is how long the creature is pregnant for (In seconds)
growTime: This is how long it takes for offspring to grow into an adult (In seconds)

To make two different prefabs able to breed with each other separate their ID with a colon such as:
RRRN_HumanMale:RRRN_HumanFemale,true,900,150,2,10,30,20,CookedMeat,true,true,10,0.66,150,500
This will allow for both humans to breed with each other

To make a creature not tameable you set the line to the creature name plus a -1 such as:
Wolf,-1
This will not allow for wolves to be tamed
Note: This should be used on servers to set creatures you don't want tamed

Special Thanks to RunningGag for debug testing!