Community Forum

Larger Round bales

Forum Overview >> Scripting

CategoryScripting
Created17.08.2017 04:11


Alexzander Evans (Unknown) 17.08.2017 04:11
I am working on a large round baler that makes larger bales. i have the bales set up in the mod folder but how do i make the mod make the big bales instead of the small ingame bales. ive seen it done with small square bales and large heston bales but i cant seem to get the bales to work. i need to know what to edit so it makes the bales that come with the baler

Emil Drefers (Unknown) 17.08.2017 06:58
Hi,

first of all you need to register your new bales in the modDesc.xml

<modDesc>
<baleTypes>
<<baleType filename="myNewRoundBale.i3d" fillType="straw" isRoundBale="true" width="" diameter="" />
</baleTypes>
</modDesc>


In your Baler.xml you need to define the size of the bales that are produced by it.

<vehicle>
<baler>
<baleTypes>
<baleType isRoundBale="true" width="" diameter="" />
</baleTypes>
</baler>
</vehicle>

So, the values for width and diameter should be the same in both xml files - that's it.

Cheers,
Emil

Alexzander Evans (Unknown) 20.08.2017 23:01
i have messed with the values and those dont seem to change the size i have scaled up the bale and it shows up in game however it still uses the collisions from the standard ingame round bale

Emil Drefers (Unknown) 21.08.2017 06:52
Hi,

for physical bodies it is highly recommended, if not necessary to have a scale of 1.0
So, scaling a bale is bad idea.
Either build a new one or try to use the "freeze transformation" option in the GE.

Cheers,
Emil


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