Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: death6007 on April 20, 2015, 09:01:31 pm

Title: [QUESTION] 
Post by: death6007 on April 20, 2015, 09:01:31 pm
Hello,

i've been modelling and texturing items for WoW for a while now and never had problems.
today i made myself another weapon but for some reason my weapon stays green -> texture not applied
i checked everything and everything seems fine (even inside the m2 file it says it's searching for the right blp file.

this is the data i used , can someone see any problem here ?

weapon m2 file name : sword_2h_ulduarraid_d_01
weapon skin name : sword_2h_ulduarraid_d_0100
display id +texture name : 58945
item id : 46016

thank you for reading this topic already
Title: Re: [QUESTION] 
Post by: Skarn on April 20, 2015, 10:08:29 pm
How did you convert the model?
Title: Re: [QUESTION] 
Post by: death6007 on April 21, 2015, 01:22:56 am
i used the obj to m2 converter from this forum :
viewtopic.php?f=59&t=5285 (http://modcraft.io/viewtopic.php?f=59&t=5285" onclick="window.open(this.href);return false;)

i used the right settings for blender (i saved the settings so i dont have to redo everytime)
Title: Re: [QUESTION] 
Post by: phantomx on April 21, 2015, 02:23:21 am
Did you open the m2 in 010 run the m2 template and check that the name of the texture is correct and says .blp not NONE.blp?
Title: Re: [QUESTION] 
Post by: ladiszlai on April 21, 2015, 07:14:41 am
In blender You need to rename the material as the texture name
Title: Re: [QUESTION] 
Post by: PhilipTNG on April 21, 2015, 05:12:38 pm
did you remember to put the ending backslash on the texture directory when punching the texture directory into the console... i frequently forget to do this, so i'll have it like customweapon   ... and forget to put that backslash on it so the m2 looks for weaponcuswep.blp instead of cuswep.blp which is what the file is actually called inside of a folder called weapon  :lol:
Title: Re: [QUESTION] 
Post by: death6007 on April 21, 2015, 10:04:20 pm
dont remember if i did it , will report back soon

edit:
i re-imported it (re-converted texture and object) and it's still green
also the texture name in blender is fine
Title: Re: [QUESTION] 
Post by: PhilipTNG on April 21, 2015, 10:56:27 pm
If it's not too much of a bother, do you think you could either upload your end result m2/skin and blp file for us to examine? if you feel someone's going to steal your work.. uh. think you could pm me it?  I'd love to look at it and see what's going on and see if it's salvagable, if not, it may have to do with something you may be forgetting when using the application...

which in that case, I would then probably ask you if you could possibly make a video or take tons of pictures of what you're doing and typing in when you do your obj to m2 generations.
Title: Re: [QUESTION] 
Post by: phantomx on April 22, 2015, 01:45:10 am
Quote from: "death6007"
dont remember if i did it , will report back soon

edit:
i re-imported it (re-converted texture and object) and it's still green
also the texture name in blender is fine

The name in blender doesn't really matter you can remove it since you're using a small model I'd only leave the texture name if I was using more then 20 geosets to save time.

Any way like I said before open 010 editor run the m2 template and check that your texture location and name are correct or just upload your m2.
Title: Re: [QUESTION] 
Post by: death6007 on April 22, 2015, 11:17:29 pm
i will pm you the files , if anyone else wants to check out the files to help me please let me know here.

the command i use is OBJtoM2 sword_blender.obj sword_2h_ulduarraid_d_01 textures

obj file name is blender_sword
texture is in a folder called textures
weapon i wanna use is sword_2h_ulduarraid_d_01

the m2 file is searching for the right blp file
Title: Re: [QUESTION] 
Post by: Amaroth on April 23, 2015, 10:46:23 am
Just a stupid question, have you converted PNG file to indexed colors mode before converting it to BLP? Because thats something you are NOT supposed to do for weapon textures and may lead to green texture error.
Title: Re: [QUESTION] 
Post by: death6007 on April 24, 2015, 01:22:14 pm
the problem was the size of the texture , it's fixed now :)