AllTameableTamingOverhaul
Adds the ability to tame almost any creature
Date uploaded | 2 years ago |
Version | 1.1.4 |
Download link | Meldurson-AllTameableTamingOverhaul-1.1.4.zip |
Downloads | 6838 |
Dependency string | Meldurson-AllTameableTamingOverhaul-1.1.4 |
This mod requires the following mods to function
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.21.2README
AllTameable
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 AllTameable
A detailed changelog can also be found on the Nexus Page
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):
- Levels of hatched dragon egg gets level chance from CLLC
- Inheritance of effect and infusion from parents
- Mutation chance to get a different effect/infusion
- 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 by mods such as Horems Wildlife)
- Can breed Seekers and have Seeker Broods as Offspring
- Can set Trades for instant taming
Current features that do not work:
- Ability to tame Bosses (they have special AI that is not conducive with taming)
- Ability to tame Birds (also have a special AI)
Known Incompatibilities:
- Issues with Valheim Plus Invincible Tames (throws an error, not game breaking)
- Tames entering WardIsLove wards can throw an error (Also not game breaking)
Installation Instructions:
- Download the main file with a mod manager or manually place the DLL file in the plugins folder
- Download one of the TameList in the optional files section and place in the config folder
- 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
- If wanting to modify tame of RRRNPC then I recommend using my RRRCore Taming Patch
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.
Configuration
The descriptions of the options in the config are as follows:
- name: This is where you put the IDs of the creatures 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)
Example: Deer,true,900,150,2,10,30,20,Raspberry:Blueberries:Carrot:Turnip:Mushroom:Cloudberry:OnionSoup:Onion,true,true,10,0.66,150,300
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 tameable by trading set commandable to "trade" and then format trades as Tradeitem=TradeAmount: Dverger,trade,BlackCore=5:Coins=999
This will allow to tame a Dverger with either 5 Black Cores or 999 Coins (Note: if wanting to tame by feeding and trade then place trade line after feed line)
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
Any line starting with a # in AllTameable_Tamelist will be skipped from calculating into the tamelist
You can multiple AllTameable_Tamelist*.cfg files where * can be anything such as AllTameable_Tamelist_RRR.cfg
Starting a line with a '*' will then set all atributes in that as the default going forward allowing to only specify attributes you change,
You can specify a new default at any time by starting a new line with '*' as shown below the Boar will have the same attributes as Default and Deer with have the same attributes as Tier_1 the Greyling and Neck will have the same attributes as Tier_1 with dfferent consumeItems
You can specify any attribute by "name=value"
example: Surtling,consumeItems=Coal:ElderBark
This will use all the default values except for consumeItems
Custom Options:
canMateWithSelf: default=true, options:true,false
Makes it so can only mate with other creatures that have been specified and not creatures with the same prefab
specificOffspring: default=none, specify in the form Mate(offspring1:chance1/offspring2:chance2/...)
The following will make it so can only breed Goblins when breeding GoblinShaman and GoblinBrute with an 80% chance and when breeding two GoblinShaman there is a 70% chance to get a GoblinBrute and 30% to get a GoblinShaman
Goblin,-1
*GoblinElites,true,2300,250,2,10,90,20,SerpentMeatCooked:CookedLoxMeat:CarrotSoup:BloodPudding:FishWraps:LoxPie:TurnipStew:SerpentStew:BlackSoup:WolfMeatSkewer:WolfJerky:CookedWolfMeat:CookedHareMeat,true,true,6,0.66,200,600
GoblinShaman,specificOffspring=GoblinBrute(Goblin:80/GoblinBrute:10),specificOffspring=GoblinShaman(GoblinBrute:70)
GoblinBrute
GoblinShaman:GoblinBrute,-1
Troubleshooting
If a creature is not tameable when you think they should be then there are a steps you can take:
- When you start the game before the title screen there will be a block of messages saying which creatures have been set to tameable. The start of the message will be [Info :AllTameable-Overhaul] the name of the creature should be here with successfully added beside it. If it is not you may need to check your TameList
- If you enable Debug Output in the meldurson.valheim.AllTameable.cfg then when you load into the world it should show what creatures have successfully changed to be tameable and if they are commandable. This will be a block of
[Warning:AllTameable-Overhaul] Creature is commandable [Warning:AllTameable-Overhaul] Successfully added Tame and Procreation to Creature - If it says that the creature is tameable or commandable but does not show when in game, if you use the Taming Tool when Debug is enabled and hover over the creature it will show the Prefab name and if it is commandable. If the Prefab name is not in your Tamelist then you will have to add it.
If a creature is not procreating then there are a couple steps you can take:
- Enable Debug in the meldurson.valheim.AllTameable.cfg
- When hovering over the creature when they are fed it will bring up a few stats.
- The one you may need to look at is the Less than max instance:
- If it says Needs Mate then it will let you know the creatures that are around
- If it says Error then it will post in Bepinex what the error is (Note: For 30s-1m after loading into a world there may be some errors with other mods that affect spawning that should go away)
CHANGELOG
Version 1.4.12
- Updated to Bog Witch
- Fixed integration with Monster Modifiers
- Added monster mod integration to eggs
- Fixed egg level when growing up
Version 1.4.11
- Added integration with Monster Modifiers
Version 1.4.10
- Fixed Compatibility with VikingNPCs update
Version 1.4.9
- Fixed issue with modded creatures that have custom taming not being able to eat
Version 1.4.8
- Added Compatibility with Portable Pals
- Better sync of DNA with multiplayer
Version 1.4.7
- Added config for disabling taming foods
- Water based eggs no longer require shelter or fire
- Can now set custom offspring name in tamelist
- Can now set required global key in order to tame
- Can now set maximum level tameable in wild
- Follow distance of creatures is now based on consume range
- Should stop large creatures from pushing you anymore
- 1.5 consume range sets the distance to vanilla
- Added (some) compatibility with VikingNPCs
- Fixed bug with AnimalAI not healing when fed (Deer are one)
- Fixed errors when some bosses were tamed
- Taming tool hover text now handles more consumables if needed
Version 1.4.6
- Modified Tamelist for Ashlands creatures
- Fixed bug with previously tamed creature noises
- Fixed bosses that are tamed not removing the boss effects
Version 1.4.5
- Fixed borked AnimalAI
- Fixed error with config creation
- Fixed error with attacks with no dropPrefab
Version 1.4.4
- Fixed double counting of creatures in custom procreation
- Fixed fatal error when certain modded creatures were killed
Version 1.4.3
- Added chest armor piece
- Added effect that buffs tames in the area and debuffs player
- Added ability to hand feed creatures by "using" food on them
- Fixed an issue with groups not getting set correctly
- Fixed double counting some creatures when trying to breed
- Made creatures that only trade, unable to be fed special taming food
- Fixed error with killing certain creatures
Version 1.4.2
- Fixed custom eggs based on Dragon Eggs failing
- Added patch to make sure recipes with more than 4 ingredients cycle pages
- Fixed a couple bugs
- Fixed default tamelist
Version 1.4.1
- Fixed tamed Dvergers being able to be hit by player
- Fixed Animals not being able to move unless alerted
- Colors of wild creatures that you tame no longer change once tamed
Version 1.4.0
- Updated to Ashlands
- Added ability to select Asksvin egg for optional egg
- Removed DNA dependence on CLLC
- Adjusted DNA Colors
- Adjusted Default Tamelist
Version 1.3.9
- Updated to Valhiem version 0.217.46
- Removed floating Magecap at spawn
- Changed hover consumable items to now show localized names
- Tamed bosses no longer cause weather effects or boss bar if alerted right after taming
Version 1.3.8
- Fixed baby creatures despawning on relog
- Bosslike creatures who's attacks spawn other creatures, when tamed, now spawn tamed creatures
- Fixed error on joining a server from duplicate SpeedTamePotion
- Default Tamelist now includes all Bosses, Minibosses and Gjall
- Added a max level for mutation
- Fixed issue where creature that was unable to procreate, and grew up from egg was getting spawned as mini instead of egg
Version 1.3.7
- Fixed disabling useDNA color not actually disabling color
Version 1.3.6
- Lowered levels on eggs to reference amount of stars so 0 star creatures have lvl 0 eggs instead of lvl 1 eggs etc.
- Added config to limit the size changes possible in DNA
Version 1.3.5
- Fixed issue with Eggs disappearing
- Made it so if using DNA all tames will correctly have DNA, not just ones in tamelist
- Fixed DNA Hover not showing up sometimes
- Fixed eggs with CLLC effect/infusions accidentally getting copied to other eggs
- Fixed some issues with logging out and back into worlds
Version 1.3.4
- Fixed issue with Taming Hat not showing DNA
- Made it so if only specifying creature in TameList, if already tameable will just add compatibility can not change the Taming
Version 1.3.3
- Added DNA to all creatures modified by AllTameable
- Added Calming Gloves, Taming Hat, and Taming Potion
- Fixed taming of some creatures that are set to hunt player
- Made so tamed bosses will no longer create weather effects or have a boss bar
- Added equipment to children (not weapons)
- Made groups able to be set for creatures that are set to not be tameable
- When trying to reproduce will take into account all possible mates and offspring to determine max amount in area
- Fixed issue with loading eggs when logging out
- Fixed error with children of creatures that talk (Dverger)
- No longer can interact with fire with a Dragon Egg, need to hatch like chicken egg
- Taming Tool uses resin again to craft instead of Dragon Egg
Version 1.3.2
- Fixed incompatibility with JewelCrafting
- Adjusted chicken size to scale better with levels
Version 1.3.1
- Fixed issue where could not add dragon eggs to Moder altar
- Made dragon eggs default stack to 20 except if special
Version 1.3
- Added ability to specify a custom egg as offspring
- Made eggs have level that will carry over when hatched
- Made eggs inherit CLLC infusion/extra effect same as normal offspring
- Made dragon eggs work the same as chicken eggs to hatch near fire
- Added advanced taming stick that can command multiple tames in an area
- Moved increased interact range to only be on advanced taming stick
- Added Tier 3 taming food
- Fixed issue with specific offspring not getting changed back to default
- Made default tamelist taming values closer to vanilla (mostly with growup time)
- Can now specify child offspring using specificOffspring and will not make a mini version of it
- Made compatible with Hildir Update
- Split mutation chances into three separate chances
- Added ability to specify group in config so tamed and wild of different prefabs won't attack eachother
- Fixed issue where logging out did not properly reset config so should be able to change world/servers without quitting game
Version 1.2.1
- Fixed incompatibility with Auto_Feed
Version 1.2.0
- Increased interact range with tame stick for creatures (can hover over them from further)
- Added taming food that when a creature consumes it will decrease taming time
- Changed sooth effect to be calmer
- Fixed default tamelist carrying over from file to file
Version 1.1.5
- Added Simple config option to only allow for simple procreation (use default vanilla)
- Removed the ability to specify creatures for taming in normal config (meldurson.valheim.AllTameable)
- If updating and specifying creatures in meldurson.valheim.AllTameable, will create TameList for you
- If not updating or do not specify creatures in meldurson.valheim.AllTameable then will make a Tamelist (Same as Vanilla TameList)
- Made complex procreation more stable
- Fixed issue where could find closest mate to be same creature even when set to canMateWithSelf=false
- Removed the need for adding a "-1" on a line in TameList that only specifies mates
- Changed ranges to scale with "size" in TameList
- Changed UpdatedInterval to closer to Vanilla
Version 1.1.4
- Added ability to set default in Tamelist
- Added ability to specify attributes by name in tamelist to change them
- Added custom attribute canMateWithSelf so creature can only mate with different creature
- Added custom attribute specificOffspring with probability of specific offspring
- Added ability to have multiple Tamelist files making it easier for mods
- Fixed not being able to specify different mates on separate lines
- Fixed maxCreatures allowing double what it should
Version 1.1.3
- Changed way procreation works to remove errors
- Fixed error of infinite spawns if error when growing up
- Fixed minor error when chickens lay eggs
- Added more information when using taming tool in debug mode
Version 1.1.2
- Added functionality to trade for instant tame
- Changed petting and taming sounds to be specific to tame and not just wolf growl
- Fixed issues with reading Tamelist for accommodating different number formats
- Added functionality that small errors in tamelist will create notification but not break tame
- Fixed issue with default config file tames not updating change faction and procreation correctly
Version 1.1.1
- Updated to Mistlands update
- Added ability to have Seeker Broods as Offspring from Seekers or Seeker Brutes
Version 1.1.0
- Added ability to tame passive creatures (That have AnimalAI not MonsterAI)
- Added ability for different creatures to mate with eachother (such as male/female)
- Allowed for procreation of Humans created with RRRNPC
- Fixed issue where offspring would sometimes be untamed and attack everything
- Fixed issue of duplicating Dragon Egg
- Renamed to AllTameable Taming Overhaul
- Made looking at creatures with taming stick be a little more descriptive on what is missing
- Created a small separate optional patch for RRRNPC to help with taming errors
Version 1.0.7
- Fixed Deer and MountUp issue
- Added ability for consuming to provide a set heal on top of regen
- Made regen not say "+0" if regenerating a small amount of health (added healing vfx)
Version 1.0.6
- Added ability to tame deer
- Added optional CLLC integration
- Added tamelist format to remove ability to tame (useful for servers)
- Added breeding inheritance for CLLC
- Added mutation chance with breeding
- Fixed issue with two creatures of the same breed trying to kill each other if one tames before the other
- Added ability to get random level out of hatched dragon eggs
Version 1.0.5
- Fixed issue with dragon egg sometimes teleporting to spawn when interreacting with fire
- Added ability to pick up eggs once set down for hatching
Version 1.0.4
- Fixed some people unable to breed any creature
- Fixed raw meat disappearing on cooking rack
- Added more info when hovering over creature with taming tool
- Added a debug option in config that when set to false removes many lines from the debug window
- When debug set to true, taming stick will show exactly why a creature isn't breading
Version 1.0.3
- Added an easier way to load and manage creatures using the TameList
- Fixed ability to hatch dragon eggs
- Added built-in server config sync
- Optimized Startup loading
- Fixed closest creature when loading in to have incorrect taming properties
Version 1.0.0
- Updated to hearth and home update
- Added support for creatures added by mods
- Added dedicated server support
- Added a taming tool to see each creatures taming requirements