Community Forum

15 to 17 Conversion

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created08.06.2017 02:49


Jason Mcgee (Unknown) 08.06.2017 02:49
Basically these are the only errors in my log. This truck was a 15 to 17 conversion. I worked out every other error/warning but cannot seem to get this fixed.

With the errors as is the truck locks up game once you dump the bed with material in it, other than that runs and works fine.

I have managed to get these errors gone and be able to dump the bed but other errors come up so I went back to the beginning because I changed indexes around and don't believe that was the correct way of doing it. So here is the errors after the 15 to 17 conversion.

The error running lua script continues and continues until the end with nothing different in between.

Any help will be greatly appreciated.

Thank you


My Games/FarmingSimulator2017/mods/FTmodding_Caterpillar_773G_converted/773.i3d (243.46) ms

Error: failed to load i3d file 'data/vehicles/particleAnimations/shared/unloadingBack.i3d'
Error: failed to load i3d file 'data/vehicles/particleAnimations/shared/unloadingBack.i3d'

Error: Running LUA method 'update'.
dataS/scripts/effects/ShaderPlaneEffect.lua(62) : attempt to perform arithmetic on field 'currentDelay' (a nil value)
Error: Running LUA method 'update'.
dataS/scripts/effects/ShaderPlaneEffect.lua(62) : attempt to perform arithmetic on field 'currentDelay' (a nil value)
Error: Running LUA method 'update'.
dataS/scripts/effects/ShaderPlaneEffect.lua(62) : attempt to perform arithmetic on field 'currentDelay' (a nil value)
Error: Running LUA method 'update'.

David Erickson (dle0105) 08.06.2017 05:16
My install doesn't have that directory that the game is trying to pull from. Have you checked to make sure the paths are all correct from the i3d and xml?

Emil Drefers (Unknown) 08.06.2017 06:49
Hi,

in fs15 these particle animations were placed in seperate .i3d files.
In fs17 they are located inside every vehicle (at least the shape. The proper material is assigned dynamically during runtime).
Maybe that information can help somehow ...

Try to replace the xml attributes for the particles with some from a default vehicle in fs17.

Cheers,
Emil

Jason Mcgee (Unknown) 08.06.2017 08:49
I should have stated that this is my 1st conversion and it's basically like me trying to read Chinese writing lol.

I did notice that the particle animation doesn't seem to be used in 17 and that I need to change all that. But I wasn't sure where to begin. I tried copying an xml from an in game dump trailer but it really didn't make sense to me as I was replacing those indexes with the 773 indexes and I would be using the 773 indexes multiple times it seems. Or I just don't have indexes for certain things in the 773 i3d. Hope that makes sense to you guys.

And David I did and everything seemed fine except for in the tip animation section where the effectNode is, it is 0|0|0 and 0|0|1 plus the fact it is trying to pull from a file that no longer is used I believe.

<fillUnits>
<fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="480000"/>
</fillUnits>

<massPerFillLevel value="0.00085"/>

<fillRootNode index="0>"/>

<exactFillRootNode index="0>10|1"/>

<fillAutoAimTargetNode index="0>10|2"/>

<fillMassNode index="0>"/>

<tipReferencePoints>
<tipReferencePoint index="0>12" width="3"/>
</tipReferencePoints>

<fillVolumes>
<fillVolume index="0>10|3|0"/>
</fillVolumes>

<fillVolumeHeights>
<fillVolumeHeight fillVolumeId="1">
<refNode index="0>10|4|0"/>
<refNode index="0>10|4|1"/>
<node index="0>10|5|0|0" baseScale="1 1 1" transAxis="0 1 0"/>
<node index="0>10|5|0|0" baseScale="1.5 0.1 1" scaleAxis="0 1 0"/>
</fillVolumeHeight>
</fillVolumeHeights>

<tipAnimation rootNode="0>10" speedScale="1" clip="tipAnimationBack"/>

<tipAnimations>
<tipAnimation speedScale="1" animationName="tipAnimationBack" dischargeStartTime="1.5" dischargeEndTime="15">
<tipEffect fillTypes="asphalt cement concrete cracked dirt gravel lime rock sand">
<effectNode node="0|0|0" linkNode="0>10|5|0|0" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
<effectNode node="0|0|1" linkNode="0>10|5|0|0" materialType="smoke" materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.5"/>
</tipEffect>
<fillVolumeDischargeInfo index="0>10|5|0" width="1.0" length="1.4"/>
<fillVolumeHeight index="1"/>
</tipAnimation>
</tipAnimations>

Emil Drefers (Unknown) 08.06.2017 15:04
Hi,

okay.

Here is an example for a tipEffect, taken from the "joskinDrakkar8600.xml"

<tipEffect>
<effectNode effectNode="0>5|3|1" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
<effectNode effectNode="0>5|3|2" materialType="smoke" materialTypeId="1" fadeTime="0.5"/>
</tipEffect>

I guess, you can spot the differences.

Well, you probably also need to import a mesh into your truck which serves for the effect.
You can just open a default vehicle and export the meshes which are used there.

Cheers,
Emil

Jason Mcgee (Unknown) 08.06.2017 17:41
Emil,

You are the best, worked like a charm, no more errors at all. Awesome, thank you so much. I been working on this thing for days trying to figure it out by myself...


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