Courseplay / courseplay

Courseplay for Farming Simulator 2019
http://courseplay.github.io/courseplay
GNU General Public License v3.0
953 stars 528 forks source link

Incorrect Working Width Detected #5074

Closed aletheist closed 4 years ago

aletheist commented 4 years ago

I'm using the Cressoni CRX mod with the Cressoni CRX 7.20, which has a 7.2m working width. However, Coursplay detects its working width as 6.6m.

Are there any hints I can give Courseplay to help it get the right working width so I don't have to set it manually every time I use the implement?

Here are snippets from the mod's XML file, which all seem to point towards 7.2m.

<vehicle type="cutter">

<storeData>

<name>Cressoni CRX 7.20</name>

<specs>

<workingWidth>7.2</workingWidth>

</specs>
<base>

<typeDesc>$l10n_typeDesc_cutter</typeDesc>

<filename>720.i3d</filename>

<size length="3" width="7.2"/>

<speedLimit value="10"/>
Tensuko commented 4 years ago

Does it detect correctly when unfolded ? Also how does the screen of the coursgenerator look like, when you want to create a course, it can happen that the correct width is detected, but not automatically set in the width for the course. The CP Work Width should come from left and right node of the tool. Not 100% sure but I think debugchannel 12 shows the 2 nodes.

aletheist commented 4 years ago

It does not detect correctly when unfolded, in the Courseplay settings HUD, or in the course generator dialog.

I do not know how to show debug info in the game. Screenshot of autodetection attached.

fsScreen_2020_03_18_08_10_42

fsScreen_2020_03_18_08_09_23

fsScreen_2020_03_18_08_11_27

aletheist commented 4 years ago

What nodes are you calling left and right? There's a lot of nodes specified in the XML/i3d with lefts and rights or starts and widths.

aletheist commented 4 years ago

Found the issue. The mod's *.i3d files have a bug. All three models (6m, 6.6m, and 7.2m) are set with the same AI lefts and rights (6.6m).

I have adjusted the i3d files and re-zipped the mod and get correct detection now. I will see if I can find a way to report to the mod developer.

Tensuko commented 4 years ago

CP HUD Settings, click on the 12 (and the 6) and it should display the nodes. fsScreen_2020_03_18_16_27_20

But well you found the bug, thats good but now you see where the width comes from :)

aletheist commented 4 years ago

Thanks for the info! I have managed to get this reported upstream to the mod creator and will close this issue since it's not a CP issue.