Version 2.0!
I am very happy that a lot of people uses this code or idea for theirs Plugins. I've been very busy at work and I haven't updated this plugin since the release (2010) but the great community of LOTRO keeps it updated. Thank you!
In gratitude for the given support I set down and put to coding. First I thought in fixing old bugs (1.1) but lately I was adding new features (2.0), I hope you like it. You can read more about it in the Changelog but I will say two words "Custom Carousel".
I haven't worked only in new features and bug fixing also I cleaned up the code and I made very easy to maintain for future updates (in case to add new pets by code). I did it mainly because it is a hobby for me (and now I am on vacation) and it is better a cleaner code so anyone can patch. I haven't time to split the code in different files, also the documentation of the code is still a bit poor, but the important parts are documented. Is easy to understand for any that know a bit of LUA.
Thanks again, and Enjoy!
Original Post:
As the title said, it is a Plugin designed for (and by a) LM but it can be easily modified for Captains and also for travel routes, items, mounts...
How it works:
It always shows 3 Shortcuts of your pets and them changes when you move the mouse wheel (over any Shortcut). The cosmetics pets are in other Carousel, you can access them by right clicking on the middle Shortcut. Since version 2.0 there is a Custom Carousel for any propose.
For a nicer look, and save screen space, you can hide the main window by right clicking on it.
Ver. 2.0 (U17.1.2)
Installation:
Extract the content of the .zip file into
C:\Users\{User name}\Documents\The Lord of the Rings Online\Plugins
Loading:
Use the in-game Plugin Manager or:
Code:
/plugins load PetCarousel
Changelog:
1.1 -> 2.0
By popular demand this version add a long awaited feature "Custom Carousel". You can add your own pets in a third Carousel with 12 available Quickslots (can be increased by code). And the better part of it... you can put any kind of Shortcut! Pets, Weapons, Food, Mounts...
* Added Custom Carousel.
* Added "Release Pet" button (it was in the original release but wasn't working by an API limitation, it was resolved by a workaround).
* Added minor documentation in how to add new pets or increase the limit of the Custom Carousel.
* Code cleanup for better maintenance.
* Now the Carousel can be moved by any Shortcut.
* Updated description.
* Updated help.
* Tested on Update 17.1.2
1.0.2 -> 1.1
* Added Spirit of Nature
* Fixed Saving last Carousel position.
* Fixed right clicking the Shortcuts (fired both events, Carousel change and Pet Summoning at the same time).
* Fixed Drag and Drop Shortcuts from the Carousel (it's not allowed).
* Fixed typos.
1.0.1 -> 1.0.2 (by
Deusdictum)
* Adds the ability to scroll through your pets in both directions.
* Updated for the US November update.
1.0 -> 1.0.1
* Commands Fixed (/pc or /petcarousel):
/pc welcomeoff: Disable the welcome message
/pc welcomeon: Enable the welcome message
* Minor cosmetic changes
0.6 -> 1.0
* It now saves the position of the window, carousel status, kind of carousel (cosmetic or combat), and other settings.
* Changed mainWindow = Turbine.UI.Lotro.Window() to Turbine.UI.Extensions.Window() , since it has fade effect. (I don't like the gold window but the fade effect worth it)
* Added a new "X" button to release the pet "Turbine.Shell.Execute( "/pet releaseall" );" (At the moment it is not working because we can't execute commands)
* Added commands (/pc or /petcarousel):
/pc (without arguments): Toggle the status of the window (hide/show)
/pc help: Show the help
/pc restore: Move the window to its default position
/pc welcomeoff: Disable the welcome message
/pc welcomeon: Enable the welcome message
* Minor cosmetic changes