Download
(36 Kb)
Download
Updated: 04/19/20 02:23 AM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.5)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:04/19/20 02:23 AM
Created:06/30/19 06:47 AM
Monthly downloads:57
Total downloads:6,712
Favorites:20
MD5:
PetZone  Popular! (More than 5000 hits)
Version: 3.3
by: Brotanks [More]
Well, decided against implementing LibAsync. Too much trouble for not enough reason. Continue as normal!

Version 3.0! Aside from the requisite code tweaking, I added in a couple new features: Custom Random Lists and an Exclusion list. Both are just like they sound!

Custom Random Lists: You can create a custom list of pets and assign it to a zone or subzone; the game will select randomly from only the pets on that list in that area.

Exclusion List: The exclusion list only affects the -RANDOM- choice; animals placed on this list will never be chosen. Those animals WILL still show up, however, if you assign them specifically to a zone/subzone or if you put them on your own custom random list. Curate your own damn options

I think I've beaten the worst of the "collectible not ready" spam, but if you run other addons that also activate collectibles then there's always a chance it'll pop up. Collectibles have a hidden global cooldown that I can't figure out how to monitor through the API, so it's mostly down to timing. If anyone knows of a better solution, I'm all ears!
And finally, I added an option to hide your pets when sneaking. I got tired of glowing demonic ponies following me around while I was breaking and entering.


This addon requires the libraries LibAddonMenu-2.0 and LibZone.

PetZone: Automatic Vanity Pet Switching By Area!
This is a fairly simple addon that lets you automatically switch vanity pets in different zones and subzones! If you've ever wanted your housecat following you around Rawl'kha, to be replaced by a swamp jelly when you head out into the wilderness, to be switched to a chicken when you enter a dungeon, then this mod is for you.

Features:
-Set a pet for a specific subzone within a zone, for -ALL- subzones within a zone, or for -ALL- zones
-Highest priority goes to your specific subzone choice, then to your entire zone choice, then your all zones choice. If none of those three have choices defined, then you continue with whatever pet you had out already
-Pet choices also include -NONE-, which puts away your pets in that area; -RANDOM-, which summons a random pet; and ~Custom Random Lists, which summons a random pet from a list you specify
-You can choose to automatically hide your pet when you enter combat, join a group, enter a dungeon or delve, or enter stealth


That's about it! All thanks for this mod go directly to Baertram, as I ruthlessly and inexpertly hacked apart their FCO Mounty mod to make it. Seriously! I didn't know any lua when I started this, and a good chunk of the code in here is only slightly modified from Baertram's. I'm mostly considering this addon complete except for filling out the rest of the zone data, but if you think it could use something else then leave a comment and I'll consider it.
3.3
  • The Character/Account settings now work on an individual basis! Any characters set to use Account settings will share those settings, and any characters set to Character will use their own. If you had your characters set to individual settings, you might need to switch them back to that. Nothing should be lost.
  • Relatedly, the mechanism for saving pet choices to zones and subzones was changed. Your SavedVariables file now has a drastically decreased footprint, which will help loading times. Your pet choices should all still be intact!

3.2
  • Zone updates for Harrowstorm, finally. Also for the Greymoor prologue.
  • Decided against using LibAsync. PetZone was causing far less lag than I'd thought, so it wasn't worth the extensive rewrite. Sorry for the false alarm!

3.1
  • Quick API bump for Harrowstorm. Zone updates to come a little later.
  • Be warned, NEXT UPDATE will add LibAsync as a dependency! This should stop contributing lag at logon and reloadui, at the cost of taking PetZone some seconds to initially fully load.

3.0
  • Added custom random lists! See description for details.
  • Added an exclusion list! See description for details.
  • Added an option to hide pets while stealthed.
  • Pared down the "collectible not ready" spam.
  • Various code tweaks and fixes. As always, thanks Baertram!

2.6
  • The "Hide Pet in Combat" option should no longer cause collectible use spam in areas that don't allow vanity pets. Thanks ScottW!
  • Slightly longer delay to collectible use when changing zones. Should also reduce usage spam.
  • Couple o' subzone name changes.

2.5
  • API bump for Dragonhold, and added Dragonhold's new zones and subzones. They should be largely accurate, although I may end up needing to correct one or two.
  • Minor under-the-hood changes for added flexibility. Shouldn't affect anything.

2.4
  • Minor zone changes. No more collectible use spam in Cyrodiil, hopefully

2.3
  • Some code cleanup. Thanks Baertram!

