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: [SOLVED] [WoD] Edited shield model not appearing/crashing th  (Read 1484 times)

Lurivar

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 21
    • View Profile
Hello,

I've been trying to modify the Bulwark of Azzinoth for quite some time now (the old one, aka shield_2h_outlandraid_d_06.m2) by removing the spikes on the front.
So I've extracted the model from WMV (Cataclysm version as I can't make the WOD one work for some reason) as wavefront obj, edited in in Blender by removing every vertice composing the spikes then reconverted it back to M2 with ObjToM2.exe.
No problem so far, I put the files in the right folders and launch the game. I try to preview the shield and there's my first problem :

It's just not there, not appearing, invisible, I dunno.

I talk about it with a few people on my server and one of them tells me : Ah, it's normal, you need to convert the M2 to WOD with 010editor's templates.

So I give him the files, he converts them and give them back to me. I put them in the right folder again, deleting the old ones, and try again to launch the game and preview the shield, and comes my second problem :

The game crash, and give me a WoW-Error #132.

The guy also tried to redo everything by himselg but got the exact same two problems.
So now i'm a bit lost on what I should do, as I'm pretty sure it should work but have no idea why it doesn't.

TL;DR : I need help :'( ( And any would be much appreciated :) )

In advance, thanks
« Last Edit: August 26, 2016, 01:20:42 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [WoD] Edited shield model not appearing/crashing the gam
« Reply #1 on: August 25, 2016, 11:02:25 pm »
Then you have simply wrong scripts for upper porting or you are exportng model wrong from Blender
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

Lurivar

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 21
    • View Profile
Re: [WoD] Edited shield model not appearing/crashing the gam
« Reply #2 on: August 26, 2016, 12:26:50 am »
Well it'd seem weird to me that the guy that upped them did it wrong since he already added a few items IG (although i'm not exatly if he has to do the same things, but whatever), and he used "Lktocatam2"

Anyway, I just tried to do it myself and manually, so I changed "uint version" to 272 and "uint lName" to 27, to match those of the base m2, but I got an error #132 again.
So I looked a bit more, and I noted something strange. There's a whome section in the new m2 that isn't in the original one :

"int16 _AnimationLookup[474]" just before the "struct Bones" which I can expand. In it, it's like this :
int16 _AnimationLookup[0]
int16 _AnimationLookup[1]
int16 _AnimationLookup[2]
int16 _AnimationLookup[3]
...
int16 _AnimationLookup[473]

and each and every one of their value is -1, except for int16 _AnimationLookup[0] which has a value of 0.
I tried deleting this whole section, as it isn't in the original .m2 file, and it got me back to my forst problem : no wow-error, but the item straight up not appearing.

So, any idea ?

PS : As for the export from Blender, when i'm done removing vertices, I select all (A), then export as obj, using those options :

Apply Modifiers
Include Edges
Write Normals
Include UVs
Write Materials
Objects as OBJ Objetcs
Path Mode : Auto
Scale : 1.00
Forward : -Z forward
UP : Y Up


Edit : Ok so, I used the LktoCataM2 script for BOTH the .m2 and the .skin file (while the guy that helped me only used it for the .m2, and I got this :

http://www.noelshack.com/2016-34-1472164677-skrine.png

Which is ... Better than nothing, I guess.
It may not be in the right direction because of Z axis and shit (even tho I was sure to have chose the right ones) but what bugs me is the texture .... I didn't include à .BLP nor changed anything about it (used the base one to see if it was working in blender, and chose the base path for it in ObjToM2, aka : ItemobjectcomponentsShield )

So well...

Stuck again
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [WoD] Edited shield model not appearing/crashing the gam
« Reply #3 on: August 26, 2016, 12:47:57 am »
just look into texture path in 010 where its leading then edit it or check if is your texture even legit
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

Lurivar

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 21
    • View Profile
[SOLVED] Re: [WoD] Edited shield model not appearing/crashin
« Reply #4 on: August 26, 2016, 01:20:28 am »
Yup, for some reason blender renamed the texture, adding a few letters of the end of the name to it, I changed it and it works perfectly. Thank you <3

https://puu.sh/qOsbO/678422e759.png
« Last Edit: January 01, 1970, 01:00:00 am by Admin »