Copying an Item and Re-texturing It.

正在查看此主题的用户

Stokes52

Regular
I've been looking through various tutorials on how to use the module system, python, openBRF, and wings3ds to create and add new items into Mount & Blade and I've made some progress, but after hours of fumbling through tutorials and trying to get everything to work, I figured I'd drop by and ask some questions that could be answered in a few minutes by experienced modders compared to a few hours of my stumbling around aimlessly.

So,
What I am trying to do is create a duplicate "mail_shirt_a" item that is exactly the same as the Mail Shirt in Native Warband except for a unique texture which I will add.  The end result will be that I will have two items in my mod simultaneously: The old Mail Shirt, and the new, retextured (and renamed) Mail Shirt.

I've been able to edit the texture, normalmap, and specular map on the original Native item and get it in-game, this is the easy part.  I can do this to test if my textures work. What I want to do is keep the original Native item and make a new item that is exactly the same, except for having different texture.  By following tutorials I've been able to get the "copied" item in game with the appropriate texture, but it doesn't seem to have any shadows, definition, shine, or anything, (even though I have both specular and bump map dds files referenced in the materials section in OpenBRF).  The item is basically a mesh, with a texture painted on it, but no other graphical effects to "bring it into the world"


All I want to do is copy the exact armor, mesh, and textures of an already existing native warband item, place the item ingame, (So I have two duplicate items). Then I want to rename the copied item and add a new texture, normalmap, and specular dds to it so that I have essentially two duplicate items, just with different textures.

Can anyone help me with this process?
 
if i understand you right
then simple for mesh you can do something like it
open for example armors_b.brf (with openbrf)
then export mesh you want to duplicate after you do it now you need make a new brf
(also if you want duplicate all items from there simple save it as new BRF)
(i recommend that you save new brf files in module/native/resource or another mods folder)
when you have new brf file in OpenBrf you can rename all meshes
so with mesh that's all
with textures you need save it in same mod folder for example module/native/resource
and it will be good if you rename texture names simple in windows
when you have it then if you started new brf then you need import new matterial and latter add new textures like normal and spectacular

also if you have changed position's in uv_mapping
then you need use obj2smd.exe
 
Sounds to me like you've almost got it - you just need to make sure you copy all the material settings from the native model too. Look in materials.brf for the mail_shirt_a material and copy all those settings for your new material.
 
后退
顶部 底部