How to create and apply Normal Maps to Peds

A Tutorial for Grand Theft Auto: San Andreas

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Arman Ossi Loko points.
  • Post: Give Arman Ossi Loko your thoughts on this Tutorial.
  • Vote: Help Arman Ossi Loko win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Sound fun?

Sign up

Already a Bananite? Login

Here's a tutorial that explains how to create and apply Normal Maps to a pedestrian of you're choice. In order to achieve this you'll need to get Ryosuke839's excellent 'Normal Map' plugin. Below shows the difference between a ped without normal maps, compared to the same ped with normal maps.





The following software is required to successfully achieve this:

Steps

#1 - Open up TXD Workshop, click on 'Open TXD' and search for the TXD file of the ped you want to create normal maps for. Once you open up the ped, click on 'Export' and click 'Export all textures to xxx images'. (xxx denotes whatever format you're happy exporting to, doesn't matter which one you choose, for this tutorial I'll export to PNG).



#2 - Once you have you're textures exported, open up Photoshop. For this tutorial I'll create a normal map for the face of the ped, so import whatever texture you want to start with into Photoshop. The first thing after importing the texture is to convert the image to black and white, a normal map can only be created when the image is black and white. So in photoshop go to 'Image', 'Adjustments' and then click on 'Black & White' (or ALT+SHIFT+CTRL+B).



Once you click on 'Black & White', a window will pop up to adjust how dark or light you want each individual color to be, adjusting these can give you more detail in the final step, but I'm going to skip this. Alternatively after converting the image to Black & White you can adjust the image by changing the 'Brightness and Contrast'.



#3 - Now we'll need to export this image to a dds file, this is where the DDS Plugin is required. Once you're done go to 'File', 'Save As', click on the 'Format' box and select 'D3D/DDS'.



Once you click on 'save', a window will pop up with a few options. First make sure you've selected '8.8.8 RGB 24 bpp | unsigned' option in the top left box, and also select '2D Texture' in the smaller box below. Again there are a few options to tinker around with the image before exporting, but again I'm not gonna go through all of them. You can fiddle around with individual options and click on the '2D Preview' button to see how you're Normal Map is going to look like once exported.



Once done, click on 'save'. Now as TXD Workshop doesn't know what a dds file is, we'll need to import that dds file we just exported and save it as in my case 'PNG' format (You can choose BMP or TGA, whatever you prefer). So import the dds file into photoshop, a window will pop up asking how to import the dds, make sure the 'Load Using Default S...' is selected and click on 'OK'. Now go to 'File', 'Save As', in my case I'll select PNG format and then rename you're texture as 'xxx\_nrm' (xxx denotes name of original texture, so I'll rename my texture as 'face\_nrm'). Once that is done click 'save'.



#4 - Now we'll need to import the normal map into the txd of the ped, giving it the right name so that the normal map plugin will work as it's suppose to do. Go back to TXD Workshop with the txd of the ped open, and click on 'Image', 'New' and select '32BPP'. Scroll down to the bottom of the list of textures and select the new empty texture, now click on 'Import'. Look for the normal map texture that you just created in Photoshop and click 'Open'.



Firstly while the normal map texture is still highlighted, click on the green up button until the normal map is right below the original texture (in my case 'face').



Now we'll need to change some properties for this texture, so still highlighting the texture, click on 'Properties'. In the first box, the texture has to be named as 'xxx\_nrm4.0' (xxx denotes the name of the texture, so mine is called 'face\_nrm1.0'. In the samples provided by Ryosuke839, you can choose between putting a 1.0 at the end, or 2.0, 4.0, 8.0 & a 16.0. Not sure what the differences between these values are but I'm guessing the higher the value, the stronger the normal map effect is. If anyone can share some information on these values, it will be much appreciated. Next make sure the 'Alpha is used' option is selected and also make sure it's named 'xxx\_nrm1.0a' (in my case it's 'face\_nrm1.0a') and if you want you can compress the texture. (Will be a good idea as after doing this TXD files can get quite large, one case even when compressing all the textures, my TXD file went up to 8MB).



Once you've done this for all the textures, save the TXD file and test it out. This is what I got when I did these steps on this ped:



Hope this tutorial is good enough and will help you out. Any questions or errors in this tutorial please leave a comment. Have fun!

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Original Authors
nWo51289

Submitter

Arman Ossi Loko avatar
Arman Ossi Loko avatar Lurkin'
Admin Joined 10y
71,925 points Ranked 56th
63 medals 9 legendary 16 rare
  • GTAV First Adopter Medal icon
  • Submitted 15 Tools Medal icon
  • Submitted 30 Tutorials Medal icon
  • 1st place - 2015 Uberstyles Contest Medal icon
  • Achieved Admin clearance Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon

Arman Ossi Loko avatar
Arman Ossi Loko
KOPASSUS Incorporated Flag
KOPASSUS Incorporated

Redistributor
Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Details

Difficulty Level
Intermediate Difficulty

Attributes

Stats

Posts
3
Views
7,995
Date Added
4y
Date Modified
3mo
bcp.crwdcntrl.net tracking pixel