Warstone
Sorceror
Animation question.
Hello dear community.
Resently I was trying to add new animation to UO. No one program could add NEW animation (or i don't know it), so I try it by hands.
1st. I found free slot (BodyId = 222) and try to put there pack horse animation. according ultimaSDK algo real horse have bodyID = 291 and
So offset of anim.idx will be 27915*12 = 334980.
Same calculation for 222 will give 281160.
There is 65 frames per animal (13 * 5) so... 780 bytes of data.
I copy 780 bytes from 334980 to 281160.
InsideUO and UOFiddler(using ultima.dll) show me current animation. But in game (6.0.13.0) there was Lizardman.
Where I was wrong? And what I need to do to add NEW animation?
PS: no overriding in body.def and bodyconf.def.
Hello dear community.
Resently I was trying to add new animation to UO. No one program could add NEW animation (or i don't know it), so I try it by hands.
1st. I found free slot (BodyId = 222) and try to put there pack horse animation. according ultimaSDK algo real horse have bodyID = 291 and
Code:
index = 0x55f0 + ((body(291) - 200) * 0x41) = 0x6D0B (27915).
Same calculation for 222 will give 281160.
There is 65 frames per animal (13 * 5) so... 780 bytes of data.
I copy 780 bytes from 334980 to 281160.
InsideUO and UOFiddler(using ultima.dll) show me current animation. But in game (6.0.13.0) there was Lizardman.
Where I was wrong? And what I need to do to add NEW animation?
PS: no overriding in body.def and bodyconf.def.