Page 1 of 1

[MM2] variant objects

Posted: Thu Jun 22, 2017 5:38 pm
by aaro4130
Found this out today, there is an object named "variant<NUMBER>", with number being the paintjob.

e.g. "variant0_H" would only show up with the 1st paintjob.

Note that these are breakables, so they need a dgBangerData to work properly.

Here I did a test export, with broken paintjobs.

variant1_H (paintjob 1)
Image

variant0_H (paintjob 0)
Image

Just a quick little note :P

Posted: Thu Jun 22, 2017 9:00 pm
by Franch88
That's an interesting discover, very well done. :D Due to these objects, is possible to have car parts visible only with specific paintjobs, avoiding to use transparent textures and multiple materials to make them invisible with specific paintjobs. The only fault is that they're breakables, which isn't always needed.

Many years ago, I got to read a long list of MM2 objects used for cars and dashboards, and it had a lot of unknown ones... Some have been proved, like the HUB ones, but I can't remember if there were also these VARIANT ones.

Posted: Fri Jun 23, 2017 12:14 am
by sajmon14
Great find :D

Posted: Fri Jun 30, 2017 12:23 am
by TheOne10118
Wasn't this discovered already? :?

Image

Image

Image

Car is Peugeot 407 by HQTM-Team.

Posted: Fri Jun 30, 2017 8:02 am
by aaro4130
Nope, those are just done via texture swaps, which means no reflections are possible
Image

Posted: Fri Jun 30, 2017 10:26 pm
by Franch88
Indeed, that car by HQTM-Team uses transparent textures to hide and show the needed parts in each paintjobs. I used that way for some of my conversions, too. Really, the reflections are both possible and not, it's enough integrate all the parts in the BODY object and set that via MM2 City Toolkit's File Manager tool.
The way discovered by Aaro is totally new and uses numbered objects which are visible one for each paintjob. The fault is that they're breakables, and so can't have reflections, and depending by the part, isn't always needed to have it as breakable.