Jump to content
Experiencing kernel error or random crashes on TruckersMP Island? ×
  • 0

How to change the color of trailers?


xhellcat

Question

Hello, I'm using a mod that changes all trailers to livestock trailers. The default color of the trailers is a very ugly green so I wanted to change that color to the color of my truck (simple red). I've tried forerunners "painted trailers" mods which are supposed to work on livestock trailers as well, but I can't get it to work. So I started editing my savegame, I already found out how to edit the color of my truck and edit the mass of my trailer, but what values do I have to change in order to get a red trailer? I've seen so many players with pink, red, blue, black ... livestock trailers so it should be possible somehow but I can't figure out what exactly to edit. Thanks in advance

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 4

Most of the time when editing colors you have to edit base_color: () which stores an RGB value. This means that this value has three "channels" (Red, Green and Blue).

For example, base_color: (1, 1, 1) is white, base_color: (0, 0, 0) is black. If you want a red trailer, you only need the red channel, so it's just base_color: (1, 0, 0) and so on.

Please note that SCS' values are slighly different from normal RGB values: normally, the range from 0-255 each but in ETS, they only go from 0-1 which means you have to use decimal numbers (for example, Scanias "Scorpio Red" is exactly "base_color : (0.2379, 0.0101, 0.0101)".)

 

I hope this helped and if you have more questions, you can also send me a PM :)

 

edit: to use custom colors, you also always need to have the "default" skin of the trailer (for example "def/vehicle/trailer/krone/profiliner/company_paint_job/default.sii")

Edited by Spieker
  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.