Here is a quality of life ‘server side only’ mod called ‘Oak’s Pet Animals and Guards’ by Oakraven with kind assistance from Dayhawk Mod.
Thank you also to Dre for giving it a good run through to check for functionality and potential issues.
Update for A20: The Farm Jeep is no longer viable because it is a scaled down version of a jeep, and when a player enters the vehicle they are permanently scaled down by the same amount (40% of original). This is cumulative for each and every time the player enters the vehicle. Again, the developer will reintroduce the Farm Jeep at the first opportunity.
This mod provides:
1) 9 Pet Animals – These include Boar, Rabbit, Stag, Chicken, Pig, mini Bear, Wolf, Coyote, and Doe. (These animals show no fear when approached and will stay within their confines. It is strongly recommended to always have 3 blocks above the highest perimeter point because the animals can climb up onto objects and each other and will be over the wall before you can notice.)
7 are purchasable from the Trader’s with a starting base price of 800 or found in plane supply drop crates and use the Quest system to switch to a place-able animal. These include Boar, Stag, Pig, mini Bear, Wolf, Coyote, and Doe. 2 are only found by using a Coop for the chickens or a Trap for the rabbits. The rabbit trap will also provide a small amount of seeds on the principle that they will be trapped in rabbit paws and fur.
2) 5 Animal Guards – Guard Hell Bear, Guard Hell Boar, Guard Hell Wolf, Guard Hell Lion, and Guard Rabbit. All 5 are purchasable from the Traders with a starting base price of 800. They can also be found in Air Supply Drops.
3) 12 Human Guards – All 8 can be found in Air Supply Drops.
4) Mushroom Planter that requires Mushroom Mycelium to begin the fruiting process.
Purchasing and Supply Drops
Visit the trader and check the traps and tools section. On this occasion the trader was very generous with offerings and the animal icons have a description of what animal is being offered. The pet animals have been integrated into a default group and on some occasions you will get a lot of choice and on other occasions nothing. The base price of 800 has been lowered to reflect skill and buffs.
Here is how Arramus place a Pet Boar he purchased at a later time using the Quest feature. First, perform a ‘Read’. Accept to Release the Pet Boar for Placement. A Quest Started prompt will appear and it will automatically be completed. Check you inventory for a ‘dog house’ icon and the name of the animal available. Place the animal on ground just as you would a vehicle and stand back. Incorporating a feature found in the Dayhawk Mod (thank you), a tile will appear on the ground which in turn will spawn the animal placed.
If the animal drops onto the tile, the tile will break and a cobweb will appear to finalise the process. If the animal doesn’t drop onto the tile, you can always walk on it and it will break. There are occasions where you may get lucky and a second animal will spawn. You may also get unlucky and nothing spawns; however this is incredibly rare and based on what they have experienced so far, blanks are less than 1 in 50, whereas doubles, and even triples on one occasion occur 1 in 10. He expect this depends on netcoding, latency, or any other factor relating to server processes.
You can either harvest the animal for meat and other resources, or simply allow it to have a sedate life of roaming.
Pet animals have been integrated into default supply drop settings and will be chosen from a select list of supply drop groups.
Upon finding a Supply Drop Crate, you may get lucky and find a pet animal.
There are also 2 Pet Animals that cannot be purchased or found. These include the Pet Chicken and the Pet Rabbit. oakraven introduces a method using default features in a novel way as follows:
a) Construct a Rabbit Cage Trap or Chicken Coop and place them. The Chicken Coops can be placed next to each other but the Rabbit Traps need some spacing.
b) Make some Chicken Feed and Rabbit Feed in your campfire and take them to your Chicken Coop and Rabbit Trap respectively.
In this case, right mouse click and it will change the Chicken Coop status.
Once receiving Chicken Feed the Chicken Coop moves to its Nesting Stage.
And finally it is time to harvest. We can always receive feathers and eggs and regularly receive Pet Chickens.
Pet Chickens are placed exactly the same as other Pet Animals.
The chickens are prone to resting on ledges above the ground and your imagination can take that wherever you want it to.
Pet Rabbits follow the same system beyond the reward and housing.
Make some Rabbit Feed. Take it to your Rabbit Trap and right click. The Rabbit Cage Trap is Baited and Set.
Here’s one they trapped earlier.
Activate and Release as with other animals. And should you ever lose your pets and have the skill in place, crouch.
Just as with the Pet Animals, the Traders will stock Guard Animals. The Guard Animals can be purchased for the same price and placed exactly the same as Pet Animals using the quest system. The Guard Animals will remain passive in the spot you place them until a Zombie gets to close. The guard animals can be used to protect your Pet Animals, general base protection, or even during a Blood Moon event.
An unwelcome guest. 2 Animals Guards; Guard Hell Wolf and Guard Rabbit are released using the tile placement system and very quickly recognise the threat. After opening the shutter, the zombies attempt to enter the farm compound and are met by the Guard Animals. Arramus got lucky on this occasion and 2 Hell Wolves spawned from a single tile.
The skirmish ensues. One of the Hell Wolves was overcome and is ready to be harvested. The Guard Animals that survived will see their health restored.
The Guard Animals also fare well during a Blood Moon event. Four Guard Animals remained until first light. Players will receive no XP for Guard Animal kills.
There are 4 additional human Guards that are currently being tweaked for a future build. There was an issue with the Trader compound causing NRE for certain classes and that needs to be tweaked to ensure they function well with the few classes that are compatible.
Vehicle (Current Unavailable)
The farm jeep is your tractor. It is pretty slow but will get you from A to B without running down your stamina. It fits the concept and can be constructed on the Workbench with less resource demand than a regular vehicle due to its limited functionality. It’s just a bit of fun. And is scaled to match pathways. Carries 2 players…
There will undoubtedly be updates in time, but this is a fully functional ‘farming‘ mod and may serve you well as a break from looting, questing, and skirmishing.
Note: These Pet Animals and Guards will not be hurt by Electric Turrets. However, just as the Junk Turret will attack regular animals, it will also attack your Pet Animals. Please do not place a Junk Turret within attack range of your Pet Animals and Guards unless you purposely want to eliminate them.
Arramus has updated the description of the Mushroom Planter to read.
“Put on the ground (Forest top soil, clay, desert, snow, wasteland/burnt forest), add Mycelium Starter, and wait. Do not place directly onto road, gravel, or player made blocks as it will be destroyed. You can add a ground surface inside your base as a substrate.”
and uploaded the change to the download. It seems the ‘Crop Growing Master’ is sensitive to substrate and to keep it server side only, they will just have to adapt how things are done and stay within its requirements.
If you’ve never installed a mod before it is necessary to create a mod folder in the main directory or in an area suggested by your server host if they have modified the installation. Simply make a new folder called Mods (with a capital M to reflect standard nomenclature). If you drag the mod folder directly out of the zipped file it can be placed directly into the Mods folder and the game will look in there as you launch your World. If you allow your unzip function to extract the folder, it may make another unnecessary folder and place the mod inside it. This will not be recognised by the game/server if you place it in the Mods folder like this. Please take it out of the extra folder level. The top layer will be a single folder and in the second layer you will see a ModInfo.xml file with or without additional folders depending on the mod. This will become elementary once you’ve launched a few mods.
The magic of this mod is that is only needs to be installed in the server/person who has launched the main environment that others join. It is a technical work of art. Enjoy.
The forum topic of the mod is here.
Credits: Arramus, Oakraven, Dayhawk, Dre
8 thoughts on “Oak’s Pet Animals and Guards”
Можете добавить крокодила из STARVATION SDX MOD ???
prosim o mod na 7 die
Sadly, testing locally was fine. But installed on the server, it wiped our players.
EACEnabled was false in our server xml.
When loaded game, F1 has error: EAC Integrity Violation.
Unknown file version.
Had to uninstall and rollback. 🙁
The human-esque gaurds spawned just fine in our server, unfortunately I will have to move 3 normal turrets as it is regarded as a target. I have been unable to move it or change its location. Their look close up is really cool.
The problem that I am facing is when they are placed. Sometimes when I place them down – they pop instantly…
Other times when I place them down they do nothing at all and I’ll walk over the tile and it breaks and a few leaves fall and that’s it. Who do some pop and some don’t?
The guard do not seem to want to do anything they just stand still and let themselves be hit
Amazing mod. I really like that NPC player guard mod and I also started to learn xml and made some own changes to that mod on me. Really cool stuff. I hope those NPC mods get developed to better eventually. Would be cool if they follow U around the world while also helping to kill enemies. Let’s see once A21 comes with bandits, I wonder is it possible to code even better NPC mod. 😀
How do I get rid of the guard npcs?