Some of you have probably heard about the client changes after 7.0.9, specifically changes to tiledata that are making it increasingly difficult to add custom animations. I went round and round with this one today and I have not gotten it figured out yet. It does seem however that Mythic Devs decided to tie together an itemID and a mountID. What this means is the following:
If you look at any mount script, you'll see this:
This doesn't look so foreign, except, what's that hex number next to the body value? Good question, I'm glad you asked...THAT is the itemID in the game that the creature becomes when it's mounted! I have NO idea why they didn't just use the small "statuette" IDs instead, but there it is. So a mount has this as a base:
Name = "a lesser hiryu"
Body = 243
itemID = 0x3E94
AIType = AIType.AI_Melee
FightMode = Closest
and other things pertaining to whatever. So I thought, well so there's an itemID tied to an animation now, so I looked in Fiddler at item 0x3E94, yep, it's a piece of a boat AND it has an animation number of 243 (corresponding to the hiryu's animation). I thought, well I'll just add a new animation and tie it to an itemID as well, nope that did NOT work. The mount just turns invisible when you mount it. I can't seem to find any client files or server files that would point me in the direction of fixing this issue. So anyone that wants to take a crack at this, feel free to jump in...
If you look at any mount script, you'll see this:
Code:
[Constructable]
public LesserHiryu() : base( "a lesser hiryu", 243, 0x3E94, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
This doesn't look so foreign, except, what's that hex number next to the body value? Good question, I'm glad you asked...THAT is the itemID in the game that the creature becomes when it's mounted! I have NO idea why they didn't just use the small "statuette" IDs instead, but there it is. So a mount has this as a base:
Name = "a lesser hiryu"
Body = 243
itemID = 0x3E94
AIType = AIType.AI_Melee
FightMode = Closest
and other things pertaining to whatever. So I thought, well so there's an itemID tied to an animation now, so I looked in Fiddler at item 0x3E94, yep, it's a piece of a boat AND it has an animation number of 243 (corresponding to the hiryu's animation). I thought, well I'll just add a new animation and tie it to an itemID as well, nope that did NOT work. The mount just turns invisible when you mount it. I can't seem to find any client files or server files that would point me in the direction of fixing this issue. So anyone that wants to take a crack at this, feel free to jump in...