FarmSim_Mod_SoilMod icon indicating copy to clipboard operation
FarmSim_Mod_SoilMod copied to clipboard

Stopping the growth on 2 or 3 days

Open Gonimy-Vetrom opened this issue 10 years ago • 5 comments

How can to make a pause in the growth for a few days? This is necessary to create the seasons. Thank you.

Gonimy-Vetrom avatar Oct 17 '15 20:10 Gonimy-Vetrom

It is possible to extend the interval between 'growth cycles', as explained in this post.

It is not possible to have 'irregular intervals between growth cycles' - unless you manually change the interval between each you run your savegame.

DeckerMMIV avatar Oct 18 '15 18:10 DeckerMMIV

Soil Mod stops the growth, and then starts the night. I can make schedule growth? And growth only run on a schedule.

Gonimy-Vetrom avatar Oct 18 '15 18:10 Gonimy-Vetrom

If you are playing singleplayer or as a listen-server, then you could;

  • set the 'interval between growth cycles' to a really high number, like 999,
  • use the 'SoilMod:Grow NOW!' action (default key: LEFT ALT + Y) to start a 'growth cycle'.

If you are running a dedicated server, the 'SoilMod:Grow NOW!' action will not be available, so instead I suggest you change the time-scale to x1 or x5, and then increase it to x120 when you want to fast-forward to the next growth-cycle.

DeckerMMIV avatar Oct 18 '15 18:10 DeckerMMIV

Thank you!!! For a start it will help.

As I imagine it in the automatic mode. For example: the growth cycle of 12 days (months :) ) It is based on the current game day (g_currentMission.environment.currentDay) The first day (1) - the beginning of spring Last day (12) - the end of winter.

If current Day = 1...9 then growth run at 0 hours (as usual) If current Day = 10...12 do not run growth.

Is that possible? Or is it the fantasy of a man who is learning to program?

Gonimy-Vetrom avatar Oct 18 '15 18:10 Gonimy-Vetrom

It is possible to change the LUA-code to something like that.

However, since it is possible to seed crops at anytime, like 4 days (e.g. 'growth cycles') before your "winter period", the crops will grow until day 9, and then be harvestable during the entire "winter period" (day 10..12). Or it could happen that the crops are at their 'just before harvestable'-state during the "winter period" and on first day of spring ('growth cycle' occurs), the crops can be harvested. That is probably not exactly what you want I guess.

So to have a better 'realistic season'-simulation, more aspects have to be considered;

  • Are the current crops 8 growth-states (4 growing + 3 harvestable + 1 withered) usable, or needs there to be even more growth-states added to the foliage-layers? E.g. 6 growing + 2 harvestable + 1 withered?
  • What should happen to crops that 'grow' into the "winter periods"? Should they wither always?
  • How about the soil properties during "winter period"? Since there are no 'growth cycle' happening, then the other effects won't be added either; manure->N/PK, water->moisture, herbicide->weeds.

There needs to be a "better plan documentation" for 'what should happen, when and how' with the crops and soil properties.

DeckerMMIV avatar Oct 18 '15 20:10 DeckerMMIV