FS25 Crop Control Override V2.0

  • Thread Author
01.jpg
02.jpg


A lightweight Farming Simulator 25 script mod that disables selected crops for AI use globally — without editing the base game or map XMLs. Configuration is externalised to modSettings, with per-save files supported.
Features
Disable crops for AI: prevents them from being used in field jobs (useForFieldJob = false).
Template + per-save configs
Template: modSettings/FS25_CropControlOverride/config.xml
Per-save: modSettings/FS25_CropControlOverride/saves/<saveId>.xml
Automatic config creation on first run (seeded from the map’s currently registered fruit types).
Safe XML I/O via GIANTS XMLFile API (no io.open for config).
Console helpers:
ccoReload — re-read and apply the current save’s config.
ccoWhichConfig — show which XML file is being used right now.
ccoListAI — list all fruit types with their current useForFieldJob flag.
How it works
Hooks into FSBaseMission:loadMapFinished and applies AI toggles once all fruit types are registered.
Ensures a template exists at (a template is available for download from this repository, but is not included within the mod ZIP):
Documents/My Games/FarmingSimulator2025/modSettings/FS25_CropControlOverride/config.xml
Ensures a per-save config exists at:
Documents/My Games/FarmingSimulator2025/modSettings/FS25_CropControlOverride/saves/.xml
The per-save file (if present) is always used. The template is only a fallback/seed.
V2.0.0.0
With this release, the Beta branch 2.0.0 is promoted to the stable main version after successful public beta tests and without negative feedback.
“Crop Control Override” is a mod for managing crop type policies for Farming Simulator 25, which works per save game. It allows players to control which crop types are permitted for themselves and for NPC farmers, and whether cultivation by NPCs should depend on field size.
Version 2.0.0 is a major update that focuses on the in-game user interface (GUI), game-specific rules for fruit types, the validation of NPC fields, and cleanup processes for blocked fields.
Highlights:
Custom GUI in FS25 style.
XML configuration per save game.
Setting of allowed crop types for players and NPCs.
Optional limit on the maximum field size for NPCs per crop type.
Toggleable visibility for unloaded crop types.
Validation tab for blocked NPC fields.
Resetting blocked fields at the field level.
Support for reset modes:
CULTIVATED (cultivator state),
RESEED, SEASONAL (seasonal reseeding).
Detection of seasonal reseeding candidates based on FS25 growth data.
Support for reseeding during the grass life cycle.
XML-configurable weighting for reseeding candidates.
Deterministic, weighted selection for reseeding.
Test run function before confirmation.
Diagnostic console commands.
Validation and cleanup of NPC fields
CCO can now detect NPC fields that no longer comply with the active crop type policy.
Blocked fields can occur due to:
Deactivating a crop type.
Deactivating the use of a crop type by NPCs.
Exceeding the maximum field size configured for NPCs for a crop type.
Existing NPC fields with crop types that are no longer permitted according to the current rules.
The Validation tab allows you to review blocked fields before taking action.
Reset Modes:
The reset process supports two modes.
CULTIVATED: Resets blocked NPC fields to the “cultivated area” state.
RESEED SEASONAL: Resets blocked NPC fields and attempts to replant them with a permitted seasonal replacement crop (based on the current growth period, loaded crop type data, CCO policy, and field size restrictions).
If no suitable crop type is available, CCO reverts to the “CULTIVATED” mode.
Per-Save Configuration:
CCO saves crop type rules per save game. This allows the use of different policies on different maps or in role-playing save games without having to directly modify the map itself. The current save game configuration is stored here:
modSettings/FS25_CropControlOverride/saves/savegameXX.xml
The default template is located here:
modSettings/FS25_CropControlOverride/config.xml
Recommendation before updating:
As with all mods that can change the status of fields, you should back up your save game before using functions to reset blocked fields or reseed.
The user interface offers a test run step before confirming reset actions; this should be used before making changes to existing NPC fields.
Note:
Older alpha and beta versions are retained for archival purposes only. This is the now recommended stable version for regular use.
 
Authors / Credits
SimGamerJen
Download modification
https://zippymods.com/773pn5p25voo/FS25_CropControlOverride.zip.html
This is a detailed overview of the features and improvements introduced in version 2.0.0 of the Crop Control Override mod for Farming Simulator 25. The new version focuses on enhancing the user interface, implementing game-specific rules for fruit types, managing NPC fields, and providing tools for field cleanup and validation.

Key Highlights of Version 2.0.0:

1. **Custom GUI in FS25 Style**: The update includes a new graphical user interface designed to blend seamlessly with the Farming Simulator 25 aesthetics, enhancing user experience.

2. **XML Configuration per Save Game**: Users can now configure crop type policies on a per-save basis, allowing for different rules on different maps or save games without the need to modify the base game or map files directly.

3. **Crop Type Settings for Players and NPCs**: Players have control over which crop types are allowed for themselves and NPC farmers, providing greater customization and strategy in crop management.

4. **Field Size Limitation for NPCs**: An optional feature allows setting a maximum field size for NPCs per crop type, enabling more fine-grained control over AI farming activities.

5. **Visibility Toggling for Unloaded Crop Types**: Users can toggle the visibility of unloaded crop types, providing flexibility in managing the types of crops present in the game world.

6. **Validation and Cleanup Tools for NPC Fields**: The mod now includes functionality to detect and manage NPC fields that no longer comply with the active crop type policy, facilitating field cleanup and maintenance.

7. **Reset Modes for Blocked Fields**: Two reset modes are available - "Cultivated" mode resets blocked NPC fields to a cultivated state, while "Reseed Seasonal" mode attempts to replant blocked fields with permitted seasonal replacement crops based on various criteria.

8. **Per-Save Configuration Support**: Crop type rules and configurations are saved per save game, ensuring that different policies can be applied across various game sessions without affecting the global settings.

9. **Backup and Test Recommendations**: It's advised to back up save games before using functions to reset blocked fields or reseed, and a test run function is available to preview changes before confirming actions on existing NPC fields.

Overall, version 2.0.0 of the Crop Control Override mod brings a range of enhancements to crop management, NPC field validation, and user control, aiming to provide a more immersive and tailored farming experience in Farming Simulator 25.
 
FS25 Sidebar Menu (PNG Icons)

FS25Mods.com - Download Farming Simulator 25 Mods for FREE

Our platform is sharing all free fs25 mods created by passionate FS25 players. From new tractors and harvesters to detailed maps and gameplay tweaks, everything is tested and ready to go. Finding and installing mods is super easy. Just browse by category, pick what you like, and download fast for free. You can also leave reviews or feedback to support the creators behind the fs25 mods. Whether you’re new to the game or you’ve been modding for years, FS25Mods.com is a great place to discover latest game mods for FS25 game.

Back
Top