Pages

Saturday, August 15, 2015

Nuts and bolts of the trailer tool templates

Adding a trailer to ETS2 Studio is not easy at all. This feature is actually intended for experienced modders who know how trailers are created and who know their way around Blender. For the moment, trailer templates are compatible with 50keda's Blender2SCS plugin. In the future, we'll test how things work with SCS Software's Blender Tools as well.

If you take a look at the folder structure of the application, you'll see that we have a couple of additional folders:

data\trailers\default
data\trailers\templates
data\trailers\includes\traffic
data\trailers\includes\trailer

Default folder is meant to hold trailer templates that we provide with the application. Templates folder is meant to hold templates that users add to the application. Includes folder holds the files that are used to include the trailers and traffic (AI) trailers to the game.

If you take a look at the structure of a template, you'll notice that it's now structured like the exported trailer mod would be structured. It has the same file and folder structure, with the exception of some files and folders containing variables in their names.

Variables like:

{{InternalName}}
{{Mass}}


Application replaces these placeholders with proper values when exporting mod.
Also, the same variables are found in the sii files that are now a part of the template. Before, the application was creating these files at export, but now it just takes them from the template. This way, everyone can tune their templates however they wish.

One of the most important elements of the template is the Search String. This is the part of the internal paths in PMD files, TOBJ files (...) that needs to be replaced with the new trailer Internal Name. Usually, the Search String matches the folder name where you originally exported the trailer with Blender. If unsure, you can always open some of the MAT files with a text editor and check the folder name in them.

One of the material files in a trailer template mod has a line like this:

texture[0] : "/vehicle/trailer_eu/coolln/textures/cool_liner.tobj"


Notice the coolln in the path. That is the Search String.

Of course, all PMD files should be exported from blender to the same folder, together with all other necessary files (materials, textures, etc...).

I think that's basically it. Take a look, try it out, and let me know what you think. :)
And, of course - if you need more info - just ask.

9 comments:

  1. When is the full version coming out?

    ReplyDelete
  2. Hi Friend,
    I am Dhilip, I am using 0.7.0.1 version of Studio Editor. I want to know how to add new trailer template from other modders in editor and to make new trailer skins.

    ReplyDelete
  3. is there a you tube video on how to do this?

    ReplyDelete

  4. Excellent article, I liked your solution. And as the exchange of useful information obratit want your attention to this item, it is very interesting for its functionality and can be useful for you data room due diligence !

    ReplyDelete
  5. The above guide isn't as easy as I thought. I think I also need tutorial video for adding a trailer to ETS2 Studio. In the hirewriters.com case isn't unique because one of the most important elements of the template is the Search String. Maybe you can provide some additional materials?

    ReplyDelete
  6. Awesome review, I am a major devotee to remarking on web journals to educate the web journal scholars realize that they've added something beneficial to the internet!..  4x4 postcard printing

    ReplyDelete
  7. We provide m&a software solutions for your business and the time to save your money and same your time. The software are very good results.

    ReplyDelete
  8. Our best in class practice is focused on giving individualized consideration in making lovely grins and solid mouths.To read more about please visit: Reston Dentistry

    ReplyDelete
  9. Hi New modder here and just wan to thank you for excellent site.
    I am sitting with this problem of no texture file when I need to skin a tanker, it's just red all over. What can I do to ensure my files is seen.

    ReplyDelete