Wikia

Euro Truck Simulator 2 Wiki

Creating a Skin

Comments49
85pages on
this wiki

Creating a Skin

First thing's first, you're going to need a couple of programs. The texture files themselves come in .DDS format, so you're going to need a capable editor. I recommend Gimp (it's free) + a DDS plugin(if you're on windows, grab the second attatchment, it's a .exe installer). However Photoshop will work as well. You'll need a .tobj editor , to use the one i've linked, simply extract the .zip into an empty folder. You're also going to need 7 zip or WinRAR, if you don't already have either one of them.

Creating the Proper Folders

Next, you're going to create 3 sets of folders, each with folders of their own inside. I'll link the path, and you simply create the folders inside of each other in that order.

The first set is as follows:

vehicle/truck/upgrade/paintjob

Once we create a skin, we will be putting it inside the paintjob folder that we just created. We will also be putting our first .tobj here.

Second set is:

def/vehicle/truck/

This is where the .sii file goes. It's a text file, think of it as a config file for your skin.

The final set is:

material/ui/accessory

This is where we will put the skin icon (the image that shows up on the sprayshop screen, above the price of the paint job), you will also be putting your .mat file and second .tobj file here.

You should now have 3 folders, vehicle, def, and material. Each folder should be set up, as listed above (material should contain ui, which should contain accessory, for example).

 

 

Creating the Skin

Now that we have the folders set up, we can begin creating our skin. You will need these  templates. If it's not obvious from here, simply select the template belonging to the truck you want to skin. Take the template you want to edit, and open it in a .DDS capable editor (such as Gimp or Photoshop, as discussed earlier).

Once you're finished editing the template, export it as a .DDS named paintjob_013 (In Gimp, File>Export>paintjob_013.dds). Now move the paintjob_013.dds that you just saved to vehicle/truck/upgrade/paintjob (that you created earlier). 

The skin itself is now in place. Next is the .sii.

Editing the .sii

For the .sii file, I have uploaded  a template that you can use on Volvo skins. 

You can open the file with a text editor. Upon doing so, you will see the following:

SiiNunit

{

accessory_paint_job_data : style13.volvo.fh16.paint_job

{

name: "Paintjob Template"

price: 10

unlock: 0

icon: "paintjob_style13"

airbrush : true

base_color :    (0.0, 0.0, 0.0)

paint_job_mask: "/vehicle/truck/upgrade/paintjob/paintjob_013.tobj"

stock: true

}

}

Note: In the actual file, each line between the second '{' and first '}' should have 1 tab of indentation. Do not create a .sii using the above text, without giving each line a tab of indentation

Feel free to edit the name, price, or unlock level. If you would like to use this .sii file on a truck other than a volvo, please locate the [accessory_paint_job_data : ] line, and replace the [style13.volvo.fh16.paint_job] with the following, depending on the truck you'd like to use:

DAF

style13.daf.xf.paint_job

IVECO

style13.iveco.stralis.paint_job

style13.man.tgx.paint_job

MERCEDES

style13.mercedes.actros.paint_job

RENAULT MAGNUM

style13.renault.magnum.paint_job

RENAULT PREIMUM

style13.renault.premium.paint_job

SCANIA R

SCANIA STREAMLINE

VOLVO FH

style13.scania.r.paint_job

style13.scania.streamline.paint_job

UNKNOWN

When finished, open your previously created [def/vehicle/truck/] folder, but don't put your .sii in it yet. Instead, create another folder inside of [truck]. The name you want to give that folder is dependant on the brand of the truck you're editing, here is a table showing you what to name it based on the brand:

Brand

Folder Name

DAF

daf.xf

IVECO

iveco.stralis

MAN

man.tgx

MERCEDES

mercedes.actros

RENAULT MAGNUM

renault.magnum

RENAULT PREIMUM

renault.premium

SCANIA R

SCANIA STREAMLINE

scania.r

scania.streamline

VOLVO FH16

VOLVO FH

volvo.fh16

UNKNOWN

