
Precision Farming Configurator v 1.0.8
0/5,
0
Stimmen
Changelog
aktuellste
Version
v 1.0.8
vor 12 Stunden
This is a simple add-on designed to provide Precision Farming the needed components.
It accomplishes the following at the moment:
permits the PF settings to be redirected or included into a map mod. This is in addition to the standard configuration options available from a map. For instance, you might use this functionality to deactivate tramlines entirely or eliminate cropping from the tramline code. The path refers to your map mod's base directory, which is the same location as modDesc.xml.
enables Precision Farming to utilize any kind of spray. You only need to mention the spray type and its group to do this. PF is instructed on how to handle the special spray type by the group key. Fertilizer is treated differently than lime or herbicide, for instance, while liquid fertilizer is handled differently than solid fertilizer. The self-explanatory isLiquid key instructs PF to treat the custom spray type as a liquid instead of a solid. Note: a spray type is not added to the game by adding it here. This only instructs PF on how to manage unique spray kinds that have been introduced into the game from other modifications or maps.
enables changing the litersPerSecond value in maps_sprayTypes.xml to change the rate of static spray kinds (like lime).
Any mod's modDesc.xml file may be used to add spray type mapping. Consider making a mod that adds a unique spray type. Your custom spray type may be linked to PF using the same sprayTypeMapping section as map.xml.
Add the following to your map.xml file in order to activate:
This identical thPFConfig section operates from inside the modDesc.xml file. Although you may utilize the sprayTypeMapping section from inside any mod, you are unable to redirect the PF settings like you do with a map.
The PF configuration in the example above has been directed to the maps/riverbend/config/precisionFarming folder on my test map. I only currently have the PrecisionFarming.xml file in that folder, which allows me to modify the default parameters. Using the sprayTypeMapping section, I added liquid lime and anhydrous ammonia to this map and instructed PF on how to handle the new spray types.
Lastly, because it might be a compatibility problem, I decided against just using new code to replace the PF methods. Since the original PF code and any associated modifications continue to function, this method should work better with other mods.
As additional features are requested, more will be added.
Changelog: +
ChangeLog v1.0.0.8: To improve compatibility with cars, a specialization-style code was included.
Any mod may now be used to add spray kinds.
Lime and other spray kinds now appropriately utilize their liters per second value.
Buying, selling, loading, and unloading stations are equipped with custom spray kinds that are automatically injected.
Attempts to match comparable fill kinds' prices
Custom spray kinds are automatically pumped into the relevant vehicles' fill units.
Fertilizer sowing devices should now be compatible with customized spray types.
The name of the spray type is now shown in PF hud files.
ChangeLog v1.0.0.4: Static group keys were preferred in the configuration. If you currently have it set up, there's no need to update it since the previous setup still works.
support for several kinds of lime was added. By default, PF views lime as a static, one-fill object. As a result, various lime varieties and rates of application are not supported. This alters that behavior and permits varying lime varieties and rates of application.
You may map the spray type from inside the modDesc.xml file of any mod. This section is not exclusive to map.xml.
ThundRFS is credited.
It accomplishes the following at the moment:
permits the PF settings to be redirected or included into a map mod. This is in addition to the standard configuration options available from a map. For instance, you might use this functionality to deactivate tramlines entirely or eliminate cropping from the tramline code. The path refers to your map mod's base directory, which is the same location as modDesc.xml.
enables Precision Farming to utilize any kind of spray. You only need to mention the spray type and its group to do this. PF is instructed on how to handle the special spray type by the group key. Fertilizer is treated differently than lime or herbicide, for instance, while liquid fertilizer is handled differently than solid fertilizer. The self-explanatory isLiquid key instructs PF to treat the custom spray type as a liquid instead of a solid. Note: a spray type is not added to the game by adding it here. This only instructs PF on how to manage unique spray kinds that have been introduced into the game from other modifications or maps.
enables changing the litersPerSecond value in maps_sprayTypes.xml to change the rate of static spray kinds (like lime).
Any mod's modDesc.xml file may be used to add spray type mapping. Consider making a mod that adds a unique spray type. Your custom spray type may be linked to PF using the same sprayTypeMapping section as map.xml.
Add the following to your map.xml file in order to activate:
This identical thPFConfig section operates from inside the modDesc.xml file. Although you may utilize the sprayTypeMapping section from inside any mod, you are unable to redirect the PF settings like you do with a map.
The PF configuration in the example above has been directed to the maps/riverbend/config/precisionFarming folder on my test map. I only currently have the PrecisionFarming.xml file in that folder, which allows me to modify the default parameters. Using the sprayTypeMapping section, I added liquid lime and anhydrous ammonia to this map and instructed PF on how to handle the new spray types.
Lastly, because it might be a compatibility problem, I decided against just using new code to replace the PF methods. Since the original PF code and any associated modifications continue to function, this method should work better with other mods.
As additional features are requested, more will be added.
Changelog: +
ChangeLog v1.0.0.8: To improve compatibility with cars, a specialization-style code was included.
Any mod may now be used to add spray kinds.
Lime and other spray kinds now appropriately utilize their liters per second value.
Buying, selling, loading, and unloading stations are equipped with custom spray kinds that are automatically injected.
Attempts to match comparable fill kinds' prices
Custom spray kinds are automatically pumped into the relevant vehicles' fill units.
Fertilizer sowing devices should now be compatible with customized spray types.
The name of the spray type is now shown in PF hud files.
ChangeLog v1.0.0.4: Static group keys were preferred in the configuration. If you currently have it set up, there's no need to update it since the previous setup still works.
support for several kinds of lime was added. By default, PF views lime as a static, one-fill object. As a result, various lime varieties and rates of application are not supported. This alters that behavior and permits varying lime varieties and rates of application.
You may map the spray type from inside the modDesc.xml file of any mod. This section is not exclusive to map.xml.
ThundRFS is credited.