COMMUNITY FORUM

Add more TreeNode to the damcomPl75

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created10.12.2018 22:29


Marctheboy Geekabits (Marctheboy) 10.12.2018 22:29
is there a way i could add more trees when planting them. (i will make 5 row planter model after)
i have created a second treeNode1. but now how should i incorporated in the .xml

i tried duplicating the <treePlanter code and change the tree node to treeNode1. but didint work

<treePlanter node="treeNode" minDistance="10" palletTrigger="palletTrigger" refNodeIndex="1" saplingPalletGrabNode="treeSaplingAttacher"
saplingPalletMountNode="treeSaplingAttacher">
<sounds>
<work template="DEFAULT_CULTIVATOR_WORK" linkNode="damconPL75"/>
</sounds>
<animationNodes>
<animationNode node="rotor" rotAxis="1" rotSpeed="800" turnOnFadeTime="1" turnOffFadeTime="2"/>
</animationNodes>
</treePlanter>

is there a easier site to look all the reference codding and format of the code. or ist there only lua format

Bilbo Beutlin (BBeutlin) 10.12.2018 23:06
You had to edit the workareas in i3d.
For a helper also the ai markers.

Marctheboy Geekabits (Marctheboy) 11.12.2018 01:14
the damcon pl75 dosent have a work area in the XML and i did edit them in i3d but still dont work.
then i added the work area script and still nothing.

there should be a way to add the work area to the <treePlanter> script saying to use a work area.

<workAreas>
<workArea type="treeplanter" functionName="processTreePlanterArea">
<area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
<groundReferenceNode index="1"/>
</workArea>
</workAreas>


Bilbo Beutlin (BBeutlin) 11.12.2018 12:57
In this manner it should work.
I've also seen a regular seeder mod'ed as tree planter.
I don't remember where it was. Perhaps google for it.


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