The paintjob is not displaying properly in game

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderator: Oleg

Post Reply
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

The paintjob is not displaying properly in game

Post by Mmeister »

Hi,

I have a problem with this particular model of Volvo FH 2012 where the paintjob in game does not work properly. It seems misplaced but the mapping of surfaces seems to be in correct place. I have no luck getting it work.
-I've tried change ''clamp'' to ''wrap'' on both DETAIL1 and SPECMAP - set by default UV#1
-I've tried Bumpmap on UV#2 (default UV#1)

Any help would be appreciated. Thank you.

Here are screenshots of my settings.

Image
Image
Image
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

bump could be using uv#3 or even uv#4.
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Just tried both options. Makes no change :/

To be more precise. When I change to UV#3, I can see change in model - then I copy from UV#1 and its fixed in modeler. But the game still wont read it properly...

Any other options I may be looking at?
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Image
Separate to UV#3

Image
Copying coordinates from UV#1 - looks correct, but in game paintjob does not work.
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

in most of cases, you should not copy uv coordinates on a model (as you are likely to loose uv mapping on a channel, that you are unaware the use of).

So, if some texture looks properly on a model with UV#1, then you should assign UV#1 for this texture in options page. E.g. BUMPMAP "Use mapping : Manual UV#1" or something like this.

there were not screenshots on what is get messed in game - is it bump messed? or paint/skin mapping is wrong?
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

It looks like this. The part around lights should be red/white stripes and the rear big cover should be different as well.
Image

This is how its supposed to look.
Image
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

Oleg wrote: Tue May 31, 2022 7:44 am is it bump messed? or paint/skin mapping is wrong?
if the skin mapping is wrong, then change DETAIL2 texture slot settings to "Manual UV#3"
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

The paint/skin mapping is wrong.

I tried with DETAIL2 change to UV#3 but nothing changed. DETAIL2 has no texture, does it matter somehow?
Also i left BUMP now at UV#1, should i set that to UV#3 as well?

Image
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Mmeister wrote: Tue May 31, 2022 8:00 am The paint/skin mapping is wrong.

I tried with DETAIL2 change to UV#3 but nothing changed. DETAIL2 has no texture, does it matter somehow?
Also i left BUMP now at UV#1, should i set that to UV#3 as well?
Just tried
The answer is YES!!

Thank you Oleg!!
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

what is your SCSSoftPrism3D.zmf file version as shown in Settings->Plugins->Manager?
I remind this issue was fixed in recent updates already.

does changing BUMP to UV#3 made this work? actually it should not.
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Yeah BUMP to UV#3 + DETAIL2 to UV#3 works.

Only DETAIL2 to UV#3 does not work. Tried again to be sure.

This Volvo FH 2012 model seems built different from other trucks I've edited so far.

After BUMP set to UV#3 it looks wrong in modeler but ok in game?
Image

As original at least in configurator, will try drive truck.
Image


This is the version:
Image
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

is this an original game model? what is model file name/location? I'll take a look what's so special with it.
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

It is original SCS model. 8x4 chassis I've extended to 10x.

-> DEF\def\vehicle\truck\volvo.fh16_2012\chassis\8x4.sii
-> BASE\vehicle\truck\volvo_fh16_2012\chassis\chs_8x4.pmd
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

The r_fender_top & r_fender folder under accessories I've found the paint version of fender has a problem with at least 2 skins: Golden edge(barely noticeable inside fender) and Special Transport(on image below).

DETAIL2 set from UV#1 to UV#3 crashes the game before loading into main menu. If also BUMP is set to UV#3 then game loads but then mapping is wrong for all skins.

Image
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Hi Oleg, any solutions here?

If I did something incredibly stupid to get this result I don't mind being told so. I'm still learning the software and game modding.
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

what are correct channels for every texture on this model? set them in ZModeler to see the effect. Given the correct setup, I could be able to specify what steps should be done to export it properly.

Note, the game can assign different UV channels for different texture slots of the same material on one object and another. ZModeler can't do this. For example, one part can use UV#1 for main texture and bump-map, and another part can use UV#3 for bump-map on the same material. Game assigns UV channels on per-object level. In ZModeler UV channels are assigned on material itself.
Thus, changing material settings could "fix" one object and "corrupt" another object on the same material.
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Just for the record I've found the solution here. Its in the def files of the paintjob. What needs to be done is to add the new part on the list of the paintjob parts.

Image

Image
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Hi Oleg, long time no see.

I'm tryin to upload Volvo again and everything works but the skin on the chassis (tower behind the cab and front bumper). U changed something back then if i remember when I showed u this case? Well thing is when I export now, no matter what I do it doesn't work in the game.

The Bump is now set to UV#1 -> displayed correctly in game, but the Detail2 is now messed up no matter what UV is set. UV#3 actually crashes the game.

Any possible solutions to the problem?
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

in most of cases, UV#3 for DETAIL2 texture slot is a correct setup. However, any geometry that uses this material must be exported from ZModeler with this setup. You can not export one upgrade part with DETAIL2 set to UV#2 and then export another upgrade part with DETAIL2 set to UV#3 and make both parts use the same material file. The setup with UV#3 requires geometry to have UV#3 configured (an exporter should be aware that UV#3 is in use, or the model setup will be incorrect).
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

OK, i played around a lot to get it to work. As u said UV#3 is correct, but in order not to chrash i had to put in empty.dds. No idea why. Now it works.
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: The paintjob is not displaying properly in game

Post by Oleg »

Are you using the latest ZModeler version? I remind the availability of texture on DETAIL2 texture slot is already an optional thing in several latest versions.
Mmeister
Posts: 54
Joined: Mon Dec 20, 2021 9:42 am

Re: The paintjob is not displaying properly in game

Post by Mmeister »

Yessir. I re-downloaded and updated.
Post Reply