As I did not find any light-weight mount addon that fits my need without being big, I decided to write this light addon. Mounted is nice but does a gazillion things I do not need, SmartMount uses Rock which I dislike and Coconuts is just overbloated.
This is a minimalist macro updater. It only updates the macro on meaningful events (login, changing zone, learning new mounts, ...) and uses macro conditional to provide a responsive macro.
The list of mounts and their characteristics is updated from wowhead mount page using a variant of Nymbia's PeriodicTable dataminer. This way Squire has got a mount database without in-game tooltip parsing.
Edit: At this moment, there is no configuration option and I am wondering if I should add some, as it will raise the addon size. I eventually added some basic options using tekKonfig.
As I did not find any light-weight mount addon that fits my need without being big, I decided to write this light addon. Mounted is nice but does a gazillion things I do not need, SmartMount uses Rock which I dislike and Coconuts is just overbloated.
Have you looked at GogoMount, Blazing Saddles, or Livestock? There's been more than just a number of mount summoning addons since patch 3.0.
Have you looked at GogoMount, Blazing Saddles, or Livestock? There's been more than just a number of mount summoning addons since patch 3.0.
GoGoMount: I do not care about auto-dismounting and per-zone preferred mounts.
Livestock: I do not want any bloated GUI.
BlazzingSaddle: /mount and /mountrandom macros that mimicks /cast and /castrandom ? I do not see the point.
GetUnitSpeed("player") should tell you if you are moving or not (it returns a number in yards per second) correct to the 3D world (not the X-Y 2D plane)
You may need to play around with this function to see what it returns when on a moving transport such as zepellin, boat, tram and flightpath.
Hrm... this would mean adding a OnUpdate handler to check speed changes (and why not swimming and flying). ATM, I let the macro conditionals handle such dynamic behavior and I am not sure I want to handle this kind of things myself.
...I let the macro conditionals handle such dynamic behavior...
...which isn't dynamic enough for me. I want a random mount (nearly) every time I use it, but I've been getting the same mount several times in a row before it will change - and then it's the new several times in a row. At first, I thought the random portion was borked until I mounted/dismounted around ten times in a row and it finally changed. :)
Random does not mean you will not get the same mount twice in a row. I never stated the mount is selected "on every macro use" but "every time the macro is refreshed". This is quite different: the macro is refreshed on (sub)zone change and mount/spell learning. Moreover, Squire uses the following random number:
function GetRandomNumber()
return 4 -- obtained on a fair dice roll
end
Random does not mean you will not get the same mount twice in a row. I never stated the mount is selected "on every macro use" but "every time the macro is refreshed".
[/code]
Yah, I know, I know...just being picky. Getting the same mount ten times in a row was kind of a bummer but the addon is slim and performs as advertised so I can't really complain (too much). :)
I eventually added more dynamic behavior to Squire (without significant code growth) :
* moving spell (hunters, druids and shaman): when you start to move, an instant spell is selected (AotC, flight form, travel form or ghost wolf depending on class and location),
* graceful dismount by casting your current mount again (thus displaying its icon),
* smart combat macro: dismount if mounted, cast swimming spell (i.e. druid aquatic form) when swimming, else cast moving spell.
I am quite satisfied with that last version (r10). I think I will tag it as beta. Any feedback is welcome.
Hi. Just wanted to ask if it is possible to change the modifier to one specific modifier key?
Right now I have the Macro on Shift+Space and to use ground mount I use Ctrl+Space.
I like it so far... except one small thing. For the longest time my mount macros have doubled as my "oh shit" macro in combat. Since you already have the combat stuff for hunters and chamois... could you generalize it into a char-specific setting and let us pick what spell to cast in combat?
Also (I haven't tested on my huntard), could you ensure tha in combat the macro is:
<script src="http://gist.github.com/25690.js"></script>
This ensures that if I hit the macro, in combat and mounted, I don't waste my "oh shit"
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This is a minimalist macro updater. It only updates the macro on meaningful events (login, changing zone, learning new mounts, ...) and uses macro conditional to provide a responsive macro.
The list of mounts and their characteristics is updated from wowhead mount page using a variant of Nymbia's PeriodicTable dataminer. This way Squire has got a mount database without in-game tooltip parsing.
Edit:
At this moment, there is no configuration option and I am wondering if I should add some, as it will raise the addon size.I eventually added some basic options using tekKonfig.Links:
- WowAce homepage,
- Curse project,
- Bug reports.
Have you looked at GogoMount, Blazing Saddles, or Livestock? There's been more than just a number of mount summoning addons since patch 3.0.
GoGoMount: I do not care about auto-dismounting and per-zone preferred mounts.
Livestock: I do not want any bloated GUI.
BlazzingSaddle: /mount and /mountrandom macros that mimicks /cast and /castrandom ? I do not see the point.
(refrains from doing Swedish Chef) :D
You mean when you are moving ?
You may need to play around with this function to see what it returns when on a moving transport such as zepellin, boat, tram and flightpath.
...which isn't dynamic enough for me. I want a random mount (nearly) every time I use it, but I've been getting the same mount several times in a row before it will change - and then it's the new several times in a row. At first, I thought the random portion was borked until I mounted/dismounted around ten times in a row and it finally changed. :)
Yah, I know, I know...just being picky. Getting the same mount ten times in a row was kind of a bummer but the addon is slim and performs as advertised so I can't really complain (too much). :)
* moving spell (hunters, druids and shaman): when you start to move, an instant spell is selected (AotC, flight form, travel form or ghost wolf depending on class and location),
* graceful dismount by casting your current mount again (thus displaying its icon),
* smart combat macro: dismount if mounted, cast swimming spell (i.e. druid aquatic form) when swimming, else cast moving spell.
I am quite satisfied with that last version (r10). I think I will tag it as beta. Any feedback is welcome.
I posted a ticket this morning about Warlocks and possibly Paladins. You may have addressed it in this version - updating now.
Right now I have the Macro on Shift+Space and to use ground mount I use Ctrl+Space.
Also (I haven't tested on my huntard), could you ensure tha in combat the macro is:
<script src="http://gist.github.com/25690.js"></script>
This ensures that if I hit the macro, in combat and mounted, I don't waste my "oh shit"