Update v0.0.0.4


ChangeLog v0.0.0.4:

  • Production screen has been converted

Files

FS22_TH_UnitConvert.zip
May 25, 2022

Get FS22 UnitConvert

Comments

Log in with itch.io to leave a comment.

so how would I set up the fillType  groups so that only the Baler reads in tons and then how do I set up another group so that the combine only reads in bushels because for some reason I don’t know what I’m doing wrong but when I set the Baler to measure in tons it changes the combined unit to tons as well how do I set the groups so that one of them affects only the Balers and the other one affects only the combines I could really use a little extra help because it’s becoming very frustrating I have tried and tried again and again with no success

Combines generally use the GRAIN group, while things like balers use the SOLID group by default. If you made a group like I explained earlier for your windrow fillTypes, you could set all grain to use one unit and the new group to use another. You have to pick a volume AND a weight unit for each, so you can't just pick tons. The game is designed around volumes, but I added a toggle to show the mass/weight as well.

The easiest way to do what you want is to grab the UC addon and look at those xml files. Set everything up exactly like those (if you are using modSettings, otherwise just edit the addon). The thing you want to do is just remove the units you don't want to see and put tons before pounds on the list (or just leave pounds out).

It actually sounds more complicated than it is. If itch lets me, I'll show you a screen of how I think you want to see things.


OK I get it now thanks for your help bro I appreciate it

Hey thundr I tried what you posted when you showed me how to set it up in those two XML‘s and it didn’t work the way I wanted it to I was trying to get only the combine to read in bushels and the bales to read in tons and it didn’t work like that so I will just have to wait till the part that you said was needing to be fixed on your end gets fixed I guess but thanks for trying to help 

hey thundr i’m having some trouble with one of the units so I’m bailing some alfalfa hay on the Elk Mountain map and I set it to measure the bale in tons but when I release the bale each time and I start to form a new bale it keeps switching back to pounds how do I fix that problem I don’t want the bales being measured in pounds I want them being measured in tons

(1 edit)

I think I know why that is happening, and it's partially an issue I'll have to fix on my end. I'll have to run a baler and see what it does on my end. In the meantime, you could set your units up, listing ton before pound. Something like this.

<unitSets>
    <unitSet name="imperial">
        <units reset="true">
            <unit name="cubicFoot" precision="1/>
            <unit name="ton" precision="1"/>
            <unit name="pound"/>
        </units>
    </unitSet>
</unitSets>

Hope that helps

thanks bro hopefully it will work if it doesn't i'll let you know

(1 edit)

You could also set the fillTypes directly.

<fillTypes>
    <fillType name="alfalfa_windrow>
        <units>
            <unitSet name="imperial">
                <unit name="ton" precision="1"/>
            </unitSet>
        </units>
    </fillType>
</fillTypes>

Do the same for dryAlfalfa_windrow (as well as any of the other balable types such as straw, grass_windrow, dryGrass_windrow, etc).

You could ALSO make a group for all of those and set it at group level.

<fillTypeGroups>
    <group name="grass" title="Grass"> (you could name it anything)
        <units>
            <unitSet name="imperial"/>
                <unit name="ton" precision="1"/>
            </unitSet>
        </units>
    </group>
</fillTypeGroups>

<fillTypes>
    <fillType name = "alfalfa_windrow" group="grass"/>
    <fillType name ="dryAlfalfa_windrow" group="grass"/>
</fillTypes>

Point is, you have quite a few options at your disposal. But I will look into the issue. Thanks for bringing it to my attention!