Since I'm editing a Volvo, my new folder path is [def/vehicle/truck/volvo.fh16]. Now open the folder you just created, and create a new folder, titled paint_job (reguardless of which truck you're editing). My final folder path is [def/vehicle/truck/volvo.fh16/paint_job]. Now simply drag your .sii file (the one you just finished editing, titledstyle13.sii) into your newly created paint_job folder.

That's it for the .sii. The next section is for a custom icon, if that doesn't interest you, feel free to skip the next section.

Creating an Icon

To make a custom icon, simply open a DDS capable image editor, create a new image that is around 290x70, then export it as paintjob_style13.dds when finished designing it.

After that, simply move your paintjob_style13.dds file to the accessory folder in material/ui/accessory

Editing the .tobjs

In order to edit the .tobj files, you'll need the program linked in the beginning of the article. You will also need these two templates of .tobj files. There should be two templates, one named paintjob_013.tobj and one named paintjob_style13.tobj. Extract those two templates to a temporary folder, you're about to edit them.

To use the editor, first run the .exe.

Then go to File > Open

You should first select the first template, paintjob_013.tobj

Then, in the box titled "Enter the path and file name" enter the path of the .DDS skin file that we made in an earlier  section. Your folder path would be [vehicle\truck\upgrade\paintjob\paintjob_013.dds]

From here, simply go to FIle > Save as, and save as paintjob_013.tobj, in the same folder as your skin, paintjob_013.dds (vehicle\truck\upgrade\paintjob)

This is the .tobj file for your skin itself.

You should now go to File > Open once more, and select your second template, paintjob_style13.tobj.

This time, in the box titled "Enter the path and file name", you should enter the path of the Icon DDS (that we made in the previous section). Your folder path this time would be [material\ui\accessory\paintjob_style13.dds]. Once you have entered your folder path, go to File > Save as, and save it as paintjob_style13.tobj, in the same folder as your paintjob_style13.dds (material\ui\accessory).

Your Files should look like this:

Pic1

Almost done! This step is very simple, just download this template (last template, I swear. If I didn't give you all of these templates, you'd need to extract the game files yourself, which isn't very fun). The file should be titled paintjob_style13 and it should be a .mat file.

You can open this file with a text editor. If you're going to keep everything as 'style13', then you can simply drop this .mat file into your [material\ui\accessory]. However, if you're going to be renaming it to something else, you'll need to open the file, locate the line [texture : "paintjob_style13.tobj"], and replace the '13' with whatever alternate name that you gave your second .tobj file.

Compressing to .SCS To review before you complete the final step, your folders should look like this:

Pic2

Both of your .DDS files should be in place, your .sii file should be in place and configured, both of your .tobj files should be set up, in place, and linked to your .DDS files (this is what we did during the .tobj section), and your .mat file should be in place in properly configured.

You are now ready to compress your three folders (vehicle, def, and material) into a .scs file. Select all three folders, right click on them, find the '7 zip' tab, then hit 'add to archive'. It will then bring up a prompt, look for a drop down box that says 'archive format' (it should be directly below the naming box). Click it, and make sure to select 'zip', if it isn't already selected. For compression level, select 'store'. You can then name it whatever you want, as long as it ends with [.scs] (for example, test.scs). When done naming it, and the archive format is set to zip, press enter.

You will now have a [.scs] file containing your skin, your .sii file, and your icon (if applicable). From here, just drop your .scs into your [Documents\Euro Truck Simulator 2\mod] directory, and it should work in game.


Important note: The number '13' can be replaced by any name you'd like to give it, besides numbers 1-12 (1-12 would replace the original game skins) in all above instances, to allow you and others to make more than one skin. An example of this would be renaming the instaces of '13' to 'gazelle', then changing the name of the skin .DDS, .tobj file, .sii file + contents, and the Icon .DDS file accordingly. The number 13 was used for demonstrational purposes, and any name can take it's place.

Important note #2: Do NOT use capital letters to name any of your files, it will cause crashing / problems all around.

Happy Skinning!

Around Wikia's network

Random Wiki