TruckSim Map Bilder Show

hier könnte auch dein Bild stehen ...

Creating a Skin

  • Howto Creating a Skin

    Table Of Contents

    Here is a copy of Euro Truck Simulator 2 Wiki: Creating a Skin

    At First

    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, if you don't already have it.

    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:

    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:

    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:

    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 being 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> Now move the 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 uploadeda template that you can use on Volvo skins.
    You can open the file with a text editor. Apon doing so, you will see the following:

    Source Code

    1. SiiNunit
    2. {
    3. accessory_paint_job_data :
    4. {
    5. name: "Paintjob Template"
    6. price: 10
    7. unlock: 0
    8. icon: "paintjob_style13"
    9. airbrush : true
    10. base_color : (0.0, 0.0, 0.0)
    11. paint_job_mask: "/vehicle/truck/upgrade/paintjob/paintjob_013.tobj"
    12. stock: true
    13. }
    14. }

    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 [] with the following, depending on the truck you'd like to use:

    [*]DAF [*]style13.daf.xf.paint_job
    [*]IVECO [*]
    [*]MAN [*]
    [*]MERCEDES [*]style13.mercedes.actros.paint_job
    [*]RENAULT MAGNUM [*]style13.renault.magnum.paint_job
    [*]RENAULT PREIMUM [*]style13.renault.premium.paint_job
    [*]SCANIA [*]style13.scania.r.paint_job

    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:

    [table='Brand, Folder Name']
    [*]DAF [*]daf.xf
    [*]IVECO [*]iveco.stralis
    [*]MAN [*]man.tgx
    [*]MERCEDES [*]mercedes.actros
    [*]RENAULT MAGNUM [*]renault.magnum
    [*]RENAULT PREMIUM [*]renault.premium
    [*]SCANIA [*]scania.r
    [*]VOLVO [*]volvo.fh16

    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, titled style13.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.

    Editing the .tobjs

    In order to edit the .tobj files, you'll need the program linked in the begining of the article. You will also need thesetwo 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\]

    From here, simply go to FIle > Save as, and save as paintjob_013.tobj, in the same folder as your skin, (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\]. 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 (material\ui\accessory).

    Your Files should look like this:

    Source Code

    1. \vehicle\truck\upgrade\paintjob
    3. paintjob_013.tobj

    Source Code

    1. \material\ui\accessory
    3. paintjob_style13.tobj

    Almost done! This step is very simple, just download thistemplate (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:

    Source Code

    1. \vehicle\truck\upgrade\paintjob
    3. paintjob_013.tobj

    Source Code

    1. \def\vehicle\truck\volvo.fh16\paint_job
    2. style13.sii

    Source Code

    1. \material\ui\accessory
    3. paintjob_style13.tobj

    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.

    7,062 times viewed