Vehicle Parts will not change color

Your forum for all discussions around Modding.
blujetk
Posts: 1
Joined: Sat Oct 21, 2023 2:50 am

Vehicle Parts will not change color

Post by blujetk »

Please bear with me, I have no clue how to properly explain my issue so Im going to try my best here.

So I am editing a vehicle to make it to my liking. however I have ran into some issues along the way, most i was able to fix. however this one no matter what i do, will not fix.

So my goal is to make the Bumpers able to be colored separately than the truck (Currently gets painted w/ the truck).

I have created its own MaterialID
changed vehicle .xml for in-game
made sure it has the correct colormat
changed the bumpers MaterialID in the .13D file.
Made sure all Nodes are correct.

I have never done this before so I could be doing something wrong. i tried to google it and couldn't find a answer to my problem.
Looking for help.

Going to include some things to help figure it out.
-----------------------
<designMaterial4Configurations title="Bumper Color" price="0" useDefaultColors="false" defaultColorIndex="0" >
<designMaterial4Configuration name="Chrome" color="0.65 0.65 .75" material="2" />
<designMaterial4Configuration name="STAINLESS" color="0.65 0.65 .75" material="3" />
<designMaterial4Configuration name="WHITE SATIN" color="SHARED_WHITE2" material="27" price="0"/>
<designMaterial4Configuration name="WHITE GLOSS" color="SHARED_WHITE2" material="40" price="0"/>
<designMaterial4Configuration name="SILVER SATIN" color="SHARED_GREY2" material="27" price="0"/>
<material name="Fbumper" shaderParameter="colorMat0" />
<material name="Rbumper" shaderParameter="colorMat0" />
</designMaterial4Configurations>
-----------------------
<baseMaterial>
<material name="Cab" baseNode="0>2|0|0">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="FusionFront" baseNode="0>2|10|11|0">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="GrillMain" baseNode="0>2|10|10|0">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="ColorableAcccnets" baseNode="0>2|10|9|1">
<shaderParameter name="colorMat1" value="SHARED_GREY2" />
</material>
<material name="frontlogo" baseNode="0>2|10|2|3">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="frame" baseNode="0>2|10|8|3">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="FL" baseNode="0>2|10|8|4|0">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="RL" baseNode="0>2|10|8|4|2">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="Fbumper" baseNode="0>2|10|0|2">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
<material name="Rbumper" baseNode="0>2|10|1|1">
<shaderParameter name="colorMat0" value="SHARED_GREY2" />
</material>
</baseMaterial>


--------------------------
I3D File
--------------------------



<Material name="limitedalumibumper" materialId="115" diffuseColor="0.121569 0 0 1" customShaderId="7" customShaderVariation="colorMask" shadingRate="2x2">
<Normalmap fileId="5"/>
<Glossmap fileId="6"/>
<CustomParameter name="colorMat0" value="0.45 0 0 33"/>
</Material>


--------------------------
<TransformGroup name="Front Bumper" translation="0 0.0105425 0" visibility="false" nodeId="698">
<Shape shapeId="130" name="fog glass" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="699" materialIds="35" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="131" name="fog lights" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="700" materialIds="53" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="132" name="front bumper" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="701" materialIds="115" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="133" name="fog house" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="702" materialIds="50" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="134" name="bumper valance stock" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="703" materialIds="55" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="135" name="front bumper plastic" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="704" materialIds="55" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="136" name="front bumper drings" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="705" materialIds="50" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="137" name="front bumper plastic accents" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="706" materialIds="55" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="138" name="fog bulbs" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="707" materialIds="35" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="134" name="CMbumper valance stock" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="708" materialIds="47" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="135" name="CMfront bumper plastic" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="709" materialIds="47" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="137" name="CMfront bumper plastic accents" translation="-0.0338597 -0.57182 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="710" materialIds="47" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="136" name="midnightfront bumper drings" translation="-0.0338597 -0.57182 0.086" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="711" materialIds="61" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
<TransformGroup name="Rear Bumper" visibility="false" nodeId="712">
<Shape shapeId="139" name="Hitch reciver" translation="-0.0338597 -0.561278 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="713" materialIds="48" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="140" name="rear bumper" translation="-0.0338597 -0.561278 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="714" materialIds="115" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="141" name="rearbumper plastics" translation="-0.0338597 -0.561278 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="715" materialIds="55" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="142" name="tag glass" translation="-0.0338597 -0.561278 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="716" materialIds="35" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="143" name="tag lights" translation="-0.0338597 -0.561278 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" nodeId="717" materialIds="53" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="141" name="CMrearbumper plastics" translation="-0.0338597 -0.561278 0.0859373" rotation="6.83019e-06 -0 0" scale="0.0108 0.0108 0.0108" visibility="false" nodeId="718" materialIds="47" castsShadows="true" receiveShadows="true"/>
</TransformGroup>