Community Forum

Error: Can't load ressource

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created11.08.2019 19:14


Benoit Caron (deadawnz) 11.08.2019 19:14
Hi guys

Im new in modding and it's been about a week i'm struggling on a error.

So what im trying to do it's supposed to be quite simple. i want to export a lightbar from 1 truck and import it to another truck, for that i think im doing it right no error in Giant Editor and i change de path file of the gloss map of the lightbar and check if every file path of shader is good but im getting this error each time and the file path of the error i cant find it annywhere in GE to change it for the good one.

so here the error:

2019-08-11 12:58 C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/FORD.i3d (1207.36 ms)
2019-08-11 12:58 Error: Failed to open xml file 'C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/new_shaders/new_shaders/vehicleShader.xml'.
2019-08-11 12:58 Error: Can't load resource 'C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/new_shaders/new_shaders/detailArray_diffuse.dds'.
2019-08-11 12:58 Error: Can't load resource 'C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/new_shaders/new_shaders/default_normal.dds'.
2019-08-11 12:58 Error: Can't load resource 'C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/new_shaders/new_shaders/default_specular.dds'.

Thanks in advance
Cheers guys

Benoit Caron (deadawnz) 11.08.2019 20:20
***Update***

Fixed the Error : can't load ressource

Now im facing a warning

C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/lightbar/or2.i3d (0.34 ms)
2019-08-11 14:18 Warning (script): Entity 'orange1' has invalid type in method 'getLightColor'.
2019-08-11 14:18 LUA call stack:
2019-08-11 14:18 dataS/scripts/vehicles/specializations/Lights.lua (239) : getLightColor
2019-08-11 14:18 dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-08-11 14:18 dataS/scripts/vehicles/Vehicle.lua (615) : raiseEvent
2019-08-11 14:18 dataS/scripts/i3d/I3DManager.lua (118) : asyncCallbackFunction
2019-08-11 14:18 C:/Users/Ben_c/Documents/My Games/FarmingSimulator2019/mods/EXP19_2011_Ford_Reg_Cab/lightbar/orange.i3d (0.34 ms)
2019-08-11 14:18 Warning (script): Entity 'orange1' has invalid type in method 'getLightColor'.
2019-08-11 14:18 LUA call stack:
2019-08-11 14:18 dataS/scripts/vehicles/specializations/Lights.lua (239) : getLightColor
2019-08-11 14:18 dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-08-11 14:18 dataS/scripts/vehicles/Vehicle.lua (615) : raiseEvent
2019-08-11 14:18 dataS/scripts/i3d/I3DManager.lua (118) : asyncCallbackFunction

Benoit Caron (deadawnz) 11.08.2019 20:30


Bilbo Beutlin (BBeutlin) 11.08.2019 23:47
'getLightColor' is operated on real lights only.
Either you're using wrong light type in xml or the light setup for this node is wrong.


Note: Log in to post. Create a new account here.