[Template] Volvo FH16 2012 Light box template (V1.0)

Post Reply
User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

[Template] Volvo FH16 2012 Light box template (V1.0)

#1 Post by Cadde » 14 Dec 2013 23:13

Volvo FH16 2012 Waberers light box template V1.0
Last update: 2013-12-15 @ 00:15
Compatible with: ETS 2 V1.8.2.5+

This is a template that can be used to create stand alone light boxes for the Volvo FH16 2012.
Each mod file/template has room for 4 different light boxes. You don't have to create 4 variants, simply remove the .sii files that define the other variants you don't use.

I will not spend too much effort at explaining everything. If you have a specific question, ask it in the thread and i will answer it as soon as i can.


How to use.

Download the source file below, in it you will find a complete folder structure with all the files you need to make your own stand alone light box(es).
All files have been named "decal_template" followed by the variant it refers to. I would suggest changing "template" to your own identification.
The identification can only be lowercase letters (a-z), underscore (_) and numbers (0-9) and all internal names have a limitation of 12 characters in total length. "decal_template" would be too long (14 characters) so as you can see in the .sii files, i have named the internal name "decal_templa", however you can use "." (period) to split the internal name. Effects unknown on how well the game performs. I had to do this (as you can tell) for the remaining internal name. It works but i don't "like" it.

Do as you please.

All .tobj files and material files work in the same way as the truck skins do.

However you will need to hex edit the .pmd files, replacing the path to the material stored in "/material/decal/decal_template.mat". You only need to do this on ONE .pmd file, you should then copy that file (hence why there only is one in the pack) and rename it to match the other 3 .pmg files in the pack.

The material path list (yes, it's a list. It just has one path in it) is 35 characters in length including the terminating null byte for the path string. You must ensure that the path string ends with a null byte (0x00) or the game will fail to read it.
If you change the length of the path string you also have to change the size of the material paths block. You can find this size at offset 0x20 (32 decimal) and it is an unsigned integer (32 bits unsigned)

DO NOT... I REPEAT, DO NOT just use "decal_template" in your released mod or it will conflict with other equally lazy modders. Thus completely negating the point of having a stand alone mod. Then you can save yourself the time and just edit "decals.dds" in the Volvo FH16 directory.

A small note, if you are using old (non SCS/ETS 2 1.8.2+ Volvo FH 2012) mods then this may not work as the addition of a separate light box was made past ETS 2 V1.8.2+

Downloads

Current Source: Version 1.0

Other versions: Click here and go into the "Source" folder.


Changelog

Code: Select all

Version 1.0 (2013-12-15@00:15)
======================================================================
[Note] Initial release.

Licensing

Code: Select all

I (Cadde) hereby grant you full rights to do whatever you want with the files contained within this mod with reservations for limitations in SCS Software's licence.
The following files are ©SCS Software:

- All ".pmg" and ".pmd" files in "/vehicle/truck/upgrade/volvo_fh16_2012". The ".pmd" files have been modified by myself to point to a custom DDS file.

The rest of the files are very much so based on SCS Software's work.

I claim fair use on the SCS Software related files and do not claim ownership on any files.

Beyond those limitations, use it as you please.
On extended hiatus.

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#2 Post by Cadde » 14 Dec 2013 23:20

I am planning to add this as a tool in ETS 2 Studio in the future, but for now this is how it's done.

See this thread for the template in action: viewtopic.php?f=37&t=107224
On extended hiatus.

User avatar
thunderhawk
Posts: 387
Joined: 22 Dec 2012 10:16
Location: germany

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#3 Post by thunderhawk » 13 Jan 2014 14:26

Great work!
During the last days i had thought about creating a similar thing (in german) on trucksimulator24.de. - And now i've found this. - I will see.
It would be really cool (and easy for them), if people could do this in ETS2Studio in the future!

Perhaps you could add a note in the first post, that this whole thing can't work if people use mods which are based on the old FH16 12 (which dosen't have the decals-functionality). I have noticed that many people are struggling with this problematic.

Best regards,
Stefan

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#4 Post by Cadde » 14 Jan 2014 17:27

Thanks for the feedback thunderhawk, i have added your suggested note to the OP.

If you want to use this template on other sites (as per my license) be my guest. Feel free to write a guide on how to use it in full as well, i just don't have the energy to write a full guide.
On extended hiatus.

User avatar
Pauly
Posts: 209
Joined: 22 Oct 2014 08:49
Location: Halesowen,England

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#5 Post by Pauly » 30 Oct 2014 12:19

ok im thick how on earth do i hex edit something,ive downloaded your source folder and wanna put my own lightbox on,but need some help please

pete_agreatguy
Posts: 332
Joined: 27 Mar 2014 11:47
Location: UK
Contact:

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#6 Post by pete_agreatguy » 14 Jun 2019 20:44

Is this template still compatible with 1.34 and 1.35?
Please check out my mods, ty 8-) WoT Profile :)

Mods Studio 2 Developer (create mods the easy way)

Enthoo Pro TG, SS 850W Plat, Asus ROG Crossair Hero VII, AMD 3700X, 16GB GSkill 3600, EVGA GTX1080 8GB, Corsair nvme, SS 860 Evo, Win 10 Pro x64

User avatar
Cadde
Posts: 9535
Joined: 24 Apr 2013 18:08
Location: Have no fear, i am from the internets!

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#7 Post by Cadde » 15 Jun 2019 02:01

Most likely outdated but you can give it a try.
On extended hiatus.

pete_agreatguy
Posts: 332
Joined: 27 Mar 2014 11:47
Location: UK
Contact:

Re: [Template] Volvo FH16 2012 Light box template (V1.0)

#8 Post by pete_agreatguy » 29 Jul 2020 11:21

Just so others know, there is a more up-to-date version found here:

viewtopic.php?f=37&t=286718&p=1377105
Please check out my mods, ty 8-) WoT Profile :)

Mods Studio 2 Developer (create mods the easy way)

Enthoo Pro TG, SS 850W Plat, Asus ROG Crossair Hero VII, AMD 3700X, 16GB GSkill 3600, EVGA GTX1080 8GB, Corsair nvme, SS 860 Evo, Win 10 Pro x64

Post Reply

Return to “Trucks”

Who is online

Users browsing this forum: No registered users and 2 guests