How to make Custom Terrain Textures using GIMP:
Introduction:
This tutorial describes my method of creating Terrain Textures for the toolset. It may not be the best or most complete way, but it suites my purposes quite nicely. This method removes the glossy shine from textures, and that was my primary purpose in pursuing this information. Thanks goes out to: dunniteowl, BigfootNZ, JasonNH, and Hellfire_RWS for helping me figure this out. Thanks Guys!
For each texture, there needs to be three .tga files.
1.) The Primary Diffuse + Layer Mask (TT_MyTexture)
2.) The Secondary Diffuse + Layer Mask (TT_MyTexture_c)
3.) The Normal Map WITHOUT an Alpha Channel (TT_MyTexture_n)
Download the NormalMap plug-in for GIMP and install it.
Step 1:
You'll need a .bmp image scaled to 64x64 pixels in size. Make a copy of the texture you're working with, then resize the image in GIMP to 64x64 pixels. In GIMP, go to "Image" then go to "Scale Image". To resize the image, click the small button behind the number field (looks sort of like a broken chain link). Type in the new size, then hit "ok". Put the 64x64 .bmp image into your Program Files/Neverwinter Nights 2/NWN2Toolset/Terrain folder.
Step 2:
Next, make another copy of the original image. Scale this texture image to a multiple of 8; I use 1024x1024 (remember, it needs to be in multiples of 8). 512x512 would be acceptable also. Then, click on "Layer", then "Mask". Select "Add Layer Mask...". Now, click on "Black (full transparency). Click the "Add" button. Next, go to "Layer", then "Mask", and click "Apply Layer Mask". Now, save the image as .tga (example: TT_MyTexture).
Step 3:
Open the image file that has the layer mask that we were just working with. Save it as, for example, TT_MyTexture_c. This file must have the "_c" at the end of it to work properly.
Step 4:
Open the image that you first scaled to multiples of 24 (the picture with the actual terrain image). Next, go to "Filters" tab, go down to "Map", then "Normalmap...". Where it says "Filter" in the Normalmap box, choose your filter type; I used 5x5, then hit "Ok". Now, click "Layer", then "Mask", then "Add Layer Mask". Now click "Layer", "Mask", then "Apply Layer Mask". Save this file as, for example, TT_MyTexture_n. This file must have the "_n" at the end of it to work properly.
Step 5:
Edit the "terrainmaterials.2da". Find a blank row in the .2da file and input the basic name of your texture. Example: TT_MyTexture. Note: I don't know what the other rows in the .2da file are for, so you can play around with those if you'd like. I usually set each to a value of 255, then select for the last entry, the terrain type that most resembles my new texture. If you have a grassy texture, type in "Grass".
Step 6:
Put the "terrainmaterials.2da", and the three .tga files into your My Documents/Neverwinter Nights 2/Override folder. Fire up the toolset, then start painting the textures down!
Here is the link to the tutorial at the nwvault: http://nwvault.ign.c...s.Detail&id=134
Please "Sticky" this, so people don't have to hunt for it!
Modifié par Ugly_Duck, 24 décembre 2010 - 01:36 .





Retour en haut







