Jump to content

Oak's Pet Animals, Guards, and Farm Jeep


Recommended Posts

Here is a quality of life 'server side only' mod called 'Oak's Pet Animals, Guards, and Farm Jeep' by oak  @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.

 

Download: https://github.com/arramus/Pet-Animals-and-Guards-A19-2021Jan01

 

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.

 

2) 5 Guards - Guard Hell Bear, Guard Hell Boar, Guard Hell Wolf, Guard Hell Lion, and Guard Rabbit. Additional human Guards are undergoing a little more tweaking and will be released at a later date.

 

All 5 are purchasable from the Traders with a starting base price of 800.

 

3) A Vehicle - Farm Jeep.

(This is a miniature version of the 4x4 Jeep and is designed to be used for very local journeys due to its slow speed. Tractoresque.)

 

Here are some pictures to show you how things work:

 

PET ANIMALS

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.

20201217113057_1.thumb.jpg.33122ead0f694ed33a9cb1a04ec0d641.jpg

 

Here is how I place a Pet Boar I purchased at a later time using the Quest feature. First, perform a 'Read'.

20201219184637_1.thumb.jpg.849c849a42ea5cb55910e933ee5827ad.jpg

 

Accept to Release the Pet Boar for Placement.

20201219184643_1.thumb.jpg.ded04beeeb976fac525b4d9433f8c955.jpg

 

A Quest Started prompt will appear and it will automatically be completed.

20201219184648_1.thumb.jpg.0cd5214723841adbfb22cc7b128f3144.jpg

 

Check you inventory for a 'dog house' icon and the name of the animal available.

20201219184657_1.thumb.jpg.dad9b47411a6e4ba30281655442efa4a.jpg

 

Place the animal on ground just as you would a vehicle and stand back.

20201219184701_1.thumb.jpg.1e75776dc86372a928118f08eb748956.jpg

 

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.

20201219184707_1.thumb.jpg.302ca790dad0016dd6b994208e92cd40.jpg

 

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 we have experienced so far, blanks are less than 1 in 50, whereas doubles, and even triples on one occasion occur 1 in 10. I 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.

20201219184710_1.thumb.jpg.e0d321691ea11d39be6d2d1809837453.jpg

 

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.

20201219195401_1.thumb.jpg.e331bbc94b557ad29728781cabe27535.jpg

 

Or more.

20201219195411_1.thumb.jpg.6a42dc0c7a7a1b9dbd7f094e9089efb6.jpg

 

20201219195415_1.thumb.jpg.94da1d2e7fe122d05b9c470090e54d25.jpg

 

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.

20201214164352_1.thumb.jpg.afe63605fc6252b2cd0e85e983357337.jpg

 

20201214164413_1.thumb.jpg.72482af5aaaca6803d78a8a7f7ae4713.jpg

 

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.

20201214164645_1.thumb.jpg.29857b64f650b4961756c27914cf7dd5.jpg

 

Once receiving Chicken Feed the Chicken Coop moves to its Nesting Stage.

20201214170332_1.thumb.jpg.cc947c3e59b2d3d63ee01699422953a2.jpg

 

And finally it is time to harvest. We can always receive feathers and eggs and regularly receive Pet Chickens.

20201216012633_1.thumb.jpg.197af1bc61e05a69b2d935f8c3acb1ac.jpg

 

Pet Chickens are placed exactly the same as other Pet Animals.

20201216012755_1.thumb.jpg.cabc7fe0de6998899b1d7974e644c5d7.jpg

 

The chickens are prone to resting on ledges above the ground and your imagination can take that wherever you want it to.

20201214171757_1.thumb.jpg.8bf289ab0ddbb63cdde9e0f105f3735d.jpg

 

Pet Rabbits follow the same system beyond the reward and housing.

Make some Rabbit Feed.

20201219203651_1.thumb.jpg.a40d8548d8498077a1dbcb7789be5e0b.jpg

 

Take it to your Rabbit Trap and right click.

20201219203746_1.thumb.jpg.36533f5dd2ea41494256f0b83efac37e.jpg

 

The Rabbit Cage Trap is Baited and Set.

20201219203751_1.thumb.jpg.8a7040cd3e8250fa26ac4d6bf71348eb.jpg

 

Here's one we trapped earlier.

20201219203800_1.thumb.jpg.448646f464457be7150e95e3d53e9d31.jpg

 

20201219203807_1.thumb.jpg.dc4fa84950dffb50d3e73fd50d58a42a.jpg

 

Activate and Release as with other animals.

20201219203836_1.thumb.jpg.f20057fad31c1e28be5035356d44bcb2.jpg

 

And should you ever lose your pets and have the skill in place, crouch.

