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: How add more textures to m2?  (Read 2132 times)

kejsler

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
How add more textures to m2?
« on: May 12, 2016, 07:03:24 pm »
Hello modcraft,

I download model (tank) from here:
http://tf3dm.com/3d-model/russian-t-90-tank-32782.html

I have problem with textures. I export model with 1 texture to m2 and when I add this model to noggit or wow, so all works fine, but when I export model with defeault 3 textures, noggit shut down when I add model to world.

I try describe my problem with picture:

1) I import model to C4D and merge (join) all polygons to one (turret, main body, main body 2 and gun I delete). Also I delete all textures in table bellow.

[attachment=4:171igrrj]1.jpg[/attachment:171igrrj]

2) Then I export model to .obj

[attachment=3:171igrrj]2.jpg[/attachment:171igrrj]

3) obj I convert to m2 file and add to MPQ patch. In m2 i can see only one blp code. To MPQ I also add BLP picture (main_body and rename to default)

[attachment=2:171igrrj]3.png[/attachment:171igrrj]

4) I start Noggit and add model to world. Save to project and map also add to MPQ. You can see, that model was imported to the world, but texture is bad (only one).

[attachment=1:171igrrj]4.jpg[/attachment:171igrrj]

5) I go to world of warcraft and you can see, that model was really imported to the world. It's all right, but only texture is ugly :(

[attachment=0:171igrrj]5.jpg[/attachment:171igrrj]


OK, can you help me how I can add model with all 3 textures to world of warcraft? When I Export model with 3 textures, noggit or wow shut down (wow error) when i add model.

I thought merge all textures to one and modify UV maps, but I don't know how to do this. I read all tutorials on modcraft, youtube, etc., but I found nothing. Please help me, because I'm really desperate and sorry for my bad English (I'm from Czech).

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

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: How add more textures to m2?
« Reply #1 on: May 12, 2016, 10:42:48 pm »
mas fare i know m2s only support 1 texture.
oy wmos do more.  correct me community if i am wrong.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: How add more textures to m2?
« Reply #2 on: May 13, 2016, 12:00:48 am »
M2 has one texture per geoset
« 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

kejsler

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: How add more textures to m2?
« Reply #3 on: May 13, 2016, 12:39:35 am »
But tree from durotar have more textures than one and it is m2 model. It you can see there in info tab. Look.

[attachment=0:1c8dke29]7.png[/attachment:1c8dke29]

There is 4 textures and work it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: How add more textures to m2?
« Reply #4 on: May 13, 2016, 12:42:10 am »
Because there are 4. geosets in model
« 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

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: How add more textures to m2?
« Reply #5 on: May 13, 2016, 01:00:14 am »
there can also be geosets with multiple textures.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: How add more textures to m2?
« Reply #6 on: May 13, 2016, 01:21:35 am »
For WMO yes
« 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

kejsler

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: How add more textures to m2?
« Reply #7 on: May 13, 2016, 01:02:47 pm »
And how i can make more geoset? Or how i can import wmo?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: How add more textures to m2?
« Reply #8 on: May 13, 2016, 02:02:01 pm »

You have already there for Geosets
« 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

kejsler

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: How add more textures to m2?
« Reply #9 on: May 13, 2016, 07:19:06 pm »
But when I export model with this 4 geosets, world of warcraft shut down (wow error). I tried reduce polygons (faces) from 19 000 to 10 000, but still not work. Noggit don't import model.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

SaveMe

  • Registred Member
  • Race Changer
  • *****
  • Posts: 28
    • View Profile
Re: How add more textures to m2?
« Reply #10 on: May 14, 2016, 01:45:55 pm »
Maybe too much poly? Idk, but the wod character models are around 5000 geoset
I think 10000 or 19000 are too much
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: How add more textures to m2?
« Reply #11 on: May 14, 2016, 02:11:43 pm »
SaveMe: I mean no offence, but if you are not really knowledgable about topic, don't confuse this poor guy. Let Alastor handle it. I am making custom M2s quite frequently and still don't feel like I really should try to explain what is probably going wrong here.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: How add more textures to m2?
« Reply #12 on: May 14, 2016, 02:23:04 pm »
Quote from: "SaveMe"
Maybe too much poly? Idk, but the wod character models are around 5000 geoset
I think 10000 or 19000 are too much

1.


Wod Characters has 100 geosets +/-
Not even SW or OG has that much its about 300 +/-

2.


M2s can handle something just below 20000 vert/edg/face
spreaded amongs geosets

3.


Everything you need to know for creatign model with multiple geosets is here
[media:1jwkjgrg]https://www.youtube.com/watch?v=bJyw7t83Cao[/media:1jwkjgrg]
« 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

kejsler

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: How add more textures to m2?
« Reply #13 on: May 14, 2016, 10:52:24 pm »
OK, thanks. I try to learn to work in Cinema 4D or blender, because there is main problem maybe. I don't experience with 3D graphics and this is not only about adjustment of world in noggit.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: How add more textures to m2?
« Reply #14 on: May 15, 2016, 12:46:25 am »
Most of guys seem to work in Blender, but some use Maya (including myself). I don't know how many modders use 3Ds or 4D. Anyway, everything should work just fine as long as it can export OBJ, which you have to edit a little bit in Blender anyway afterwards to make extractors work.

So, selection of software seems to not matter THAT much at all. However, when working on M2s, you need to keep using separate geosets (obj parts, models, whatever you call it) for every single texture. Blender will save it as OBJ group, but important is to have those parts separated from each other.

What also is important is having self-explanatory names of materials, so you can replace them with texture name in OBJ structure after exporting it from Blender for conversion. I have experienced crashes with custom M2s in fact only when I placed more than one material per geoset (for example I gave few polygons one material, few polygons another material - on purpouse or by accident, it doesn't really matter). So, what is also important - not just using one texture per geoset, but also one material in general. Ofc, multiple geosets can use one material, but never otherwise, at least as long as you work with M2s.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz