Custom skin on Swat 4: Phase #3

Create a custom texture UTX file based on DDS files

We need to follow the “Step 1: create a texture package” of the official Sierra guide to create the texture file.

Inside the UTX file, we need the following part:

  • face = a 256 by 256, 32 bit targa, with facial features
  • GUI image = a 256 by 256, 24 bit targa for the skin selection screen
  • regular pants = a 512 by 512, 32 bit targa, for the light armour pants and arms
  • regular vest = a 512 by 512, 32 bit targa, for the light armour vest
  • heavy pants = a 512 by 512, 32 bit targa, for the heavy armour pants and arms
  • heavy vest = a 512 by 512, 32 bit targa, for the heavy armour vest
  • no armour vest = a 512 by 512, 32 bit targa, for the no armour vest

We decide to create the custom skin based on the Taiwan one. So we need to extract all DDS files from the texture:

  1. Open C:\Program Files\Sierra\SWAT 4\ContentExpansion\System\SwatEd.exe
  2. Select View –> Show texture browser to open the “Textures window”.
  3. Select File –> Open and select the file C:\Program Files\Sierra\SWAT 4\ContentExpansion\Textures\Taiwan_OfficerTex.utx
  4. Export the following textures in DDS format:
  • Face = mpSWATelementLead.dds
  • regular pants = mpSWAT_bdu_black.dds
  • regular vest =mpSWAT_vest_default.dds
  • heavy pants = mpHeavy_BDU_black.dds
  • heavy vest = mpHeavy_vest_Black.dds
  • no armour vest = SWAT_noarmour_TAIWAN.dds

As you can see, there is no GUI texture here!
You can find it inside the file “gui_tex2.utx” located in C:\Program Files\Sierra\SWAT 4\ContentExpansion\Textures\ and export:

  • GUI = skin_Taiwan.dds

Now, follow Custom skin on Swat 4: Phase #1 to edit the skin as you like.

At the end, you should have:

  • Face = inglele_Face.dds
  • GUI = inglele_skin.dds
  • regular pants = inglele_Normal_pants.dds
  • regular vest = inglele_Normal_vest.dds
  • heavy pants = inglele_Heavy_pants.dds
  • heavy vest = inglele_Heavy_vest.dds
  • no armour vest = inglele_NoArmor_vest.dds

Now, we need to import all DDS file inside a new texture file:

  • Create a copy of “Taiwan_OfficerTex.utx”
  • Rename the file “IngLele_Taiwan_Tex.utx”
  • Open C:\Program Files\Sierra\SWAT 4\ContentExpansion\System\SwatEd.exe
  • Select View –> Show texture browser to open the “Textures window”
  • Select File –> Open and select the file “IngLele_Taiwan_Tex.utx”
  • Delete all shader and texture except one, or you will lose the access to the UTX file!

Import a texture based on DDS file:

  • Select File –> Import
  • Package = IngLele_Taiwan_Tex
  • Name = IngLele_xxx (eg: IngLele_Face or whatever)
  • Create mip maps = Enable
  • Compression type = DXT1

Create a shader associated to the DDS file:

  • Select File –> New
  • Package = IngLele_Taiwan_Tex
  • Name = IngLele_Face_Shader
  • Click “New” button
  • The “Shader properties” windows should be shown
  • Click on “Diffuse” entry at the bottom left
  • Select “IngLele_Face” texture in the Texture editor
  • At the end of “Diffuse” field click “>” and “Use”
  • Close the “Shader properties”

Repeat last action group for all DDS files to be imported into the UTX file.
GUI file doesn’t require the shader.

At the end, click “File” –> “Save” and overwrite “IngLele_Taiwan_Tex.UTX” file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s