This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [RELEASE] Final fix for Legion helmet  (Read 6085 times)

matem

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 12
    • View Profile
[RELEASE] Final fix for Legion helmet
« on: November 23, 2016, 11:20:18 pm »
This script requires python and PyM2 to work.

It realign the position of every helmet model to match with the position of older expansions (from Classic to WOD).

Just place the two scripts in the same folder of PyM2 and create a folder called "M2", all the m2 to be converted must be in this folder.

This must be the folder structure:

PyM2
   |
   |------->1-LegionHelmet_FIX.py
   |
   |------->2-LegionHelmet_FIX.py
   |
   |------->M2

Run first the 1-LegionHelmet_FIX.py then 2-LegionHelmet_FIX.py

Here all the coords for every race/gender:
viewtopic.php?p=57861#p57861

PyM2 download: https://storage.googleapis.com/google-c ... rchive.zip

thanks to inico for his youtube video
« Last Edit: November 24, 2016, 11:47:06 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #1 on: November 23, 2016, 11:50:42 pm »
Going to test if works for all races. Till now gnomes and Undeads was busting balls until i could align them correct . If this works GREAT PIECE of WORK MATE !


***UPDATE :
Tested on female undead, doesnt position correct.
The coordinates Iniko provides are for humans. Else did i made a mistake ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

matem

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 12
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #2 on: November 24, 2016, 10:50:16 am »
Quote from: "Uthil"
Going to test if works for all races. Till now gnomes and Undeads was busting balls until i could align them correct . If this works GREAT PIECE of WORK MATE !


***UPDATE :
Tested on female undead, doesnt position correct.
The coordinates Iniko provides are for humans. Else did i made a mistake ?

Yes you are right, i attached a file here for modify the coords. Just change it to match the cords of the race. For example for gnome i used

a.x = float(-0.0227258)
a.y = float(0.0)
a.z = float(-0.18623257)

Run it only after the first two files in the first post.
« Last Edit: December 25, 2016, 11:27:38 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #3 on: November 24, 2016, 03:16:46 pm »
Quote from: "matem"
Quote from: "Uthil"
Going to test if works for all races. Till now gnomes and Undeads was busting balls until i could align them correct . If this works GREAT PIECE of WORK MATE !


***UPDATE :
Tested on female undead, doesnt position correct.
The coordinates Iniko provides are for humans. Else did i made a mistake ?

Yes you are right, i attached a file here for modify the coords. Just change it to match the cords of the race. For example for gnome i used

a.x = float(-0.0227258)
a.y = float(0.0)
a.z = float(-0.18623257)

Run it only after the first two files in the first post.


Edit: just tested every race and gender, these are the right coords:

HUMAN (male and female), NELF (male and female), DRANEI (male and female), ORC (male and female), TAUREN (male and female), TROLL (male), BELF (male):
   a.x = float(-0.0587258)
   a.y = float(0.0)
   a.z = float(-0.18623257)

TROLL (female):
   a.x = float(-0.0887258)
   a.y = float(0.0)
   a.z = float(-0.08623257)

BELF (female):
   a.x = float(-0.0087258)
   a.y = float(0.0)
   a.z = float(-0.18623257)

UNDEAD (male):
   a.x = float(-0.0959258)
   a.y = float(0.0)
   a.z = float(-0.12623256)
   
UNDEAD (female):
   a.x = float(-0.0019258)
   a.y = float(0.0)
   a.z = float(-0.15623257)
   
GNOME (male and female), DWARF (male and female):
   a.x = float(-0.0227258)
   a.y = float(0.0)
   a.z = float(-0.18623257)
Thanks very much, going to check.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

inico

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 243
    • View Profile
    • http://www.youtube.com/inicocustom
Re: [RELEASE] Final fix for Legion helmet
« Reply #4 on: November 24, 2016, 05:10:42 pm »
Nice tool! Tested it with a few models and it's working correctly.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #5 on: December 03, 2016, 01:00:05 pm »
So for the paladins [ helm_plate_raidpaladin_q_01_hum.m2 ]helmet i get this error in pymodeleditor :
Any idea how to overpass this ? Also the 1st fix script dont work so thats why i run it on the Py editor to see what error appears.

**UPDATE
Same error with shamanMythic helmet, tho here normal is working but paladins normal not.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

matem

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 12
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #6 on: December 03, 2016, 03:25:23 pm »
Have you converted m2 to wotlk
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #7 on: December 03, 2016, 03:34:47 pm »
Quote from: "matem"
Have you converted m2 to wotlk

No, i actually change the header so to be MD20 with also column 4 from 12 to 10. Kinda like manually downgrade to WoD. Going then to try use phillips tool and recheck them. Till now with that procedure didn't had any issue ill try convert it to WotLK version.

**UPDATE
Dont know i get it down to LK with either kowards tool or philips tool but then i cant turn it down to classic. I might doing something wrong, kinda frustrated.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

matem

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 12
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #8 on: December 03, 2016, 11:13:14 pm »
try with this
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #9 on: December 04, 2016, 01:58:39 pm »
Quote from: "matem"
try with this

Yup i have this one and adspartans  and i use in every conversion im doing. First with Py editor for coords, then i use that and then finally i downport them to classic. So till now for some weird reason paladin - shaman and rogue (fount it now) after conversion game crash.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #10 on: December 06, 2016, 06:54:56 am »
ok i hyst made again an attempt for this paladin helmet, i figure out that i had to run the tool before i edit it with the pymodeleditor. Now when i game when i select the paladin i crash with the following error .

By the way i reposition all bones under the human coordinates, even those that has a particle. Ill try a few more test later tonight. Any idea about this error ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: [RELEASE] Final fix for Legion helmet
« Reply #11 on: December 11, 2016, 06:32:29 pm »
Hi,

I tried an other thing, since I'm using races models from Legion, I have an other issue, every helmets from previous version are misplaced on my chars, do you know how to adapt vanilla, tbc, other versions helmets to my models ?

I haven't touched python for a long time and I'm kinda... lost  :?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Uthil

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 283
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #12 on: December 11, 2016, 06:44:38 pm »
Quote from: "hyakkimaru"
Hi,

I tried an other thing, since I'm using races models from Legion, I have an other issue, every helmets from previous version are misplaced on my chars, do you know how to adapt vanilla, tbc, other versions helmets to my models ?

I haven't touched python for a long time and I'm kinda... lost  :?

You mean you are using legion chars models downported to the rest versions, like tbc or classic ?
Im already doing this since im using T19 sets to replace the T3. Im stuck on paladins/shaman/Rogue by getting this error that i post above.

You can do it by following the 2 methods, one by inico and the one by matem. As far ask i know, from WotLK and beyond seems to work. But for classic as i said i have stuck on those 3, i have complete rest class changes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Like my project and you like to support me, you can do it here!

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: [RELEASE] Final fix for Legion helmet
« Reply #13 on: December 11, 2016, 07:05:06 pm »
After some tests I get this error :

pym2trunkm2.py", line 928, in unpack
    self.Timestamp, = struct.unpack("i",f.read(4))
struct.error: unpack requires a string argument of length 4

>_> my computer seems to refuse to be nice with me
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Darkkang

  • Registred Member
  • Race Changer
  • *****
  • Posts: 32
    • View Profile
Re: [RELEASE] Final fix for Legion helmet
« Reply #14 on: December 23, 2016, 07:10:45 pm »
What are the coordinates of the Pandaren?
Thx
« Last Edit: January 01, 1970, 01:00:00 am by Admin »