Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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?

For lime, you don't need the nitrogenMap section. All you need this in your modDesc.xml

    <thPFConfig>
        <sprayTypes>
            <sprayType name="LIQUIDLIME" litersPerSecond="0.0900" type="LIME" sprayGroundType="LIME"/>
        </sprayTypes>
        <sprayTypeMapping>
            <sprayType name="LIQUIDLIME" group="LIME" isLiquid="true"/>
        </sprayTypeMapping>
    </thPFConfig>

You can omit the <sprayTypes> part if you want to add that yourself still. You really only need the <sprayTypeMapping> section for lime if you register the fill and spray type yourself. If you want a different application rate for liquid lime, you'd do that in your <sprayType> entry litersPerSecond value. Normally, PF does not take that into account in favor of its own internal value for lime. I put something in that changes that behavior.

(+1)

Awesome thank you!