Go to Page... |
Compatibility: | Embers of Neltharion (10.1.0) |
Updated: | 05-10-23 11:17 PM |
Created: | 07-05-16 02:38 PM |
Downloads: | 1,638 |
Favorites: | 7 |
MD5: |
gmMounts
(previously known as MountRndCat)
This is a tiny addon that let you define custom categories and then random summon a mount from them.
To use the addon you FIRST need to rename the file categories-sample.lua to categories.lua in the addon directory and edit it with the names of your favorite mounts.
If you modify the categories.lua file while the game client is active you have to reload the game interface with command:
/reload |
/gmm [btn:2] flying ; [btn:3] repair ; [swimming] ground ; [mod:shift] funny ; [mod:alt] favorites!; all! |
/gmm - This help /gmm category - Summon a random mount from your 'category' list /gmm favorites! - Summon a random mount from your favorite list /gmm all! - Summon a random mount |
gmMounts_tbl = { flying = { "Swift Green Gryphon", "Swift Blue Gryphon", "Swift Red Gryphon", }, ground = { "Swift Mistsaber", "Swift Moonsaber", }, repair = { "Traveler's Tundra Mammoth", "Grand Expedition Yak", }, funny = { "Azure Water Strider", "Sea Turtle", }, combo = { "Sandstone Drake", "Mekgineer's Chopper", }, -- add your custom categories here }
File Name |
Version |
Size |
Author |
Date |
1000-2022110601 |
6kB |
gmarco |
11-06-22 03:22 AM |
Comment Options |
AkumaGekido |
View Public Profile |
Send a private message to AkumaGekido |
Find More Posts by AkumaGekido |
Add AkumaGekido to Your Buddy List |
gmarco |
View Public Profile |
Send a private message to gmarco |
Find More Posts by gmarco |
Add gmarco to Your Buddy List |
06-14-17, 05:40 AM | |
|
I love your addon but I had to make a couple tweaks to it.
The output of running fc core.lua core-ORIGINALBAK.lua where "core.lua" is my modified version and "core-ORIGINALBAK.lua" is your original version is as follows: Code:
Comparing files core.lua and CORE-ORIGINALBAK.LUA ***** core.lua if category=="help" then print(prgname .. ":") print("/gmm help - This help") print("/gmm category - Summon a random mount from your 'category' list") ***** CORE-ORIGINALBAK.LUA if category=="" then print(prgname .. ":") print("/gmm - This help") print("/gmm category - Summon a random mount from your 'category' list") ***** ***** core.lua C_MountJournal.SummonByID(CategoryMounts[number]) -- print(prgname .. " is summoning... " .. name) ***** CORE-ORIGINALBAK.LUA C_MountJournal.SummonByID(CategoryMounts[number]) print(prgname .. " is summoning... " .. name) ***** ***** core.lua elseif category=="" then ***** CORE-ORIGINALBAK.LUA ***** Code:
/gmm help Code:
/gmm Code:
/gmm [nomounted, swimming] swimming; [nomounted, flyable] flying; [nomounted] ground; /dismount [mounted] The second change is simply what you suggested earlier in this thread, so as to not display the "Summoning ..." chat message. I'm not acutally asking you to implement these changes but I figured you might like to know how people are using and editing your addon.
Last edited by aallkkaa : 06-14-17 at 05:40 AM.
|
|
aallkkaa |
View Public Profile |
Send a private message to aallkkaa |
Find More Posts by aallkkaa |
Add aallkkaa to Your Buddy List |
05-21-20, 08:23 PM | |
A Murloc Raider
Forum posts: 6
File comments: 17
Uploads: 0
|
Really like this addon, been using it a couple years. I was juust wondering if there's a way you could implement "weights" to the mounts. Maybe something like a 0-1 scale so you can determine the chances for each mount to be summoned.
|
|
AkumaGekido |
View Public Profile |
Send a private message to AkumaGekido |
Find More Posts by AkumaGekido |
Add AkumaGekido to Your Buddy List |