RivalAUT / FS19_SprayerSectionControl

Section control for sprayers in FS19
31 stars 7 forks source link

No hud showing #32

Open Iab72 opened 3 years ago

Iab72 commented 3 years ago

Hi after I updated the mod I can't see the hud when I want to spray the fields . I pres the keys to show me it , but nothing happened I just returned to v 0.3.1.0

Iab72 commented 3 years ago

fsScreen_2021_05_04_00_36_54 this one V 0.3.1.0 fsScreen_2021_05_05_02_06_20 this is the last update

log.txt and this is the log txt

KoTMaT commented 2 years ago

Hi. The same problem. But if you use the mod https://www.farming-simulator.com/mod.php?lang=en&country=no&mod_id=129744&title=fs2019 Its task is to hide all HUDs. if you activate it, then all HUDs are hidden, and the HUD of the sprayer appears. Even when the HUD is not displayed, if you know where to click, you can switch to manual mode, and control the sections. https://youtu.be/E3uE_--16n8

I don't know, I solved the problem correctly, but replacing onUpdate with onDraw, as it was in older versions, everything worked

SpecializationUtil.registerEventListener(vehicleType, "onDraw", SprayerSectionControl) -- onUpdate

function SprayerSectionControl:onDraw() -- onUpdate