DefendYourBase
Protect your home! Use trophies to summon stalwart guardians to your wards! Now with more aware guardians and no more aimless running around. Supports 'starred' guardians with base and biome restrictions.
Last updated | a week ago |
Total downloads | 5691 |
Total rating | 5 |
Categories | Tweaks Enemies NPCs Ashlands Update |
Dependency string | Neobotics-DefendYourBase-0.2.5 |
Dependants | 10 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2100README
Defend Your Base
Protect your home! Use trophies to summon stalwart guardians to your wards!
Now with more alert guardians, and no more aimless running around!
Summon 'starred' guardians!
Multiplayer support with base and biome restrictions.
Use a trophy on a ward stone to summon a guardian (of the selected trophy type) to patrol and defend your base.
If a trophy drops from a 'starred' creature, the trophy can summon a guardian of the same level.
The summoned guardian will patrol within the ward's area of protection and attack all enemies.
If you configure restrictions by biome or boss progression and want to add custom creatures, please read Custom Biome Restriction first.
New
- Increased guardian awareness
- Eliminating aimlesss 'running' while alerted
- Removed pettable/nameable UI prompts from initial summoning
Configuration
Restrictions
Limit by biome: If enabled, restricts summoned creatures to those that can spawn in the selected ward's biome, or 'higher' biomes, e.g. a Troll can be summoned to a ward in the Plains, but a Seeker cannot.@
Limit by Progression: If enabled, allows creatures to be summoned in 'lower' biomes once a boss is defeated, e.g. Once Bonemass is defeated, a Draugr can be summoned to a ward in the Meadows and Black Forest.@
Minimum Base Pieces: The minimum number of build pieces that must be in proximity to the ward to be considered a 'base' (based on the Piece Check Radius)@
Base Check Radius: The radius from the ward to check for a 'base' that allows the ward to be used for summoning a guard.@
Minimum Base Crafting Stations: The minimum number of crafting stations that must be in proximity to the ward to be considered a 'base' (based on the Piece Check Radius)@
Minimum Base Beds: The minimum number of beds that must be in proximity to the ward to be considered a 'base' (based on the Piece Check Radius)@
Allow Guardian Levels: If enabled, allows trophies from 'starred' creatures to summon guardians of the same level, i.e. a trophy from a 2-star will summon a 2-star guardian.@
Utility
LogLevel: Controls the level of information contained in the log
In-game reconfiguration
You can use Configuration Manager (or similar) mod to change the configuration or modify the config file direclty without exiting the game.
Notes
- If Allow Guardian Levels is enabled, trophies dropped from 'starred' creatures will summon guardians of the same level. Trophies of different levels will not stack, and will display the 'star' level in inventory.
- Place the trophy in one of your hotbar numbered slots. Hover over the ward and select the number of the slot the trophy is in.
- The summoned guardian will patrol within the area of protection of the ward
- Unlike 'natural' tames, the guardian will fight other creatures from it's own faction
- Summoning a guardian will consume the trophy
- A ward can have only one guardian
- You cannot summon a guardian on someone else's ward
- Only one ward can have a guardian within overlapping areas of protection, even if not active.
- You cannot use boss trophies to summon a boss. Sorry.
- The summoned guardian will remain until they are killed
- Destroying a ward will also destroy it's guardian
- The summoned guardian will not follow you.
- Most procedurally generated pieces (ruins, towns, etc.) will count toward base totals.
- Beds do not need to be claimed by any particular player to count toward base totals.
- If you turn Allow_Guardian Levels off, previously obtained 'starred' trophies will still not stack, but will only summon 'no-star' guardians.
- Deer, Hares and other non-aggressive creatures cannot be summoned as guardians.
- Basic Skeletons can be summoned in the Meadows by default.
- The Ocean is counted as biome level 3 (equivalent to the Swamp) for the purposes of summoning a Serpent.
- Note that Meadows creatures can always be summoned to a ward without defeating Eikthyr.
Biome Restrictions
Beginning with version 0.1.2, you can configure DefendYourBase to restrict the summoned guardians to biomes and/or boss progression.
To support trophies that may drop from custom creatures, you can add these trophies and the minimum biome level in which they can be summoned by adding their trophy name and biome level to the CreatureBiomeMap.txt file found in the mod's root folder.
Each custom trophy should appear on it's own line with the trophy piece name and minimum biome 'value' (an integer) separated by a comma, e.g.:
$item_trophy_mycustomtrophy,4
This would allow the creature that dropped this trophy to be summoned in the Mountains (or above), but not the Swamp, Black Forest, or Meadows. If you have Limit by Progression enabled, this creature could be summoned to those 'lower' biomes after Moder is defeated.
You can edit the CreatureBiomeMap.txt file to limit the available guardians to summon or change their minimum.
You may need to get the custom trophy item name from the custom mod's author.
The biome values are as follows:
- Meadows, 1
- Black Forest, 2
- Swamp, 3
- Mountains, 4
- Plains, 5
- Mistlands, 6
- Ashlands, 7
- Deep North, 8
- Ocean, 3
If you add custom trophies, remember to save a copy of your file, or mark it "read-only" before updating DefendYourBase.
Compatibility issues & defects
- If you find a compatibility issue you can post it on NexusMods. Be sure to include the mod name and version you think may be incompatible.
- If you have a bug please report it on NexusMods. If you do post a bug report, please make sure to include the following:
- Your version of this mod
- What you were doing, or attempting to do when it happened
- If it's repeatable - i.e., can you duplicate it?
- The exact behavior you observed (or didn't observe)
- If possible, post a capture of the log file with errors (errors always begin with this mod's name) on Discord
You can find all Neobotics released mods on:
- Thunderstore: https://tinyurl.com/NeoboticsOnThunderstore
- Nexus Mods: https://tinyurl.com/NeoboticsOnNexus
Your comments and feedback are always welcome. Post on NexusMods or Discord: https://tinyurl.com/NeoboticsOnDiscord