Custom skin on Swat 4: Phase #2

Create the SKIN Class

To make the SKN file, the standard guide should be fine.

According to “Step 2: Make a new SwatCustomSkin class”, we need to:

  1. Open C:\Program Files\Sierra\SWAT 4\ContentExpansion\System\SwatEd.exe
  2. On the menu, select View –> Show class browser
  3. On the menu, select View –> Unplaceable
  4. The “All” button on the left should be pressed

Now, we can start to create the new class for the skin. On the left panel:

  1. Expand the subtree of “Object” class
  2. Expand the subtree of “Actor” class
  3. Expand the subtree of “Equipment” class
  4. Expand the subtree of “SwatCustomSkin” class

Right click on “SwatCustomSkin” entry and select “new…”

Now you need to compile the 2 empty fields:

  • ParentClass = SwatCustomSkin (not change but check the value)
  • Name = insert a “name” for the skin ending in ‘CustomSkin’ (Eg: “inglele1CustomSkin”)
  • Package = insert same as “name” without ‘CustomSkin’ (Eg: “inglele1”)

There is label “Creates a new derived class.”, press OK button.
Now, you should see “inglele1CustomSkin” on the left tree under “SwatCustomSkin”.

Click on “inglele1CustomSkin” in the tree and, on the menu, select “File” –> “Save package”
Move to “C:\Program Files\Sierra\SWAT 4\ContentExpansion\CustomSkins” and set:

  • “File name” = “inglele1.skn”
  • “Save as Type” = “All files”

Setup new skin with the texture

Right click on your new class “inglele1CustomSkin” and select “Default properties…”
“Class properties” windows should be shown: Expand the “CustomSkin” section.
To set all attributes, move in the main windows to the “Textures” section:

  • FaceMaterial = select “IngLele_Face” –> “>” –> “Use”
  • GUISkinImage = select “IngLele_GUI” –> “>” –> “Use”
  • HeavyPantsMaterial = select “inglele_Heavy_pants” –> “>” –> “Use”
  • HeavyVestMaterial = select “inglele_Heavy_vest” –> “>” –> “Use”
  • NoArmourVestMaterial = select “inglele_NoArmor_vest” –> “>” –> “Use”
  • PantsMaterial = select “inglele_Normal_pants” –> “>” –> “Use”
  • SkinDescription = It is the description of the skin for the skin selection screen in game.
    Eg: “IngLele Taiwan Skin”
  • SkinFriendlyName = It is the name that displays below the skin in the skin selection screen.
    Eg: ‘IngLele1’
  • SkinTeam = It allows you to restrict which team may use the skin.
    There are three different settings:
    • TEAMVALID_All – your skin can be used by either team
    • TEAMVALID_SWATonly – your skin can be only used by SWAT
    • TEAMVALID_SuspectsOnly – your skin can be only used by the suspects
  • Vestmaterial = select “inglele_Normal_vest” –> “>” –> “Use”

Click on “inglele1CustomSkin” in the tree and, on the menu, select “File” –> “Save package”Move to “C:\Program Files\Sierra\SWAT 4\ContentExpansion\CustomSkins” and set:

  • “File name” = “inglele1.skn”
  • “Save as Type” = “All files”

I think that we should edit an existing SKN file because if you follow this procedure, you will get a 1.5Mb skin file instead of few kb.

In the next phase we will add all DDS files to the UTX file to create the custom skin.

2 thoughts on “Custom skin on Swat 4: Phase #2

Leave a reply to Fernando Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.