A downloadable mod

Download NowName your own price

Precision Farming Configurator:

Version 1.0.0.8

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. The path is relative to the base directory of your map mod (the same folder as modDesc.xml).
  • Allows the use of any spray type with Precision Farming. To do this, you simply list the spray type and its group. The group key tells PF how to handle the custom spray type. For example, liquid fertilizer is handled differently than solid and fertilizer is handled differently than lime or herbicide. The isLiquid key is self-explanatory and tells PF to handle the custom spray type as a liquid rather than a solid. Note: adding a spray type mapping entry here does not add the spray type to the game. This simply tells PF how to handle custom spray types that have been added to the game via map or other mods.
  • Spray types can be added and configured from the modDesc.xml of any mod. Just add the fill type with the vanilla method and use the thPFConfig section to set up the rest. Details can be found in the sdk/instructions.txt file of this mod.

I'm still ironing out some of the spray types that normally do not have both a liquid and solid variant. If you run into issues, let me know in the comments section below.

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.

Updated 6 days ago
Published 20 days 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 110 kB
instructions.txt 1.9 kB

Development log

Comments

Log in with itch.io to leave a comment.

I believe I have everything setup correctly for Anhydrous now.. It is mapping Nitrogen application but I am not actually using any product from the tank.. What am I missing? Also, how would we go about "sidedressing" With a toolbar its setup as a "cultivator" work type so it tears up the crop. Do we need to change the work type on the toolbar xml?

So I am very new to mods and editing xml pathways. Anyone have a video or resource they can recommend so I can educate myself? I would love to use this mod but am not sure where to start.

do we still need to edit files, or is it a drag and drop mod now?

I don't add any spray types by default, to prevent conflicts with other mods/maps that do. There should, however, start to be mods and maps that use this to add and link their custom spray types to PF. In those cases, this is just a drag and drop mod to provide the required functionality. No other editing should be necessary.

(+1)

Thanks for the update!  Everything works perfectly.

(+1)

Glad to hear it!


any time i ry to hire a worker 

I have a new version almost ready that should remedy that. It's been working pretty well from what I've seen so far, so it should be out in the next couple of days.

This is a bit of an odd question, and not necessarily related to the direct purpose of this mod, but I will ask it nonetheless. 

Is it possible to change the units of the yield in the UI for PF? Currently it is Tons/Hectare, and I am an American so this doesn't compute. I would like it to be eagles/freedom if possible. Otherwise known as bu/acre lol. 

After getting Liquid Lime working I decided to add Anhydrous.  It works and the nitrogen level on the PF map changes.  But I missed something because application rate shows as zero and no Anhydrous is being used.

I know know I added it to the map correctly because without PF enabled it works normally.

(1 edit) (+1)

The parts to add are the <applicationRates> and <fertilizerUsage> (nAmount) parts of precision farming. These are required by PF for fertilizer types. After that, you just have to do the <sprayTypeMapping> section to finish linking it to PF.

I have a new version coming out in the next day or so that'll make it easier. I'll post a couple of new instructional images as well. Also, make sure to check your log for any warnings or errors.

Thanks for making this mod.

Came here from the LiquidLime github discussion, but found more in it. Found two things.

One it would be nice to be able to inject the ability to use e.g. LiquidLime from the LiquidLime mod side and not needing to edit each map separately. This is especially relevant for vanilla maps. I wasn't able to add LiquidLime to any vanilla map.

Second I managed to integrate Compost on the NF mod map as an manure alternative only problem. The contents of the spreader is not changing it doesn't empty but changes the ground.

It's already possible to add Liquid Lime PF functionally to the Liquid Lime mod. Fearless Studios just hasn't done yet... I'm guessing he will when he has time.

(2 edits)

so if the map has nh3 on it. Will this work to use nh3 with PF or is there editing to an xlm that will still need done. I’m playing on Judith Plains nh3 is added to map but PF obviously does not recognize it as fertilizer. 

(+1)

I have a new version almost finished that adds some QoL features that will make the process easier. You do have to do a little xml editing to link the spray types to PF. The mods that add the spray types to the game will probably have this feature soon, especially after this next version.

(+1)

thank you for the response! 

(+1)

Thanks for the update and getting Liquid Lime to work!  Everything works perfectly!

I was going to mess with this later, glad to see this update without the need for map.xml if I am correct? All you needed to do was add the <sprayTypeMapping> section to the Liquid Lime modDesc.xml? (and have this mod active)

The next version will do more from the modDesc.xml, including allowing setting the required PF variables (i.e. nAmount and application rate) from modDesc.xml as well. All you'll have to do is make sure the spray fill type(s) exist.

Reading this confused me quite a bit lol. I have the mod downloaded and I tried anhydrous and no PH changed. Was I supposed to do something?

The mod doesn't add anhydrous to the game. It unlocks pretty much the entire PF configuration from within a map, as well as allowing custom spray types like anhydrous ammonia, liquid lime, etc, to be used with Precision Farming. By default, you can only use the vanilla spray types with it.

In the pic of you spraying anhydrous it shows the darker green behind you but anhydrous dont do that for me.

You have to edit some xml files for it to work.  It's not automatic.

Do you know what to edit?

I would like to know also can’t get it right. 

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 

You have to point the path to a folder inside of your map. Then you can copy the PrecisionFarming.xml from inside of the Precision Farming mod into your map and edit it from there. You also don't need the whole path, just start at your map mods base folder.

So if your map mod has a maps/config folder and you wanted to add a precisionFarming folder to that. Your path would be path="maps/config/precisionFarming". Like that.

Also, the game (or map) has to have a liquid lime fill type and spray type for it to be mapped to PF. I use the values in spray type mapping to figure out what type of spray each one is so I can tell PF how to handle it.

(+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.

(+2)

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.

(+1)

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?

(1 edit) (+1)

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.


So i see the update you did but for my LiquidLime mod would i do phMap instead of nitrogenMap since it needs to go off phValues?

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

(+1)

Wow absolutely incredible as always

How about liquid lime

(+1)

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.