Mods / Don't Hit Your Pets [DEPRECATED]
Author: XurxoMF
Side: Server
Created: Oct 29th 2023 at 8:25 PM
Last modified: Aug 2nd at 8:10 AM
Downloads: 3604
Follow Unfollow 100
Latest release (for Vintage Story 1.19.0-pre.0 - 1.19.8, outdated):
dhyp_1.0.2.zip
1-click install
PetAI v3.2.0 includes this mod as a config! Now it's useless, just enable that config 🎊 Love you Gerste
Maybe it's only me but... I'm tired of hitting my pets when I'm fighting or when they teleport/cross in front of me because they start attacking among themselves killing themselves.
To fix that I've created this simple tweak that make pets immune to player attacks(including the owner hits) so they don't rage among each other making the combat with more than one pet possible.
Also if you whistle the attack order to a pet it'll ignore that order ^^
Your pets still have hitbox so you'll hit them but they'll not recive any damage and they'll not rage each other.
⚠️IMPORTANT⚠️
This mod needs Pet AI to work!
To make this mod work you've to change "pvpOff" to true in petai config file.
Where can I ask something, report bugs or make suggestions?
You can ask anything you want in my Discord server, the VS Discord mod post or the comments here.
If you want to report a bug or make a sugestion, please, use our Discord Server but you can also use the Discord mod post.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.2 | dhyp | 2413 | Jan 7th 2024 at 11:15 AM | dhyp_1.0.2.zip | 1-click install | ||
|
- Fixed: Game crashing when hitting a tammed pet. (Please Gerste don't change PetConfig.pvpOff to PetConfig.PvpOff again XD) | |||||||
| 1.0.1 | dhyp | 901 | Oct 30th 2023 at 8:48 PM | dhyp_1.0.1.zip | 1-click install | ||
|
As petition of a user, now if pvpOff is true, if you whistle the attack order to another pet it'll ignore that order so you don't wisthle to attack your pets unintentionally ^^ | |||||||
| 1.0.0 | dhyp | 290 | Oct 29th 2023 at 8:28 PM | dhyp_1.0.0.zip | 1-click install | ||
|
First release! | |||||||


PetAI changed completely. There is no EntityPet class anymore for example.
I've been checking the new code and it looks like Gerste added a check to ignore pet damage if this one comes from the owner but I've not tested it yet.
I'll check it out and try to update this mod if it's not implemented on the main mod but now it's probably useless.
I made this mod bc of that XD
I was tired of killing my pets or starting a World War Pet trying to kill an animal.
You are a godsend, tested the mod and it works like a charm! Been dealing with my pets killing each other for days now, not anymore hahah! Thanks a lot for the mod ^^
I sent the message after releasing the new version hahaha
EDIT: If you find something working incorrectly let me know
seyton35
Wow, i wrote my prev comment just in time, when you uploaded new version)
thank you for this update!
thanks, I'll following on this mod
Done seyton35 , with the new update if you whistle the attack order to another pet it'll ignore it ^^
Ohhh that's what you mean.... I think I can do it. Give me some time to check it ^^
seyton35
you're right, but when I whistle to target some mob, sometimes I target my pets
I'm not good in English, sorry
What do you mean seyton35?
If you use the wistle you'll make pets do something, if you don't do it, they'll not do anything right?
this is what I wanted! and can you add immunity to whistling aimed at pets?
Thx to you for using it 😊
XurxoMF
Oh thanks for explaining, I was worried cuz I still 'hit' my dog; but you're right, I didn't see any health loss, thanks for this mod!!
Hahahah, I have 4 dogs and it was a pain to hit them all the time. With this mod you'll hit them(they still have hitbox) but they'll recive no damage and they'll not rage each others.
PookieBunny
Immediately downloading lol, will update how it works after I try and deck my dog 😬