Saved palettes for 2&3-color non-metallic paintjobs don't apply properly [123246]

Post Reply
User avatar
J.Random
Posts: 841
Joined: 22 Jul 2018 10:25

Saved palettes for 2&3-color non-metallic paintjobs don't apply properly [123246]

#1 Post by J.Random » 27 Jul 2020 00:10

First saved color applies properly, third color applies as second, second color gets lost and black applies as third color. For two-color palettes, first color applies properly, second gets lost and replaced with black.
User avatar
TruckerDog
SCS Software
Posts: 2722
Joined: 09 Dec 2018 23:14

Re: Saved palettes for 2&3-color non-metallic paintjobs don't apply properly

#2 Post by TruckerDog » 30 Jul 2020 12:48

Can you provide me screenshots and your game.log when this happens? Which paintjobs do it? Thanks.
I like trains. ๐Ÿš‚

...and trucks too. ๐Ÿš›
User avatar
J.Random
Posts: 841
Joined: 22 Jul 2018 10:25

Re: Saved palettes for 2&3-color non-metallic paintjobs don't apply properly

#3 Post by J.Random » 30 Jul 2020 16:15

@TruckerDog, all of them. All non-metallic, 2- or 3-color paintjobs. Trucks and trailers. It's not a model or paintjob issue, it's a code issue. Maybe Linux/OpenGL-specific, probably related to how locked or absent colors are handled in the code.
Video: https://mega.nz/file/Cn43jK5a#DKwu_9WnQ ... FV7naAykPQ
(yes, the same happens in dealership/service interface)
2020-07-30_19-01-21.game.log.txt
(79.27 KiB) Downloaded 11 times
User avatar
TruckerDog
SCS Software
Posts: 2722
Joined: 09 Dec 2018 23:14

Re: Saved palettes for 2&3-color non-metallic paintjobs don't apply properly

#4 Post by TruckerDog » 30 Jul 2020 16:33

I see the issue now. It seems to happen when you replace the preset you have already saved.

In case of the Mack Anthem, you have 3 colors. Then you saved those 3 colors on a slot which had a preset with 2 colors only. Then when you apply those 3 colors, it seems to save only the 2 first colors. Interesting! Definitely a bug here.

Thanks for your help! :)

QA id: 123246
I like trains. ๐Ÿš‚

...and trucks too. ๐Ÿš›
User avatar
J.Random
Posts: 841
Joined: 22 Jul 2018 10:25

Re: Saved palettes for 2&3-color non-metallic paintjobs don't apply properly

#5 Post by J.Random » 30 Jul 2020 16:40

TruckerDog wrote: โ†‘30 Jul 2020 16:33 I see the issue now. It seems to happen when you replace the preset you have already saved.
No. it happens regardless. Saving to an empty slot and immediately applying the preset triggers it just the same. Saving over whatever was there previously and applying it triggers it. Just opening the interface and trying to apply previously saved palette triggers it. Note how for a couple of paintjobs, the first color gets replaced, not the second/third one (I only noticed it when recorded it for all trucks). That's a list/arrays handling issue. I don't remember what you have in paintjob defs, base/r/g/b or a/r/g/b, but most probably the bug triggers when a component is missing in the paintjob def because the code expects to translate the saved list into colours in specific order.
User avatar
TruckerDog
SCS Software
Posts: 2722
Joined: 09 Dec 2018 23:14

Re: Saved palettes for 2&3-color non-metallic paintjobs don't apply properly [123246]

#6 Post by TruckerDog » 30 Jul 2020 16:58

Thanks for the additional information! I have added it to the report.
I like trains. ๐Ÿš‚

...and trucks too. ๐Ÿš›
Post Reply

Return to โ€œBugs 1.38โ€

Who is online

Users browsing this forum: No registered users and 5 guests