Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping the growth on 2 or 3 days #71

Open
Gonimy-Vetrom opened this issue Oct 17, 2015 · 5 comments
Open

Stopping the growth on 2 or 3 days #71

Gonimy-Vetrom opened this issue Oct 17, 2015 · 5 comments

Comments

@Gonimy-Vetrom
Copy link
Contributor

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

@DeckerMMIV
Copy link
Owner

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.

@Gonimy-Vetrom
Copy link
Contributor Author

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

@DeckerMMIV
Copy link
Owner

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.

@Gonimy-Vetrom
Copy link
Contributor Author

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?

@DeckerMMIV
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants