Rear Work Lights ? ? ?

Your forum for all discussions around Modding.
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Rear Work Lights ? ? ?

Post by HC1Gunner »

I thought this would be fairly straight forward, but my edit did not work, any suggestions of fixes, would be apprciated.

Running the mod (FS22_GM_Bison_General), and I wanted to add some rear work lights to it. I open the Mack Superliner from the base game, and did an export with Selection with files of reverseLights, xml line... <reverseLight node="reverseLightHigh1" />
GE index path:
0>0|2|4
<i3dMapping id="reverseLightHigh1" node="0>0|2|4|0" />

Mack:
<realLights>
<low>
<light node="frontLightLow" lightTypes="0" excludedLightTypes="3" />
<light node="highBeamLow" lightTypes="3" />
</low>
<high>
<light node="frontLightHigh" lightTypes="0" excludedLightTypes="3" />
<light node="licensePlateLightHigh" lightTypes="0"/>
<light node="backLightsHigh1" lightTypes="0"/>
<light node="highBeamHigh" lightTypes="3"/>
<brakeLight node="backLightsHigh1" />
<turnLightLeft node="turnLightLeftFront" />
<turnLightLeft node="turnLightLeftBack" />
<turnLightRight node="turnLightRightFront" />
<turnLightRight node="turnLightRightBack" />
<reverseLight node="reverseLightHigh1" />
</high>
</realLights>

<i3dMapping id="reverseLightHigh1" node="0>0|2|4|0" />
------------------------------------------------------------------------------------------------------------------------------------------

The GM Bison mod has the Chevy and the GMC.
In the GMC xml I added the reverseLight and id3 lines.

<realLights>
<low>
<light node="frontLightHigh" lightTypes="1" />
<light node="highBeamHigh" lightTypes="2"/>
<light node="backLightsHigh1" lightTypes="0"/>
<light node="cablight1" lightTypes="0"/>
<light node="fog_real" lightTypes="0"/>
<brakeLight node="backLightsHigh1"/>
<turnLightLeft node="turnLightLeftFront"/>
<turnLightLeft node="turnLightLeftBack"/>
<turnLightRight node="turnLightRightFront"/>
<turnLightRight node="turnLightRightBack"/>
<reverseLight node="reverseLight"/>
</low>
<high>
<light node="frontLightHigh" lightTypes="1" />
<light node="highBeamHigh" lightTypes="2"/>
<light node="backLightsHigh1" lightTypes="0"/>
<light node="cablight1" lightTypes="0"/>
<light node="fog_real" lightTypes="0"/>
<brakeLight node="backLightsHigh1"/>
<turnLightLeft node="turnLightLeftFront"/>
<turnLightLeft node="turnLightLeftBack"/>
<turnLightRight node="turnLightRightFront"/>
<turnLightRight node="turnLightRightBack"/>
<reverseLight node="reverseLight"/>
<reverseLight node="reverseLightHigh1" />
</high>
</realLights>

<i3dMapping id="reverseLightHigh1" node="0>0|2|2|0|4" />
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Rear Work Lights ? ? ?

Post by Dogface »

I followed your description, and it works just fine.
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Re: Rear Work Lights ? ? ?

Post by HC1Gunner »

In game the truck has no rear lights, it's like nothing has been added.
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Re: Rear Work Lights ? ? ?

Post by HC1Gunner »

I tried this one more time, this time I exported from the games MAN TGS 18.500. Now have rear work lights that are on all the time, with these logs errors:
646:2023-10-06 22:40 Error: Index not found: 0>0|2|2|0|4>
647:2023-10-06 22:40 Error: Index not found: 0>0|2|2|0|5>


Added these lines in under real lights, one under low lights the other under high lights. <light node="workLightBackLow" lightTypes="1" /> <light node="workLightBackHigh1" lightTypes="1"/>


<realLights>
<low>
<light node="frontLightHigh" lightTypes="1" />
<light node="workLightBackLow" lightTypes="1" />
<light node="highBeamHigh" lightTypes="2"/>
<light node="backLightsHigh1" lightTypes="0"/>
<light node="cablight1" lightTypes="0"/>
<light node="fog_real" lightTypes="0"/>
<brakeLight node="backLightsHigh1"/>
<turnLightLeft node="turnLightLeftFront"/>
<turnLightLeft node="turnLightLeftBack"/>
<turnLightRight node="turnLightRightFront"/>
<turnLightRight node="turnLightRightBack"/>
<reverseLight node="reverseLight"/>
</low>
<high>
<light node="frontLightHigh" lightTypes="1" />
<light node="workLightBackHigh1" lightTypes="1"/>
<light node="highBeamHigh" lightTypes="2"/>
<light node="backLightsHigh1" lightTypes="0"/>
<light node="cablight1" lightTypes="0"/>
<light node="fog_real" lightTypes="0"/>
<brakeLight node="backLightsHigh1"/>
<turnLightLeft node="turnLightLeftFront"/>
<turnLightLeft node="turnLightLeftBack"/>
<turnLightRight node="turnLightRightFront"/>
<turnLightRight node="turnLightRightBack"/>
<reverseLight node="reverseLight"/>
</high>
</realLights>

I used the index paths supplied by GE:
<i3dMapping id="workLightBackLow" node="0>0|2|2|0|4>" />
<i3dMapping id="workLightBackHigh1" node="0>0|2|2|0|5>" />
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Rear Work Lights ? ? ?

Post by Dogface »

 
Q: Were there errors on the first attempt (Mack)?
 
HC1Gunner wrote: Sat Oct 07, 2023 2:56 am In game the truck has no rear lights, it's like nothing has been added.
I am not sure what you mean here. I got the lights to work using your xml. So, it's not the xml.
 
User avatar
HC1Gunner
Posts: 454
Joined: Tue Nov 07, 2017 4:19 am

Re: Rear Work Lights ? ? ?

Post by HC1Gunner »

Weird, which truck did you use the Mack or Man, maybe you could attach your xml for the truck.
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1090
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: Rear Work Lights ? ? ?

Post by Dogface »

I exported the reverseLights from the base game Mack Superliner.
I just duplicated your xml, I copy+pasted the <reverseLight node="reverseLight" /> line. and i3dMapped the imported light.
Oh, and I pointed the lights at the ground so I could see when they turned on. [Pro Tip]

:?: Q: Did you get any Errors on the first attempt (Mack)?
|
Post Reply