Category | Editor |
Created | 11.09.2017 02:10 |
Anthony Queen (tqueen113) | 11.09.2017 02:12 |
---|---|
Hello I am trying my hand at modding a vehicle but keep getting this error and cannot seem to figure it out Thanks in advance for any help. Warning (Script): Entity 'defaultreallight' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights dataS/scripts/vehicles/specializations/Lights.lua (160) : loadLightSetup dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (Script): Entity 'LowBeam' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights dataS/scripts/vehicles/specializations/Lights.lua (160) : loadLightSetup dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (Script): Entity 'HighBeam' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights dataS/scripts/vehicles/specializations/Lights.lua (160) : loadLightSetup dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (Script): Entity 'defaultreallight' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights dataS/scripts/vehicles/specializations/Lights.lua (161) : loadLightSetup dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (Script): Entity 'LowBeam' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights dataS/scripts/vehicles/specializations/Lights.lua (161) : loadLightSetup dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (Script): Entity 'HighBeam' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (88) : loadLights dataS/scripts/vehicles/specializations/Lights.lua (161) : loadLightSetup dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction Warning (Script): Entity 'breakreallight' has invalid type in method 'getLightColor'. LUA call stack: dataS/scripts/vehicles/specializations/Lights.lua (64) : getLightColor dataS/scripts/vehicles/specializations/Lights.lua (187) : loadLights dataS/scripts/vehicles/Vehicle.lua (627) dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction |
Emil Drefers (Unknown) | 11.09.2017 08:34 |
---|---|
Hi, please double check carefully the 'index' attributes in the light elements in your vehicle.xml file. It looks like there's an index given for the 'realLight' attribute, which points to a normal mesh, but it should point to a light source. Cheers, Emil |
Anthony Queen (tqueen113) | 11.09.2017 13:21 |
---|---|
Okay that was the problem thank you so much! |
Benoit Caron (deadawnz) | 11.08.2019 20:05 |
---|---|
Im not quite sure of understanding the error if someone could clarify a little bit more, would be really appreciate. Im not really experienced in modding since it's been 1 month a started that. Cheers guys |
Note: Log in to post. Create a new account here.