2.2
  • API bump for Scalebreaker! Added Moongrave Fane and Lair of Maarselok to the Group Dungeons.
  • Related to above, added some additional checks to stop it throwing errors in unknown zones.
  • Removed "Help the developer option", as it's no longer needed. Thanks folks!

2.1:
  • Made the "hide in combat" option more robust. Spamming skills from the start of combat tends to interrupt collectible usage, who knew?
  • Moved Fang Lair with the rest of the dungeons.

2.0:
  • Changed the way subzone ids are parsed, for more granular control of area groupings. Will probably break previous pet assignments
  • Various under-the-hood changes for more flexibility in working with subzone ids
  • Changed some subzone groupings to make them more accessible
  • Put in ALL THE SUBZONES. Or at least, the vast majority. One or two are still missing and I might have mis-assigned a few; if you run into anything odd please leave a comment on the add-on page

1.1:
  • Added options to hide pets while in a group or in dungeons and delves

1.0:
  • Initial release
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Uploader
Date
3.2
36kB
Brotanks
03/31/20 07:44 PM
3.1
35kB
Brotanks
02/24/20 07:12 AM
3.0
35kB
Brotanks
11/25/19 12:24 PM
2.6
32kB
Brotanks
10/23/19 07:14 AM
2.5
33kB
Brotanks
10/21/19 05:44 PM
2.4
31kB
Brotanks
09/15/19 11:20 AM
2.3
31kB
Brotanks
08/25/19 08:00 AM
2.2
31kB
Brotanks
08/18/19 12:01 PM
2.1
31kB
Brotanks
07/21/19 09:50 PM
2.0
31kB
Brotanks
07/17/19 06:37 PM
1.1
20kB
Brotanks
07/01/19 09:39 PM
1.0
20kB
06/30/19 06:47 AM


Post A Reply Comment Options
Unread 06/07/20, 06:42 AM  
Lulunyaa

Forum posts: 0
File comments: 40
Uploads: 0
This addon is great but crashes my game pretty much every time i change zone for "excessive message spamming"
Report comment to moderator  
Reply With Quote
Unread 06/19/20, 11:57 AM  
Uniquitous

Forum posts: 0
File comments: 17
Uploads: 0
Not working in Greynmoor for me, is this a known issue?

EDIT: I copied the section for Skyrim from FCOMounty and now I have pets in Skyrim

EDIT: the same method can still be used for the newer DLC's as well, at some point it'll probably break, but
for now it's still working fine
Last edited by Uniquitous : 10/26/21 at 07:22 AM.
Report comment to moderator  
Reply With Quote
Unread 11/16/21, 03:46 AM  
McTaff

Forum posts: 0
File comments: 21
Uploads: 0
No longer maintained?

I'm wary of this mod as it's over a year since updating.
If this isn't maintained anymore, can it be rolled directly into FCO Mounty by mutual agreement of the authors, or be updated please?

This looks like the perfect addition to my Add-Ons, but I'd like a clear option that will "Disable pets in Trial Areas Only" because I like my pet out the rest of the time.

Also, does it resummon a pet each time you zone? (i.e. if I dismiss my pet in one zone, when I wayshrine or teleport somewhere, can it go ahead and resummon for me?)
Report comment to moderator  
Reply With Quote
Unread 02/03/22, 08:24 PM  
Cheesygrits

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by Lulunyaa
This addon is great but crashes my game pretty much every time i change zone for "excessive message spamming"
Same for me. I unfortunately had to disable the addon because it repeatedly without fail crashed the game every single time I exited one of my homes. Every. Time. This makes me sad because I really liked the function of this app. Hopefully I can find another app that performs this function without it crashing the game constantly.
Report comment to moderator  
Reply With Quote
Unread 04/10/22, 03:24 PM  
Uniquitous

Forum posts: 0
File comments: 17
Uploads: 0
I was getting this, but since last patch it hasn't happened, maybe something changed on the game end?
Last edited by Uniquitous : 04/10/22 at 03:25 PM.
Report comment to moderator  
Reply With Quote
Unread 01/22/24, 12:07 PM  
DoubleBread

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by Uniquitous
Not working in Greynmoor for me, is this a known issue?

EDIT: I copied the section for Skyrim from FCOMounty and now I have pets in Skyrim

EDIT: the same method can still be used for the newer DLC's as well, at some point it'll probably break, but
for now it's still working fine
What do you mean by this? What exactly did you do?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: