Mods / Don't Hit Your Pets [DEPRECATED]

Tags: #Creatures #Tweak
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 IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.2 dhyp
1.19.0-pre.0 - 1.19.8
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)

Use only with Pet Ai for 1.19.0-pre or newer, 1.18.15 and older had some methods changed and it'll not work

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!


15 Comments (oldest first | newest first)

💬 XurxoMF , Jan 19th at 11:34 AM

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.

 

💬 XurxoMF , Apr 8th 2024 at 2:28 PM

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.

💬 Wolfzank, Apr 8th 2024 at 8:00 AM

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 ^^

💬 XurxoMF , Oct 30th 2023 at 8:59 PM

I sent the message after releasing the new version hahaha

EDIT: If you find something working incorrectly let me know

seyton35

💬 seyton35, Oct 30th 2023 at 8:55 PM

Wow, i wrote my prev comment just in time, when you uploaded new version) 

thank you for this update!

💬 seyton35, Oct 30th 2023 at 8:50 PM

thanks, I'll following on this mod

💬 XurxoMF , Oct 30th 2023 at 8:49 PM

Done seyton35 , with the new update if you whistle the attack order to another pet it'll ignore it ^^

💬 XurxoMF , Oct 30th 2023 at 7:39 PM

Ohhh that's what you mean.... I think I can do it. Give me some time to check it ^^

seyton35

💬 seyton35, Oct 30th 2023 at 7:02 PM

you're right, but when I whistle to target some mob, sometimes I target my pets

I'm not good in English, sorry

💬 XurxoMF , Oct 30th 2023 at 1:07 PM

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?

💬 seyton35, Oct 30th 2023 at 10:55 AM

this is what I wanted! and can you add immunity to whistling aimed at pets?

💬 XurxoMF , Oct 29th 2023 at 9:03 PM

Thx to you for using it 😊

💬 PookieBunny, Oct 29th 2023 at 8:56 PM

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!!

💬 XurxoMF , Oct 29th 2023 at 8:36 PM

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

💬 PookieBunny, Oct 29th 2023 at 8:33 PM

Immediately downloading lol, will update how it works after I try and deck my dog 😬

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом