Jump to content

Recommended Posts

Posted (edited)

Hey there y'all!

Been playing KotOR since it's release, great games that don't get old. 

Trying to get into modding TSL. Have little to no modelling experience, thus not going to attempt anything complex yet, but a sinple model adjustment seems to be over my head right now. 

I'm resmeshing and retexturing an existing body model in Blender using Kotor tool, it goes pretty well until I get to texturing. I just can't get new UV map to work when exporting .mdl and .mdx. It seems that my custom UV unwrap overwrites any existing UV map, but does not save the new one. The model in game is transparent, like non-existent, just the head floating.

What am I doing wrong? How do I get the new UV map ant texture to work? 

Edited by Letstrit
Posted (edited)

Here.

First two pics show how the original UV on modified mesh behaves in Blender and in the game. Don't mind the colors - they are for demonstration purposes only. 

Secpnd two - how the colors are supposed to display on the model with custom UV unwrapping. Granted, I might've botched the whole unwrapping business, but it is the same with smart uv unwrap, so I doubt it is a skill issue. 

I only edited the body - torso and legs - so the arms show in bots scenarios. 

 

Spoiler

OG UV Blender.jpg

 

 

Spoiler

OG UV Game.jpg

 

 

Spoiler

New UV Blender.jpg

 

 

Spoiler

New UV Game.jpg

 

pfbam NEW UV.mdl pfbam NEW UV.mdx pfbam NEW UV.blend

Edited by Letstrit
Posted

There's something very weird going on. There is no UV data stored in the traditional manner if you load it into Max, but if you it into Blender it appears to show island boundaries that conform to the body shape. Doesn't actually show any UVs though, although I have no idea how to use Blender's UV editor. Whatever you did, you apparently didn't store the UVs in channel 0. Not sure how that would make the mesh invisible though.

Posted (edited)

Hi there, Letstrit. I've looked at the files and after some tinkering, fix is to rename the new custom UV name from "UVMap.001" to the default "UVMap". It seems that the Blender add-on expects for a UV to be named  the default way "UVMap". It uses this specific one when exporting. And if no UV is named that way, it skips and the mesh disappears. Hope this helps

Edited by WolfsBane
Added more context and information
Posted

You know what?

That's exactly what did the trick! It had to be this specific little hurdle, had it?

Thank you, WolfsBane. And DarthParametric. You guys really helped!

Spoiler

K2_00007.jpg.4d38a049169458ca273d500490a302cf.jpg

 

By the way, can you tell me why each arm is a separate mesh? Torso and legs are combined into one, will it break the model if I join the arms with torso for easeir modelling? Or it is better to separate them again after I've finished reshaping?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.