20201219203848_1.thumb.jpg.1603c9962c1fd3d9d85e6ceaf11f9b80.jpg

 

GUARD ANIMALS

Purchasing

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.

20201219185700_1.thumb.jpg.f1bb1917c888330fe18f8113a2cfc9b1.jpg

 

2 Animals Guards; Guard Hell Wolf and Guard Rabbit are released using the tile placement system and very quickly recognise the threat.

20201219185802_1.thumb.jpg.27cfc9472760c8f3d89bf4139cb3790e.jpg

 

After opening the shutter, the zombies attempt to enter the farm compound and are met by the Guard Animals.

I got lucky on this occasion and 2 Hell Wolves spawned from a single tile.

20201219185838_1.thumb.jpg.371a3b5a6f83d0a33a96a8073b83a9c6.jpg

 

The skirmish ensues.

20201219185938_1.thumb.jpg.d5e78c2493ffbf6132cc97b67117ad46.jpg

 

One of the Hell Wolves was overcome and is ready to be harvested. The Guard Animals that survived will see their health restored.

20201219190046_1.thumb.jpg.ebad53f1eff1a94414091e4a00158ab5.jpg

 

The Guard Animals also fare well during a Blood Moon event.

20201219013059_1.thumb.jpg.ef6708c66af1a4589f6480251170fcba.jpg

 

Four Guard Animals remained until first light. Players will receive no XP for Guard Animal kills.

20201219015922_1.thumb.jpg.1b1e98a07049628dad2e408990fbe30b.jpg

 

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

Farm Jeep

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.

20201219185320_1.thumb.jpg.3faa9707ec46c535af51fa63011f5d28.jpg

 

And is scaled to match pathways. Carries 2 players...

20201219185552_1.thumb.jpg.a33974ebafd1c8cff1d2795829e02866.jpg

 

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.

 

Installation

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.

 

Does this Mod need to be installed in the server/client host? = YES

Do players also need to install this Mod? = NO

 

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. 👍

 

Hog Riding! but that's another mod.

20201218234417_1.thumb.jpg.561326ff96ec55a1c974eed61afc83ac.jpg

20201216215416_1.jpg

 

Edited by arramus
update for turrets (see edit history)
  • Like 4
Link to post
Share on other sites

My action when arramus hinted me about this mod probably tells something about these guys and the mods they create....

Sooooooooo.... Just downloaded the thing, barely tested it... did a backup of my server and threw it in there 😛 NOW I'm gonna test it... haha. Great work as usual, already love it, though I've barely scratched the surface :) 

 

Also, at the same time I thank you for all people that are involved in the Snufkin stuff + more. Love ya!

 

Edited by Catman (see edit history)
  • Thanks 2
Link to post
Share on other sites

Here is a small update that ensures the Automatic Turrets are not attacking the Guard Animals due to their hostile class settings.

 

Download: https://github.com/arramus/Pet_Animals_and_Guards_A19_2020Dec21

 

(If your server has trouble with Github due to it creating an additional shell folder, here is a single layer version - Pet_Animals_and_Guards_A19_2020Dec21.zip)

 

20201221124613_1.thumb.jpg.9465bbfe3608806db312055196fe65c3.jpg

 

Not part of the update, and just a vision of the calm before the storm.

20201221181404_1.thumb.jpg.fc1e8adf8b7834c14d28783698fd027a.jpg

Link to post
Share on other sites

You forgot this:

<append xpath="/items/item[@name='meleeToolRepairT0StoneAxe']/property[@class='Action1']/property[@name='Allowed_upgrade_items']/@value">,ChickenFeed,RabbitFeed</append>
<append xpath="/items/item[@name='meleeToolRepairT3Nailgun']/property[@class='Action1']/property[@name='Allowed_upgrade_items']/@value">,ChickenFeed,RabbitFeed</append>
<append xpath="/items/item[@name='meleeToolRepairT1ClawHammer']/property[@class='Action1']/property[@name='Allowed_upgrade_items']/@value">,ChickenFeed,RabbitFeed</append>


and thanks for sharing 😃

Link to post
Share on other sites

Here is an update for the Guards to add 4 types of pet dog.

 

Download here: https://github.com/arramus/Pet-Animals-and-Guards-A19-2020Dec23

 

Guard Shale Dog, Guard Coal Dog, Guard Nitrate Dog, and Guard Lead Dog.

20201224005004_1.thumb.jpg.76f90430643fc6eee371ec5f1748a368.jpg

 

They have a penchant for attacking in a pack and for 2 legged enemy entities this can mean little progress and reduced attack capacity. They were the Juggernaut's Achilles tendon; quite literally.

20201224005331_1.thumb.jpg.679f3912b9f3f4dffcc459fe48dc73de.jpg

 

Whereas 4 legged enemy entities tend to get through much better. Paindeer passed through the pack within a few seconds.

20201224004421_1.thumb.jpg.6af5433696a50514e4a9a8f15265d8f8.jpg

 

As with other Guards, these dogs can be purchased from the trader.

 

  • Thanks 1
Link to post
Share on other sites

Here is a Guard update for the Mod which allows players to place guards as non moveable Turrets.

 

Download: https://github.com/arramus/Pet-Animals-and-Guards-A19-2021Jan01

 

There are 8 new guards as follows, in no particular order: Sim, Lizzy, Dre, Fox, Bandit, Bandit Foxy, Leader, and Bow Man

20201231174404_1.thumb.jpg.37a132cc50412bd25ffa5d99b704bd21.jpg

 

As each guard remains static, they can be placed strategically when collected. They cannot be purchased from a Trader but can be found in Air Drop Supply Crates. Placement is exactly the same as for any other entity through the quest and reward process.

 

The guards HP is relatively low at only about 150. However, it is possible to heal the guards using bandages or first aid kits by placing the healing tool in your hand and using right click as the images below present.

 

20210102000604_1.thumb.jpg.5e0409f71e52ca882e4ede5485af4ebb.jpg

 

20210102000608_1.thumb.jpg.640e5f57acd938d92151c0b67e20ab6e.jpg

 

20210102000625_1.thumb.jpg.fee0f9c4bfd37865a60ade5c08b68753.jpg20210102000625_1.thumb.jpg.fee0f9c4bfd37865a60ade5c08b68753.jpg

 

As the HP is relatively low and they will quickly be wiped out if a horde can reach them, they have unlimited ammo. However, they shoot in a conservative and controlled manner and fire a shot every few seconds. They do not replace the power of default turrets at all but will complement your defences.

 

20210101235529_1.thumb.jpg.4423323d91f38f5d560036087249ff5f.jpg

 

20210101235549_1.thumb.jpg.86486f9a3dc89392784227556f6d10bf.jpg

 

These have been fully tested for stability on dedicated servers but will benefit from feedback to see if the HP or shot damage requires tweaking.

 

This image shows a Supply Crate which contained both Turret Guards and Pet Animals.

20210102000232_1.thumb.jpg.5a1688aa7888ccfab3c4b7ad238eb83b.jpg

 

Thank you to Darjusz and the community at mjota.net who are running a variety of Snufkin Mods as well as this Pet and Guard mod. Their server has seen a new World added and is well worth a visit.

  • Like 1
  • Thanks 1
Link to post
Share on other sites
  • 2 weeks later...

Been running these on a server for 60 game days now. Work great. Zero issues. Guards seem to work best to guard a "crafting" base vs. horde base, although after you have enough of them maybe horde also.

 

The junk turrets will target them so place any junk turrets in front of the guards. 

  • Thanks 1
Link to post
Share on other sites
  • 2 weeks later...

Hello! Need help here.  My bf and I are starting up a server and would love to use your mod, I find it adorable and a fun add in to the game. we were testing everything out with the mod and we have an issue. We placed down Guard Animals to test them all out, check em out/see what they look like and they are awesome. Downside is, when we spawn a zombie for them to attack our F1 menus end up popping up on us and get spammed with a messaged about object interference. Is this a common issue? and If so how can i fix this so it doesn't pop up and has no issues? 

Thank you in advance for any help I get :D!

-Missy

Link to post
Share on other sites
6 hours ago, MissyHeavenly said:

Hello! Need help here.  My bf and I are starting up a server and would love to use your mod, I find it adorable and a fun add in to the game. we were testing everything out with the mod and we have an issue. We placed down Guard Animals to test them all out, check em out/see what they look like and they are awesome. Downside is, when we spawn a zombie for them to attack our F1 menus end up popping up on us and get spammed with a messaged about object interference. Is this a common issue? and If so how can i fix this so it doesn't pop up and has no issues? 

Thank you in advance for any help I get :D!

-Missy

Ouch! Sorry to hear that because one of the tests we do is to spawn in a batch of 25 identical zombies to check load. If that's OK, we increase it to 50, 75, 100, and so on. We've had 500+ at one point and seen a huge FPS hit but it didn't cause any NullReference or Interference errors. I wonder if you are using any other mods at the same time or tried to spawn in some non default zombies.

Link to post
Share on other sites
5 hours ago, arramus said:

Ouch! Sorry to hear that because one of the tests we do is to spawn in a batch of 25 identical zombies to check load. If that's OK, we increase it to 50, 75, 100, and so on. We've had 500+ at one point and seen a huge FPS hit but it didn't cause any NullReference or Interference errors. I wonder if you are using any other mods at the same time or tried to spawn in some non default zombies.

I tried spawning the regular zombies, like a feral nurse and a solider zombie and the F1 menu would spam until the Animal Guards were done attacking. We ARE using other modlets with our server, so that could be why we are having an issue :(

Link to post
Share on other sites
7 hours ago, MissyHeavenly said:

I tried spawning the regular zombies, like a feral nurse and a solider zombie and the F1 menu would spam until the Animal Guards were done attacking. We ARE using other modlets with our server, so that could be why we are having an issue :(

It's a possibility. For previous issues where we've encountered console warnings, it was a case of starting with this mod and adding in others one by one to see when warnings would occur.

Link to post
Share on other sites
  • 2 weeks later...

Great mod, thanks for sharing.

I was placing 3 guards today but had to shoot them due to bad placement. Then short time after I started getting this red error when entering are where those guards was. This is a test game so I was just placing them, not by spawn menu but from what you get after reading the book. Now I cant get into the game without getting this errors continuously:
 

IndexOutOfRangeException: Index was outside the bounds of the array.
  at UMACharacterBodyAnimator.assignLayerWeights () [0x000cb] in <8966b1f384fe4ecab81b938f521bef70>:0
  at BodyAnimator.Update () [0x00000] in <8966b1f384fe4ecab81b938f521bef70>:0
  at UMACharacterBodyAnimator.Update () [0x00000] in <8966b1f384fe4ecab81b938f521bef70>:0
  at AvatarMultiBodyController.Update () [0x0013d] in <8966b1f384fe4ecab81b938f521bef70>:0
 
(Filename: <8966b1f384fe4ecab81b938f521bef70> Line: 0)

 

So is this mod safe to use, and is there something I can do to avoid this error?

Can it cause issues just placing them without reading the book first?

Edited by xxx73 (see edit history)
Link to post
Share on other sites
1 hour ago, xxx73 said:

Great mod, thanks for sharing.

I was placing 3 guards today but had to shoot them due to bad placement. Then short time after I started getting this red error when entering are where those guards was. This is a test game so I was just placing them, not by spawn menu but from what you get after reading the book. Now I cant get into the game without getting this errors continuously:
 


IndexOutOfRangeException: Index was outside the bounds of the array.
  at UMACharacterBodyAnimator.assignLayerWeights () [0x000cb] in <8966b1f384fe4ecab81b938f521bef70>:0
  at BodyAnimator.Update () [0x00000] in <8966b1f384fe4ecab81b938f521bef70>:0
  at UMACharacterBodyAnimator.Update () [0x00000] in <8966b1f384fe4ecab81b938f521bef70>:0
  at AvatarMultiBodyController.Update () [0x0013d] in <8966b1f384fe4ecab81b938f521bef70>:0
 
(Filename: <8966b1f384fe4ecab81b938f521bef70> Line: 0)

 

So is this mod safe to use, and is there something I can do to avoid this error?

Can it cause issues just placing them without reading the book first?

I'm currently playing in a World that has just hit Day 703. This mod has been running from Day 1 and the guards haven't given any errors of this nature so far. In fact, this is the first I've seen continuous errors like this. Guards have cleaner spawns on flat surfaces where they can break the 'spawn tile' and render it inactive. Can you confirm that your guard was placed on a flat surface and the tile isn't hiding underneath the ground surface. They have been placed both manually and through reading the quest without issue as well.

Link to post
Share on other sites

Hi and thanks for your reply.
Ok thats great to know, Im just worried if it will cause any issues in my real game.
I placed them on top of the trader wall, trader Rekt, then I killed them and put new on the grass around the trader.

Im playing with more than 90 mods but I I have never seen this error before so, I guess it was caused by something I did with content of your mod. I have used guards before without issues so maybe it was some weird occurrence of something.
From what little I know of spawning, they way it work in your mod is what I understand the proper way to do it, and the way other mods like darkness falls do it with animals.
About removing the, is the best way just to shoot them, or is there a better way?

Anyway I love the mod, keep up the great work :)

Edited by xxx73 (see edit history)
Link to post
Share on other sites

@xxx73

They will not work in traders ( you must of use CM to get them)

 in the Traders POI you will get nulref  if try to put them there.

That's why we use the quest to get them, if you try to put the guard down in trader it wont work 

 

Link to post
Share on other sites
1 minute ago, oakraven said:

@xxx73

They will not work in traders ( you must of use CM to get them)

 in the Traders POI you will get nulref  if try to put them there.

That's why we use the quest to get them, if you try to put the guard down in trader it wont work 

 

aha thanks, I did not know that, I guess that's why I got those error messages.
No more guards in trader then :D
Thanks a lot.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...