A downloadable mod

Download NowName your own price

Precision Farming Configurator:

Version 1.0.0.1

This is just a small addon that is meant to add requested items to Precision Farming. Currently it does the following:

  • Allows rerouting/embedding the PF configuration to a map mod. This is on top of the normal things you can configure from a map. For example, if you wanted to remove crops from the tramline code (or disable tramlines completely) you could use this feature to do so.
  • Allows the use of any spray type with Precision Farming. To do this, you simply list the spray type and its parent (vanilla spray type). The parent tells PF which type of calculations to use when using the custom spray type. PF calculates things differently depending on if it is currently using solid fertilizer, liquid fertilizer, herbicide, manure, etc.

To activate, add the following to your map.xml file:


The path you specify should contain whatever PF files you want to change. The file names and folder structure in your map embedded folder should be the same as the PF mod itself. Also, you do not have to copy all of the PF files to your map, only the ones you want to change. This mod will fail over to the default PF files for anything missing.

The <sprayTypeMapping> section is like I mentioned above. In this example, I have added ANHYDROUS_AMMONIA using LIQUIDFERTILIZER as a template. Parent must be specified to tell PF how to handle the custom spray. Otherwise, PF would not know if it is a herbicide, manure, solid fertilizer, etc. That's just how it is set up. The spray types are hard coded, so I made some work arounds for that.

Finally, I chose not to simply replace the PF functions with new code because that can be a compatibility nightmare. This way should play more nicely with other mods because the original PF code and any other mods linked to it still runs.

More features intended as more gets requested.

Published 1 day ago
StatusReleased
CategoryGame mod
AuthorThundRFS
TagsFarming Simulator 25
LinksPatreon

Download

Download NowName your own price

Click download now to get access to the following files:

FS25_TH_PFConfigurator.zip 93 kB

Development log

Comments

Log in with itch.io to leave a comment.

Hi ThundeRFS, maybe I'm not doing this right, but this is what I have done so far. I by no means know code or how to code, but I would like for liquid lime to work with PF. Any help would be appreciated. Thanks 
(+1)


In response to the liquid lime questions. I just quick swapped out the anhydrous just to see if it would work. I didn't set it up for accuracy or pick a different ground texture or anything, but the short answer is yes it should.

There are a few places that I'm aware of where lime specifically is hard referenced outside of the PF code. If I have to, I can add some code to this to make the parts not currently working (if any) function.

Hello ThunderRFS,


I am the original creator of LiquidLime mod. I am writing to inquire if you would be interested in collaborating to make my mod natively work with PF. I have been unable to achieve this myself, as I am not highly experienced in the FS Modding space.

Hello,

What I can do is add the ability to add custom spray types to PF from inside of a mod instead of only embedded in a map. Then you could use the same <sprayTypeMapping> section inside of the modDesc.xml of your mod to add your injected liquid lime to PF. Should all work from there.

The only reason I didn't add that part is because the is currently no vanilla way I know of adding custom spray types to the game outside of the map.xml.

That would be great! It took me a while, but I eventually figured out how to add custom spray types without using maps back in FS22. I was never able to work out the Precision Farming integration, though—so if you include that, I’ll definitely implement it in my mod as well. Also, I wanted to ask: is your mod currently on the official ModHub, or do you plan to release it there?

I plan on releasing it here. If you use this mod with yours, you should (as soon as I get this next version finished) be able to link your liquid lime to PF with just a couple xml entries. I grabbed it just to see if it would work. This is the result. Still a bit to do yet, but it should be released sooner than later.


cant find what your talking about do you have avideo on it

(+1)

Wow absolutely incredible as always

How about liquid lime

It would treat it like vanilla lime with the properties you set for your liquid version. But the short answer is yes, you should be able to do that.

I'd hoped this would be coming out as an update to the liquid lime mod but this works... Do you know if there are any know conflicts with 1.9 or the PF updates Giants put out today?

(+1)

If you figure out how to get Liquid Lime to work please post instructions.  I'm not having any luck.

Will do. I'll try adding it to my test map to see. You also have to make sure you add the vanilla fill type and spray type entries for it.

Thanks!

I tried again today.  I add the vanilla fill type and spray type and Liquid Lime is spraying fine and I'm getting no log errors but PF isn't showing any Lime being applied.

None that I'm aware of. I did test it a little more today to see if anything broke, but it was all still working as far as I could tell.