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.

Wednesday, August 12, 2015

New ETS2 Studio public beta available (v0.6.2.5)

My fellow geeks! Here's a new chew toy for us all to destroy... The one and only - ETS2 Studio 0.6.2.5 !!!

New mod manifest editor

Trailer tool with new trailers

ETS2 Studio version info

New trailer template editor


This one is named "Majestic R.I.P." to honor the passing of the last imaginary brand from this world... or, better yet - ETS2 world.

There's a lot of "under the hood" changes in this version. Most of the things you won't be able to see...
But, we do have a couple of tasty treats for you as well. We're happy to announce that Matdom1988 joined our small team, and together with him, we have constructed a powerful new trailer template system. He also prepared a bunch of new trailers for you to enjoy! Read on, and have a go. We'll be grateful for all your bug reports.

What's new in this one?


General:


  • New tool: Mod manifest editor
  • Improved image loading to reduce errors due to locked files


Truck database:


  • Added a new truck: Mercedes Actros (2014)
  • Renamed old Majestic into Mercedes
  • Some preview images updated


Trailer tool:


  • Completely re-written: Now supports trailer templates
  • Trailers properly supporting LODs
  • New double-sided trailers by Matdom1988
  • Additional trailers (SCS, Flemming V) prepared by Matdom1988


Cargo editor:


  • New companies from Scandinavia DLC
  • Company groups


... and a lot more (probably)  8-)

Public beta is available to registered users of our forums!