I wanted a simple mod to randomly cast a mount from a list I defined. Using Land in nonflyable areas and flying in flyable areas.
Have added localization ability, tenatively/hopefully. If you would like to localize this, please look at localization.enUS.lua and send me a comment stating you would like to.
Have added the ability for druids/shamans to use their travel/GW/flight forms. It's bound to a 3rd key binding. Can not be part of the randomness due to the fact it is a spell and must have a secure button to cast. Well it could be just not simplified. For druids, will attempt to cast swift flight than flight form in flyable area's, if you have neither it than will attempt to cast travel form. If your not in a flyable area it will attempt to cast travel form. Ok to be able to cast, the binding is transfered from the trigger you set in Key Bindings menu, to the secure button for casting. So each time you log in you will have to hit this key binding twice, but for the rest of the session will act like a regular keybinding. I have found no way around this at this time. This only affects travel forms keybinding.
Comments Suggestions always are welcomed.
use: /rdm --prints this help
/rdm add [mount name] (can also shift click from your mount list) -- adds another mount to the random list
/rdm remove [mount name] (can also shift click from your mount list) --removes a mount from the list
/rdm list -- lists the mounts to select from
/rdm gui -- brings up a GUI of your mounts
/rdm reseed -- if you use more than one computer and you learn a new mount, your list will not work on the other computer, use this to reseed correct mount ID's
/rdm catform -- if you are a druid will use catform in instances/inside.
/rdm random -- mounts a random mount from your list (using flying in flyable areas and land in nonflyable areas)
There is a keybinding option in the Blizzard KeyBindings Menu. Add a shortcut here to call /rdm random
If you have any bugs, questions, comments, suggestions, please leave me a comment.
I did run into a mount that doesn't have the same name in the tooltip as in the WoW API call. Bronze Drake from CoS timed, doesn't have the word mount in the tooltip, but in the API call comes back Bronze Drake Mount. If you get an error saying mount doesn't exist, please let me know. Also if you ahve the HHM, will you let me know if it works with this?
I don't think I can add a mount before it's released in game I guess. Warforged Nightmare fixed.
Fix issue with Vashj'ir detection
Add class specific mount category
Added Dread Raven
Added Iron Skyreaver to ground/flying.
Sky golem can now be used at land mount.
Tweak swimming detection for the use of the turtle.
Add an "Enabeld" mount panel that lists all your current used mount.
Bump toc version for patch 5.4.
Update the mount list for patch 5.4.
Bump toc version for patch 5.3.
Update the mount list for patch 5.3.
Bump toc version for patch 5.2.
Update the mount list for patch 5.2.
Bump toc version for patch 5.1.
Same name mount should not bug anymore.
Remove debug message.
Completely rewrite setting panel based on Ace3 (your save mount has been remove).
Update localization string (based on Ace too).
Add missing mounts (I write a script which parse mounts from blizzard site and wowhead include in addon files)
A lot of code rewrite.
Remove reseed function because it's now based on mount name.
Fix issue with mount name which is not the same as the corresponding summon spell (jewel crafting ...).
Fix an issue which prevent addon to load.
Add help to landonly slash-command.
Jeweled mounts are now usable at land mount.
Add landonly slash-command.
The red flying cloud are now usable at land mount.
Fix an issue with the list of mount on blizzard UI which is not ordered alphabetically which cause wrong mount to be summon.
Fixed an issue which cause the mount data list to not be updated correctly
All Hippogryph are now usable in land mount.
The Imperial Quilen is now also usable in land mount.
Added Mist of Pandaria mounts
Added Heart of the Aspects mount (blizz store)
Added Obsidian Nightwing mount (RAF)
Added more 4.3 mounts.
Added dismount to land mount only keybind
Added patch 4.3/TCG Mounts to the List. Please report if any missing.
WG fix for druids/worgens.
Added new mounts from patch 4.2 (if nothing changes) and the new mount from Blizz store.
Added new mounts from patch 4.1. Updated ToC.
Added translation for RU/FR/DE for the 3 area's that can use the Seahorse mount. Still need zhTW translation from someone (wowhead doesn't have a zh. or tw. that I could find to get the right translations.
Fixed worgen (i think anyways). Fixed Seahorse for other clients once I get translations.
Added Worgen Ability to go with the other racial abilites (druid/shaman).
Fixed Seahorse/Vash issues.
Fixed adding removing mounts with the command line.
Not much just a bit of debugging to help a user figure otu what's going on.
Fixed random code, added seahorse mount for Vash in cata, fixed better swim mount detection.
Added Cata mounts since some were introduced in 4.0.3a
Better detection if able to fly or not.
Updated for 4.0.3a
Wow, that change had some errors. Sorry about that. Fixed errors.
Changed GUI. Allowed combo mounts (celes/HHM/etc.) to be in either or list or both. Added lomoko's Russian translation fixes.
Changed how mounts are determined for flying/land as the coming changes in Cata. It now keeps a global list of all mounts and what they can do (land/flying/both/swimming).
Added ability to summon flying mount when swimming but at the surface. This does not work with the Druid Flight ability as it seems they still check for swimming with druid Flight Form.
Added French Translation, Thanks to WoWInterface User Tomate.
Added being able to exit vehicle with same button to dismount. Thanks to Gandoch.
Fixed removing mounts from both lists when land/flying mount.
Fixes to update for 4.0.1 patch.
added Female Shaman for Ru, if German or another client needs this please let me know. Fixed the error printing where it didn't need to.
Added German Translation thanks to Brenainn. More German Translation by mad-d and Russian Translation by lomoko.
More German Translation by mad-d and Russian Translation by lomoko.
Added error checking when using command line to add mount.
Added german translation for wintergrasp.
Added X53-Touring Rocket. Added Aufenthaltsort for german translation (location) for celestial steed and if in german client they start adding this for mounts that can be used everywhere (unfortunately, english has location for HHM/Celestial steed, but german didn't until Celestial Steed). X-53 should work across all clients, as X-53 is not a word.
Added German Translation for specific keywords, thanks to: Brenainn
Added Sea Turtle cast if swimming to random mount, otherwise a land mount is cast. Added Acquatic form if swimming and druid.
Updated ToC to 3.3
IsFlyableArea Does not work during Combat in WG, added code to correct this.
IsFlyableArea() was fixed in 3.2 and properly determines if you can mount. Simiplfied code this way.
Minor fixes to color code.
Fixed issue with next button on GUI not re-enabling when prev button was pushed, until page 1 was reached.
Began chinese translations.
Updated so no error message (found the API call to find out if WG is in combat and was able to see that land only during combat, flying every other time, even if other faction owns WG, sorry took me a bit to have time to test). Updated Druid travel forms for WG hopefully, need someone to test.
Updated for flying mounts in WG, what it does is try to mount a Flying mount then a land (in case of battle). So you will get a message another action is in progress, or you can't use that here and a land mount is summoned. Unfortunately, this is due to the fact that CallCompanion doesn't return anything (ie success or fail). Also, i did this cause I wasn't sure if you can mount you flying during WG battles. Been busy, haven't been able to test.
Updated TOC for 3.2
Fixed code for the druid forms again.
Hopefully fixed the profession only mounts and headless horseman mount.
Hopefully re-fixed the druid forms.
Was pointed out to me, that I shouldn't use global variables, but use a table. This has been fixed. However, your mount list will now be blank.
Hopefully fixed the druid forms.
Hopefully fixed the cat form inside toggle command. Also added a check if the player is a druid, so it will just tell you to ignore that command if you are a druid.
Hopefully fixed the not using flight form in flyable areas.
Added localization, enUS only right now. If you want to contribute another language, please look at the localization.enUS.lua file and there are all the variables used within MRM. Send me a comment that you would like to do this.
Added shaman/druid ability to use GW/travel/flight forms. It uses a 3rd binding for this, since they are considered spells and not mounts, a secure button must be used. So they can't be part of your random list. The 3rd key binding will show up for non druid/shamans but if you set a keybinding to it will display a message you aren't of the right class.
Fixed the problem with not mounting up a land mount if you had no flying selected.
Added a binding to mount a random land mount only (for those times you want to show off your land mounts in flyable areas)
Added a command to reseed mount ID's. If you play on 2 computers and you learn a new mount on 1, your list on the other won't work correctly until the ID's are corrected. This will do that.
Was not correctly updating your list when a new mount was added. Fixed.
Will have to clear your list or add a new mount.
fixed an error where no printing of what mount was added when your flying or land list is empty.
v beta .5a
Changed it so that a flying mount would be used in Krasus' Landing in Dalaran.