Aller au contenu

Photo

Questions on Retexturing


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
illerianna

illerianna
  • Members
  • 398 messages
I know the basics of retexturing, I can recolor an item with no problems whatsoever. What I AM a nub at is the different maps.

I reskinned one of the leather armors, used Krayzie's guide to add it to the game without replacing the original. Works all fine and dandy, but it still looks like crap because without the other maps, it's just the new texture painted over the old.

I have no earthly idea how to create the different maps (in Photoshop CS3). I've used the nVidia NormalMap Filter tool, but to no avail. Whenever I try creating a map that way, I get this result in game:


Image IPB
(If you can't see, it's basically split in half, the lighting on it renders weird.)

I know each piece of armor has 4 maps of textures, which you can change by inserting the image file name into the .mao file. The diffuse map is the only thing I have, because the normal map blew up in my face, and I haven't even tried the specular or tint masks. :(

I'm just a nub, and haven't really been able to find any guides on this kind of thing. :|

Modifié par illerianna, 31 décembre 2009 - 12:50 .


#2
IronBug

IronBug
  • Members
  • 15 messages
I am fighting the same issues. The diffuse map is easy but changing any of the rest isn't working for me either. I am also in the noob category but have some minor skills at photoshop. I think I will subscribe to this thread to see what nuggets you turn up.

#3
illerianna

illerianna
  • Members
  • 398 messages
Well, after some forum searching and looking at some other normal maps in the game, I have figured it out! :o

What I did is make my normal map out of the diffuse using Crazybump, I opened the new normal map in Photoshop.

Here's the step by step:

1. Go to the Channels tab, should be on the Layers panel.

2. Right click on the Red channel and click "Duplicate Channel..."

3. Name the channel "Alpha" (minus quotes)

4. Now, select the Green channel. Make sure this is the ONLY channel displaying.

5. Go to Select > All (or Ctrl+A)

6. Copy the selected channel

7. Now, go to the Red channel (the original, NOT the copy named Alpha) and paste the green channel over it. Again, make sure the Red channel is the only one displaying.

8. Do this again to the Blue channel.

If you did this correctly, the Red, Green, and Blue channels should all look the same.

So, click to display the RBG channel, it will look like the Red, Green, and Blue channels combined (duh :P ). Next, click to display the ALPHA channel. It will all look the same, but now with a red tint.

Save it, then convert it to DDS format (or save it as DDS format, but my nVidia plugin dislikes me, so I can't D: ). Copy the normal map to the same location(s) as the diffuse map. Now, find the .MAO file of your item, and open it in something like Notepad. Find the line that says something like:



In place of the tildes, put the name of your normal map file. For me, the line would read:



Save the .MAO, and open up your game. Equip the item, and voila, it should look like your diffuse map, and not some silly mess of textures painted over another.

It really is simple, and I'm embarassed I didn't figure it out sooner. :?

Hope I was clear enough, and if there's an easier way to do it, hopefully someone will come along and explain it.



EDIT: Also, if you want to disable tinting on your new armor, delete the line in the .MAO that looks like:

<Texture Name="mml_tTintMask" ResName="pf_cth_nblc_0t.dds"></Texture>

(But with a different name in the TintMask name field, obviously.)

Now your black armor will stay black, no matter what material you use for it. ^_^

Modifié par illerianna, 31 décembre 2009 - 03:23 .


#4
IronBug

IronBug
  • Members
  • 15 messages
oh good find. thanks for posting this.