reverseLights' has invalid type

Your forum for all discussions around Modding.
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

reverseLights' has invalid type

Post by pedrochapps »

Anyone Know what in gods name is up here ? First time playing with the lights an i got this

Code: Select all

Warning (Script): Entity 'reverseLights' has invalid type in method 'getLightColor'.
LUA call stack:
  dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor
  dataS/scripts/vehicles/specializations/Lights.lua (207) : loadLights
  dataS/scripts/vehicles/Vehicle.lua (627)
  dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

Can you post the xmls of the mod please? ModDesc and the other one please
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

here is the modDesc left out the info on the vehicle.

Code: Select all

    <multiplayer supported="true"/>
		
    <specializations>
        <specialization name="crabsteer" className="crabsteer" filename="scripts/CrabSteer.lua"/>
    </specializations>
	
	
	<vehicleTypes>
        <type name="attachableFrontloader" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="attacherJoints"/>
            <specialization name="lights"/>
            <specialization name="attachable"/>
            <specialization name="cylindered"/>
            <specialization name="animatedVehicle"/>
            <specialization name="washable"/>
            <specialization name="mountable"/>
        </type>
	
            <type name="JCBFastrac4000" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="attacherJoints"/>
            <specialization name="lights"/>
            <specialization name="animatedVehicle"/>
            <specialization name="motorized"/>
            <specialization name="steerable"/>
            <specialization name="drivable"/>
            <specialization name="cylindered"/>            
            <specialization name="aiVehicle"/>
            <specialization name="bunkerSiloCompacter"/>
            <specialization name="honk"/>            
            <specialization name="washable"/>
            <specialization name="mountable"/>
            <specialization name="foldable"/>
            <specialization name="crabsteer"/>
			<specialization name="wheelRotations" />
			<specialization name="crabSteering"/>
        </type>
    </vehicleTypes>
	
    <storeItems>
        <storeItem xmlFilename="stollFrontLoaderFZ.xml"/>
        <storeItem xmlFilename="jcbFastrac4000.xml"/>
    </storeItems>
    <brands/>
	
    
</modDesc>

Do you need it all or will this bit from the lights do ?

Code: Select all

<lights>
        <low>
            <light decoration="0>6|0|0" lightTypes="0 3"/>
            <light realLight="0>6|0|1" lightTypes="0" excludedLightTypes="3"/>
            <!--FrontLights-->
            <light decoration="0>6|2|0" lightTypes="0 1"/>
            <!--BackLights-->
            <light realLight="0>6|1|0|1" decoration="0>6|1|0|0" lightTypes="1"/>
            <!--WorklightBack-->
            <light decoration="0>6|1|1|0" lightTypes="2"/>
            <!--WorklightFront-->
            <light realLight="0>6|0|2" lightTypes="3"/>
            <!--HighBeam -->
        </low>
        <high>
            <light decoration="0>6|0|0" lightTypes="0 3"/>
            <light realLight="0>6|0|3" lightTypes="0" excludedLightTypes="2 3"/>
            <!--FrontLights-->
            <light realLight="0>6|2|1" decoration="0>6|2|0" lightTypes="0 3"/>
            <!--BackLights-->
            <light realLight="0>6|1|0|2" decoration="0>6|1|0|0" lightTypes="1"/>
            <!--WorklightBack  -->
            <light realLight="0>6|1|1|1" decoration="0>6|1|1|0" lightTypes="2"/>
            <!--WorklightFront -->
            <light realLight="0>6|0|4" lightTypes="3" excludedLightTypes="2"/>
            <!--HighBeam-->
        </high>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
    </lights>
    <brakeLights>
        <brakeLight realLight="0>6|2|1" decoration="0>6|4|0"/>
    </brakeLights>
    <beaconLights>
        <beaconLight index="0>6|5|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
		<beaconLight index="0>6|5|1" speed="0.016" filename="$data/shared/beaconLights/beaconLight02.i3d"/>
    </beaconLights>
    <turnLights>
        <turnLightLeft realLight="0>6|3|0|1" decoration="0>6|3|0|0"/>
        <turnLightLeft realLight="0>6|3|0|2"/>
        <turnLightRight realLight="0>6|3|1|1" decoration="0>6|3|1|0"/>
        <turnLightRight realLight="0>6|3|1|2"/>
    </turnLights>
    <reverseLights>
        <reverseLight realLight="0>6|6" decoration="0>6|6|1"/>
    </reverseLights>	
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

Do you have the emissiveLightsShader.xml in your mod?
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

Yes i have it
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

can you post a screenshot of the reverse lights in giants editor? Upload it to here then copy the BBCode full in the forum
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

here is two one with the light sources too dunno if its of any use.

Also the lights work fine in the game

Image
Image
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

What about in the little window on the left that has all the objects and stuff, also the materials window with the light selected
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

you mean the Scenagraph?
Image
Image
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

How'd you get the custom shader window to open? I'm trying to compare it to an ingame tractor
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

click the down arrow on the right side of custom shader
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

Found it. Hmmm. It looks the same other than the fact that my shader points to a folder in the program files (x86).
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

thats prob pointing to the one from the game its self.
User avatar
Smith Modding
Posts: 2996
Joined: Sat May 14, 2016 12:42 pm
Location: Harris County, Georgia

Re: reverseLights' has invalid type

Post by Smith Modding »

Wait is that an ingame tractor?
Smith Modding Co.
Christian Based Modding
Isaiah 30:23- He will also send you rain for the seed you sow in the ground, and the food that comes from the land will be rich and plentiful. In that day your cattle will graze in broad meadows.:
Playing FS15-19 on PC
Playing too much FS19 :mrgreen:
Specs-
i5-7300HQ|NVIDIA GTX 1050ti|16GB DDR4 RAM|1TB/500GB SSD/256GB M.2|Windows 10
pedrochapps
Posts: 58
Joined: Thu Dec 11, 2014 2:52 am

Re: reverseLights' has invalid type

Post by pedrochapps »

nope. its the 4000 series
Post Reply