Xentro / FS-Towbar

Specialization script for Farming Simulator
1 stars 1 forks source link

Need help with your modification #1

Open MadSochi opened 2 years ago

MadSochi commented 2 years ago

Hello my friend. I have a Farming Simulator 22 24/7 server. Most popular in my Region. Because server settings is REAL HARD and realistic. I've disabled map buttons for teleport to vehicle and button for RESET vehicle. So if player got some problem with vehicle stuck i forced them to ask for help from other players. Help is possible by YOUR great rewrite of modification called "Tow Bar" by Peppe978 and TyKonKet authors. I found your page from .LUA file. So i need your help to edit this modification. The problem is inside conflict between modifications: "TowBar" and "ManualAttach". We have mod called "ManualAttach" for more realism but when player got tow bar connected to his vehicle by manual attaching (pressing Q outside from vehicle) and get closer to vehicle what needs to be saved from trouble we see the mark down of the screen "PRESS X to attach vehicle" when you inside the vehicle and when player pressed the button X - nothing happens. Mark down of the screen disappears but second vehicle still not attached.

We have another one modification for the same problem. It's called "TowingChain" and it works. Because it needs to be attached to both vehicles MANUALLY by default (even without modification "ManualAttach") and using the own buttons on keyboard (X and Z - not Q). But we want to work "TowBar" too. Can you fix this mods conflict and release a new version of "TowBar" ? Or maybe you can copy to me the lines what need to be added in your "TowBar" .lua for fixing it?

Xentro commented 2 years ago

So what you need to know is that the general approach to attacherJoints is an master-slave relationship but what this script does is an master to master relationship, Manual Attach does not conflict in that regard as its purpose is to handle master-slave so to get an manual attach on the secondary vehicle would require this feature to be implanted in this script for it to work and this should be true for other "tow" scripts too.

I will take an look how much work it would be to implant it but I wont promise anything.