Community Forum

findPolyline......what,where

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created14.01.2016 01:18


Larry Horse (Larry) 14.01.2016 01:24
I have made whole bunch of different trailers;all kinds of things I have managed to mess up,but this is new:

D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/specializations/Fillable.lua(337) : findPolyline
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(1174)
D:/code/lsim2015/build/finalbin/dataS/scripts/vehicles/Vehicle.lua(105) : loadFinished
D:/code/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(660) : load
D:/code/lsim2015/build/finalbin/dataS/scripts/BaseMission.lua(754) : loadVehicle
D:/code/lsim2015/build/finalbin/dataS/scripts/BuyVehicleEvent.lua(83) : loadVehicleAtPlace
D:/code/lsim2015/build/finalbin/dataS/scripts/network/Connection.lua(53) : run
D:/code/lsim2015/build/finalbin/dataS/scripts/gui/ShopScreen.lua(913) : sendEvent
D:/code/lsim2015/build/finalbin/dataS/scripts/gui/Gui.lua(301) : update
D:/code/lsim2015/build/finalbin/dataS/scripts/main.lua(1436) : update
Warning (LUA): Unknown entity id 0 in method name: findPolyline.

I have looked through XML file like 20 times.What I'm missing....?

Emil Drefers (Unknown) 14.01.2016 08:03
Hi,

a polyline is used to deform a fillVolume.

So, in the vehicle.xml file of your trailer you have something like:

<deformNode index="0>6|2|9|0" />

This entry points to a transformgroup in the i3d file of your trailer.
Please compare the position of that transformgroup to the position of vertices in the fillVolume.
You should notice that each "deform node i s placed exactly above a vertex on top of the fillVolume.

Finally, you could have entered a wrong index path (path is pointing to an object which does not exist).
But the error states that no fillVolume exists.
It seems like the fillVolume could not be created.

Either you have no fillVolume in your trailer or the shape for the fillVolume is too complex (try to make the shape simpler).

Cheers,
Emil



Larry Horse (Larry) 14.01.2016 18:48
For some reason the fillShape was unrecognizable in i3d model,so I had to make another one and that did it. Thanx a lot! Without your help I'd have to try pretty much everything before I would stumble upon that.

Next time I try to mess up something harder so I'll actually have to think about it ;)


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