Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => "Retro-Porting" => Topic started by: MR. Farrare on November 29, 2015, 07:20:48 pm
-
change unit32playbackspeed to 150 in m2 template by 010editor
[attachment=3:e74jh70c]Untitled.png[/attachment:e74jh70c]
[attachment=1:e74jh70c]WoWScrnShot_113015_003227.jpg[/attachment:e74jh70c]
[attachment=0:e74jh70c]WoWScrnShot_113015_003215.jpg[/attachment:e74jh70c]
[attachment=2:e74jh70c]WoWScrnShot_112915_230426.jpg[/attachment:e74jh70c]
[attachment=6:e74jh70c]WoWScrnShot_112915_211650.jpg[/attachment:e74jh70c]
[attachment=5:e74jh70c]WoWScrnShot_112915_211722.jpg[/attachment:e74jh70c]
[attachment=4:e74jh70c]WoWScrnShot_112915_211803.jpg[/attachment:e74jh70c]
-
change unit32playbackspeed to 150 in m2 template by 010editor
[attachment=2:2ssyt17e]WoWScrnShot_112915_211650.jpg[/attachment:2ssyt17e]
[attachment=1:2ssyt17e]WoWScrnShot_112915_211722.jpg[/attachment:2ssyt17e]
[attachment=0:2ssyt17e]WoWScrnShot_112915_211803.jpg[/attachment:2ssyt17e]
Could post a screenshot of the editor
-
Could post a screenshot of the editor
ok friend
-
Could post a screenshot of the editor
ok friend
all animations?
-
try it worked for me changed all animation to 150 or see other creature that have the same anim that work in wotlk
try to copy it number if you had a problem right it and I will try to fix it :)
-
try it worked for me changed all animation to 150 or see other creature that have the same anim that work in wotlk
try to copy it number if you had a problem right it and I will try to fix it :)
Very big improvements thank you :)
-
your welcome friend :)
-
Nice, thanks to you, Greymane doesn't act like a man with some form of paralysis
-
I cant see the image but im testing him now
-
Nice, thanks to you, Greymane doesn't act like a man with some form of paralysis
his anim is fine
[attachment=4:2t9xvswv]WoWScrnShot_113015_003212.jpg[/attachment:2t9xvswv]
[attachment=3:2t9xvswv]WoWScrnShot_113015_003214.jpg[/attachment:2t9xvswv]
[attachment=2:2t9xvswv]WoWScrnShot_113015_003215.jpg[/attachment:2t9xvswv]
[attachment=1:2t9xvswv]WoWScrnShot_113015_003225.jpg[/attachment:2t9xvswv]
[attachment=0:2t9xvswv]WoWScrnShot_113015_003227.jpg[/attachment:2t9xvswv]
-
Nice work Raeef keep it up
-
Nice work Raeef keep it up
thx friend :)
-
Nice work.
Anybody has a theory about how this works ? Why 150 ? Can we automate it ?
-
because most of the creature that has anim working have this number but the m2 that cant do the anim have big number :)
-
Strange, do you have exact examples of these big numbers ?
Maybe the playback speed is not uint32 anymore but 2*uint16, giving a big number in the 010 template if the first uint16 is different than 0.
uint32 playbackSpeed = 150 = 0x0096.
If Blizzard divided into two fields, let's say playbackSpeedNew and playbackSpeed, we may have
uint16 playbackSpeedNew = 5 = 0x05 (random number)
uint16 playbackSpeed = 150 = 0x96
If you watch them as uint32, you'll get 0x0596 = 1430.
With an old playbackSpeed of 150 you could get as big as 65430 (0xFF96).
-
can you name a model where this is required?
-
CreatureGennGreymaneGennGreymane.m2
-
for another example
NightElfFemale.m2 from Legion has plaback speed 9830550
"only from some Emotes like Sit / lay not for Walk / run /fight "
-
# Just finished script for 010 Editor that should fix those anims for you its not big deal but i hope it gona help
- thx to Sergei for his help when i were getting into 010 scripting
-
I already mentionned this change on the wiki. Still needs to be researched.
This is empirical, it needs to be checked on the source, but I believe
uint32 blendTime
has become
uint16 blendTime
uint16 blendTime2
The first blendTime has the old value, and when blendTime2 is set it's often a copy of the first.
So, if originally it was
uint32 blendTime = 150 (0x96 00 00 00).
It becomes
uint16 blendTime = 150 (0x96 00).
uint16 blendTime2 = 150 (0x96 00).
If you try to read it as uint32, you'll obviously get 0x96 00 96 00 = 9830550.
It implies that for a correct conversion, you would need to set the blendTime2 to 0 and not set the 32 bits to 150. Because if for some reason it was 133, you would set the wrong blendTime.
I build a little converter that converts Legion M2 to any other M2 format : https://github.com/Koward/jM2converter (https://github.com/Koward/jM2converter" onclick="window.open(this.href);return false;)
-
RIP i have no java but actualy this script worked well for my last character without problems
i want to upgrade this script thats for sure but for now it enough to get it working
-
# Just finished script for 010 Editor that should fix those anims for you its not big deal but i hope it gona help
- thx to Sergei for his help when i were getting into 010 scripting
thx for the share Alastor
-
I was looking at this m2one template and i was wondering why would it need to rename the models name that the program opens to "By Alastor Strix'Efuartus" if it just opens a file?
The common M2template1 seems to be working just fine with this legion models anyway.
-
Since its my script concept its sined by me its that simple
and i am using different M2 template with added advanced options for some things like XY wraping etc ... i am using this template everywhere so i just packed it in case that you dont have any template its nothing special to care about