Frvetz / FS22_SlipDestroysFields

GNU General Public License v3.0
15 stars 4 forks source link

Question / Request #10

Open thekalbb opened 1 year ago

thekalbb commented 1 year ago

Hello, love the mod!

Would it be possible for you to add a slider to adjust at what level the slippage starts - that way you can make your map more difficult, or less.

Frvetz commented 1 year ago

Hello, thank you!!

That's a brilliant idea, I'm just not sure if the FS supports such a function. Do you know another mod that uses such a slider?

Kind regards Gerrit

thekalbb commented 1 year ago

Glad you like the idea :) I have little to some understanding of FS modding, so i will help if i can. Looking at the documentation quickly, i found the following:

In updateWheelFriction theres something called wheel.tireGroundFrictionCoeff - maybe that could be it? https://gdn.giants-software.com/documentation_scripting_fs22.php?version=script&category=48&class=580#updateWheelFriction8873

setWheelShapeTireFriction takes in a frictionMultiplier - which you could lower? https://gdn.giants-software.com/documentation_scripting_fs22.php?version=engine&category=17&function=419

I have also made a post asking the devs on the forum.

Not sure if any of that will have the desired effect, but maybe it will help you in the right direction - i hope so.

Frvetz commented 1 year ago

Yeah, changing at which level the slippage starts is not really the problem here. I have already included a setting where you can change the strength... Only the slider is the problem 🤔

thekalbb commented 1 year ago

oh, i thourght the strenght ment how much "AOE" or how many "rotations" before the ground would be set to cultivated - in that case theres no need for a slider then, you allready have low, medium, high - thats a slider for enums xD

I just havent tried the other than default setting, i will try that if that makes the ground more "soft"

Frvetz commented 1 year ago

Alright :D Unfortunately, the FS is not 100% bug-free as far as the wheels are concerned and it is very difficult to find a "correct" value. It may also be that the other settings do not have the effect you would like, if that is the case you can simply write to me again and I'll try to adapt it a bit :)

If you want, you can also take a look at the file "registerSlipDestroysFields.lua". There you will find a tutorial on how to change the values yourself.