ZhooL / TSX_EnhancedVehicle

FS19. Farming Simulator 19. LS19. Landwirtschafts Simulator 19. Shuttle shift, differential locks, wheel drive modes and better hydraulics controls for your vehicle. Shows more vehicle details on HUD.
https://www.modhoster.de/mods/enhancedvehicle
83 stars 24 forks source link

Shuttle functions clash with KeyboardSteer #9

Closed knuuud closed 5 years ago

knuuud commented 5 years ago

as modders that work the same area does not seem to speak with eachother and make the same functions, these seem to clash up. When your mod goes in to do the same as the shuttle control on Mogli12's KeyboardSteer, these two seem to do doublecommands. Are you able to make it so your shuttle function are not active if Mogli's are?

ZhooL commented 5 years ago

I know it's conflicting. I'll check later if I can do something about this issue.

knuuud commented 5 years ago

A check and disable should suffice, but you need to put the check to if his mod has it active. If you only put the check to if his mod is ingame you may loose some users of your shuttle that wants to use both your mods, but your shuttle functions. I guess he should also put a similar check in his mod the other way around to avoid conflict the other way as well.

ZhooL commented 5 years ago

As told I've to check. It's easy to detect if another Mod is loaded (g_modIsLoaded.FS19_KeyboardSteer) but it might be not possible to dive deeper into that foreign mod and access its variables to find out if shuttle is enabled there.

ZhooL commented 5 years ago

I force deactivation of shuttle function from keyboardSteer if detected. But this will brake the reverse looking cam as well. Can't do more right now.