Page 1 of 1

The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:10 am
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

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:13 am
by Oleg
bump could be using uv#3 or even uv#4.

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:30 am
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?

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:40 am
by Mmeister
Image
Separate to UV#3

Image
Copying coordinates from UV#1 - looks correct, but in game paintjob does not work.

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:44 am
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?

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:49 am
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

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 7:53 am
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"

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 8:00 am
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

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 8:02 am
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!!

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 8:04 am
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.

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 8:17 am
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

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 8:21 am
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.

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 8:27 am
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

Re: The paintjob is not displaying properly in game

Posted: Tue May 31, 2022 1:34 pm
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

Re: The paintjob is not displaying properly in game

Posted: Sat Sep 17, 2022 11:26 pm
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.

Re: The paintjob is not displaying properly in game

Posted: Sun Sep 18, 2022 12:09 am
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.

Re: The paintjob is not displaying properly in game

Posted: Fri Jan 06, 2023 10:55 pm
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

Re: The paintjob is not displaying properly in game

Posted: Fri Sep 29, 2023 7:08 am
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?

Re: The paintjob is not displaying properly in game

Posted: Fri Sep 29, 2023 8:11 am
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).

Re: The paintjob is not displaying properly in game

Posted: Fri Sep 29, 2023 8:56 pm
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.

Re: The paintjob is not displaying properly in game

Posted: Fri Sep 29, 2023 11:33 pm
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.

Re: The paintjob is not displaying properly in game

Posted: Sat Sep 30, 2023 1:36 am
by Mmeister
Yessir. I re-downloaded and updated.