DeckerMMIV / FarmSim_Mod_SoilMod

Farming Simulator modification - SoilMod
25 stars 14 forks source link

Time weed growth #75

Open Pitufo306 opened 8 years ago

Pitufo306 commented 8 years ago

Good afternoon. My question is, would it be possible to change the time of growth of the weeds without modifying the cycle time?

Thank you

DeckerMMIV commented 8 years ago

No, not with the current code.

What is the reason you want to change the weed's growth-time? Do you want to increase (take longer) or reduce (faster growth)?

Pitufo306 commented 8 years ago

I would like to raise. The reason is to slow growth to a more realistic control. Anyway, I've noticed that when you save a game and you re-open, growing weed in a field that is freshly plowed the same growth cycle

DeckerMMIV commented 8 years ago

So much for remembering my own code.

I had forgot that there is a possibility to set the interval of when weeds propagate, with the intervalDelayWeeds XML-attribute, which can be found in the CareerSavegame.XML file:

<modsSettings>
    <fmcSoilMod>
        <growth intervalIngameDays="1" startIngameHour="0" intervalDelayWeeds="0" />

Increasing this intervalDelayWeeds value, should slow down how often weed is "seeded" within the world.